/* Workshop website custom style */

:root {
    --workshop-blue: #253858;
    --workshop-purple: #5b4b8a;
    --workshop-accent: #6c63ff;
    --workshop-bg-soft: rgba(108, 99, 255, 0.08);
    --workshop-border-soft: rgba(108, 99, 255, 0.18);
}

/* Navigation */

.navbar-title {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-logo {
    max-height: 34px;
    width: auto;
    border-radius: 8px;
}

/* Hero */
/* Hero */

.hero {
    padding: 3rem 2rem;
    margin: 0 0 2.2rem 0;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 10% 20%, rgba(108, 99, 255, 0.28), transparent 25%),
        radial-gradient(circle at 90% 10%, rgba(47, 128, 237, 0.20), transparent 30%),
        linear-gradient(135deg, #101828, #243b53 55%, #352f5b);
    color: white;
    text-align: center;
}

.hero-logo {
    width: 72px;
    max-width: 25%;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
    border-radius: 1rem;
    box-shadow: 0 0.7rem 1.8rem rgba(0, 0, 0, 0.30);
}

.hero h1 {
    max-width: 920px;
    margin: 0 auto 1rem auto;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
}

.hero h2 {
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 400;
    margin-bottom: 1.2rem;
    opacity: 0.95;
}

.hero hr {
    margin: 1rem auto 1.4rem auto;
    max-width: 860px;
    opacity: 0.25;
}

.hero .btn {
    margin: 0.3rem;
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
}

/* Layout helpers */

.container-narrow {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

/* Topic cards */

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2.5rem 0;
}

.topic-card {
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--workshop-bg-soft);
    border: 1px solid var(--workshop-border-soft);
}

.topic-card strong {
    color: var(--workshop-accent);
}

/* Organisers */

.organiser-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    align-items: stretch;
    margin-top: 1.5rem;
}

.organiser-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.6rem 1.4rem;
    margin-bottom: 0;
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(108, 99, 255, 0.12), rgba(108, 99, 255, 0.06));
    border: 1px solid rgba(108, 99, 255, 0.28);
}

.organiser-photo {
    width: 135px;
    height: 135px;
    object-fit: cover;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.18);
    margin: 0 auto 1.2rem auto;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0.6rem 1.4rem rgba(0, 0, 0, 0.28);
}

.organiser-card h3 {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    line-height: 1.15;
}

.organiser-card h3 a,
.organiser-card h3 a:visited {
    color: #9ec5ff !important;
    text-decoration: none;
}

.organiser-card h3 a:hover {
    color: #cfe2ff !important;
    text-decoration: underline;
}

.organiser-card strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.86);
}

/* Compact organiser cards, used on the homepage */

.organiser-card.compact {
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: 330px;
}

.organiser-card.compact h3 {
    text-align: center;
}

.organiser-card.compact strong {
    text-align: center;
    margin-bottom: 0;
}

/* Detailed organiser cards, used on the organisers page */

.organiser-card.detailed {
    align-items: center;
    text-align: center;
}

.organiser-card.detailed h3 {
    text-align: center;
}

.organiser-card.detailed strong {
    text-align: center;
}

.organiser-card.detailed p {
    margin: 0.4rem 0 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    text-align: left;
}

/* Responsive organisers */

@media (max-width: 1100px) {
    .organiser-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .organiser-grid {
        grid-template-columns: 1fr;
    }
}

.organiser-affiliation {
    min-height: 4.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
}

.organiser-affiliation p {
    margin: 0;
}

.organiser-card h3 a::after,
.organiser-card h3 a.external::after,
.organiser-card h3 a[target="_blank"]::after {
    display: none !important;
    content: none !important;
}

/* Venue map */

.map-container {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.map-container iframe {
    display: block;
}

/* Tables and footer */

table {
    width: 100%;
}

footer.footer {
    margin-top: 4rem;
}

/* Speakers */

.speaker-gallery {
    --speaker-photo-size: 200px;
    --speaker-profile-width: 250px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--speaker-profile-width), var(--speaker-profile-width)));
    gap: 3rem 4rem;
    justify-content: center;
    align-items: start;
    margin-top: 2rem;
}

.speaker-profile {
    width: var(--speaker-profile-width);
    justify-self: center;
    text-align: center;
}

.speaker-profile-photo {
    width: var(--speaker-photo-size) !important;
    height: var(--speaker-photo-size) !important;
    object-fit: cover;
    border-radius: 999px;
    display: block;
    margin: 0 auto 1.4rem auto;
    border: 4px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0.7rem 1.6rem rgba(0, 0, 0, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.speaker-profile a:hover .speaker-profile-photo {
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
}

.speaker-profile h3 {
    width: var(--speaker-photo-size);
    margin: 0 auto 0.45rem auto !important;
    font-size: 1.15rem !important;
    line-height: 1.15 !important;
    font-weight: 700;
    text-align: center;
}

.speaker-profile h3 a,
.speaker-profile h3 a:visited {
    color: #9ec5ff !important;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.speaker-profile h3 a:hover {
    color: #cfe2ff !important;
}

.speaker-profile p {
    width: var(--speaker-photo-size);
    margin: 0 auto !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
}

@media (max-width: 700px) {
    .speaker-gallery {
        --speaker-photo-size: 220px;
        --speaker-profile-width: 280px;

        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.speaker-profile h3 a::after,
.speaker-profile h3 a.external::after,
.speaker-profile h3 a[target="_blank"]::after {
    display: none !important;
    content: none !important;
}