/* The Student Care: additions for the new homepage slides (2, 4, 5), the three new pages and the student login link.
   Loaded after style.css. Uses the theme's own colours: #ff3600 (text-primary), #c92127 (btn-primary), Teko + Karla. */

/* ---------- Homepage: new slides ---------- */
/* Tighter top spacing than the theme default so the extra content fits on one screen. */
.home-horizontal .tsc-slide .slide-container { padding-top: 8.5rem; padding-bottom: 6rem; }
@media (min-width: 992px)  { .home-horizontal .tsc-slide .slide-container { padding-top: max(15vmin, 150px); padding-bottom: 14vmin; } }
.home-horizontal .tsc-slide .slide-content { min-height: 0; margin-bottom: 3.2vmin; }
.home-horizontal .tsc-slide h1, .home-horizontal .tsc-slide h2.slide-title,
.home-horizontal .tsc-slide .h1 { font-size: 9.2vmin; margin-bottom: 2.2vmin; }

.tsc-kicker { font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 1.6vmin; display: flex; align-items: center; }
.tsc-kicker:before { content: ""; width: 34px; height: 2px; background: #ff3600; margin-right: 12px; }
.tsc-pill { display: inline-block; background: #fff; color: #c92127; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; margin-bottom: 1.8vmin; }

.tsc-points { list-style: none; padding: 0; margin: 2.2vmin 0 0; }
.tsc-points li { position: relative; padding: 0 0 0 30px; margin-bottom: 8px; font-size: 15px; line-height: 20px; font-weight: 700; color: #fff; }
.tsc-points li:before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: #ff3600 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }

.tsc-steps { list-style: none; padding: 0; margin: 2.2vmin 0 0; display: flex; flex-wrap: wrap; }
.tsc-steps li { display: flex; align-items: center; margin: 0 8px 8px 0; padding: 4px 12px 4px 4px; background: rgba(0,0,0,.18); font-size: 14px; font-weight: 700; color: #fff; }
.tsc-steps li b { width: 24px; height: 24px; margin-right: 8px; display: flex; align-items: center; justify-content: center; background: #ff3600; font-family: 'Teko', sans-serif; font-size: 1.1rem; font-weight: 500; padding-top: 3px; }

@media (max-width: 767px) {
  /* Same starting point as the theme's other slides on phones, and finish above the social icons. */
  .home-horizontal .tsc-slide .slide-container { padding-top: 200px; padding-bottom: 7rem; }
  .home-horizontal .tsc-slide .slide-bg:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(90,10,6,.15) 0%, rgba(90,10,6,.55) 30%, rgba(90,10,6,.45) 70%, rgba(90,10,6,0) 100%); }
  .home-horizontal .tsc-slide h1, .home-horizontal .tsc-slide h2.slide-title, .home-horizontal .tsc-slide .h1 { font-size: 2.55rem; margin-bottom: 12px; }
  .home-horizontal .tsc-slide .slide-descr { display: none; }
  .home-horizontal .tsc-slide .slide-content { margin-bottom: 18px; }
  .tsc-points, .tsc-steps { margin-top: 4px; }
  .tsc-points li { font-size: 14px; margin-bottom: 6px; }
  .tsc-steps li { font-size: 13px; margin: 0 6px 6px 0; }
  .tsc-kicker, .tsc-pill { margin-bottom: 10px; }
}
/* Very short screens (e.g. 1366x768 laptops): drop the third point so nothing reaches the slide controls. */
@media (min-width: 768px) and (max-height: 800px) {
  .tsc-points li:nth-child(3) { display: none; }
  .home-horizontal .tsc-slide .slide-descr { font-size: 15px; }
}

/* ---------- New inner pages (same building blocks as the other service pages) ---------- */
.tsc-card { height: 100%; padding: 28px 26px; background: #fbefea; border-top: 4px solid #c92127; }
.tsc-card-title { font-family: 'Teko', sans-serif; font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: #c92127; margin-bottom: 12px; }
.tsc-card p { margin: 0; color: #555; font-size: 16px; line-height: 1.5; }
.tsc-card a { color: #c92127; text-decoration: underline; }
.tsc-red-panel { background: #c92127; color: #fff; }
.tsc-red-panel .h1-lg, .tsc-red-panel a { color: #fff; }
.tsc-red-panel a { text-decoration: underline; }
.tsc-points-lg li { font-size: 18px; line-height: 24px; margin-bottom: 14px; padding-left: 34px; }
.tsc-points-lg li:before { top: 2px; width: 22px; height: 22px; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c92127' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-size: 13px; }
.tsc-label { color: #8b8a8a; margin-bottom: 12px; }
.tsc-chips { display: flex; flex-wrap: wrap; }
.tsc-chips label { display: inline-flex; align-items: center; margin: 0 8px 8px 0; padding: 7px 14px; border: 1px solid #ddd; cursor: pointer; font-weight: 700; font-size: 15px; }
.tsc-chips input { margin-right: 8px; accent-color: #c92127; }
.tsc-chips label:hover { border-color: #c92127; }
.tsc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tsc-alert { padding: 15px; border: 1px solid; border-radius: 4px; }
.tsc-alert.ok { background: #e7f7ec; color: #1e7e34; border-color: #1e7e34; }
.tsc-alert.err { background: #fdecea; color: #b71c1c; border-color: #b71c1c; }
.form-control-custom + .form-control-custom { margin-top: 0; }
select.form-control-custom { height: auto; }
.tsc-btn-white { background: #fff; color: #c92127 !important; border-color: #fff; text-decoration: none !important; }
.tsc-btn-white:hover { background: #fbefea; }
.tsc-kicker-dark { color: #222; }
.tsc-ico { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #c92127; color: #fff; margin-bottom: 16px; }
.tsc-ico svg { width: 24px; height: 24px; }
.tsc-ico-dark { background: #111; }
.tsc-step-card p { font-weight: 700; color: #777; }
.tsc-youget { display: inline-block; margin-top: 10px; padding: 5px 12px; background: #fbefea; font-size: 15px; font-weight: 700; color: #333; }
.tsc-youget b { color: #c92127; }
/* Hero with the student photo on the right: keep the darkening lighter on the right so the photo shows */
.tsc-hero-right-photo { background-position: 75% 50% !important; }

/* Portfolio showcase cards (mirrors the real /studentportfolio/ share page) */
.tsc-profile { background: #fff; box-shadow: 0 12px 34px rgba(60,10,10,.12); height: 100%; display: flex; flex-direction: column; }
.tsc-profile-cover { position: relative; overflow: hidden; background: #fbefea; }
.tsc-profile-cover img { width: 100%; display: block; }
.tsc-badge { position: absolute; left: 14px; top: 14px; background: #fff; color: #c92127; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; }
.tsc-profile-body { padding: 22px 24px 24px; }
.tsc-profile-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.tsc-profile-name { font-family: 'Teko', sans-serif; font-size: 2.3rem; line-height: .9; text-transform: uppercase; }
.tsc-profile-sub { color: #888; font-size: 14px; margin-top: 4px; }
.tsc-medals span { display: inline-block; margin-left: 6px; padding: 3px 8px; background: #fbefea; font-weight: 700; font-size: 14px; }
.tsc-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid #eee; margin-bottom: 14px; }
.tsc-tabs span { font-size: 13px; font-weight: 700; color: #888; padding: 6px 10px 8px; }
.tsc-tabs span.on { color: #c92127; border-bottom: 2px solid #c92127; }
.tsc-bars div { display: flex; align-items: center; font-size: 14px; margin-bottom: 8px; }
.tsc-bars span { width: 140px; flex: none; }
.tsc-bars i { flex: 1; height: 8px; background: #f2ecea; position: relative; margin: 0 10px; }
.tsc-bars i:after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: #c92127; }
.tsc-bars b { width: 26px; text-align: right; }
.tsc-feed { list-style: none; padding: 12px 0 0; margin: 12px 0 14px; border-top: 1px solid #eee; }
.tsc-feed li { display: flex; align-items: flex-start; font-size: 14px; margin-bottom: 8px; }
.tsc-feed em { font-style: normal; width: 28px; flex: none; }
.tsc-feed span { flex: 1; }
.tsc-feed small { margin-left: 8px; color: #1e7e34; font-weight: 700; font-size: 11px; text-transform: uppercase; background: #e7f7ec; padding: 2px 6px; }
.tsc-share { display: flex; justify-content: space-between; align-items: center; background: #f6f2f0; padding: 9px 12px; font-size: 12px; color: #666; }
.tsc-share span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 10px; }
.tsc-share b { color: #c92127; white-space: nowrap; }
@media (max-width: 575px) { .tsc-bars span { width: 110px; } .tsc-medals { margin-top: 8px; } .tsc-medals span { margin: 0 6px 0 0; } }
/* Portfolio hero: student stands on the right, so the text sits on the left, clear of the photo */
.tsc-hero-right-photo .section-item .container { text-align: left; }
.tsc-hero-right-photo .section-item .container > * { max-width: 560px; }
@media (max-width: 767px) { .tsc-hero-right-photo { background-position: 80% 50% !important; } .tsc-hero-right-photo .section-item .container > * { max-width: 100%; } }

/* About page: small link under each offer */
.tsc-more { display: inline-block; margin-top: 10px; font-weight: 700; color: #c92127; text-decoration: none; }
.tsc-more:hover { color: #ff3600; text-decoration: none; }
.tsc-more .icon { margin-left: 4px; }

/* Think box – mentorship page promise */
.tsc-think{display:flex;gap:18px;align-items:flex-start;margin-top:34px;padding:24px 28px;background:#fff6f2;border:1px solid #ffd3c2;border-left:5px solid #c92127;border-radius:4px;font-size:19px;line-height:1.6;color:#222}
.tsc-think strong{color:#c92127}
.tsc-think-icon{font-size:30px;line-height:1;flex:0 0 auto}
@media (max-width:575px){.tsc-think{padding:18px;font-size:16px;gap:12px}.tsc-think-icon{font-size:24px}}

/* Slide 2 (original design) – keep title, text and button inside the screen */
.tsc-fit .slide-title{font-size:clamp(46px,8.4vmin,104px);line-height:.95}
.tsc-fit .slide-descr{max-width:560px}
@media (max-width:767px){.tsc-fit .slide-content{padding-top:40px!important}.tsc-fit .slide-title{font-size:clamp(40px,11vw,60px)}}
/* Mentorship intro paragraph – smaller on phones */
.tsc-intro{font-size:22px;color:#222}
@media (max-width:575px){.tsc-intro{font-size:17px}}
@media (max-width:767px){
  .home-horizontal .tsc-fit .slide-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(90,10,6,.35) 0%,rgba(90,10,6,.75) 25%,rgba(90,10,6,.6) 55%,rgba(90,10,6,0) 80%)}
  .tsc-fit .slide-descr{text-shadow:0 1px 3px rgba(0,0,0,.5)}
}

/* Mentorship page – service detail rows */
.tsc-detail-kicker{font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#c92127}
.tsc-detail-sub{display:block;font-size:.55em;color:#777;margin-top:6px}
.tsc-detail-list{list-style:none;padding:0;margin:0}
.tsc-detail-list li{position:relative;padding-left:22px;margin-bottom:12px;font-size:16px;line-height:1.6;color:#666}
.tsc-detail-list li:before{content:"";position:absolute;left:0;top:.62em;width:9px;height:9px;background:#ff3600}
.tsc-detail-list strong{color:#111}
/* Slide 4: no step chips any more, so keep its short description visible on phones */
@media (max-width:767px){.home-horizontal .slide4.tsc-slide .slide-descr{display:block;font-size:15px;line-height:1.5}}
@media (max-width:767px){.home-horizontal .tsc-slide .slide-title,.home-horizontal .tsc-fit .slide-title{text-shadow:0 2px 8px rgba(60,0,0,.55)}}

/* Slide 5: girl photo + a button that pulls the eye */
.home-horizontal .slide5.tsc-slide .slide-bg > .inside{background-image:url("../img/slider-portfolio.jpg")}
.tsc-cta-glow{position:relative;box-shadow:0 0 0 0 rgba(255,255,255,.55);animation:tscPulse 2.4s ease-out infinite}
.tsc-cta-glow:hover{background:#fff!important;color:#c92127!important;border-color:#fff!important}
.tsc-cta-glow .icon{display:inline-block;animation:tscNudge 1.2s ease-in-out infinite}
@keyframes tscPulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.55)}70%{box-shadow:0 0 0 16px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
@keyframes tscNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}
@media (prefers-reduced-motion:reduce){.tsc-cta-glow,.tsc-cta-glow .icon{animation:none}}

/* SEO: only the first homepage slide is an <h1>; the others are <h2> but must look identical */
h2.slide-title{margin-left:-.25rem;margin-bottom:1.0vmin;font-size:12.03703704vmin;text-transform:uppercase;line-height:.92307692;font-weight:normal}

/* Inner pages: a clear way back to the home page (next to MENU) and a fully clickable logo */
.brand a{display:inline-block}
.tsc-home-link{float:right;position:relative;z-index:995;margin:.45rem 44px 0 0;padding-right:44px;border-right:1px solid rgba(255,255,255,.45);color:#fff;font-weight:bold;text-transform:uppercase;text-decoration:none;font-size:inherit;line-height:inherit;letter-spacing:.02em;transition:opacity .2s}
.tsc-home-link:hover,.tsc-home-link:focus{color:#fff;text-decoration:none;opacity:.8}
.body-menu-opened .tsc-home-link{opacity:0;pointer-events:none}
@media (max-width:575px){.tsc-home-link{margin-right:14px;padding-right:14px}}
