.tkc-bundles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:24px;max-width:1200px;margin:32px auto;padding:0 16px}
.tkc-bundles-single{max-width:640px;margin:32px auto;padding:0 16px}
.tkc-bundle-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #dbe5ec;border-radius:16px;padding:28px 24px;box-shadow:0 6px 20px rgba(23,54,83,.06);color:#173653;overflow:hidden}
.tkc-bundle-card h2{font-size:24px;line-height:1.25;margin:10px 0 8px;color:#173653}
.tkc-bundle-card h3{font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin:18px 0 6px;color:#5a7184}
.tkc-bundle-save{align-self:flex-start;background:#e7f4ea;color:#1e6b34;font-weight:700;font-size:13px;padding:4px 10px;border-radius:999px}
.tkc-bundle-pitch{margin:0 0 12px;line-height:1.5}
.tkc-bundle-price{margin:0;font-size:16px}
.tkc-bundle-price s{color:#8a9aa8}
.tkc-bundle-price strong{font-size:34px;margin:0 6px;color:#173653}
.tkc-bundle-price span{color:#5a7184;font-size:14px}
.tkc-bundle-list{margin:0;padding-left:20px;line-height:1.6}
.tkc-bundle-audience{margin:16px 0 0;line-height:1.5}
.tkc-bundle-continue{display:flex;gap:10px;align-items:flex-start;margin:22px 0 14px;padding:12px;border:1px dashed #b8c8d6;border-radius:10px;font-size:14px;line-height:1.45;cursor:pointer}
.tkc-bundle-continue input{margin-top:3px;flex:none}
.tkc-bundle-continue-text{display:flex;flex-direction:column;gap:4px;flex:1}
.tkc-bundle-continue.has-title{border:0;gap:14px;padding:18px;background:#EEF4FA;border-radius:14px}
.tkc-bundle-continue.has-title input{width:22px;height:22px;margin-top:2px}
.tkc-bundle-continue strong{font-size:19px;line-height:1.3;font-weight:800;color:#173653}
.tkc-bundle-continue.has-title .tkc-bundle-continue-text>span{font-size:15px;line-height:1.45;color:#173653}
.tkc-bundle-info{position:relative;flex:none;width:20px;height:20px;border:2px solid #173653;border-radius:50%;color:#173653;font:700 12px/16px Georgia,serif;text-align:center;cursor:help}
.tkc-bundle-info::before{content:"i"}
.tkc-bundle-info-tip{display:none;position:absolute;right:-8px;bottom:calc(100% + 10px);width:240px;padding:10px 12px;border-radius:8px;background:#173653;color:#fff;font:400 13px/1.45 inherit;font-family:inherit;text-align:left;z-index:5;box-shadow:0 6px 18px rgba(23,54,83,.25)}
.tkc-bundle-info:hover .tkc-bundle-info-tip,.tkc-bundle-info:focus .tkc-bundle-info-tip{display:block}
/* Shortcode cards only (a.tkc-bundle-buy). In Elementor the class sits on the Button widget's wrapper, which must
   stay unstyled: a background there showed as a frame around the button when hovering changed the button's colour. */
a.tkc-bundle-buy{margin-top:auto;display:block;text-align:center;background:#173653;color:#fff!important;font-weight:700;padding:14px 18px;border-radius:10px;text-decoration:none;transition:background-color .2s}
a.tkc-bundle-buy:hover,a.tkc-bundle-buy:focus{background:#DE7E32}
.elementor-widget.tkc-bundle-buy .elementor-button{border:0;transition:background-color .2s,color .2s}
.tkc-bundle-fine{font-size:12px;color:#5a7184;margin:8px 0 0;text-align:center}
.tkc-bundles-empty{text-align:center;margin:40px 16px}
.tkc-bundle-courses{margin:0;padding-left:20px}
.tkc-bundle-img{display:block;width:calc(100% + 48px);max-width:none;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 20%;margin:-28px -24px 18px;border-radius:0}
.tkc-bundle-img+.tkc-bundle-save{position:absolute;top:14px;left:14px;box-shadow:0 2px 8px rgba(23,54,83,.18)}
.tkc-bundle-img+.tkc-bundle-save+h2{margin-top:0}
/* Elementor cards: Image widget (class tkc-bundle-photo) bleeding to the card's edges. */
.e-con.tkc-bundle-card>.elementor-widget.tkc-bundle-photo{width:calc(100% + var(--padding-left,24px) + var(--padding-right,24px));max-width:none;margin:calc(-1*var(--padding-top,28px)) calc(-1*var(--padding-right,24px)) 8px calc(-1*var(--padding-left,24px))}
.tkc-bundle-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 20%;border-radius:0}

/* ---------- Bundle landing pages (/bundles/<id>/, layout from local/build-bundles-page.py) ---------- */
.tkc-bl .tkc-bl-title .elementor-heading-title::after{content:"";display:block;width:min(260px,60%);height:7px;margin-top:10px;border-radius:50%;background:#DE7E32;transform:rotate(-1.2deg)}
.tkc-bl-features>.tkc-bl-feature{padding:0 14px}
.tkc-bl-features>.tkc-bl-feature:first-child{padding-left:0}
.tkc-bl-features>.tkc-bl-feature+.tkc-bl-feature{border-left:1px solid #D6DEE6}
.tkc-bl-photo-col{position:relative}
.tkc-bl-photo,.tkc-bl-photo .elementor-widget-container{height:100%}
.tkc-bl-photo img{display:block;width:100%;height:100%;min-height:360px;object-fit:cover;object-position:center top;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 40%);mask-image:linear-gradient(to right,transparent 0,#000 40%)}
.tkc-bl-checks ul{list-style:none;margin:0;padding:0}
.tkc-bl-checks li{position:relative;margin:0 0 8px;padding-left:30px}
.tkc-bl-checks li::before{content:"";position:absolute;left:2px;top:.3em;width:14px;height:8px;border-left:3px solid #DE7E32;border-bottom:3px solid #DE7E32;transform:rotate(-45deg)}
.tkc-bl-card .tkc-bundle-fine,.tkc-bl-card .tkc-bundle-fine p{margin:0}
.tkc-bl-card .tkc-bundle-fine p::before{content:"";display:inline-block;width:12px;height:14px;margin-right:8px;vertical-align:-2px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath fill='%235A7184' d='M6 0a3.5 3.5 0 0 0-3.5 3.5V6H2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-.5V3.5A3.5 3.5 0 0 0 6 0Zm-2 3.5a2 2 0 1 1 4 0V6H4Z'/%3E%3C/svg%3E")}
.tkc-bl .tkc-bl-badge{align-self:flex-start}
.tkc-bl-price-name{flex:1 1 140px!important;width:auto!important;min-width:0}
/* Hero: photo behind the right side of the text, fading in from the left (as in the mockups). */
.tkc-bl-hero{position:relative}
@media (min-width:768px){
  .tkc-bl-hero>.tkc-bl-photo-col{position:absolute;top:0;right:0;bottom:0;width:44%!important}
  .tkc-bl-hero>.e-con:not(.tkc-bl-photo-col){width:64%!important;position:relative;z-index:1}
}
@media (max-width:1024px){
  .tkc-bl:not(.tkc-pk)>.e-con-inner{display:flex;flex-direction:column}
  .tkc-bl .tkc-bl-left,.tkc-bl .tkc-bl-right{display:contents}
  .tkc-bl:not(.tkc-pk) .tkc-bl-hero{order:1}
  .tkc-bl .tkc-bl-right>*{order:2;width:100%;max-width:640px;margin-inline:auto}
  .tkc-bl .tkc-bl-included{order:3}
}
@media (max-width:767px){
  .tkc-bl-features>.tkc-bl-feature{padding:8px 0!important;border-left:0!important;width:100%!important}
  .tkc-bl-photo img{height:auto;min-height:0;aspect-ratio:4/3;-webkit-mask-image:none;mask-image:none;border-radius:16px}
  .tkc-bl-photo,.tkc-bl-photo .elementor-widget-container{height:auto}
  .tkc-bl-hero>.tkc-bl-photo-col{margin-bottom:8px}
}

/* ---------- Packages page (/packages/, Career Packages mockup) ---------- */
.tkc-pk-swoosh{position:relative;white-space:nowrap}
.tkc-pk-swoosh::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:6px;border-radius:50%;background:#DE7E32;transform:rotate(-1deg)}
.tkc-pk-hero-photo .tkc-bl-photo img{object-position:center 30%;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 8%);mask-image:linear-gradient(to right,transparent 0,#000 8%);border-radius:0 18px 18px 0}
/* Packages hero: photo beside the text (not behind it), so everyone in it stays in frame. */
@media (min-width:768px){
  .tkc-bl-hero.tkc-pk-hero>.tkc-bl-photo-col{position:static;width:52%!important}
  .tkc-bl-hero.tkc-pk-hero>.e-con:not(.tkc-bl-photo-col){width:48%!important;padding-right:24px}
}
.tkc-pk-rule .elementor-heading-title{display:flex;align-items:center;gap:28px}
.tkc-pk-rule .elementor-heading-title::before,.tkc-pk-rule .elementor-heading-title::after{content:"";flex:1;height:1px;background:#9DB4CC}
.e-con.tkc-pk-card{overflow:hidden;align-self:stretch!important;height:auto;padding:0!important;--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px}
.tkc-pk-card>.elementor-widget.tkc-pk-photo{margin:0;width:100%;max-width:none}
.tkc-pk-photo,.tkc-pk-photo .elementor-widget-container{width:100%}
.tkc-pk-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:0}
.tkc-pk-card>.tkc-pk-badge{margin:-34px 0 0 18px;position:relative;z-index:1;width:auto}
.tkc-pk-badge .elementor-icon{background:#fff}
.e-con.tkc-pk-card>.tkc-pk-body{flex:1 1 auto!important}
.tkc-pk-body .elementor-button{white-space:nowrap}
.tkc-pk-body>.elementor-widget-button{margin-top:auto!important}
.tkc-pk-checks ul{list-style:none;margin:0;padding:0}
.tkc-pk-checks li{position:relative;margin:0 0 5px;padding-left:26px}
.tkc-pk-checks li::before{content:"";position:absolute;left:2px;top:.28em;width:12px;height:7px;border-left:3px solid #1F5FAE;border-bottom:3px solid #1F5FAE;transform:rotate(-45deg)}
.tkc-pk-continue .tkc-bundle-continue.has-title{background:transparent;padding:0;align-items:center;gap:22px}
.tkc-pk-continue .tkc-bundle-continue.has-title input{width:34px;height:34px;margin:0;accent-color:#173653}
.tkc-pk-continue .tkc-bundle-continue-text{border-left:2px solid #173653;padding-left:22px}
.tkc-pk-continue .tkc-bundle-continue strong{font-size:26px;font-family:"Libre Franklin",sans-serif}
.tkc-pk-continue .tkc-bundle-continue.has-title .tkc-bundle-continue-text>span{font-size:16px}
.tkc-pk-pill{border:2px solid #1F5FAE;border-radius:14px;padding:10px 18px;background:#fff}
/* The bar's text changes length when the box is unticked: the text wraps, the pill keeps its size. */
.tkc-pk-continue>.tkc-pk-keep{flex:1 1 0!important;min-width:0}
.tkc-pk-continue>.tkc-pk-pill{flex:0 0 auto!important}
.tkc-pk-pill .elementor-icon-list-text{white-space:nowrap}
@media (max-width:767px){
  .tkc-pk-continue .tkc-bundle-continue strong{font-size:20px}
  .tkc-pk-continue>.tkc-pk-keep{flex:none!important;width:100%}
  .tkc-pk-pill .elementor-icon-list-text{white-space:normal}
  .tkc-pk-rule .elementor-heading-title::before,.tkc-pk-rule .elementor-heading-title::after{display:none}
}
@media (max-width:900px){
  .tkc-pk-continue{flex-direction:column!important;align-items:flex-start!important}
  .tkc-pk-continue>.tkc-pk-keep{flex:none!important;width:100%}
}
