/***************** Shared layout ***************************/

:root {
    --martech-blue: #002060;
    --martech-orange: #f58220;
    --martech-light: #f4f7fb;
    --martech-border: #d7dde8;
}

.about-page,
.programme-page,
.submit-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 50px 20px;
    color: var(--martech-blue);
}

.about-section,
.programme-section,
.submit-section {
    margin-bottom: 70px;
}

.about-section h2,
.programme-section h2,
.submit-section h2 {
    color: var(--martech-blue);
    font-size: 30px;
    margin-bottom: 25px;
}

.about-section p,
.programme-section p,
.submit-section p {
    font-size: 16px;
    line-height: 1.7;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.two-columns img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    object-fit: cover;
}

.page-hero-text {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.page-hero-text h1 {
    font-size: 52px;
    margin: 0;
}

.page-hero-text p {
    font-size: 22px;
    margin-top: 10px;
}

.notice {
    background: var(--martech-light);
    border-left: 5px solid var(--martech-orange);
    padding: 18px 22px;
    border-radius: 12px;
    font-weight: 600;
}

.button {
    display: inline-block;
    margin-top: 20px;
    background: var(--martech-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.button:hover {
    background: #d96c12;
}

.wide-image {
    width: 100%;
    max-height: 420px;
    margin-bottom: 45px;
    object-fit: cover;
    object-position: center center;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

/***************** About ***************************/

.about-hero {
    position: relative;
    height: 430px;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 32, 96, 0.75), rgba(0, 32, 96, 0.15));
}

.about-hero-text {
    position: absolute;
    z-index: 2;
    left: 12%;
    bottom: 80px;
    color: white;
}

.about-hero-text h1 {
    font-size: 52px;
    margin: 0;
}

.about-hero-text p {
    font-size: 22px;
    margin-top: 10px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.card {
    background: var(--martech-light);
    border-left: 5px solid var(--martech-orange);
    padding: 22px;
    border-radius: 12px;
}

.card h3 {
    margin-top: 0;
    color: var(--martech-blue);
    font-size: 18px;
}

.card p {
    font-size: 14px;
}

.organised p {
    max-width: 1000px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.organisers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 40px;
    align-items: center;
}

.logo-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .25s;
}

.logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.logo-item img {
    max-width: 130px;
    max-height: 70px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: .8;
    transition: .25s;
}

.logo-item:hover img {
    filter: none;
    opacity: 1;
}

.committee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.committee-grid h3 {
    color: var(--martech-blue);
    border-bottom: 2px solid var(--martech-orange);
    padding-bottom: 8px;
}

.committee-grid li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.previous img {
    margin-bottom: 20px;
}

.previous-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: start;
}

.previous-card img,
.previous-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    object-fit: cover;
}

.previous-card p {
    margin-top: 18px;
}

/***************** Programme ***************************/

.programme-hero {
    height: 360px;
    background:
            linear-gradient(to right, rgba(0,32,96,.75), rgba(0,32,96,.25)),
            url("../img/program/21-_ACF1188.jpg");
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.topic-card {
    background: var(--martech-light);
    border-left: 5px solid var(--martech-orange);
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.topic-card span {
    color: var(--martech-orange);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
}

.topic-card h3 {
    font-size: 20px;
    line-height: 1.3;
    margin: 10px 0 18px;
}

.topic-card li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.speaker-card {
    background: var(--martech-light);
    border-radius: 14px;
    overflow: hidden;
    max-width: 340px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.speaker-placeholder {
    height: 180px;
    background: var(--martech-orange);
    color: white;
    font-size: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-info {
    padding: 22px;
}

.speaker-info h3 {
    margin: 0 0 8px;
}

.cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
    background: var(--martech-light);
    padding: 35px;
    border-radius: 18px;
}

.cta-section img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    object-fit: cover;
}

/***************** Submit ***************************/

.submit-hero {
    height: 360px;
    background:
            linear-gradient(to right, rgba(0,32,96,.75), rgba(0,32,96,.25)),
            url("../img/submit/114-_ACF1702.jpg");
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.date-card {
    background: var(--martech-light);
    border-left: 5px solid var(--martech-orange);
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.date-card span {
    display: block;
    margin-bottom: 10px;
}

.date-card strong {
    font-size: 18px;
}

.date-card.highlight {
    background: var(--martech-blue);
    color: white;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.requirement-card {
    background: var(--martech-light);
    border-left: 5px solid var(--martech-orange);
    padding: 24px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--martech-blue);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.requirement-card h3 {
    margin-top: 0;
}

.requirement-card span {
    color: var(--martech-orange);
    font-weight: bold;
}

.text-block {
    max-width: 900px;
}

.simple-note {
    margin-top: 25px;
    padding: 16px 20px;
    border-left: 4px solid var(--martech-orange);
    background: var(--martech-light);
    border-radius: 8px;
}

.download-list {
    max-width: 900px;
    border-top: 1px solid var(--martech-border);
}

.download-list a,
.download-list div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--martech-border);
    color: var(--martech-blue);
    text-decoration: none;
}

.download-list span {
    font-weight: 600;
}

.download-list strong {
    color: var(--martech-orange);
    white-space: nowrap;
}

.download-list a:hover span {
    color: var(--martech-orange);
}

/***************** Responsive ***************************/

@media (max-width: 900px) {
    .two-columns,
    .committee-grid,
    .cards,
    .topic-grid,
    .cta-section,
    .previous-grid,
    .reverse {
        grid-template-columns: 1fr;
    }

    .about-hero,
    .programme-hero,
    .submit-hero {
        height: 300px;
    }

    .page-hero-text h1,
    .about-hero-text h1 {
        font-size: 38px;
    }

    .page-hero-text p,
    .about-hero-text p {
        font-size: 18px;
    }

    .about-hero-text {
        left: 20px;
        right: 20px;
        bottom: 45px;
    }
}
