/* ==========================================================
   B INFORMED CONFERENCE 2026
   Final Stylesheet
   ========================================================== */

:root{
  --navy:#041a45;
  --navy-dark:#03163f;
  --green:#b4d334;
  --green-light:#c6e347;
  --white:#fff;
  --light:#f7f8fb;
  --border:#e5e8ef;
  --text:#334155;
  --container:1200px;
  --radius:10px;
  --shadow:0 12px 35px rgba(0,0,0,.08);
}

/* Reset */
*,
*:before,
*:after{box-sizing:border-box}

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

figure{margin:0}

section{
    padding:70px 0;
}

.conference-container{
    max-width:var(--container);
    margin:0 auto;
    padding:0 24px;
}

/* Optional page override */
.container{
    width:100%;
    max-width:100%;
}

/* HERO */
.conference-hero{
    position:relative;
    background-image:
        linear-gradient(
            90deg,
            rgba(3,22,63,.95) 0%,
            rgba(3,22,63,.85) 30%,
            rgba(3,22,63,.55) 55%,
            rgba(3,22,63,0) 100%
        ),
        var(--hero-image);
    background-position:right center;
    background-repeat:no-repeat;
    background-size:cover;
    color:#fff;
    min-height:760px;
    display:block;
    padding:40px 0 120px;
}

.hero-copy .conference-eyebrow{
    color:var(--green);
    text-transform:uppercase;
    font-size:13px;
    font-weight:800;
    letter-spacing:2px;
    margin-bottom:18px;
}

.conference-title{
    color:#fff;
    font-size:72px;
    line-height:1.02;
    font-weight:900;
    margin:0 0 18px;
    max-width:720px;
    text-transform:uppercase;
}

.hero-copy h2{
    color:var(--green);
    font-size:42px;
    line-height:1.05;
    font-weight:700;
    margin:0 0 12px;
    max-width:720px;
    text-transform:uppercase;
}

.hero-copy h2 strong{
    color:#fff;
    font-weight:800;
}

.hero-copy p{
    max-width:640px;
    font-size:18px;
    line-height:1.7;
    margin-bottom:20px;
    color:rgba(255,255,255,0.95);
}

.conference-highlights{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin:32px 0;
}

.highlight-card{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    border-radius:var(--radius);
    padding:18px;
    backdrop-filter:blur(8px);
}

.highlight-card h3{
    margin:0 0 10px;
    color:var(--green);
    font-size:20px;
}

.highlight-card p{
    margin:0;
    color:#fff;
    line-height:1.6;
}

.conference-button a,
.conference-button .btn-primary{
    display:inline-block;
    background:var(--green);
    color:var(--navy);
    text-decoration:none;
    padding:18px 48px;
    border-radius:8px;
    text-transform:uppercase;
    font-weight:800;
    transition:.18s;
    box-shadow:0 8px 18px rgba(20,20,20,.12);
    line-height:1.2;
    opacity:1;
    visibility:visible;
}

.conference-button a:hover,
.conference-button .btn-primary:hover{
    background:var(--green-light);
    transform:translateY(-3px);
    color:var(--navy);
}

/* ribbon */
.hero-ribbon{
    position:absolute;
    right:0;
    top:0;
    background:linear-gradient(135deg, rgba(255, 255, 0,0.96) 0%, rgba(255, 255, 10,0.92) 100%);
    color:var(--navy);
    padding:22px 28px 18px 24px;
    font-weight:800;
    text-align:center;
    line-height:1.05;
    letter-spacing:0.04em;
    box-shadow:0 10px 24px rgba(0,0,0,.16);
    clip-path:polygon(0 0, 100% 0, 100% 100%, 15% 100%);
    min-width:190px;
    opacity:1;
}

/* hero inner layout */
.hero-inner{display:flex;align-items:flex-start;gap:40px}
.hero-copy{max-width:720px}

.conference-hero-cta{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:3;
    width:100%;
    padding:28px 0;
    background:var(--navy);
}

.conference-hero-cta .conference-button{
    text-align:center;
    margin:0;
}

/* event summary overlay when rendered inside hero */
.conference-hero + .conference-event-summary,
.conference-hero .conference-event-summary{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:92px;
    width:min(92%, 1200px);
    max-width:1200px;
    background:rgba(8,19,41,0.96);
    border-radius:10px;
    padding:18px 22px;
    box-shadow:var(--shadow);
    z-index:2;
}

.conference-hero .event-summary{grid-template-columns:repeat(4,1fr)}
.conference-hero .event-summary__item{padding:18px;border-right:1px solid rgba(255,255,255,.06)}
.conference-hero .event-summary dt{color:#fff;opacity:.9}
.conference-hero .event-summary dd{color:#fff}

/* FACT BAR */
.conference-event-summary{
    background:var(--navy);
    color:#fff;
}

.event-summary{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin:0;
}

.event-summary__item{
    text-align:center;
    padding:30px;
    border-right:1px solid rgba(255,255,255,.15);
}

.event-summary__item:last-child{border-right:none}

.event-summary dt{
    color:var(--green);
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:10px;
}

.event-summary dd{
    margin:0;
    font-size:22px;
    font-weight:700;
}

.event-summary dd span{
    display:block;
    margin-top:8px;
    font-size:15px;
    font-weight:400;
}

/* Headings */

section h2{
    color:var(--navy);
    text-align:center;
    font-size:52px;
    margin:0 0 20px;
}

.section-introduction{
    max-width:800px;
    margin:0 auto 60px;
    text-align:center;
    line-height:1.8;
}

/* Benefits */
.benefits-grid,
.audience-grid{
    display:grid;
    gap:35px;
}

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

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

.benefit,
.audience-grid article{
    text-align:center;
}

.benefit h3,
.audience-grid h3{
    color:var(--navy);
    margin-bottom:15px;
}

.benefit p,
.audience-grid p{
    color:var(--text);
    line-height:1.6;
}

/* Schedule */

.conference-schedule{background:var(--light)}

.schedule{
    border-radius:10px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.schedule-row{
    display:grid;
    grid-template-columns:120px 1fr;
}

.schedule-time{
    background:var(--navy);
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    font-weight:700;
}

.schedule-time span{
    display:block;
    margin-top:4px;
    font-size:13px;
    font-weight:500;
    opacity:.82;
}

.schedule-session{
    background:#fff;
    padding:22px 28px;
    border-bottom:1px solid var(--border);
}

.schedule-session--highlight{
    background:#eef5d8;
}

.schedule-label{
    display:inline-block;
    background:var(--green);
    color:var(--navy);
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:12px;
}

.schedule-session h3{
    margin:0 0 10px;
    color:var(--navy);
}

.schedule-session p{margin:0;line-height:1.6}

/* ==========================================================
   VENUE / WHAT'S INCLUDED
========================================================== */

.conference-information{
    background:#fff;
}

.conference-information__grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:32px;
    align-items:start;
}

.conference-venue,
.conference-included{
    background:#f7f8fb;
    padding:32px;
    border-radius:8px;
}

/* ==========================================================
   VENUE
========================================================== */
.conference-venue{
    position:relative;
    overflow:hidden;
    min-height:520px;
}

.conference-venue::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:url('/wp-content/themes/binformed-child/assets/images/civil-service-club-london.png');
    background-repeat:no-repeat;
    background-position:right bottom;
    background-size:88% auto;
    z-index:1;
}

.conference-venue::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(247,248,251,1) 0%,
        rgba(247,248,251,.98) 25%,
        rgba(247,248,251,.70) 45%,
        rgba(247,248,251,.15) 70%,
        rgba(247,248,251,0) 100%
    );
}

.conference-venue > *{
    position:relative;
    z-index:3;
    max-width:330px;
}

/* Section headings */
.conference-venue h2,
.conference-included h2{
    position:relative;
    margin:0 0 28px;
    padding-bottom:14px;
    color:#041a45;
    font-size:42px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1px;
    text-align:left;
}

.conference-venue h2:after,
.conference-included h2:after{
    content:'';
    position:absolute;
    left:0;
    bottom:0;
    width:70px;
    height:4px;
    background:#b4d334;
}

.conference-venue address{
    font-style:normal;
    line-height:1.8;
    margin-bottom:18px;
}

.conference-venue figure{
    margin-top:24px;
}

.conference-venue img{
    border-radius:6px;
    width:100%;
}

.conference-venue figcaption{
    display:none;
}

/* ==========================================================
   WHAT'S INCLUDED
========================================================== */

.conference-included ul{
    margin:0;
    padding:0;
    list-style:none !important;
}

.conference-included li{
    position:relative;
    list-style:none !important;
    margin:0 0 16px;
    padding:0 0 0 34px;
    border:none;
    font-size:18px;
    line-height:1.5;
}

/* remove browser bullets */
.conference-included li::marker{
    content:"";
}

/* Green circular icon */
.conference-included li:before{
    content:"✓";
    position:absolute;
    left:0;
    top:2px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#b4d334;
    color:#fff;
    font-size:13px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* CTA */
.conference-cta{
    background:var(--navy);
    color:#fff;
    text-align:center;
    padding-top:90px;
}

.conference-cta h2{color:#fff}

.conference-cta .conference-button{
    margin-top:20px;
}

.conference-cta .btn-primary{
    display:inline-block;
    background:var(--green);
    color:var(--navy);
    text-decoration:none;
    padding:18px 48px;
    border-radius:8px;
    text-transform:uppercase;
    font-weight:800;
}

.conference-tickets{
    text-align:left;
}

.conference-tickets .conference-cta__content{
    max-width:860px;
    margin:0 auto;
}

.conference-tickets h2,
.conference-tickets > .conference-container > .conference-cta__content > p{
    text-align:center;
}

.conference-tickets .etn-single-event-ticket-wrap{
    margin-top:28px;
    color:var(--text);
}

.conference-tickets .etn-single-event-ticket-wrap a,
.conference-tickets .etn-single-event-ticket-wrap button{
    cursor:pointer;
}

.conference-guarantee{
    margin-top:24px;
    opacity:.9;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:980px){
    /* Hero */
    .conference-hero{
        min-height:auto;
        padding:70px 0 120px;
        background-image:
            linear-gradient(
                90deg,
                rgba(3,22,63,.95) 0%,
                rgba(3,22,63,.92) 60%,
                rgba(3,22,63,.80) 100%
            ),
            var(--hero-image);
        background-position:center;
        background-repeat:no-repeat;
        background-size:cover;
    }
    .conference-title{
        font-size:52px;
    }
    .hero-copy{
        max-width:100%;
    }
    .hero-inner{
        flex-direction:column;
        gap:24px;
    }
    .hero-copy h2{
        font-size:30px;
        line-height:1.15;
    }
    .hero-copy p{
        font-size:18px;
        line-height:1.7;
    }
    .hero-ribbon{
        padding:12px 16px;
        font-size:13px;
    }
    /* Hero Event Summary */
    .conference-hero .conference-event-summary{
        position:relative;
        left:auto;
        bottom:auto;
        width:100%;
        margin-top:24px;
        padding:12px 0;
        transform:none;
        background:var(--navy);
    }
    .conference-hero .event-summary__item{
        padding:16px 12px;
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,.12);
    }
    /* Event Summary */
    .conference-hero .event-summary {
        grid-template-columns: repeat(2,1fr);
    }
    /* Benefits */
    .conference-highlights,
    .benefits-grid,
    .audience-grid{
        grid-template-columns:1fr;
    }
    /* Schedule */
    .schedule-row{
        grid-template-columns:1fr;
    }
    .schedule-time{
        padding:15px;
        justify-content:flex-start;
    }
    /* Information */
    .conference-information__grid{
        grid-template-columns:1fr;
    }
    .conference-venue,
    .conference-included{
        padding:35px;
    }
    .conference-venue h2,
    .conference-included h2{
        font-size:32px;
    }
    /* Typography */
    section h2{
        font-size:36px;
    }
}