:root {
    --bg-color: #040714;
    --card-bg: #0b122c;
    --primary-color: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.5);
    --secondary-color: #1e3a8a;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: #ffffff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--primary-glow);
}

/* Base Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    border-bottom: 1px solid rgba(30, 58, 138, 0.4);
}

section:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Background Patterns */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background-pattern-transparent.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000 !important;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    /* Rectangular as requested */
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn:hover {
    background-color: #fff;
    box-shadow: 0 0 25px var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #000 !important;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-accent {
    background-color: #f43f5e;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.4);
}

.btn-accent:hover {
    background-color: #fff;
    color: #f43f5e !important;
    box-shadow: 0 0 25px #f43f5e;
}

.btn-outline-accent {
    background-color: transparent;
    border: 2px solid #f43f5e;
    color: #f43f5e !important;
    box-shadow: none;
}

.btn-outline-accent:hover {
    background-color: #f43f5e;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.4);
}

.btn-discord {
    background-color: transparent;
    border: 2px solid #5865F2;
    color: #5865F2 !important;
    box-shadow: none;
}

.btn-discord:hover {
    background-color: #5865F2;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

/* Navbar */
.navbar {
    background-color: rgba(4, 7, 20, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--secondary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.nav-brand img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hamburger button – ukryty na desktopie */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animacja X gdy menu otwarte */
.nav-toggle--open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle--open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: center;
    border-bottom: 1px solid var(--secondary-color);
}

.hero h1 {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.hero p.lead {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Cards (Speakers, Schedule, etc) */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--secondary-color);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 900px) {

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Hamburger widoczny, linki schowane */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 71px;
        /* wysokość navbara */
        left: 0;
        right: 0;
        background: rgba(4, 7, 20, 0.97);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--secondary-color);
        padding: 0;
        gap: 0;
        /* Animacja wysuwania z góry */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            padding 0.35s ease;
    }

    .nav-links.nav-open {
        max-height: 300px;
        padding: 12px 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 28px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(30, 58, 138, 0.3);
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-links a:hover {
        background: rgba(56, 189, 248, 0.08);
        color: var(--primary-color);
        text-shadow: none;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }
}

/* CTF Section */
.ctf-section {
    background: linear-gradient(135deg, var(--bg-color), #0a1128);
    box-shadow: inset 0 0 50px rgba(56, 189, 248, 0.1);
}

/* Speakers & Details */
details {
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-left: 3px solid var(--primary-color);
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

summary:hover {
    text-shadow: 0 0 5px var(--primary-glow);
}

/* Sponsors */
.sponsor-tier {
    margin-bottom: 40px;
}

.sponsor-tier h3 {
    text-align: center;
    color: var(--text-muted);
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.sponsor-logo {
    max-width: 200px;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s;
}

.sponsor-logo:hover {
    filter: none;
    transform: scale(1.05);
}

/* Git Branch Schedule Styling */
.track-poczatkujacy {
    --track-color: #22c55e;
}

.track-sredniozaawansowany {
    --track-color: #38bdf8;
}

.track-zaawansowany {
    --track-color: #f43f5e;
}

.session-card::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--track-color);
    box-shadow: 0 0 10px var(--track-color);
    z-index: 3;
}

.session-card::after {
    content: '';
    position: absolute;
    left: 17px;
    bottom: calc(100% - 30px);
    width: 2px;
    height: 2000px;
    background: var(--track-color);
    z-index: -1;
}

/* Footer */
footer {
    background-color: #02040a;
    padding: 24px 0 32px;
    border-top: 1px solid var(--secondary-color);
    text-align: center;
}

.footer-links {
    margin: 0 0 16px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ═══════════════════════════════════════════════
   O KONFERENCJI — Conference History Page
═══════════════════════════════════════════════ */

.conference-history-section {
    padding: 60px 0 100px;
    background: var(--bg-color);
    border-bottom: none;
}

/* ── Page header ── */
.history-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.history-header-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 4px 16px;
    margin-bottom: 20px;
    position: relative;
}

.history-header-badge::before,
.history-header-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--primary-color);
    opacity: 0.4;
}

.history-header-badge::before {
    right: calc(100% + 8px);
}

.history-header-badge::after {
    left: calc(100% + 8px);
}

.history-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.history-title .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.history-subtitle {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ── Timeline spine ── */
.editions-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

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

/* ── Edition card ── */
.edition-card {
    position: relative;
}

.edition-year-marker {
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.year-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 12px var(--primary-glow);
    flex-shrink: 0;
}

.year-dot--latest {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow), 0 0 40px rgba(56, 189, 248, 0.3);
    animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 12px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 28px var(--primary-glow), 0 0 50px rgba(56, 189, 248, 0.4);
    }
}

/* ── Edition content ── */
.edition-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.edition-card--reverse .edition-content {
    direction: rtl;
}

.edition-card--reverse .edition-content>* {
    direction: ltr;
}

/* ── Photo panel ── */
.edition-photo-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edition-photo-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--secondary-color);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.edition-photo-frame:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

.edition-photo {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.9) saturate(0.85);
}

.edition-photo-frame:hover .edition-photo {
    transform: scale(1.04);
    filter: brightness(1) saturate(1);
}


/* Upcoming Edition Placeholder Frame */
.edition-photo-frame--upcoming {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(11, 18, 44, 0.95) 100%);
    border: 1px dashed rgba(56, 189, 248, 0.4);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-align: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.05);
}

.edition-photo-frame--upcoming:hover {
    border-style: solid;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2), inset 0 0 30px rgba(56, 189, 248, 0.1);
}

.upcoming-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upcoming-placeholder-img {
    width: 48px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--primary-glow));
    animation: float 5s ease-in-out infinite;
}

.upcoming-placeholder-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
}

.upcoming-placeholder-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0;
    line-height: 1.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.edition-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 7, 20, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.edition-photo-frame:hover .edition-photo-overlay {
    opacity: 1;
}

.edition-photo-overlay span {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.edition-photo-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* ── Organizers grid (individual photos) ── */
.organizers-grid {
    display: grid;
    gap: 6px;
}

.organizers-grid--4,
.organizers-grid--3 {
    grid-template-columns: repeat(4, 1fr);
}

.organizer-photo-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--secondary-color);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.organizer-photo-frame:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
    z-index: 1;
}

.organizer-photo {
    display: block;
    width: 100%;
    height: auto;
    transition: filter 0.4s ease;
    filter: brightness(0.88) saturate(0.8);
}

.organizer-photo-frame:hover .organizer-photo {
    filter: brightness(1) saturate(1);
}

.organizer-photo-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 18, 44, 0.7);
}

.organizer-placeholder-icon {
    width: 45%;
    height: 45%;
    color: var(--text-muted);
    opacity: 0.6;
    transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.organizer-photo-frame:hover .organizer-placeholder-icon {
    color: var(--primary-color);
    opacity: 0.9;
    transform: scale(1.08);
}

/* ── Organizer card: image + name below ── */
.organizer-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.organizer-name {
    margin: 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    line-height: 1.3;
}

/* ── Info panel ── */
.edition-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 6px;
}

.edition-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.edition-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
}

.edition-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

.latest-badge {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 2px;
}

.edition-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #fff;
    margin: 0;
}

.edition-desc {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.97rem;
}

/* ── Stats ── */
.edition-stats {
    list-style: none;
    display: flex;
    gap: 24px;
    padding: 20px;
    background: rgba(11, 18, 44, 0.6);
    border: 1px solid rgba(30, 58, 138, 0.4);
    border-left: 3px solid var(--primary-color);
}

.edition-stats li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Tags ── */
.edition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
    transition: border-color 0.25s, color 0.25s;
}

.tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .editions-timeline::before {
        left: 20px;
    }

    .edition-year-marker {
        left: 20px;
        top: 0;
        transform: translateX(-50%);
    }

    .edition-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-left: 52px;
    }

    .edition-info {
        order: 1;
    }

    .edition-photo-wrap {
        order: 2;
    }

    /* Remove RTL flip on mobile */
    .edition-card--reverse .edition-content {
        direction: ltr;
    }

    .edition-photo {
        height: 220px;
    }

    .edition-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .edition-stats li {
        flex: 0 0 calc(33% - 12px);
    }

    .history-header-badge::before,
    .history-header-badge::after {
        display: none;
    }

    .organizers-grid--4,
    .organizers-grid--3,
    .organizers-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px;
    }

    .organizer-photo {
        width: 100%;
        height: auto;
    }

    .organizer-name {
        font-size: 0.55rem;
        letter-spacing: 0.01em;
        line-height: 1.15;
        padding: 0 1px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 560px) {
    .editions-timeline {
        gap: 56px;
    }

    .edition-stats li {
        flex: 0 0 calc(50% - 12px);
    }

    .organizers-grid--4,
    .organizers-grid--3,
    .organizers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }

    .organizer-photo {
        width: 100%;
        height: auto;
    }

    .organizer-name {
        font-size: 0.5rem;
        letter-spacing: 0.01em;
        line-height: 1.15;
        padding: 0 1px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

/* ═══════════════════════════════════════════════
   ORGANIZATORZY — Organizers Page
═══════════════════════════════════════════════ */

.organizers-section {
    padding: 60px 0 100px;
    background: var(--bg-color);
    border-bottom: none;
}

/* ── Page header ── */
.organizers-header {
    text-align: center;
    margin-bottom: 72px;
}

.organizers-header-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 4px 16px;
    margin-bottom: 20px;
    position: relative;
}

.organizers-header-badge::before,
.organizers-header-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--primary-color);
    opacity: 0.4;
}

.organizers-header-badge::before {
    right: calc(100% + 8px);
}

.organizers-header-badge::after {
    left: calc(100% + 8px);
}

.organizers-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.organizers-title .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.organizers-subtitle {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ── SKN SecFault identity block ── */
.org-identity-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 56px;
    align-items: center;
    background: rgba(11, 18, 44, 0.55);
    border: 1px solid rgba(30, 58, 138, 0.5);
    border-left: 3px solid var(--primary-color);
    padding: 44px 48px;
    margin-bottom: 72px;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.org-identity-block:hover {
    box-shadow: 0 0 36px rgba(56, 189, 248, 0.12);
    border-color: var(--primary-color);
}

.org-identity-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    max-width: 100%;
}

.secfault-logo {
    width: 240px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.25));
    transition: filter 0.4s ease, transform 0.4s ease;
}

.secfault-logo:hover,
.org-identity-block:hover .secfault-logo {
    filter: drop-shadow(0 0 28px rgba(56, 189, 248, 0.45));
    transform: scale(1.03);
}

.supervisor-photo {
    width: 180px;
    height: auto;
    max-width: 100%;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.2);
    transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.supervisor-photo:hover,
.org-identity-block:hover .supervisor-photo {
    border-color: var(--primary-color);
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.4);
    transform: scale(1.03);
}

.org-identity-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.org-identity-name {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.org-identity-desc {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.97rem;
    margin-bottom: 20px;
}

.org-identity-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.org-pill {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 3px 12px;
    background: rgba(56, 189, 248, 0.06);
    transition: background 0.25s, border-color 0.25s;
}

.org-pill:hover {
    background: rgba(56, 189, 248, 0.14);
    border-color: var(--primary-color);
}

/* ── Section divider ── */
.organizers-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 56px;
}

.organizers-divider::before,
.organizers-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(30, 58, 138, 0.6));
}

.organizers-divider::after {
    background: linear-gradient(to left, transparent, rgba(30, 58, 138, 0.6));
}

.organizers-divider-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ── Team grid ── */
.organizers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Organizer card ── */
.org-card {
    background: rgba(11, 18, 44, 0.5);
    border: 1px solid rgba(30, 58, 138, 0.4);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    position: relative;
    overflow: hidden;
}

.org-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.org-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.14);
    transform: translateY(-4px);
}

.org-card:hover::before {
    opacity: 1;
}

.org-card-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 18px;
}

.org-avatar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.org-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(56, 189, 248, 0.5);
    transition: border-color 0.35s, background 0.35s, color 0.35s;
}

.org-card:hover .org-avatar-placeholder {
    border-color: var(--primary-color);
    background: rgba(56, 189, 248, 0.12);
    color: var(--primary-color);
}

.org-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(56, 189, 248, 0);
    transition: box-shadow 0.35s ease;
    pointer-events: none;
}

.org-card:hover .org-card-glow {
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.2);
}

.org-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.org-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.org-card-role {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.org-card-bio {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .organizers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .org-identity-block {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
        padding: 32px 24px;
    }

    .org-identity-pills {
        justify-content: center;
    }

    .organizers-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .organizers-header-badge::before,
    .organizers-header-badge::after {
        display: none;
    }
}

@media (max-width: 560px) {
    .organizers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .secfault-logo,
    .supervisor-photo {
        width: 140px;
    }
}