/* TLS Engine: branded covers (tlc-) + card layouts that use them. */
.tlc{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;aspect-ratio:16/10;padding:38px 26px 24px;border-radius:14px;overflow:hidden;background:linear-gradient(150deg,#0b1a4a 0%,#142a6f 65%,#1d3a8f 100%);color:#fff;text-align:left;font-family:var(--tl-sans)}
.tlc::before{content:"";position:absolute;inset:9px;border:1px solid rgba(217,191,152,.5);border-radius:8px;pointer-events:none;z-index:1}
.tlc::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(420px 220px at 100% 0%,rgba(179,141,94,.28),transparent 60%)}
.tlc__brand{position:absolute;top:21px;left:26px;font-size:.6rem;font-weight:700;line-height:1;letter-spacing:.2em;text-transform:uppercase;color:var(--tl-gold-soft)}
.tlc__badge{position:absolute;top:16px;right:18px;z-index:2;padding:4px 10px;border-radius:999px;background:var(--tl-gold);color:var(--tl-dark);font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.tlc__kicker{font-size:.7rem;font-weight:700;line-height:1;letter-spacing:.16em;text-transform:uppercase;color:var(--tl-gold-soft)}
.tlc .tlc__title,.tlh-sec .tlc h3.tlc__title,.tlhb .tlc h3.tlc__title{display:block;margin:0;font-family:var(--tl-serif);font-weight:400;font-size:1.5rem;line-height:1.18;color:#fff;letter-spacing:-.005em;text-wrap:balance}
.tlc__rule{display:block;width:36px;height:2px;background:var(--tl-gold)}
.tlc__label{font-size:.7rem;font-weight:700;line-height:1;letter-spacing:.2em;text-transform:uppercase;color:#c9d2e6}
.tlc__mark{position:absolute;right:-14px;bottom:-18px;width:120px;height:120px;color:rgba(255,255,255,.08);z-index:-1}
/* Variants */
.tlc--v2{background:linear-gradient(150deg,#111518 0%,#1c2433 60%,#24366f 100%)}
.tlc--v3{background:linear-gradient(150deg,#f8f1e6 0%,#efe2cc 100%);color:var(--tl-navy)}
.tlc--v3::before{border-color:rgba(20,42,111,.28)}
.tlc--v3::after{background:radial-gradient(420px 220px at 100% 0%,rgba(20,42,111,.10),transparent 60%)}
.tlc--v3 .tlc__brand,.tlc--v3 .tlc__kicker{color:var(--tl-gold-ink)}
.tlc.tlc--v3 .tlc__title,.tlh-sec .tlc--v3 h3.tlc__title,.tlhb .tlc--v3 h3.tlc__title{color:var(--tl-navy)}
.tlc--v3 .tlc__label{color:var(--tl-grey)}
.tlc--v3 .tlc__mark{color:rgba(20,42,111,.07)}
/* Sizes */
.tlc--sm{aspect-ratio:16/9;padding:34px 22px 20px}
.tlc--sm .tlc__title{font-size:1.28rem!important}
.tlc--topic .tlc__title{font-size:1.18rem!important;line-height:1.25!important}
.tlc--topic{aspect-ratio:16/8.5;padding:36px 22px 20px}

/* Home + hub subject cards */
.tlh-subject.has-cover{flex-direction:column;align-items:stretch;gap:0;padding:8px}
.tlh-subject.has-cover .tlc{transition:transform .2s ease}
.tlh-subject.has-cover:hover .tlc{transform:scale(1.015)}
.tlh-subject__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 8px 6px;font-size:.88rem;color:var(--tl-grey)}
.tlh-subject__foot strong{color:var(--tl-navy);font-weight:700}

/* Home latest notes cards */
.tlh-note-card .tlh-card__link{padding:10px 10px 20px}
.tlh-note-card .tlh-card__text,.tlh-note-card .tlh-card__meta{margin-left:14px;margin-right:14px}
.tlh-note-card .tlc{margin-bottom:6px}
.tlh-read{display:inline-flex;align-items:center;gap:6px;margin-left:auto;font-weight:700;color:var(--tl-navy)}

@media (max-width:767px){
	.tlh-subjects:has(.has-cover){grid-template-columns:repeat(2,1fr)!important;gap:10px}
	.tlh-subject.has-cover{padding:6px}
	.tlh-subject.has-cover .tlc{aspect-ratio:4/3.4;padding:28px 14px 14px}
	.tlh-subject.has-cover .tlc__brand{top:16px;left:14px;font-size:.5rem}
	.tlh-subject.has-cover .tlc__title{font-size:1.02rem!important}
	.tlh-subject.has-cover .tlc__mark{width:80px;height:80px}
	.tlh-subject__foot{padding:10px 6px 4px;font-size:.8rem}
	.tlh-subject__foot .tlh-ico{display:none}
	.tlc{padding:34px 20px 20px}
	.tlc .tlc__title{font-size:1.3rem}
}
