/*!
Theme Name: Высшая школа экономики
Theme URI: https://wtstudio.ru/
Author: WTS
Author URI: https://wtstudio.ru/
Version: 1.0.6
Tested up to: 5.4
Requires PHP: 5.6
*/

.admin-bar .header{
    top: 30px;
}

._animnation{
    transition: all 0.3s linear;
}

._loader{
    opacity: 0.4 !important;
    pointer-events: none !important;
}

.search-page__tabstag:disabled{
    opacity: 0.4;
    pointer-events: none;
}

.search-page__tabstag._active{
    color: var(--whiteColor);
    background-color: var(--blueColor);
}

.d-none{
    display: none !important;
}

.termin__navlink:not(._navigator-active){
    font-weight: 400px;
    opacity: 0.4;
}


/* Rating start */
.half-stars {
    text-align: center;
}
.half-stars .rating-group {
    display: inline-flex;
    margin-top: 4px;
}
.half-stars input {
    position: absolute;
    left: -9999px;
}
.half-stars label {
    margin: 0;
    cursor: pointer;
}
.half-stars label svg {
    margin: 2px;
    height: 18px;
    width: 18px;
    fill: #FFC300;
    transition: fill 0.1s;
}
.half-stars .hsr {
    padding-right: 0;
    margin-right: -18px;
    width: 18px;
    overflow: hidden;
    z-index: 2;
}
.half-stars input:checked ~ label svg {
    fill: white;
}
.half-stars .rating-group:hover label svg {
    fill: #FFC300;
}
.half-stars .rating-group input:hover ~ label svg {
    fill: white;
}
  
.search-page__tabstitle._active{
    pointer-events: none;
}

.search-page__tabstag._active{
    pointer-events: none;
}

/* Tag archive intro and topic navigation */
.tag-archive__hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 1.5rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: linear-gradient(135deg, #ffffff 0%, #f5f1ff 100%);
	border: 1px solid #e4dbfb;
	border-radius: 1.5rem;
	box-shadow: 0 12px 32px rgba(143, 90, 255, 0.08);
}

.tag-archive__hero::after {
	content: "";
	position: absolute;
	top: -6rem;
	right: -5rem;
	width: 15rem;
	height: 15rem;
	background: radial-gradient(circle, rgba(143, 90, 255, 0.16), rgba(143, 90, 255, 0) 70%);
	pointer-events: none;
}

.tag-archive__eyebrow {
	position: relative;
	z-index: 1;
	margin-bottom: 0.65rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8f5aff;
}

.tag-archive__title.search-page__title {
	position: relative;
	z-index: 1;
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.tag-archive__description {
	position: relative;
	z-index: 1;
	max-width: 48rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: #475569;
}

.tag-archive__description p:last-child {
	margin-bottom: 0;
}

.tag-archive__topics {
	margin-bottom: 2rem;
	padding: 1.25rem 1.5rem;
	background: #ffffff;
	border: 1px solid #eceff3;
	border-radius: 1.25rem;
}

.tag-archive__topics-label {
	margin-bottom: 0.85rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	color: #64748b;
}

.tag-archive__chips.search-page__tabstags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.tag-archive__chips .search-page__tabstag {
	margin: 0;
	padding: 0.6rem 1rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.35;
	color: #334155;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tag-archive__chips a.search-page__tabstag:hover {
	color: #6d35df;
	background: #f5f1ff;
	border-color: #cbb9f7;
	transform: translateY(-1px);
}

.tag-archive__chips .search-page__tabstag.active {
	color: #ffffff;
	background: #8f5aff;
	border-color: #8f5aff;
	box-shadow: 0 5px 14px rgba(143, 90, 255, 0.24);
}

@media (max-width: 575px) {
	.tag-archive__hero {
		border-radius: 1.125rem;
	}

	.tag-archive__topics {
		padding: 1rem;
	}

	.tag-archive__chips .search-page__tabstag {
		padding: 0.55rem 0.85rem;
		font-size: 0.875rem;
	}
}
/* Четкий белый хедер с мягкой тенью и разделителем */
.header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   Article Top Card & H1 (Immediately Under Cover Image)
   ========================================================================== */
.article-page__topitem {
    background: #ffffff !important;
    border-radius: 1.5rem !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
    border: 1px solid #f1f5f9 !important;
}

.article-page__topimg {
    width: 100% !important;
    height: 440px !important;
    max-height: 440px !important;
    border-radius: 1.5rem 1.5rem 0 0 !important;
    overflow: hidden !important;
    background: #f8fafc !important;
}

.article-page__topimg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.article-page__topcontent {
    padding: 2.25rem 2.5rem 2rem !important;
    background: #ffffff !important;
}

.article-page__topname {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #0f172a !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
    letter-spacing: -0.02em !important;
}

.article-page__topbottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid #f1f5f9 !important;
}

.article-page__topbottomleft {
    display: flex !important;
    align-items: center !important;
    gap: 1.25rem !important;
    flex-wrap: wrap !important;
}

.article-page__topbottomduration,
.article-page__topbottomtime {
    font-size: 0.925rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* ================= ITSEO UNIFIED HEADER & FOOTER ================= */
.header__container,
.footer__container {
    max-width: 1140px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.header {
    background: #ffffff !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    border-bottom: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1025 !important;
    padding: 0 !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.admin-bar .header {
    top: 32px !important;
}

@media (max-width: 782px) {
    .admin-bar .header {
        top: 46px !important;
    }
}

.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.header__top-left {
    display: flex;
    align-items: center;
}

.header__logo {
    display: inline-block;
    height: 2.5rem;
    text-decoration: none;
}

.header__logo-img {
    height: 100%;
    width: auto;
    max-height: 2.5rem;
    display: block;
    transition: opacity 0.2s;
}

.header__logo:hover .header__logo-img {
    opacity: 0.85;
}

/* Верхняя навигация */
.header__right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header__topnavlist {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__topnavlink {
    font-size: 1rem;
    font-weight: 400;
    color: #495057;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
    padding: 0.5rem 0;
}

.header__topnavlink:hover {
    color: #8f5aff;
}

/* Акцентная кнопка входа */
.itseo-btn-reg {
    display: inline-block;
    font-weight: 400;
    color: #8f5aff !important;
    text-align: center;
    vertical-align: middle;
    background-color: transparent !important;
    border: 1px solid #8f5aff !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border-radius: 0.25rem !important;
    text-decoration: none !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.itseo-btn-reg:hover {
    color: #ffffff !important;
    background-color: #8f5aff !important;
    border-color: #8f5aff !important;
}

/* Нижний ярус шапки (рубрики и поиск) */
.header__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-top: 1px solid #f1f5f9;
    position: relative;
}

.header__menu .menu__list {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__menu .menu-item a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
}

.header__menu .menu-item a:hover,
.header__menu .menu-item.current-menu-item a {
    color: #8f5aff;
    background-color: #f8f7ff;
}

/* Мобильная адаптация хедера */
@media (max-width: 991px) {
    .header__topnav {
        display: none;
    }

    .header__searchcont {
        display: none;
    }

    .header__searchform--mobile {
        display: flex;
        margin-bottom: 20px;
    }

    .header__searchform--mobile .header__searchinput {
        width: 100% !important;
    }
}

/* ================= ITSEO UNIFIED FOOTER ================= */
.footer--itseo {
    background-color: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 60px;
    padding: 3rem 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.footer__main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__nav-list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer__nav-link {
    font-size: 1rem;
    font-weight: 400;
    color: #8f5aff !important;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.footer__nav-link:hover {
    color: #6a35d9 !important;
    text-decoration: underline;
}

.footer__social-col {
    display: flex;
    align-items: center;
}

.footer_social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer_social-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer_social img {
    max-width: 24px;
    filter: grayscale(100%);
    transition: 0.5s;
}

.footer_social img:hover {
    filter: grayscale(0%);
}

.footer__divider {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.footer__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copyright {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .footer__main-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer__nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer_social {
        margin-top: 0.5rem;
    }
}

/* ==========================================================================
   Kinetic Article Cards & Clean Cover Motion
   ========================================================================== */
.article-item.article-item--clean-cover {
	--card-cover-aspect: 2560 / 1320;
	--card-content-height: 10.5rem;
	container-name: article-card;
	container-type: inline-size;
	min-height: 0 !important;
	padding: 0 0 var(--card-content-height);
	justify-content: flex-start;
	position: relative;
	overflow: hidden;
	border-radius: 1.25rem;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.article-item.article-item--clean-cover:hover {
	box-shadow: 0 12px 32px rgba(143, 90, 255, 0.12);
}

.article-item.article-item--clean-cover .article-item__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	min-height: var(--card-content-height);
	z-index: 2;
	background: #ffffff;
	padding: 1.25rem 1.5rem 1rem;
	transition: transform 380ms cubic-bezier(0.77, 0, 0.175, 1);
}

.article-item--clean-cover .article-item__cover-media {
	position: relative;
	width: 100%;
	flex: 0 0 auto;
	height: auto;
	aspect-ratio: var(--card-cover-aspect);
	background: #f8fafc;
	overflow: hidden;
}

.article-item--clean-cover .article-item__cover-media img {
	position: static;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}

.article-item.article-item--clean-cover:hover .article-item__cover-media img {
	transform: scale(1.03);
}

.article-item.article-item--clean-cover .card-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: 1rem;
	pointer-events: none;
	--card-title-lift: 1.5rem;
	--card-panel-rise: 3rem;
	--card-motion-duration: 380ms;
	--card-motion-ease: cubic-bezier(0.77, 0, 0.175, 1);
	--card-motion-enter: cubic-bezier(0.23, 1, 0.32, 1);
}

.article-item.article-item--clean-cover .card-top .article-item__tags {
	position: static;
	pointer-events: auto;
	transition: transform 280ms 120ms var(--card-motion-ease), opacity 260ms 120ms var(--card-motion-ease);
}

.article-item.article-item--clean-cover.is-content-hovered .card-top .article-item__tags {
	transform: translate3d(0, -0.5rem, 0);
	opacity: 0;
	pointer-events: none;
}

/* Dynamic Text-Reveal */
.article-item .article-item__text-reveal {
	display: grid;
	grid-template-rows: 0fr;
	margin: 0;
	transition: grid-template-rows 380ms cubic-bezier(0.77, 0, 0.175, 1),
	            margin 380ms cubic-bezier(0.77, 0, 0.175, 1);
}

.article-item .article-item__text-reveal > .article-item__text {
	display: -webkit-box;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: #475569;
	opacity: 0;
	transform: translate3d(0, 0.5rem, 0);
	transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1),
	            opacity 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.article-item.is-content-hovered .article-item__text-reveal,
.article-item:focus-within .article-item__text-reveal {
	grid-template-rows: 1fr;
	margin: 0.65rem 0 1rem;
}

.article-item.is-content-hovered .article-item__text-reveal > .article-item__text,
.article-item:focus-within .article-item__text-reveal > .article-item__text {
	margin: 0;
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   In-Article Related Article CTA Card
   ========================================================================== */
.termin__related-article--cta {
	display: flex;
	flex-direction: column;
	background: #f8f6ff;
	border: 1px solid #e0d1ff;
	border-left: 4px solid #8f5aff;
	border-radius: 1rem;
	padding: 1.5rem 1.75rem;
	margin: 2.25rem 0;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	position: relative;
	overflow: hidden;
}

.termin__related-article--cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(143, 90, 255, 0.14);
	border-color: #8f5aff;
}

.termin__related-article__eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #8f5aff;
	margin-bottom: 0.5rem;
}

.termin__related-article__headline {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
	margin-bottom: 0.35rem;
	transition: color 0.2s ease;
}

.termin__related-article--cta:hover .termin__related-article__headline {
	color: #8f5aff;
}

.termin__related-article__subline {
	font-size: 0.9375rem;
	color: #64748b;
	line-height: 1.45;
	margin-bottom: 0.85rem;
}

.termin__related-article__action {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #8f5aff;
	transition: gap 0.2s ease;
}

.termin__related-article--cta:hover .termin__related-article__action {
	gap: 0.75rem;
}

.termin__related-article__arrow {
	display: inline-block;
	font-size: 0.875rem;
	transition: transform 0.2s ease;
}

.termin__related-article--cta:hover .termin__related-article__arrow {
	transform: translateX(4px);
}

/* ==========================================================================
   In-Article ITSEO Promo Block
   ========================================================================== */
.termin__program-promo {
	display: flex;
	align-items: center;
	gap: 2rem;
	background: linear-gradient(135deg, #f9f8ff 0%, #f1ecff 100%);
	border: 1px solid #ddd2fc;
	border-radius: 1.25rem;
	padding: 2rem;
	margin: 2.5rem 0;
	position: relative;
	overflow: hidden;
}

.termin__program-promo::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -20%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(143, 90, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
	border-radius: 50%;
	pointer-events: none;
}

.termin__program-promo__media {
	flex: 0 0 130px;
	width: 130px;
	height: 130px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 1rem;
	background: #ffffff;
	box-shadow: 0 4px 16px rgba(143, 90, 255, 0.08);
	overflow: hidden;
	padding: 1rem;
}

.termin__program-promo__image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.termin__program-promo__content {
	flex: 1 1 auto;
}

.termin__program-promo__eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #8f5aff;
	margin-bottom: 0.35rem;
}

.termin__program-promo__title {
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.termin__program-promo__text {
	font-size: 0.95rem;
	color: #475569;
	line-height: 1.5;
	margin-bottom: 1.25rem;
}

.termin__program-promo__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.4rem;
	background: #8f5aff !important;
	color: #ffffff !important;
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: 2rem;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(143, 90, 255, 0.28);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.termin__program-promo__button:hover {
	background: #7943e8 !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(143, 90, 255, 0.38);
}

@media (max-width: 640px) {
	.termin__program-promo {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
		padding: 1.5rem;
	}
	.termin__program-promo__media {
		width: 80px;
		height: 80px;
		flex-basis: 80px;
	}
}

/* ==========================================================================
   Live Table of Contents Navigation
   ========================================================================== */
.termin__navlink {
	transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
	display: block;
}

.termin__navlink:not(._navigator-active) {
	opacity: 0.55;
	font-weight: 400;
}

.termin__navlink._navigator-active {
	opacity: 1 !important;
	color: #8f5aff !important;
	font-weight: 600 !important;
	transform: translateX(4px);
}

.termin__content h2[id],
.termin__content h3[id] {
	scroll-margin-top: 100px;
}

/* ==========================================================================
   Tooltips & Modals
   ========================================================================== */
.termin__question {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	margin-left: 4px;
	background-color: #fff;
	color: #8f5aff;
	border: 1px solid #8f5aff;
	transition: all 0.2s ease;
	vertical-align: middle;
	transform: translateY(-1px);
}

.termin__question:hover {
	background-color: #8f5aff !important;
	color: #ffffff !important;
}

/* Modals & Overlays */
.overlay {
	visibility: hidden;
	pointer-events: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.open {
	visibility: visible;
	pointer-events: auto;
	opacity: 1;
}

.modals {
	background: #ffffff;
	border-radius: 1.25rem;
	max-width: 500px;
	width: 100%;
	padding: 2.5rem;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	transform: scale(0.95);
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
}

.overlay.open .modals.open {
	transform: scale(1);
}

.close-modal {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	background: transparent;
	border: 0;
	font-size: 1.5rem;
	cursor: pointer;
	color: #94a3b8;
	transition: color 0.2s ease;
}

.close-modal:hover {
	color: #0f172a;
}

/* ==========================================================================
   Article Content Typography, Tables & Callouts
   ========================================================================== */
.termin__content {
	font-size: 1.125rem;
	line-height: 1.7;
	color: #1e293b;
}

.termin__content p {
	margin-bottom: 1.4rem;
}

.termin__content h2 {
	font-size: 1.85rem;
	font-weight: 700;
	color: #0f172a;
	margin: 2.75rem 0 1.25rem;
	line-height: 1.3;
	scroll-margin-top: 100px;
}

.termin__content h3 {
	font-size: 1.4rem;
	font-weight: 700;
	color: #0f172a;
	margin: 2rem 0 1rem;
	line-height: 1.35;
	scroll-margin-top: 100px;
}

.termin__content ul,
.termin__content ol {
	margin: 1rem 0 1.5rem 1.5rem;
	padding: 0;
}

.termin__content li {
	margin-bottom: 0.6rem;
	line-height: 1.6;
}

.termin__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.75rem 0;
	font-size: 0.95rem;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	border: 1px solid #e2e8f0;
}

.termin__content table th {
	background-color: #f1f5f9;
	color: #0f172a;
	font-weight: 600;
	text-align: left;
	padding: 0.85rem 1rem;
	border-bottom: 2px solid #cbd5e1;
}

.termin__content table td {
	padding: 0.8rem 1rem;
	border-bottom: 1px solid #e2e8f0;
	color: #334155;
	vertical-align: top;
}

.termin__content table tr:nth-child(even) td {
	background-color: #f8fafc;
}

.termin__content table tr:hover td {
	background-color: #f1ecff;
}

.termin__content pre {
	background: #0f172a;
	color: #e2e8f0;
	padding: 1.25rem 1.5rem;
	border-radius: 0.75rem;
	overflow-x: auto;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.9rem;
	line-height: 1.55;
	margin: 1.5rem 0;
	border: 1px solid #1e293b;
}

.termin__content code {
	background: #f1f5f9;
	color: #7c3aed;
	padding: 0.2rem 0.45rem;
	border-radius: 0.35rem;
	font-size: 0.9em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.termin__content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
	font-size: 1em;
}

.termin__content blockquote {
	margin: 1.75rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid #8f5aff;
	background: #fdfcff;
	border-radius: 0 0.75rem 0.75rem 0;
	font-style: normal;
	color: #334155;
	box-shadow: 0 2px 8px rgba(143, 90, 255, 0.05);
}

.termin__content blockquote p:last-child {
	margin-bottom: 0;
}

/* Callout Example Cards */
.article-callout-example {
	background: #ffffff;
	border: 1px solid #e0d1ff;
	border-radius: 1rem;
	padding: 1.5rem;
	margin: 2rem 0;
	box-shadow: 0 4px 20px rgba(143, 90, 255, 0.07);
}

.article-callout-example__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.article-callout-example__tag {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: #8f5aff;
	color: #ffffff;
	padding: 0.25rem 0.65rem;
	border-radius: 2rem;
}

.article-callout-example__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
}

.article-callout-example__table {
	overflow-x: auto;
}

.article-callout-example__caption {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	color: #64748b;
	font-style: italic;
}

/* ==========================================================================
   In-Article Clickable Links
   ========================================================================== */
.termin__content a:not(.termin__related-article--cta):not(.termin__program-promo__btn):not(.tooltip) {
	color: #7c3aed;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: #c4b5fd;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3.5px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease, background-color 0.2s ease;
	padding: 1px 3px;
	border-radius: 4px;
}

.termin__content a:not(.termin__related-article--cta):not(.termin__program-promo__btn):not(.tooltip):hover {
	color: #5b21b6;
	text-decoration-color: #7c3aed;
	background-color: #f3e8ff;
}

/* ==========================================================================
   Article Tool Screenshot Figure
   ========================================================================== */
.article-tool-screenshot {
	margin: 2.25rem 0;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
	background: #ffffff;
}

.article-item__reading-time {
	font-size: 0.875rem;
	font-weight: 500;
	color: #64748b;
	white-space: nowrap;
}

.article-page__author {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	color: #64748b;
}

.article-page__author a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article-page__modified {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.8125rem;
}

.article-tool-screenshot img {
	width: 100%;
	height: auto;
	display: block;
}

.article-tool-screenshot figcaption {
	padding: 0.85rem 1.25rem;
	font-size: 0.875rem;
	color: #64748b;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	font-style: italic;
	text-align: center;
}

/* ==========================================================================
   Article Mobile Layout
   ========================================================================== */
@media (max-width: 991px) {
	.termin__cont.article-page {
		display: block !important;
		grid-template-columns: none !important;
	}

	.termin__cont.article-page > *,
	.termin__cont.article-page .termin__body,
	.termin__cont.article-page .termin__content {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.termin__cont.article-page .termin__right {
		position: static !important;
		top: auto !important;
		margin: 0 0 2rem;
	}

	.termin__cont.article-page .termin__nav {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}

	.termin__cont.article-page .termin__navlink {
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.termin__cont.article-page .article-page__topimg {
		height: clamp(220px, 56vw, 320px) !important;
		max-height: none !important;
	}

	.termin__cont.article-page .article-page__topcontent {
		padding: 1.25rem !important;
	}

	.termin__cont.article-page .article-page__topname {
		font-size: clamp(1.7rem, 7vw, 2.125rem) !important;
		overflow-wrap: anywhere;
	}

	.crumbs__container {
		overflow-x: auto;
		overflow-y: hidden;
		white-space: nowrap;
		scrollbar-width: thin;
	}

	.termin__content table {
		display: block;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.termin__content table th,
	.termin__content table td {
		min-width: 9rem;
	}
}

@media (max-width: 575px) {
	.termin__cont.article-page .article-page__topbottom,
	.termin__cont.article-page .article-page__topbottomleft {
		align-items: flex-start !important;
		flex-direction: column !important;
	}

	.termin__content {
		font-size: 1rem;
	}

	.termin__content h2 {
		font-size: 1.55rem;
	}

	.termin__content h3 {
		font-size: 1.25rem;
	}
}
