/* AIjums.lt directory: course / expert / organisation pages, cards, listings. Builds on aijums-event.css. */
.aj-dir-hero-solo{grid-template-columns:minmax(0,1fr)!important}
.aj-dir :is(h3,p,ul){margin:0}
.aj-dir ul,.aj-dir-card ul{list-style:none;padding:0;margin:0}

/* Identity block (avatar + title) */
.aj-dir-id{display:flex;align-items:center;gap:24px}
.aj-dir-id-t{display:flex;flex-direction:column;gap:12px;min-width:0}
.aj-dir-av{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--aj-ink);color:#fff;font-size:18px;font-weight:800;letter-spacing:.5px;object-fit:cover}
.aj-dir-av.is-org{border-radius:16px;background:var(--aj-accent)}
.aj-dir-av.is-xl{width:112px;height:112px;font-size:36px;background:#fff;color:var(--aj-ink);box-shadow:0 20px 40px -20px rgba(0,0,0,.6)}
.aj-dir-av.is-xl.is-org{border-radius:28px;background:var(--aj-accent);color:#fff}
@media (max-width:640px){.aj-dir-id{flex-direction:column;align-items:flex-start;gap:16px}.aj-dir-av.is-xl{width:80px;height:80px;font-size:26px}}
.aj-ev-kicker .aj-ev-chip.is-ok{background:rgba(255,255,255,.12);color:#fff}
.aj-ev-q--team{--ev-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2 20c0-3.5 3-6 7-6s7 2.5 7 6M16 4.5a3.5 3.5 0 0 1 0 7M18 14c2.5.6 4 2.8 4 6'/%3E%3C/svg%3E")}

/* Extra side-card row icons */
.aj-ev-row--addr{--ev-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0103A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-7 9 7v10a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E")}
.aj-ev-row--web,.aj-ev-row--social{--ev-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0103A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1'/%3E%3C/svg%3E")}
.aj-ev-row--mail{--ev-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0103A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E")}
.aj-ev-row--phone{--ev-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0103A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E")}
.aj-ev-row--level{--ev-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0103A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 20v-5M12 20V10M19 20V4'/%3E%3C/svg%3E")}
.aj-ev-row--cert{--ev-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0103A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14L7 22l5-3 5 3-1.5-8'/%3E%3C/svg%3E")}
.aj-root .aj-ev-row dd a{word-break:break-word}

/* Tags in the side card */
.aj-dir-tags{display:flex;flex-direction:column;gap:8px}
.aj-root .aj-dir-tl{font-size:12px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--aj-muted);margin-top:4px}
.aj-root .aj-dir-note.is-ok{color:var(--aj-ink);font-weight:700}

/* Lists inside sections */
.aj-root .aj-dir-list{display:flex;flex-direction:column;gap:10px}
.aj-root .aj-dir-list li{position:relative;padding:14px 16px 14px 44px;border-radius:14px;background:#fff;border:1px solid var(--aj-line);font-size:16px;line-height:1.5}
.aj-root .aj-dir-list li::before{content:"";position:absolute;left:16px;top:20px;width:12px;height:12px;border-radius:50%;background:var(--aj-accent)}
.aj-root .aj-dir-sub{color:var(--aj-muted);font-size:15px;margin-top:-8px}
.aj-root .aj-dir-empty{color:var(--aj-muted)}
.aj-root .aj-dir-empty a{color:var(--aj-accent);font-weight:800}

/* Course groups */
.aj-dir-groups{display:flex;flex-direction:column;gap:10px}
.aj-dir-group{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px 16px 14px 14px;border-radius:16px;background:#fff;border:1.5px solid var(--aj-line)}
.aj-root .aj-dir-group-t{font-size:17px;font-weight:800;line-height:1.3}
.aj-root .aj-dir-group-m{font-size:14px;color:var(--aj-muted);line-height:1.45;margin-top:3px}
.aj-dir-group-s{display:flex;align-items:center;gap:12px}
.aj-root .aj-dir-group-go{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;background:var(--aj-ink);color:#fff;font-size:14px;font-weight:800;white-space:nowrap}
.aj-root .aj-dir-group-go:hover{background:var(--aj-accent);color:#fff}
.aj-dir-any{font-size:30px!important;line-height:.9}
@media (max-width:640px){.aj-dir-group{grid-template-columns:56px minmax(0,1fr);gap:12px}.aj-dir-group .aj-cal-date{width:56px;height:64px}.aj-dir-group-s{grid-column:2;justify-content:space-between}}

/* Cards grid */
.aj-root .aj-dir-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:16px}
.aj-root .aj-dir-grid--2{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr))}
.aj-dir-card{position:relative;display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:20px;background:#fff;border:1.5px solid var(--aj-line);transition:border-color .25s,box-shadow .25s,transform .25s}
.aj-dir-card:hover{border-color:var(--aj-ink);box-shadow:0 18px 36px -24px rgba(18,23,43,.45);transform:translateY(-2px)}
.aj-dir-card.is-featured{border:2px solid transparent;background:linear-gradient(180deg,#FFF7E3,#fff 50%) padding-box,var(--aj-promo-frame) border-box;box-shadow:0 24px 48px -28px rgba(176,16,58,.6)}
.aj-dir-card.is-featured:hover{border-color:transparent;box-shadow:0 28px 54px -24px rgba(176,16,58,.65)}
.aj-dir-card.is-draft{border-style:dashed}
.aj-root .aj-dir-card-t{font-size:19px;line-height:1.3;letter-spacing:-.2px;font-weight:800}
.aj-root .aj-dir-card-t a{color:var(--aj-ink)}
.aj-dir-card-t a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.aj-root .aj-dir-card-by{font-size:14px;font-weight:700;color:var(--aj-muted)}
.aj-root .aj-dir-card-x{font-size:15px;line-height:1.5;color:var(--aj-ink)}
.aj-dir-chips{display:flex;flex-wrap:wrap;gap:6px}
.aj-root .aj-dir-chips li{padding:4px 10px;border-radius:999px;background:var(--aj-ink);color:#fff;font-size:12px;font-weight:800;letter-spacing:.2px}
.aj-root .aj-dir-chips li.is-draft{background:var(--aj-bg);color:var(--aj-muted);border:1px dashed var(--aj-muted)}
.aj-root .aj-dir-chips--soft li{background:var(--aj-bg);color:var(--aj-ink);border:1px solid var(--aj-line);font-weight:700}
.aj-dir-facts{display:flex;flex-direction:column;gap:6px}
.aj-root .aj-dir-f{display:flex;align-items:flex-start;gap:8px;font-size:14px;font-weight:600;line-height:1.4;color:var(--aj-ink)}
.aj-dir-f::before{content:"";flex-shrink:0;width:16px;height:16px;margin-top:1px;background:var(--aj-accent);-webkit-mask:var(--ev-i) center/contain no-repeat;mask:var(--ev-i) center/contain no-repeat}
.aj-dir-f--date{--ev-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='3'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E")}
.aj-dir-f--place{--ev-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")}
.aj-dir-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto!important;padding-top:6px}
.aj-root .aj-dir-price{font-size:15px;font-weight:800;color:var(--aj-ink)}
.aj-root .aj-dir-go{font-size:14px;font-weight:800;color:var(--aj-accent)}
.aj-root .aj-dir-go::after{content:" \2192"}
.aj-root .aj-dir-ok{font-size:13px;font-weight:700;color:var(--aj-muted)}
.aj-root .aj-dir-ok.is-ok{display:inline-flex;align-items:center;gap:6px;color:var(--aj-ink)}
.aj-root .aj-dir-ok.is-ok::before{content:"";width:15px;height:15px;background:var(--aj-i-shield) center/contain no-repeat}
.aj-dir-person-top{display:flex;align-items:center;gap:14px}
.aj-dir-person-n{display:flex;flex-direction:column;gap:3px;min-width:0}

/* Listing pages */
.aj-dir-list-wrap{display:flex;flex-direction:column;gap:20px}
.aj-dir-bar .aj-cal-bar-filters{align-items:flex-end}
.aj-s-dirlist>.aj-c{padding-top:56px;padding-bottom:72px}
@media (max-width:760px){.aj-s-dirlist>.aj-c{padding-top:32px;padding-bottom:48px}}

/* Homepage expert avatars may hold photos */
.aj-root .aj-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
@media (max-width:760px){body.aj-dir-page .aj-ftr{padding-bottom:84px}}
@media (max-width:760px){.aj-dir-bar .aj-cal-seg{display:grid;grid-template-columns:1fr 1.3fr 1.7fr;width:100%;box-sizing:border-box;gap:0;padding:3px}.aj-dir-bar .aj-cal-seg-opt{min-width:0}.aj-dir-bar .aj-cal-seg-opt span{width:100%;box-sizing:border-box;justify-content:center;padding:0 4px;font-size:14px}}

/* Claim call to action (profile and course pages) */
.aj-dir-claim{display:flex;flex-direction:column;gap:10px;margin-top:4px;padding:16px;border-radius:16px;background:var(--aj-blush);border:1px solid var(--aj-blush-line)}
.aj-root .aj-dir-claim-t{font-size:14.5px;font-weight:800;line-height:1.4;color:var(--aj-ink)}
.aj-root .aj-dir-claim-a{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:999px;background:var(--aj-ink);color:#fff;font-size:14px;font-weight:800;text-decoration:none}
.aj-root .aj-dir-claim-a:hover{background:var(--aj-accent);color:#fff}
.aj-dir-claim-a::after{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:var(--aj-i-arrow) center/contain no-repeat;mask:var(--aj-i-arrow) center/contain no-repeat}
/* "Add your profile" bar under listings */
.aj-dir-join{margin-top:40px}
.aj-root .aj-dir-join .aj-ev-btn{flex:none}
@media (max-width:560px){.aj-root .aj-dir-join .aj-ev-btn{width:100%}}
