/* YDF Fest v0.3.0 — reference-inspired layouts, custom Kombucha Kamp brand.
 * Intentionally scoped to .ydfm to avoid modifying the existing Elementor pages.
 */
.ydfm.ydfm-directory,.ydfm.ydfm-profile--reference{--ydfm-plum:#600073;--ydfm-deep:#280c32;--ydfm-ink:#231628;--ydfm-lime:#84b961;--ydfm-line:#e7dce8}
/* Main directory reference: split photographic masthead + compact, scannable speaker cards. */
.ydfm-directory .ydfm-directory__masthead{background:linear-gradient(111deg,#31083f 0%,#4e1567 48%,#d4a7df 100%);padding:0;min-height:0;isolation:isolate}
.ydfm-directory .ydfm-directory__masthead:before{content:"";position:absolute;inset:auto -18% -78% auto;width:630px;height:630px;border-radius:50%;border:1px solid rgba(255,255,255,.21);box-shadow:0 0 0 70px rgba(255,255,255,.04),0 0 0 140px rgba(255,255,255,.025);z-index:0}
.ydfm-directory .ydfm-directory__masthead:after{display:none}
.ydfm-directory .ydfm-directory__masthead-inner{width:min(1230px,calc(100% - 66px));max-width:1230px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.95fr);align-items:stretch;min-height:365px;gap:32px}
.ydfm-directory__hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:60px 0 59px;position:relative;z-index:3}
.ydfm-directory .ydfm-directory__eyebrow{color:#e9d6ed;font-size:10px;margin:0 0 21px!important;letter-spacing:.2em}
.ydfm-directory .ydfm-directory__eyebrow span:first-child{background:var(--ydfm-lime)}
.ydfm-directory .ydfm-directory__eyebrow span:last-child{background:var(--ydfm-lime)}
.ydfm-directory .ydfm-directory__masthead h2{font:800 clamp(36px,4vw,65px)/1.1 Raleway,Arial,sans-serif!important;letter-spacing:-.055em!important;color:#fff!important;margin:0 0 18px!important;max-width:685px!important}
.ydfm-directory .ydfm-directory__masthead h2 em{font-family:Georgia,'Times New Roman',serif;font-weight:500;color:#dfeccf;white-space:nowrap}
.ydfm-directory .ydfm-directory__lead{color:#f4e7f5!important;max-width:490px;margin:0 0 25px!important;font:400 15px/1.85 Raleway,Arial,sans-serif!important}
.ydfm-directory__hero-link{display:inline-flex;align-items:center;gap:12px;background:#fff;color:#4e1260!important;text-decoration:none!important;padding:12px 18px;border-radius:9px;font-size:13px;font-weight:800;line-height:1.4;transition:transform .2s,background .2s}
.ydfm-directory__hero-link:hover{background:#eff7e6;transform:translateY(-2px)}
.ydfm-directory__hero-link .ydfm-icon{width:17px;height:17px}
.ydfm-directory .ydfm-directory__count{margin:25px 0 0;color:#fff;font-size:19px}
.ydfm-directory .ydfm-directory__count span{color:#f7ebf7;font-size:10px;letter-spacing:.1em}
.ydfm-directory__hero-art{position:relative;min-height:365px;overflow:hidden;align-self:stretch;display:flex;align-items:flex-end;justify-content:center;gap:14px;padding:32px 0 0}
.ydfm-directory__hero-art:before{content:"";position:absolute;right:4%;top:8%;height:75%;width:65%;border-radius:50%;background:radial-gradient(circle,#f5dcf1 0%,#d6addf 45%,transparent 72%);opacity:.68}
.ydfm-directory__hero-portrait{position:relative;z-index:1;flex:1 1 0;max-width:180px;height:220px;overflow:hidden;border:3px solid rgba(255,255,255,.75);border-radius:110px 110px 14px 14px;background:#e3c9e7;box-shadow:0 17px 40px rgba(35,9,43,.18);transform:translateY(10px)}
.ydfm-directory__hero-portrait--2{height:288px;max-width:204px;transform:translateY(0)}
.ydfm-directory__hero-portrait--3{height:244px}
.ydfm-directory__hero-headshot{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important}
.ydfm-directory__hero-portrait .ydfm-photo-pending{font-size:11px;padding:12px;text-align:center}
.ydfm-directory .ydfm-directory__inner{max-width:1230px;width:calc(100% - 64px)}
.ydfm-directory .ydfm-directory__controls{padding-top:45px;gap:21px;margin-bottom:20px}
.ydfm-directory .ydfm-directory__label h3{font-size:clamp(21px,2.3vw,29px)!important}
.ydfm-directory .ydfm-search{border-radius:10px;border-color:#ded4e0;background:#faf7fa}
.ydfm-directory .ydfm-alphabet{padding:0 0 17px;border-bottom:1px solid #e8e1e9}
.ydfm-directory .ydfm-speakers-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}
.ydfm-directory .ydfm-speaker-card{border-radius:12px;box-shadow:none;border:1px solid #e6e0e7;background:#fff;transition:transform .2s,border-color .2s,box-shadow .2s}
.ydfm-directory .ydfm-speaker-card:hover{transform:translateY(-4px);border-color:#c1a5cb;box-shadow:0 14px 27px rgba(45,15,53,.1)}
.ydfm-directory .ydfm-speaker-card__image{aspect-ratio:4/4.55}
.ydfm-directory .ydfm-speaker-card__body{padding:13px 12px 16px;border-top:0;gap:4px;align-items:flex-start}
.ydfm-directory .ydfm-speaker-card__body h3{font-size:clamp(12px,1vw,15px)!important;line-height:1.4!important;letter-spacing:-.013em!important}
.ydfm-directory .ydfm-speaker-card__more{width:22px;height:22px;flex:none;border:none;background:transparent}
.ydfm-directory .ydfm-speaker-card__more .ydfm-icon{width:14px;height:14px}
/* Individual Web Summit-inspired profile: top banner, overlapping portrait + information card. */
.ydfm-profile--reference{background:#fff}
.ydfm-profile--reference .ydfm-profile__hero{padding:0 0 67px;background:#fff;position:relative;overflow:visible;isolation:isolate}
.ydfm-profile--reference .ydfm-profile__hero:before,.ydfm-profile--reference .ydfm-profile__hero:after{display:none}
.ydfm-profile__hero-band{position:absolute;z-index:-1;inset:0 0 auto 0;height:235px;border-bottom-left-radius:68px;background:linear-gradient(102deg,#31043e 0%,#650778 63%,#8a4797 100%)}
.ydfm-profile--reference .ydfm-profile__wrap{width:min(1090px,calc(100% - 52px))}
.ydfm-profile--reference .ydfm-profile__topline{padding-top:30px;margin:0 0 47px;position:relative;z-index:2}
.ydfm-profile--reference .ydfm-profile__back{color:#fff!important;font-size:13px}
.ydfm-profile--reference .ydfm-profile__edition{color:#f1dfef}
.ydfm-profile--reference .ydfm-profile__hero-grid{display:grid;grid-template-columns:minmax(205px,.68fr) minmax(0,1.73fr);gap:23px;align-items:start;margin:0 auto;max-width:1050px}
.ydfm-profile--reference .ydfm-profile__image-shell{max-width:none;padding:0;margin:0;position:relative}
.ydfm-profile--reference .ydfm-profile__image{aspect-ratio:3/3.7;border-radius:11px;box-shadow:0 18px 42px rgba(41,10,52,.16);border:2px solid #fff;overflow:hidden;background:#e5d5e6}
.ydfm-profile--reference .ydfm-profile__intro{background:#fff;border:1px solid #e8e0e8;border-radius:17px;padding:clamp(24px,3vw,40px);box-shadow:0 19px 58px rgba(38,12,45,.07);min-width:0;position:relative}
.ydfm-profile__featured{display:inline-flex;align-items:center;gap:8px;color:#fff;background:#610278;border-radius:99px;text-transform:uppercase;font:800 10px/1.2 Raleway,Arial,sans-serif;letter-spacing:.11em;padding:9px 14px;margin:0 0 20px}
.ydfm-profile__featured .ydfm-icon{height:14px;width:14px}
.ydfm-profile--reference .ydfm-profile__eyebrow{margin:0 0 18px!important}
.ydfm-profile--reference .ydfm-profile__intro h1{font-size:clamp(33px,4vw,56px)!important;color:#211628!important;letter-spacing:-.055em!important;margin:0 0 13px!important;line-height:1.11!important}
.ydfm-profile--reference .ydfm-profile__role{font-size:clamp(15px,1.7vw,19px)!important;color:var(--ydfm-plum)!important;font-weight:700!important;margin:0 0 16px!important}
.ydfm-profile__intro-bio{color:#615365;font-size:14px;line-height:1.87;margin:0 0 22px!important;max-width:730px}
.ydfm-profile--reference .ydfm-profile__highlights{gap:8px;margin:15px 0 0!important}
.ydfm-profile--reference .ydfm-profile__highlights li{padding:7px 11px;font-size:11px}
.ydfm-profile__sessions-embedded{margin-top:26px;padding-top:24px;border-top:1px solid #e7dfe8}
.ydfm-profile__sessions-embedded h2{font:800 20px/1.3 Raleway,Arial,sans-serif!important;color:var(--ydfm-ink)!important;margin:0 0 16px!important;letter-spacing:-.02em!important}
.ydfm-profile__sessions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ydfm-profile-session{background:#fbf9fb;border:1px solid #e8e1ea;border-radius:11px;padding:15px;min-width:0}
.ydfm-profile-session__eyebrow{display:flex;gap:7px;align-items:center;font-weight:800;font-size:11px;line-height:1.5;color:#631072;margin:0 0 8px!important}
.ydfm-profile-session__eyebrow .ydfm-icon{width:14px;height:14px}
.ydfm-profile-session h3{font:800 15px/1.35 Raleway,Arial,sans-serif!important;color:var(--ydfm-ink)!important;margin:0 0 12px!important;letter-spacing:-.01em!important}
.ydfm-profile-session__time{display:flex;flex-wrap:wrap;align-items:center;gap:5px;color:#625366;font-size:11px;line-height:1.6;margin:0 0 12px!important}
.ydfm-profile-session__time .ydfm-icon{width:13px;height:13px}
.ydfm-profile-session__time span{color:#817488;font-size:10px}
.ydfm-profile-session__people{border-top:1px solid #e4dae6;padding-top:11px;display:flex;flex-wrap:wrap;gap:10px}
.ydfm-profile-session__person{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;color:#4a3751!important;text-decoration:none!important;font-size:10px;font-weight:700;line-height:1.3}
.ydfm-profile-session__person:hover{text-decoration:underline!important}
.ydfm-profile-session__avatar{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#eee5ef}
.ydfm-profile-session__avatar-img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.ydfm-profile-session__avatar .ydfm-photo-pending{font-size:0}
.ydfm-profile--reference .ydfm-profile__content{padding:40px 0 67px}
.ydfm-profile--reference .ydfm-profile__content-grid{gap:clamp(25px,4vw,65px)}
.ydfm-profile--reference .ydfm-profile__about h2{font-size:clamp(28px,2.7vw,38px)!important}
.ydfm-profile--reference .ydfm-profile__bio{font-size:15px;line-height:1.85}
.ydfm-profile--reference .ydfm-profile__resources{background:#faf6fa;border-radius:14px}
.ydfm-profile__related{padding:57px 0 80px;background:linear-gradient(180deg,#fff 0%,#faf6fa 100%);border-top:1px solid #eee6ef}
.ydfm-profile__related-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.ydfm-profile__related-head h2{font:800 clamp(25px,2.6vw,36px)/1.2 Raleway,Arial,sans-serif!important;color:var(--ydfm-ink)!important;letter-spacing:-.04em!important;margin:0!important}
.ydfm-profile__related-head a{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--ydfm-plum)!important;text-decoration:none!important;white-space:nowrap}
.ydfm-profile__related-head a .ydfm-icon{width:16px;height:16px}
.ydfm-profile__related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.ydfm-profile__related-grid .ydfm-speaker-card{border-radius:12px;box-shadow:none}
.ydfm-profile__related-grid .ydfm-speaker-card__image{aspect-ratio:4/4.4}
.ydfm-profile__related-grid .ydfm-speaker-card__body{padding:13px 12px 16px;border-top:2px solid #b8d09b;gap:8px}
.ydfm-profile__related-grid .ydfm-speaker-card__body h3{font-size:14px!important}
.ydfm-profile__related-grid .ydfm-speaker-card__more{width:25px;height:25px}
/* Compact card shortcode visually agrees with the directory cards. */
.ydfm-single-card .ydfm-speakers-grid{grid-template-columns:minmax(0,230px)}
/* Responsive layouts and accessibility. */
@media(max-width:1100px){
  .ydfm-directory .ydfm-directory__masthead-inner{grid-template-columns:minmax(0,1fr) minmax(0,.82fr);gap:16px}
  .ydfm-directory .ydfm-speakers-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ydfm-profile--reference .ydfm-profile__hero-grid{grid-template-columns:minmax(180px,.7fr) minmax(0,1.65fr);gap:20px}
  .ydfm-profile--reference .ydfm-profile__intro{padding:26px}
}
@media(max-width:820px){
  .ydfm-directory .ydfm-directory__masthead-inner{grid-template-columns:1fr;gap:0;min-height:auto}
  .ydfm-directory__hero-copy{padding:47px 0 18px}
  .ydfm-directory__hero-art{min-height:230px;padding:0 0 0;max-width:470px;width:100%;margin:0 auto}
  .ydfm-directory__hero-portrait{height:165px;max-width:140px}
  .ydfm-directory__hero-portrait--2{height:210px;max-width:160px}
  .ydfm-directory__hero-portrait--3{height:175px}
  .ydfm-directory .ydfm-speakers-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
  .ydfm-profile--reference .ydfm-profile__hero-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .ydfm-profile--reference .ydfm-profile__image-shell{width:min(265px,90%);margin:0 auto}
  .ydfm-profile--reference .ydfm-profile__intro{max-width:680px;margin:0 auto;width:100%}
  .ydfm-profile__hero-band{height:240px}
  .ydfm-profile__related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .ydfm-directory .ydfm-directory__masthead-inner{width:calc(100% - 38px)}
  .ydfm-directory__hero-copy{padding:39px 0 12px}
  .ydfm-directory .ydfm-directory__masthead h2{font-size:clamp(35px,8.2vw,48px)!important}
  .ydfm-directory .ydfm-directory__masthead h2 em{white-space:normal}
  .ydfm-directory .ydfm-directory__lead{font-size:13px!important}
  .ydfm-directory__hero-art{min-height:178px;gap:7px}
  .ydfm-directory__hero-portrait{height:127px;max-width:102px;border-width:2px}
  .ydfm-directory__hero-portrait--2{height:160px;max-width:120px}
  .ydfm-directory__hero-portrait--3{height:140px}
  .ydfm-directory .ydfm-directory__inner{width:calc(100% - 30px)}
  .ydfm-directory .ydfm-speakers-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .ydfm-directory .ydfm-speaker-card__body h3{font-size:13px!important}
  .ydfm-directory .ydfm-speaker-card__body{padding:11px 9px 13px}
  .ydfm-profile--reference .ydfm-profile__wrap{width:calc(100% - 28px)}
  .ydfm-profile--reference .ydfm-profile__topline{padding-top:21px;margin-bottom:26px}
  .ydfm-profile--reference .ydfm-profile__edition{display:none}
  .ydfm-profile--reference .ydfm-profile__intro{padding:22px}
  .ydfm-profile--reference .ydfm-profile__intro h1{font-size:clamp(30px,7.3vw,43px)!important}
  .ydfm-profile__sessions-grid{grid-template-columns:1fr}
  .ydfm-profile__related-head{align-items:start;flex-direction:column}
  .ydfm-profile__related-grid{gap:10px}
  .ydfm-profile__related-grid .ydfm-speaker-card__body h3{font-size:13px!important}
  .ydfm-profile__related{padding:45px 0 57px}
}
@media(prefers-reduced-motion:reduce){.ydfm-directory__hero-link,.ydfm-directory .ydfm-speaker-card{transition:none!important}}
