/* Program and university cards (ge-cards.js), every portal. Site colour via var(--blue). */
/* PROGRAM + UNIVERSITY CARDS = YOURHOME LOOK (owner, 2026-11-25: "hasonlóra csinálnád a kártyákat… az én kontaktom lenne ott";
   Georgia site first, then "mehet a main portálon is"): program and
   university cards (ge-cards.js). Photo with chips + heart + price, centred title, place line, four facts (icon + word),
   our contact row. No frames: thin dividers only, buttons white with the soft shadow. Text max 13px. */
.pcard.yc{border-radius:28px!important;overflow:hidden}
/* PHOTO CAROUSEL (owner, 2026-11-25): the photo box holds a sideways-scrolling strip – swipe on phones, ‹ › on hover on a computer,
   dots above the price row, no autoplay (ge-cards.js) */
.pcard.yc .yc-ph{position:relative;aspect-ratio:4/3;border-radius:28px 28px 0 0;overflow:hidden;background:#E9EEF5}
.pcard.yc .yc-ph::after{content:"";position:absolute;inset:auto 0 0 0;height:46%;background:linear-gradient(to top,rgba(10,18,35,.62),rgba(10,18,35,0));pointer-events:none;z-index:1}
.pcard.yc .yc-ph .pimg{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;aspect-ratio:auto!important;border-radius:0!important;background:none}
.pcard.yc .yc-ph .pimg::-webkit-scrollbar{display:none}
.pcard.yc .yc-ph .pimg>img,.pcard.yc .yc-ph .pimg>.yc-s{flex:0 0 100%;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative}
.pcard.yc .yc-ph .pimg img{width:100%;height:100%;object-fit:cover;display:block;transform:none!important}
.pcard.yc:hover .pimg img{transform:none!important}
.pcard.yc .yc-dots{position:absolute;left:50%;bottom:40px;transform:translateX(-50%);display:flex;gap:5px;z-index:2;pointer-events:none}
.pcard.yc .yc-dots i{width:7px;height:7px;border-radius:999px;background:rgba(255,255,255,.55);box-shadow:0 1px 3px rgba(0,0,0,.25);transition:width .25s,background .25s}
.pcard.yc .yc-dots i.on{width:18px;background:#fff}
.pcard.yc .yc-nav{position:absolute;top:50%;margin-top:-17px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#0b1f4b;box-shadow:0 6px 18px rgba(15,23,42,.18);display:none;place-items:center;cursor:pointer;z-index:3;padding:0}
.pcard.yc .yc-nav svg{width:18px;height:18px}
.pcard.yc .yc-prev{left:10px}.pcard.yc .yc-next{right:10px}
@media (hover:hover) and (pointer:fine){.pcard.yc:hover .yc-nav{display:grid}}
.pcard.yc .yc-cr{position:absolute;right:10px;top:54px;font-size:9px!important;color:rgba(255,255,255,.9);text-shadow:0 1px 3px rgba(0,0,0,.6);z-index:1;pointer-events:none}
.pcard.yc .yc-bar{position:absolute;left:14px;right:14px;bottom:11px;z-index:2;pointer-events:none;display:flex;align-items:baseline;justify-content:space-between;gap:10px}
/* English requirement, bottom left of the photo: one line, one step smaller than the price (owner, 2026-11-25) */
.pcard.yc .yc-eng{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14.3px!important;font-weight:800!important;letter-spacing:-.025em;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.pcard.yc .yc-price{display:flex;flex-shrink:0;align-items:baseline;gap:4px;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.35)}
/* price bigger on the owner's request (2026-11-25: "az ár legyen nagyobb betűkkel"); font-cap.py exempts it */
.pcard.yc .yc-price b{font-size:14.3px!important;font-weight:800!important;letter-spacing:-.025em;line-height:1}
.pcard.yc .yc-price small{font-size:12.1px!important;font-weight:600!important;opacity:.92}
.pcard.yc .badges{top:12px;left:12px;right:60px;gap:6px}
.pcard.yc .badge{height:28px;border:0!important;border-radius:10px!important;padding:0 11px!important;font-size:11px!important;font-weight:600;background:rgba(255,255,255,.96)!important;color:#0b1f4b!important;box-shadow:0 2px 8px rgba(15,23,42,.14);letter-spacing:-.025em}
.pcard.yc .badge.b-new{background:var(--blue)!important;color:#fff!important}
.pcard.yc .badge.b-lvl{background:#E6EEFF!important;color:var(--blue)!important}
html.ge-site .pcard.yc .badge.b-lvl{background:#FDE4E7!important}
.pcard.yc .pfav{top:10px;right:10px;width:38px;height:38px}
.pcard.yc .pbody{padding:20px 16px 17px;gap:0;text-align:center;align-items:stretch}
/* card title bigger than the 13px rule – the owner's explicit wish (2026-11-25); font-cap.py exempts it */
.pcard.yc .pbody h3{font-size:16px!important;font-weight:600;letter-spacing:-.025em;line-height:1.3}
.pcard.yc .pbody h3 a{color:var(--blue)}
.pcard.yc .yc-loc{display:flex;align-items:center;justify-content:center;gap:5px;margin:7px 0 0;font-size:12px;color:#64748B;line-height:1.35}
.pcard.yc .yc-loc svg{width:15px;height:15px;flex-shrink:0;color:var(--blue)}
.pcard.yc .yc-facts{list-style:none;display:flex;justify-content:space-evenly;padding-left:0!important;margin:12px 0 0;padding:6px 0 11px;border-bottom:1px solid #EEF1F6}
.pcard.yc .yc-facts li{flex:0 1 auto;min-width:0;max-width:30%;display:flex;flex-direction:column;align-items:center;gap:5px;padding:0 3px;font-size:11px;line-height:1.25;color:#334155}
.pcard.yc .yc-facts svg{width:19px;height:19px;color:var(--blue)}

/* a long fact wraps onto two lines inside its own column – never runs into the next one (owner, 2026-11-25: "hiba") */
.pcard.yc .yc-facts li>span{overflow-wrap:normal;word-break:normal;max-width:100%}
.pcard.yc .yc-facts i{font-style:normal;margin:0 3px;color:#94A3B8}
.pcard.yc .yc-contact{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;text-align:left}
.pcard.yc .yc-ct{font-size:13px;font-weight:600;letter-spacing:-.025em;color:#0b1f4b;white-space:nowrap}
.pcard.yc .yc-brand{display:flex;align-items:center;gap:8px;min-width:0}
.pcard.yc .yc-brand img{width:34px;height:34px;border-radius:50%;flex-shrink:0;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.12);padding:5px}
.pcard.yc .yc-brand>span{display:flex;flex-direction:column;min-width:0}
.pcard.yc .yc-brand b{font-size:12px;font-weight:600;letter-spacing:-.025em;line-height:1.2;color:#0b1f4b}
.pcard.yc .yc-brand small{font-size:10.5px;color:#64748B;line-height:1.3}
.pcard.yc .yc-btns{display:flex;gap:14px;flex-shrink:0}
.pcard.yc .yc-btns a{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.10),0 1px 4px rgba(15,23,42,.06);transition:transform .2s}
.pcard.yc .yc-btns a:hover{transform:translateY(-1px)}
.pcard.yc .yc-btns svg{width:18px;height:18px}
.pcard.yc .yc-wa{color:#1FAF54}.pcard.yc .yc-tg{color:#229ED9}.pcard.yc .yc-em{color:var(--blue)}
.pcard.yc .pbody .link{display:none}
.pcard.yc{container-type:inline-size}
@media (max-width:600px){.pcard.yc .yc-btns a{width:38px;height:38px}}
