/* ==========================================================================
   Amnet Resources: Webinars Hub Stylesheet
   Source: webinars.html (Amnet Thought Leadership Design System)
   Hardened for Dynamic Topic/Speaker Filtering, Year Grouping, Marquee & Radar
   ========================================================================== */

/* ---- Essential Cascade Guards ---- */
.yr[hidden],
.wc[hidden],
.fnote[hidden] {
    display: none !important;
}

/* ---- Speaker Avatars & Overlapping Monograms ---- */
.fc,
.fc2,
.fc3,
.fc4 {
    position: relative;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--ink, #1d2024);
    color: #fff;
    font-family: var(--serif, 'Newsreader', Georgia, serif);
    flex-shrink: 0;
}
.fc {
    width: 34px;
    height: 34px;
    font-size: 13px;
    border: 2px solid #1d2024;
    margin-left: -8px;
}
.fc:first-child {
    margin-left: 0;
}
.fc img,
.fc2 img,
.fc3 img,
.fc4 img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #3a3e45;
}
.fc2 {
    width: 64px;
    height: 64px;
    font-size: 20px;
    border: 2px solid var(--accent, #ee5b42);
}
.fc3 {
    width: 96px;
    height: 96px;
    font-size: 28px;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(29,32,36,.18);
}
.fi {
    font-style: normal;
    font-weight: 600;
}

/* ---- Webinars Hero Section ---- */
.whx {
    background: var(--ink, #1d2024);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.whx::before {
    content: "";
    position: absolute;
    right: -180px;
    top: -220px;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, rgba(238,91,66,.30) 0, rgba(238,91,66,0) 62%);
    border-radius: 50%;
    animation: breathe 8s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes breathe {
    to { transform: scale(1.08) rotate(8deg); }
}
.whx .wrap {
    position: relative;
    padding-top: 40px;
    padding-bottom: 56px;
}
.whx .crumbs,
.whx .crumbs a {
    color: #a3a7ae;
}
.whx .crumbs .here {
    color: #fff;
}
.whg {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}
.whg > * {
    min-width: 0;
}
.whx .display {
    color: #fff;
}
.whx .display em {
    font-style: italic;
    color: var(--accent, #ee5b42);
}
.whx .lede {
    color: #c9ccd2;
    margin-top: 24px;
    max-width: 54ch;
}
.whx .hero-cta {
    margin-top: 28px;
}
.whx .btn-ghost {
    color: #c9ccd2;
}
.whx .btn-ghost:hover {
    color: #fff;
}

/* ---- Interactive Radar Widget (.rg) ---- */
.rg {
    --ri: var(--ink, #1d2024);
    --rd: #fff;
    --rl: rgba(29,32,36,.08);
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    margin: 0 auto;
    cursor: crosshair;
}
.rg.dk {
    --ri: #e6e7ea;
    --rd: #2a2d33;
    --rl: rgba(255,255,255,.1);
}
.rgs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.rg0 {
    fill: none;
    stroke: rgba(238,91,66,.4);
    stroke-dasharray: 3 7;
    transform-origin: center;
    animation: rgspin 50s linear infinite;
}
.rg1 {
    fill: none;
    stroke: var(--rl);
}
@keyframes rgspin {
    to { transform: rotate(360deg); }
}
.rgd {
    fill: var(--rd);
    stroke: var(--rl);
}
.rga {
    fill: none;
    stroke: var(--accent, #ee5b42);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 0 100;
    transform: rotate(-90deg);
}
.rg line.re {
    stroke: var(--ri);
    stroke-width: 3.2;
    stroke-linecap: round;
}
.rg[data-k=type] line.re { stroke-width: 4.4; }
.rg[data-k=pen] line.re { stroke-width: 1.6; }
.rg[data-k=chart] line.re { stroke-width: 5; stroke-linecap: butt; }
.rg circle.re {
    fill: var(--ri);
}
.rg .re.hot {
    stroke: var(--accent, #ee5b42);
    fill: var(--accent, #ee5b42);
}
.rpa {
    fill: none;
    stroke: var(--ri);
    stroke-width: 9;
    opacity: .85;
}
.rpg.hot .rpa {
    stroke: var(--accent, #ee5b42);
}
.rgc {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30%;
    aspect-ratio: 1;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    background: var(--ink, #1d2024);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(29,32,36,.25);
    transition: background .3s, transform .3s;
}
.rg.dk .rgc {
    background: #fff;
}
.rgc:hover,
.rgc:focus-visible {
    background: var(--accent, #ee5b42) !important;
    transform: translate(-50%,-50%) scale(1.06);
}
.rgc svg {
    width: 34%;
    height: 34%;
    fill: #fff;
    stroke: #fff;
}
.rg.dk .rgc svg {
    fill: var(--ink, #1d2024);
    stroke: var(--ink, #1d2024);
}
.rgc:hover svg {
    fill: #fff;
    stroke: #fff;
}
.rgc span {
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10px;
    letter-spacing: .18em;
    color: #ffb3a4;
}
.rg.dk .rgc span {
    color: var(--accent, #ee5b42);
}
.rgc:hover span {
    color: #fff !important;
}
.rgl {
    position: absolute;
    left: 50%;
    bottom: 1%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--accent, #ee5b42);
    white-space: nowrap;
}
.rgl b {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent, #ee5b42);
    animation: rgblink 1.6s ease-in-out infinite;
}
@keyframes rgblink {
    50% { opacity: .25; }
}

/* ---- Speakers Logo / Name Marquee Ticker ---- */
.mq {
    position: relative;
    display: flex;
    align-items: center;
    border-top: 1px solid #3a3e45;
    background: #17191c;
    overflow: hidden;
    max-width: 100%;
}
.mql {
    flex-shrink: 0;
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10.5px;
    letter-spacing: .16em;
    color: var(--accent, #ee5b42);
    padding: 18px 24px 18px max(24px, calc((100vw - 1264px) / 2));
    background: #17191c;
    position: relative;
    z-index: 1;
    box-shadow: 12px 0 16px #17191c;
}
.mqw {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}
.mqt {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: mq 40s linear infinite;
    padding: 18px 0;
}
.mq:hover .mqt {
    animation-play-state: paused;
}
.mqt span {
    font-family: var(--serif, 'Newsreader', Georgia, serif);
    font-size: 22px;
    color: #e6e7ea;
    white-space: nowrap;
}
.mqt i {
    font-style: normal;
    font-size: 7px;
    color: var(--accent, #ee5b42);
}
@keyframes mq {
    to { transform: translateX(-50%); }
}

/* ---- Hero Metrics Count-Up ---- */
.cnt {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #3a3e45;
}
.cnt > div {
    padding: 22px 0 0;
    border-right: 1px solid #3a3e45;
    padding-right: 14px;
}
.cnt > div:nth-child(3) {
    border-right: none;
}
.cnt b {
    display: block;
    font-family: var(--serif, 'Newsreader', Georgia, serif);
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    color: #fff;
}
.cnt > div span {
    display: block;
    margin-top: 10px;
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10.5px;
    letter-spacing: .14em;
    color: #a3a7ae;
    line-height: 1.5;
}
.cnt .rec {
    grid-column: 1 / -1;
    border-right: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 11px;
    letter-spacing: .16em;
    color: #ffb3a4;
    padding-top: 26px;
}
.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent, #ee5b42);
    animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
    50% { opacity: .25; }
}

/* ---- Section 01: Sessions Grid & Filters ---- */
.arts {
    padding: 64px 0 72px;
}
.sh2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.shp {
    margin: 10px 0 0;
    font-size: 15px;
    color: var(--muted, #6b6e75);
}
.flt2 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.flt2 button {
    font: inherit;
    font-size: 14px;
    border: 1px solid var(--line2, #cfd2d7);
    background: #fff;
    color: var(--ink, #1d2024);
    padding: 9px 16px;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.flt2 button sup {
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10px;
    color: var(--muted, #6b6e75);
    margin-left: 2px;
}
.flt2 button:hover {
    border-color: var(--ink, #1d2024);
}
.flt2 button.on {
    background: var(--ink, #1d2024);
    color: #fff;
    border-color: var(--ink, #1d2024);
}
.flt2 button.on sup {
    color: #ffb3a4;
}
.flt2 button:focus-visible {
    outline: 2px solid var(--blue, #0061a8);
    outline-offset: 2px;
}
.fnote {
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--accent, #ee5b42);
    margin-left: 6px;
    align-self: center;
}

/* ---- Year Group Sections ---- */
.yr {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    padding: 30px 0;
    border-top: 1.5px solid var(--ink, #1d2024);
}
.yr > * {
    min-width: 0;
}
.yl {
    position: sticky;
    top: 150px;
    align-self: start;
}
.yl span {
    display: block;
    font-family: var(--serif, 'Newsreader', Georgia, serif);
    font-size: 64px;
    line-height: .9;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--ink, #1d2024);
}
.yl i,
.yl .yc {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10.5px;
    letter-spacing: .14em;
    color: var(--accent, #ee5b42);
    text-transform: uppercase;
}
.wgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.wgrid > * {
    min-width: 0;
}

/* ---- Webinar Card (.wc) ---- */
.wc {
    position: relative;
    background: #1d2024;
    transition: transform .35s, box-shadow .35s;
}
.wc.in {
    animation: cin .4s ease both;
}
@keyframes cin {
    from { opacity: 0; transform: translateY(10px); }
}
.wc:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(29,32,36,.25);
}
.wc > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: #fff;
}
.wc > a:focus-visible {
    outline: 3px solid var(--accent, #ee5b42);
    outline-offset: 3px;
}
.wim {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: radial-gradient(circle at 85% 10%, rgba(238,91,66,.35) 0, rgba(238,91,66,0) 45%),
                repeating-radial-gradient(circle at 85% 10%, rgba(255,255,255,.05) 0 1px, transparent 1px 20px),
                linear-gradient(160deg, #2c3440, #1d2024);
}
.wim img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s;
}
.wc:hover .wim img {
    transform: scale(1.06);
}
.wtop {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    z-index: 2;
}
.wtop .atag {
    position: static;
    background: var(--accent, #ee5b42);
    color: #fff;
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10px;
    letter-spacing: .14em;
    padding: 5px 9px;
}
.od {
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10px;
    letter-spacing: .12em;
    color: #fff;
    background: rgba(21,23,26,.7);
    padding: 5px 9px;
}
.wpl {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%,-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--accent, #ee5b42);
    display: grid;
    place-items: center;
    transition: opacity .3s, transform .3s;
    animation: pulse 2.4s infinite;
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(238,91,66,.55); }
    70% { box-shadow: 0 0 0 18px rgba(238,91,66,0); }
    100% { box-shadow: 0 0 0 0 rgba(238,91,66,0); }
}
.wpl svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-left: 3px;
}
.wc:hover .wpl {
    opacity: 0;
    transform: translate(-50%,-50%) scale(.6);
}
.wmore {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(21,23,26,.92);
    padding: 46px 18px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s;
}
.wc:hover .wmore,
.wc > a:focus-visible .wmore {
    opacity: 1;
}
.wml {
    display: block;
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10px;
    letter-spacing: .14em;
    color: var(--accent, #ee5b42);
    margin-bottom: 8px;
}
.wmore ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wmore li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.4;
    color: #e6e7ea;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.wmore li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: var(--accent, #ee5b42);
}
.wbot {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.wd {
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10.5px;
    letter-spacing: .14em;
    color: #ffb3a4;
}
.wbot h3 {
    font-family: var(--serif, 'Newsreader', Georgia, serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.22;
    margin: 0;
    color: #fff;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.wc .who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.14);
}
.who .fc {
    border-color: #1d2024;
    background: #3a3e45;
}
.wc .faces {
    display: flex;
    flex-shrink: 0;
}
.wn {
    font-size: 12.5px;
    line-height: 1.4;
    color: #c9ccd2;
    overflow-wrap: anywhere;
}
.wgo {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid var(--accent, #ee5b42);
    align-self: flex-start;
    padding-bottom: 2px;
}

/* ---- Optional Speakers Directory Section ---- */
.wall {
    padding: 60px 0 56px;
}
.skw {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px 18px;
}
.sk {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    background: none;
    border: none;
    color: #c9ccd2;
    cursor: pointer;
    font: inherit;
    padding: 6px;
}
.sk:focus-visible {
    outline: 2px solid var(--accent, #ee5b42);
    outline-offset: 2px;
}
.ring {
    position: relative;
    display: block;
    padding: 5px;
    border-radius: 50%;
    border: 2px solid #3a3e45;
    transition: border-color .3s, transform .3s;
    margin-bottom: 8px;
}
.sk.am .ring {
    border-style: dashed;
}
.sk:hover .ring,
.sk.on .ring {
    border-color: var(--accent, #ee5b42);
    transform: scale(1.06);
}
.fc4 {
    position: relative;
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    background: #3a3e45;
    color: #fff;
    font-family: var(--serif, 'Newsreader', Georgia, serif);
    font-size: 30px;
    filter: grayscale(1);
    transition: filter .4s;
}
.fc4 img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sk:hover .fc4,
.sk.on .fc4 {
    filter: none;
}
.cnt2 {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent, #ee5b42);
    color: #fff;
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 12px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink, #1d2024);
}
.sk b {
    font-family: var(--serif, 'Newsreader', Georgia, serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
}
.so {
    font-size: 12.5px;
    line-height: 1.4;
    color: #a3a7ae;
}
.skey {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 34px;
    font-family: var(--mono, 'IBM Plex Mono', monospace);
    font-size: 10.5px;
    letter-spacing: .12em;
    color: #a3a7ae;
    text-transform: uppercase;
}
.skey i {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #6b6e75;
    margin-right: 8px;
    vertical-align: -3px;
}
.skey i.a {
    border-style: dashed;
}

/* ---- Responsive Breakpoints & Accessibility ---- */
@media (prefers-reduced-motion: reduce) {
    .whx::before,
    .mqt,
    .dot,
    .wpl,
    .wc.in {
        animation: none !important;
        transition: none !important;
    }
    .rg0 {
        animation: none !important;
    }
}

@media (hover: none) {
    .wpl {
        display: none;
    }
}

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

@media (max-width: 1000px) {
    .whg {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 24px;
    }
    .whx .display {
        font-size: 36px;
    }
    .yr {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .yl {
        position: static;
        display: flex;
        align-items: baseline;
        gap: 14px;
    }
    .yl span {
        font-size: 46px;
    }
    .wgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mqt span {
        font-size: 18px;
    }
    .mql {
        padding-left: 24px;
    }
    .rg {
        max-width: 320px;
    }
    .cnt b {
        font-size: 46px;
    }
}

@media (max-width: 640px) {
    .whx .display {
        font-size: 28px;
    }
    .wgrid {
        grid-template-columns: minmax(0, 1fr);
    }
    .skw {
        grid-template-columns: 1fr 1fr;
    }
    .fc4 {
        width: 84px;
        height: 84px;
    }
    .flt2 {
        gap: 6px;
    }
    .flt2 button {
        padding: 7px 12px;
        font-size: 13px;
    }
    .yl span {
        font-size: 36px;
    }
}
