@charset "UTF-8";

:root {
    --orange: #c44c12;
    --blue: #182d4d;
    --ink: #233244;
    --soft: #eaf0f4;
    --line: #d2dce4;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 17px/1.65 Arial, sans-serif;
}

.frame {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

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

a {
    color: #943a0c;
    text-underline-offset: 4px;
}

a:focus-visible {
    outline: 3px solid #f0a56f;
    outline-offset: 5px;
}

.festival-header {
    background: var(--blue);
    color: white;
}

.mastline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-block: 24px;
}

.festival-mark {
    width: min(360px, 100%);
}

.location {
    color: #c7d8e8;
    font-size: 14px;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    border-top: 1px solid #4e607a;
    padding-block: 16px;
}

.navigation a {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.navigation a:hover {
    text-decoration: underline;
}

.opening {
    padding-block: 48px 40px;
}

.event-title {
    border-left: 6px solid var(--orange);
    padding-left: 26px;
    margin-bottom: 30px;
}

.eyeline {
    color: var(--orange);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
}

h1, h2, h3 {
    line-height: 1.2;
    color: var(--blue);
    overflow-wrap: anywhere;
}

h1 {
    max-width: 940px;
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: -.025em;
    margin: 0 0 20px;
}

h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin: 0 0 22px;
}

h3 {
    font-size: 21px;
    margin: 24px 0 14px;
}

p {
    margin: 0 0 17px;
}

.intro {
    max-width: 850px;
    font-size: 20px;
    margin-bottom: 0;
}

.conference-photo {
    margin: 0;
}

.conference-photo img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

figcaption {
    color: #526273;
    font-size: 13px;
    padding-top: 8px;
}

.founders {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.founders h2 {
    font-size: 21px;
    margin: 0;
}

.founders p {
    margin: 0;
}

.milestones {
    background: var(--orange);
    color: white;
    padding-block: 26px;
}

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

.number-line > div {
    padding-right: 14px;
}

.number-line strong {
    display: block;
    font-size: clamp(28px, 3.4vw, 45px);
    line-height: 1.2;
    margin-bottom: 8px;
}

.number-line span {
    display: block;
    font-size: 15px;
}

.section-pad {
    padding-block: 54px;
}

.heading-line {
    border-bottom: 2px solid var(--orange);
    margin-bottom: 20px;
}

.edition {
    font-weight: 700;
    color: var(--orange);
}

.programme-layout, .history-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 42px;
    align-items: start;
}

.format-list {
    padding-left: 22px;
    margin: 0 0 26px;
}

.format-list li {
    padding: 6px 0;
}

.programme-photos {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.speakers {
    background: var(--soft);
}

.section-intro {
    max-width: 850px;
}

.speaker-list {
    margin: 26px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
}

.speaker-list > div {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

dt {
    color: var(--blue);
    font-weight: 700;
}

dd {
    margin: 6px 0 0;
}

.timeline {
    border-left: 3px solid var(--orange);
    padding-left: 24px;
}

.timeline h3 {
    margin-top: 0;
}

.timeline dl {
    margin: 0;
}

.timeline dl > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.timeline dd {
    margin: 0;
    font-size: 16px;
}

.history-photo {
    margin-top: 24px;
}

.participation {
    background: #fff0e4;
    border-top: 1px solid #e7cbb7;
}

.participation p {
    max-width: 850px;
}

.contact-action {
    display: inline-block;
    max-width: 100%;
    padding: 12px 20px;
    background: var(--orange);
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.contact-footer {
    background: var(--blue);
    color: white;
}

.contact-footer h2, .contact-footer a {
    color: white;
}

.contact-date {
    color: #c7d8e8;
    font-size: 15px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    overflow-wrap: anywhere;
}

address {
    font-style: normal;
}

address strong {
    display: block;
    margin-bottom: 12px;
}

.footer-end {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    border-top: 1px solid #4e607a;
    margin-top: 24px;
    padding-top: 24px;
    font-size: 14px;
}

.footer-end img {
    width: min(280px, 100%);
}

@media (max-width: 720px) {
    .frame {
        width: calc(100% - 32px);
    }

    .mastline {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-block: 20px;
    }

    .navigation {
        gap: 10px 20px;
    }

    .opening, .section-pad {
        padding-block: 32px;
    }

    .event-title {
        padding-left: 15px;
    }

    .intro {
        font-size: 17px;
    }

    .founders, .programme-layout, .history-layout, .speaker-list, .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .speaker-list {
        gap: 0;
    }

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

    .timeline {
        padding-left: 16px;
    }

    .timeline dl > div {
        grid-template-columns: 80px 1fr;
    }
}
