/* Study abroad articles slider */
.ybed-study-slider-section{position:relative;overflow:hidden;background:linear-gradient(145deg,#071827 0%,#0e3650 56%,#0d6d70 100%);color:#fff}
.ybed-study-slider-section::before{content:"";position:absolute;inset:-120px auto auto -90px;width:360px;height:360px;border-radius:50%;background:rgba(240,165,43,.15);filter:blur(3px);pointer-events:none}
.ybed-study-slider-head{position:relative;z-index:1;display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:26px}
.ybed-study-slider-head h2{margin:9px 0 5px;color:#fff;font-size:clamp(1.7rem,3.6vw,2.8rem);line-height:1.25}
.ybed-study-slider-head p{margin:0;color:#c9dce8;font-weight:700}
.ybed-study-slider-kicker{display:inline-flex;align-items:center;min-height:32px;padding:4px 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#ffe3a9;background:rgba(240,165,43,.13);font-size:.86rem;font-weight:900}
.ybed-study-slider-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.ybed-study-slider-controls{display:flex;gap:8px}
.ybed-study-slider-controls button{display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;background:rgba(255,255,255,.1);cursor:pointer;transition:background 180ms ease,transform 180ms ease}
.ybed-study-slider-controls button:hover,.ybed-study-slider-controls button:focus-visible{background:var(--ybed-amber);color:#2b1a00;transform:translateY(-2px);outline:0}
.ybed-study-all-link{display:inline-flex;align-items:center;gap:7px;min-height:46px;padding:8px 15px;border-radius:8px;color:#112033!important;background:#fff;font-weight:900;white-space:nowrap}
.ybed-study-slider-track{position:relative;z-index:1;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(285px,350px);gap:18px;overflow-x:auto;padding:3px 2px 18px;scroll-snap-type:x mandatory;scroll-padding-inline:2px;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.45) rgba(255,255,255,.1)}
.ybed-study-slider-track::-webkit-scrollbar{height:8px}
.ybed-study-slider-track::-webkit-scrollbar-track{border-radius:99px;background:rgba(255,255,255,.1)}
.ybed-study-slider-track::-webkit-scrollbar-thumb{border-radius:99px;background:rgba(255,255,255,.45)}
.ybed-study-slider-track:focus-visible{outline:3px solid rgba(240,165,43,.75);outline-offset:5px}
.ybed-study-card{min-width:0;overflow:hidden;scroll-snap-align:start;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:#fff;color:var(--ybed-ink);box-shadow:0 20px 44px rgba(0,0,0,.2);transition:transform 180ms ease,box-shadow 180ms ease}
.ybed-study-card:hover,.ybed-study-card:focus-within{transform:translateY(-5px);box-shadow:0 28px 55px rgba(0,0,0,.28)}
.ybed-study-card-link{display:flex;height:100%;flex-direction:column}
.ybed-study-card-media{position:relative;display:block;overflow:hidden;aspect-ratio:16/10;background:linear-gradient(135deg,#dff4f5,#e5f1f8)}
.ybed-study-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 260ms ease}
.ybed-study-card:hover .ybed-study-card-media img{transform:scale(1.035)}
.ybed-study-card-placeholder{display:grid;width:100%;height:100%;place-items:center;color:#0d7774;background:radial-gradient(circle at 70% 20%,rgba(240,165,43,.24),transparent 35%),linear-gradient(145deg,#e9f8f8,#dceef7)}
.ybed-study-card-placeholder svg{width:78px!important;height:78px!important}
.ybed-study-card-status{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;min-height:30px;padding:4px 10px;border:1px solid rgba(255,255,255,.74);border-radius:999px;color:#fff;background:#138260;box-shadow:0 8px 18px rgba(0,0,0,.17);font-size:.78rem;font-weight:900}
.ybed-study-card-status.is-closed{background:#a53932}
.ybed-study-card-body{display:flex;flex:1;flex-direction:column;padding:18px}
.ybed-study-card-category{color:#0b7f79;font-size:.82rem;font-weight:900}
.ybed-study-card h3{display:-webkit-box;overflow:hidden;margin:7px 0 18px;color:#0e1d2d;font-size:1.18rem;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.ybed-study-card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:13px;border-top:1px solid #e5edf2;color:var(--ybed-muted);font-size:.78rem;font-weight:800}
.ybed-study-card-meta>span{display:inline-flex;align-items:center;gap:4px;color:var(--ybed-blue-dark);white-space:nowrap}

/* Application information and FAQ */
.ybed-application-overview,.ybed-study-faq{margin-top:26px;padding:clamp(20px,4vw,34px);border:1px solid rgba(219,231,239,.94);border-radius:12px;background:#fff;box-shadow:0 18px 46px rgba(18,32,51,.07)}
.ybed-application-heading,.ybed-study-faq-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}
.ybed-application-heading>span,.ybed-study-faq-heading>span{display:grid;place-items:center;flex:0 0 auto;width:52px;height:52px;border-radius:10px;color:#fff;background:linear-gradient(135deg,var(--ybed-blue),var(--ybed-teal));box-shadow:0 12px 24px rgba(36,147,209,.2)}
.ybed-application-heading>span svg,.ybed-study-faq-heading>span svg{width:25px;height:25px}
.ybed-application-heading p,.ybed-study-faq-heading p{margin:0;color:#0b7f79;font-size:.84rem;font-weight:900}
.ybed-application-heading h2,.ybed-study-faq-heading h2{margin:2px 0 0;color:var(--ybed-ink);font-size:clamp(1.4rem,3vw,2rem);line-height:1.3}
.ybed-deadline-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #b9e4d2;border-inline-start:6px solid #16835f;border-radius:10px;background:linear-gradient(135deg,#effbf5,#f9fffc)}
.ybed-deadline-card.is-closed{border-color:#efcbc8;border-inline-start-color:#b6453d;background:linear-gradient(135deg,#fff4f3,#fffafa)}
.ybed-deadline-date{display:flex;align-items:center;gap:12px;min-width:0}
.ybed-deadline-date>span{display:grid;place-items:center;flex:0 0 auto;width:45px;height:45px;border-radius:8px;color:#126d55;background:#dff4ea}
.ybed-deadline-card.is-closed .ybed-deadline-date>span{color:#9e3731;background:#f8dfdd}
.ybed-deadline-date small{display:block;color:var(--ybed-muted);font-weight:800}
.ybed-deadline-date time{display:block;color:#102435;font-size:1.15rem;font-weight:900}
.ybed-deadline-status{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:7px 12px;border-radius:999px;color:#0b684b;background:#d9f2e6;font-size:.87rem;font-weight:900}
.ybed-deadline-status>span{width:9px;height:9px;border-radius:50%;background:#16835f;box-shadow:0 0 0 4px rgba(22,131,95,.13)}
.ybed-deadline-card.is-closed .ybed-deadline-status{color:#91342e;background:#f6dddb}
.ybed-deadline-card.is-closed .ybed-deadline-status>span{background:#b6453d;box-shadow:0 0 0 4px rgba(182,69,61,.13)}
.ybed-criteria-block{margin-top:24px}
.ybed-criteria-block h3{margin:0 0 13px;font-size:1.18rem}
.ybed-criteria-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0}
.ybed-criteria-grid>div{min-width:0;padding:13px 15px;border:1px solid #e0eaf0;border-radius:9px;background:#f8fbfd}
.ybed-criteria-grid dt{margin:0;color:var(--ybed-muted);font-size:.8rem;font-weight:900}
.ybed-criteria-grid dd{margin:3px 0 0;overflow-wrap:anywhere;color:#13263a;font-weight:900}
.ybed-study-faq-list{display:grid;gap:10px}
.ybed-study-faq-item{overflow:hidden;border:1px solid #dbe7ef;border-radius:9px;background:#f9fcfd}
.ybed-study-faq-item[open]{border-color:#b9dbe9;background:#fff}
.ybed-study-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:60px;padding:13px 16px;color:#14263a;font-weight:900;cursor:pointer;list-style:none}
.ybed-study-faq-item summary::-webkit-details-marker{display:none}
.ybed-study-faq-item summary i{display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:8px;color:var(--ybed-blue-dark);background:#e6f5fb;transition:transform 180ms ease}
.ybed-study-faq-item[open] summary i{transform:rotate(-90deg)}
.ybed-study-faq-answer{padding:0 16px 16px;border-top:1px solid #e7eff4;color:#334155}
.ybed-study-faq-answer p{margin:13px 0 0}

@media (max-width:782px){.ybed-study-slider-head{align-items:stretch;flex-direction:column}.ybed-study-slider-actions{justify-content:space-between}.ybed-study-slider-track{grid-auto-columns:min(84vw,330px)}.ybed-study-card:hover,.ybed-study-card:focus-within{transform:none}.ybed-application-overview,.ybed-study-faq{padding:18px 14px;box-shadow:none}.ybed-deadline-card{align-items:stretch;flex-direction:column}.ybed-deadline-status{width:fit-content}.ybed-criteria-grid{grid-template-columns:1fr}}
@media (max-width:520px){.ybed-study-slider-actions{align-items:stretch;flex-direction:column}.ybed-study-slider-controls{order:2}.ybed-study-slider-controls button{flex:1}.ybed-study-all-link{justify-content:center}.ybed-study-card-meta{align-items:flex-start;flex-direction:column}.ybed-deadline-date time{font-size:1rem}}
@media (prefers-reduced-motion:reduce){.ybed-study-slider-track{scroll-behavior:auto}.ybed-study-card,.ybed-study-card-media img,.ybed-study-slider-controls button,.ybed-study-faq-item summary i{transition:none}}
