/* YDF Fest Speaker & Agenda Manager v0.2.0 — scoped component design system. */
.ydfm{--ydfm-plum:#59006d;--ydfm-deep:#29102f;--ydfm-ink:#211628;--ydfm-muted:#6f6272;--ydfm-lilac:#f7f0f7;--ydfm-pale:#fcf8fb;--ydfm-line:#e9dfe9;--ydfm-lime:#89b95f;--ydfm-white:#fff;color:var(--ydfm-ink);font-family:Raleway,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;width:100%;max-width:100%;font-weight:400}
.ydfm,.ydfm *, .ydfm *:before,.ydfm *:after{box-sizing:border-box}
.ydfm [hidden]{display:none!important}
.ydfm a{text-decoration:none}
.ydfm a:focus-visible,.ydfm button:focus-visible,.ydfm input:focus-visible{outline:3px solid var(--ydfm-lime);outline-offset:4px}
.ydfm-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex-shrink:0}
.ydfm-empty,.ydfm-no-results{padding:28px 30px;border:1px solid var(--ydfm-line);border-radius:16px;background:var(--ydfm-pale);color:var(--ydfm-muted);margin:20px auto!important;max-width:1170px}
/* Editorial directory page — image and name ONLY on cards */
.ydfm-directory{isolation:isolate;background:#fff;padding-bottom:74px}
.ydfm-directory__masthead{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(116deg,#fbf6fa 0%,#f4eaf4 60%,#f9f2f8 100%);min-height:340px;padding:66px 30px 52px}
.ydfm-directory__masthead:before{content:"";position:absolute;right:-180px;top:-320px;width:770px;height:770px;border-radius:50%;border:1px solid #e3d2e4;box-shadow:0 0 0 49px rgba(110,48,132,.032),0 0 0 108px rgba(110,48,132,.025),0 0 0 173px rgba(110,48,132,.02);z-index:-1}
.ydfm-directory__masthead:after{content:"";position:absolute;left:-110px;bottom:-170px;width:300px;height:300px;border-radius:50%;background:rgba(141,191,109,.08);z-index:-1}
.ydfm-directory__orb{position:absolute;border-radius:50%;background:#cfe1c2;opacity:.45;pointer-events:none;z-index:-1}
.ydfm-directory__orb--one{height:14px;width:14px;left:10%;top:24%}
.ydfm-directory__orb--two{height:31px;width:31px;right:13%;bottom:12%;opacity:.3}
.ydfm-directory__masthead-inner{max-width:1170px;margin:0 auto;position:relative}
.ydfm-directory__eyebrow,.ydfm-section-kicker,.ydfm-profile__eyebrow{display:flex;align-items:center;gap:11px;letter-spacing:.19em;font-weight:800;font-size:11px;line-height:1.5;color:var(--ydfm-plum);text-transform:uppercase}
.ydfm-directory__eyebrow{margin:0 0 25px!important}
.ydfm-directory__eyebrow span,.ydfm-profile__eyebrow span{display:block;width:24px;height:2px;background:var(--ydfm-lime)}
.ydfm-directory__eyebrow span:last-child{width:5px;height:5px;border-radius:50%;background:var(--ydfm-plum)}
.ydfm-directory__masthead h2{font:800 clamp(40px,5.1vw,76px)/1.07 Raleway,Arial,sans-serif!important;letter-spacing:-.062em!important;color:var(--ydfm-deep)!important;max-width:970px!important;margin:0 0 24px!important}
.ydfm-directory__masthead h2 em{font:italic 500 1.12em/1.0 Georgia,'Times New Roman',serif;color:var(--ydfm-plum)}
.ydfm-directory__period{color:var(--ydfm-lime)}
.ydfm-directory__lead{font-size:16px!important;color:#665568!important;max-width:570px;line-height:1.85!important;margin:0 0 28px!important}
.ydfm-directory__masthead-bottom{display:flex;align-items:center;justify-content:space-between;width:min(620px,100%)}
.ydfm-directory__count{font:800 25px/1 Raleway,Arial,sans-serif;color:var(--ydfm-plum)}
.ydfm-directory__count span{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:var(--ydfm-muted);margin-left:6px;font-weight:800}
.ydfm-directory__decor .ydfm-icon{width:32px;height:32px;color:#98b87c;stroke-width:1.2}
.ydfm-directory__inner{max-width:1170px;width:calc(100% - 48px);margin:0 auto}
.ydfm-directory__controls{padding-top:51px;margin:0 0 24px;display:grid;gap:24px}
.ydfm-directory__controls-top{display:flex;align-items:end;justify-content:space-between;gap:28px;flex-wrap:wrap}
.ydfm-directory__label span{font:800 10px/1.4 Raleway,Arial,sans-serif;color:var(--ydfm-plum);letter-spacing:.19em}
.ydfm-directory__label h3{font:800 clamp(23px,2.5vw,33px)/1.22 Raleway,Arial,sans-serif!important;color:var(--ydfm-ink)!important;letter-spacing:-.035em;margin:6px 0 0!important}
.ydfm-search{display:flex;align-items:center;gap:13px;min-width:240px;width:min(100%,365px);background:#fff;border:1px solid #e7dae8;border-radius:48px;padding:0 19px;box-shadow:0 8px 25px rgba(55,15,63,.036);color:var(--ydfm-plum);transition:box-shadow .2s,border-color .2s}
.ydfm-search:focus-within{border-color:var(--ydfm-plum);box-shadow:0 6px 26px rgba(89,0,109,.095)}
.ydfm-search .ydfm-icon{width:19px;height:19px}
.ydfm-search input[type=search]{flex:1;display:block;min-width:0;width:100%;color:var(--ydfm-ink)!important;box-shadow:none!important;border:0!important;outline:0!important;background:transparent!important;font:600 14px/1.4 Raleway,Arial,sans-serif!important;height:51px!important;padding:12px 0!important;margin:0!important}
.ydfm-search input[type=search]::placeholder{color:#96869a;opacity:1}
.ydfm-alphabet{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:14px 0;border-top:1px solid var(--ydfm-line);border-bottom:1px solid var(--ydfm-line)}
.ydfm-alphabet button{appearance:none;border:0;background:transparent;min-width:32px;min-height:36px;padding:8px 9px;margin:0;cursor:pointer;color:#6e6070;font:800 12px/1.2 Raleway,Arial,sans-serif;border-radius:6px;transition:background .18s,color .18s}
.ydfm-alphabet button[data-ydfm-letter=all]{min-width:51px;margin-right:7px}
.ydfm-alphabet button:hover:not(:disabled),.ydfm-alphabet button.is-active{background:var(--ydfm-plum);color:#fff}
.ydfm-alphabet button:disabled{color:#cfc2d0;cursor:not-allowed}
.ydfm-directory__results{color:var(--ydfm-muted);min-height:24px;font-size:12px;letter-spacing:.035em;margin:0 0 19px}
.ydfm-directory__results:empty{display:none}
.ydfm-speakers-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch;margin:0 auto}
.ydfm-speakers-grid--featured{grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}
.ydfm-speaker-card{height:100%;min-width:0;margin:0!important;padding:0!important;position:relative;isolation:isolate;border:1px solid #ece4ec;background:white;border-radius:17px;overflow:hidden;box-shadow:0 8px 24px rgba(55,20,57,.045);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.ydfm-speaker-card:hover{transform:translateY(-6px);border-color:#ddccdf;box-shadow:0 22px 45px rgba(55,20,57,.13)}
.ydfm-speaker-card__link{display:flex;flex-direction:column;height:100%;color:inherit!important;text-decoration:none!important}
.ydfm-speaker-card__image{width:100%;aspect-ratio:4/4.65;overflow:hidden;position:relative;background:#e7dfe7}
.ydfm-speaker-card__image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(38,9,44,.05));pointer-events:none}
.ydfm-speaker-card__photo{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;transition:transform .55s cubic-bezier(.22,.6,.25,1)}
.ydfm-speaker-card:hover .ydfm-speaker-card__photo{transform:scale(1.05)}
.ydfm-photo-pending{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:165px;color:#856e89;font-size:13px;text-align:center;padding:20px}
.ydfm-speaker-card__body{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;padding:20px 18px 22px;position:relative;background:#fff;border-top:3px solid #b6cd9d}
.ydfm-speaker-card__body h3{font:800 clamp(15px,1.32vw,18px)/1.35 Raleway,Arial,sans-serif!important;letter-spacing:-.027em!important;color:var(--ydfm-ink)!important;margin:0!important;text-align:left}
.ydfm-speaker-card__more{border:1px solid #eddfee;display:grid;place-items:center;flex:none;width:31px;height:31px;color:var(--ydfm-plum);border-radius:50%;transition:background .2s,color .2s,transform .2s}
.ydfm-speaker-card__more .ydfm-icon{width:15px;height:15px}
.ydfm-speaker-card:hover .ydfm-speaker-card__more{background:var(--ydfm-plum);color:#fff;transform:translateX(2px)}
.ydfm-single-card{max-width:330px;padding-bottom:0}
.ydfm-single-card .ydfm-speakers-grid{grid-template-columns:1fr}
/* Speaker single: lavish, restrained editorial typography and intentional negative space */
.ydfm-single-template{width:100%;max-width:none!important;margin:0;padding:0;display:block}
.ydfm-profile{width:100%;max-width:none}
.ydfm-profile__wrap{width:min(1170px,calc(100% - 52px));margin:0 auto}
.ydfm-profile__hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(117deg,#faf6fa 0%,#f4eaf4 100%);padding:44px 0 94px}
.ydfm-profile__hero:before{content:"";position:absolute;z-index:-1;right:-240px;top:-335px;width:780px;height:780px;border-radius:50%;border:1px solid #e2d1e3;box-shadow:0 0 0 48px rgba(104,18,119,.036),0 0 0 103px rgba(104,18,119,.026),0 0 0 175px rgba(104,18,119,.018)}
.ydfm-profile__hero:after{content:"";position:absolute;bottom:-100px;left:-150px;width:340px;height:340px;border-radius:50%;background:rgba(152,192,133,.09);z-index:-1}
.ydfm-profile__topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 51px}
.ydfm-profile__back{display:inline-flex;align-items:center;gap:8px;color:var(--ydfm-plum)!important;font-size:13px;font-weight:800;text-decoration:none!important}
.ydfm-profile__back:hover{text-decoration:underline!important;text-underline-offset:4px}
.ydfm-profile__back .ydfm-icon{width:17px;height:17px}
.ydfm-profile__edition{color:#806e82;letter-spacing:.15em;font:800 10px/1.4 Raleway,Arial,sans-serif}
.ydfm-profile__hero-grid{display:grid;grid-template-columns:minmax(280px,.93fr) minmax(0,1.07fr);gap:clamp(36px,7vw,105px);align-items:center}
.ydfm-profile__image-shell{position:relative;padding:0 17px 17px 0;max-width:515px}
.ydfm-profile__image{position:relative;width:100%;aspect-ratio:4/4.5;background:#e4d8e4;overflow:hidden;border-radius:16px;box-shadow:16px 16px 0 rgba(98,0,113,.10),0 25px 55px rgba(45,9,45,.1)}
.ydfm-profile__portrait{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important}
.ydfm-profile__image-mark{position:absolute;z-index:2;bottom:0;left:0;width:66px;height:5px;border-radius:5px;background:var(--ydfm-lime)}
.ydfm-profile__eyebrow{margin:0 0 22px!important}
.ydfm-profile__intro h1{font:800 clamp(40px,5.25vw,73px)/1.09 Raleway,Arial,sans-serif!important;letter-spacing:-.065em!important;color:var(--ydfm-deep)!important;margin:0 0 23px!important;overflow-wrap:break-word}
.ydfm-profile__dot{color:var(--ydfm-lime)}
.ydfm-profile__role{font:600 clamp(17px,1.8vw,23px)/1.45 Raleway,Arial,sans-serif!important;color:var(--ydfm-plum)!important;margin:0 0 27px!important}
.ydfm-profile__highlights{display:flex;flex-wrap:wrap;gap:9px;list-style:none!important;margin:0 0 25px!important;padding:0!important}
.ydfm-profile__highlights li{display:inline-flex;align-items:center;gap:7px;list-style:none!important;margin:0!important;padding:9px 14px;border:1px solid #e6d8e7;background:rgba(255,255,255,.9);border-radius:24px;font-size:12px;font-weight:600;color:#65526a}
.ydfm-profile__highlights .ydfm-icon{color:#619346;width:14px;height:14px}
.ydfm-profile__hero-rule{display:block;width:60px;height:3px;background:var(--ydfm-lime);margin-top:29px;border-radius:4px}
.ydfm-profile__hero-caption{font:700 11px/1.5 Raleway,Arial,sans-serif!important;letter-spacing:.2em;text-transform:uppercase;color:#85718a!important;margin:16px 0 0!important}
.ydfm-profile__content{background:#fff;padding:91px 0 103px}
.ydfm-profile__content-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);align-items:start;gap:clamp(30px,6vw,90px)}
.ydfm-profile__content-grid--single{grid-template-columns:1fr;max-width:900px}
.ydfm-section-kicker{margin:0 0 12px!important;font-size:10px!important}
.ydfm-profile__content h2,.ydfm-profile__sessions h2{font:800 clamp(27px,3.2vw,42px)/1.21 Raleway,Arial,sans-serif!important;letter-spacing:-.049em!important;color:var(--ydfm-plum)!important;margin:0 0 29px!important}
.ydfm-profile__bio{color:#45394a;max-width:730px;font-size:16px;line-height:2.0;overflow-wrap:anywhere}
.ydfm-profile__bio p{margin:0 0 22px!important}
.ydfm-profile__resources{background:#f9f4f8;border:1px solid #e9dbe9;border-radius:19px;padding:32px 30px;box-shadow:0 15px 38px rgba(64,12,65,.035)}
.ydfm-profile__resources h3{font:800 22px/1.32 Raleway,Arial,sans-serif!important;letter-spacing:-.025em;color:var(--ydfm-plum)!important;margin:0 0 23px!important}
.ydfm-profile__resources ul{list-style:none!important;display:grid;gap:0;margin:0!important;padding:0!important}
.ydfm-profile__resources li{list-style:none!important;margin:0!important;padding:0!important}
.ydfm-profile__resources a{display:flex;align-items:center;gap:11px;border-bottom:1px solid #e5d7e5;padding:14px 0;color:var(--ydfm-plum)!important;font-size:14px;font-weight:700;text-decoration:none!important}
.ydfm-profile__resources li:last-child a{border-bottom:0}
.ydfm-profile__resources a:hover{text-decoration:underline!important;text-underline-offset:4px}
.ydfm-profile__resources a .ydfm-icon:last-child{margin-left:auto;width:15px;height:15px}
.ydfm-profile__sessions{background:#faf5f9;padding:73px 0 93px}
.ydfm-profile__footer{background:#fff;border-top:1px solid var(--ydfm-line);padding:25px 0}
.ydfm-profile__footer .ydfm-profile__wrap{display:flex;justify-content:space-between;align-items:center;gap:20px}
.ydfm-profile__footer a{display:inline-flex;align-items:center;gap:10px;color:var(--ydfm-plum)!important;font-size:13px;font-weight:800}
.ydfm-profile__footer span{font:800 12px/1 Raleway,Arial,sans-serif;color:var(--ydfm-plum);letter-spacing:.2em}
/* Agenda cards retain existing automatic day/speaker linkage. */
.ydfm-agenda{padding:16px 0 60px}
.ydfm-day-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 28px}
.ydfm-day-tabs button{appearance:none;cursor:pointer;padding:12px 23px;background:#fff;border:1px solid #e5d6e5;border-radius:30px;color:var(--ydfm-plum);font:800 13px/1.4 Raleway,Arial,sans-serif;transition:background .2s,color .2s}
.ydfm-day-tabs button:hover,.ydfm-day-tabs button.is-active,.ydfm-day-tabs button[aria-selected=true]{color:#fff;background:var(--ydfm-plum);border-color:var(--ydfm-plum)}
.ydfm-day-panel h2{font:800 clamp(24px,3vw,38px)/1.25 Raleway,Arial,sans-serif!important;letter-spacing:-.04em!important;color:var(--ydfm-plum)!important;margin:0 0 4px!important}
.ydfm-day-panel__zone{color:var(--ydfm-muted);font-size:13px;margin:0 0 27px!important}
.ydfm-session-list{max-width:1100px;display:grid;gap:13px}
.ydfm-session-card{display:grid;grid-template-columns:minmax(150px,.25fr) minmax(0,1fr);gap:23px;background:#fff;border:1px solid #e9dde9;border-left:4px solid #a5c188;border-radius:14px;padding:25px 28px;box-shadow:0 9px 26px rgba(51,15,51,.04)}
.ydfm-session-card__time{display:flex;align-items:flex-start;gap:8px;color:var(--ydfm-plum);font-size:13px;font-weight:800;line-height:1.6}
.ydfm-session-card__time .ydfm-icon{width:17px;height:17px;margin-top:2px}
.ydfm-session-card__body h3{font:800 clamp(19px,2vw,25px)/1.3 Raleway,Arial,sans-serif!important;letter-spacing:-.03em!important;color:var(--ydfm-ink)!important;margin:0 0 12px!important}
.ydfm-session-card__description{font-size:14px;color:var(--ydfm-muted);line-height:1.75}
.ydfm-session-card__description p{margin:0 0 10px!important}
.ydfm-session-card__speakers{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--ydfm-plum);font-size:13px;font-weight:700;margin:17px 0 0!important}
.ydfm-session-card__speakers .ydfm-icon{width:17px;height:17px;margin-right:3px}
.ydfm-session-card__speakers a{color:var(--ydfm-plum)!important;text-decoration:underline;text-underline-offset:3px}
/* Admin preview: contained so WP dashboard CSS cannot change the public design. */
.ydfm-admin-preview>.ydfm{margin-top:16px}
.ydfm-admin-preview>hr{border:0;border-top:1px solid #ddd;margin:46px 0 32px}
.ydfm-admin-preview>form{margin:12px 0 25px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ydfm-admin-preview>form select{min-height:32px}
.ydfm-admin-preview>.ydfm-profile{background:#fff}
@media(max-width:1080px){.ydfm-speakers-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ydfm-speakers-grid--featured{grid-template-columns:repeat(3,minmax(0,1fr))}.ydfm-profile__hero-grid{gap:35px}.ydfm-profile__content-grid{gap:35px}}
@media(max-width:767px){.ydfm-directory{padding-bottom:45px}.ydfm-directory__masthead{padding:45px 0 36px;min-height:auto}.ydfm-directory__masthead-inner{width:calc(100% - 38px)}.ydfm-directory__masthead h2{font-size:clamp(33px,7vw,51px)!important}.ydfm-directory__lead{font-size:14px!important}.ydfm-directory__inner{width:calc(100% - 30px)}.ydfm-directory__controls{padding-top:34px;margin-bottom:15px}.ydfm-directory__controls-top{align-items:stretch;gap:19px}.ydfm-search{width:100%;min-width:0}.ydfm-alphabet{gap:3px}.ydfm-alphabet button{min-width:29px;min-height:32px;padding:6px 8px}.ydfm-speakers-grid,.ydfm-speakers-grid--featured{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ydfm-speaker-card{border-radius:12px}.ydfm-speaker-card__image{aspect-ratio:4/4.5}.ydfm-speaker-card__body{padding:14px 12px 16px}.ydfm-speaker-card__body h3{font-size:14px!important}.ydfm-speaker-card__more{width:27px;height:27px}.ydfm-single-card .ydfm-speakers-grid{grid-template-columns:1fr}.ydfm-profile__wrap{width:calc(100% - 34px)}.ydfm-profile__hero{padding:23px 0 50px}.ydfm-profile__topline{margin-bottom:27px}.ydfm-profile__edition{display:none}.ydfm-profile__hero-grid{grid-template-columns:1fr;gap:43px}.ydfm-profile__image-shell{max-width:440px;margin:0 auto}.ydfm-profile__image{aspect-ratio:4/4.25}.ydfm-profile__intro h1{font-size:clamp(35px,7vw,50px)!important}.ydfm-profile__content{padding:54px 0 62px}.ydfm-profile__content-grid{grid-template-columns:1fr;gap:29px}.ydfm-profile__resources{padding:27px 24px}.ydfm-profile__sessions{padding:55px 0}.ydfm-session-card{grid-template-columns:1fr;padding:20px 22px;gap:9px}.ydfm-profile__footer .ydfm-profile__wrap{flex-wrap:wrap}}
@media(max-width:420px){.ydfm-speaker-card__body h3{font-size:13px!important}.ydfm-speaker-card__more{width:25px;height:25px}.ydfm-directory__eyebrow{letter-spacing:.13em}.ydfm-profile__hero-rule{margin-top:22px}}
@media(prefers-reduced-motion:reduce){.ydfm-speaker-card,.ydfm-speaker-card__photo,.ydfm-speaker-card__more,.ydfm-alphabet button,.ydfm-day-tabs button{transition:none!important}.ydfm-speaker-card:hover{transform:none}.ydfm-speaker-card:hover .ydfm-speaker-card__photo{transform:none}}
