/* UF English: article template, article list and English footer on /en/.
   Colors and fonts follow the builder design tokens, with fallbacks for views without the builder. */

.uf-en {
	--uf-en-primary: var(--uf-color-primary, #020b60);
	--uf-en-dark: var(--uf-color-dark, #010840);
	--uf-en-blue: var(--uf-color-secondary, #2d61f0);
	--uf-en-lime: var(--uf-color-cta, #a6d30f);
	--uf-en-lime-hover: var(--uf-color-cta-hover, #8fb80d);
	--uf-en-muted: var(--uf-color-muted, #818daf);
	--uf-en-border: var(--uf-color-border, #e2e8f0);
	--uf-en-light: var(--uf-color-light, #f6f8fc);
	--uf-en-heading: var(--uf-font-heading, 'Outfit', system-ui, sans-serif);
	--uf-en-body: var(--uf-font-body, 'Inter', system-ui, sans-serif);
	--uf-en-width: var(--uf-container-width, 1280px);
}

/* Layout */
.uf-en-main { background: #fff; color: var(--uf-en-primary); font-family: var(--uf-en-body); }
.uf-en-container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.uf-en-container--wide { max-width: var(--uf-en-width); }

/* Article head */
.uf-en-article-head { padding: 64px 0 32px; background: var(--uf-en-light); }
.uf-en-kicker { display: inline-block; margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--uf-en-blue); text-decoration: none; }
a.uf-en-kicker:hover { text-decoration: underline; }
.uf-en-title { margin: 0 0 16px; font-family: var(--uf-en-heading); font-size: clamp(30px, 4.2vw, 46px); line-height: 1.15; font-weight: 700; color: var(--uf-en-primary); }
.uf-en-lead { margin: 0 0 20px; font-size: 19px; line-height: 1.6; color: #3c4470; }
.uf-en-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; color: var(--uf-en-muted); }
.uf-en-meta a { color: var(--uf-en-blue); text-decoration: none; }
.uf-en-meta a:hover { text-decoration: underline; }

.uf-en-hero { max-width: 960px; margin: 32px auto 0; padding: 0 24px; }
.uf-en-hero-img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* Article body */
.uf-en-body { padding-top: 40px; padding-bottom: 64px; }
.uf-en-toc { margin: 0 0 40px; padding: 20px 24px; border: 1px solid var(--uf-en-border); border-radius: 14px; background: #fff; }
.uf-en-toc-title { margin: 0 0 10px; font-family: var(--uf-en-heading); font-weight: 700; font-size: 16px; }
.uf-en-toc ol { margin: 0; padding-left: 20px; }
.uf-en-toc li { margin: 6px 0; font-size: 15px; line-height: 1.5; }
.uf-en-toc a { color: var(--uf-en-blue); text-decoration: none; }
.uf-en-toc a:hover { text-decoration: underline; }

.uf-en-content { font-size: 17px; line-height: 1.75; color: #1d2452; }
.uf-en-content > * + * { margin-top: 1.1em; }
.uf-en-content h2 { margin-top: 2em; font-family: var(--uf-en-heading); font-size: 28px; line-height: 1.25; color: var(--uf-en-primary); scroll-margin-top: calc(var(--uf-header-height, 80px) + 16px); }
.uf-en-content h3 { margin-top: 1.6em; font-family: var(--uf-en-heading); font-size: 21px; line-height: 1.3; color: var(--uf-en-primary); scroll-margin-top: calc(var(--uf-header-height, 80px) + 16px); }
.uf-en-content a { color: var(--uf-en-blue); }
.uf-en-content img { max-width: 100%; height: auto; border-radius: 12px; }
.uf-en-content ul, .uf-en-content ol { padding-left: 1.4em; }
.uf-en-content li + li { margin-top: .4em; }
.uf-en-content blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--uf-en-lime); color: #3c4470; }
.uf-en-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.uf-en-content th, .uf-en-content td { padding: 10px 12px; border: 1px solid var(--uf-en-border); text-align: left; vertical-align: top; }
.uf-en-content th { background: var(--uf-en-light); }

/* Call to action */
.uf-en-cta { margin: 48px 0 0; padding: 32px; border-radius: 20px; background: var(--uf-en-primary); color: #fff; }
.uf-en-cta-title { margin: 0 0 8px; font-family: var(--uf-en-heading); font-size: 24px; font-weight: 700; color: #fff; }
.uf-en-cta-text { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
/* Own button class: the builder and the mega menu style .uf-btn differently on each page type. */
body.uf-en a.uf-en-btn { display: inline-flex; align-items: center; padding: 14px 28px; border: 0; border-radius: 99px; background: var(--uf-en-lime); color: var(--uf-en-dark); font-family: var(--uf-en-body); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; box-shadow: none; transition: background .2s, transform .2s; }
body.uf-en a.uf-en-btn:hover { background: var(--uf-en-lime-hover); color: var(--uf-en-dark); transform: translateY(-2px); }

/* Cards */
.uf-en-more { padding: 64px 0 80px; background: var(--uf-en-light); }
.uf-en-section-title { margin: 0 0 28px; font-family: var(--uf-en-heading); font-size: 28px; color: var(--uf-en-primary); }
.uf-en-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.uf-en-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--uf-en-border); border-radius: 16px; background: #fff; }
.uf-en-card-img img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.uf-en-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.uf-en-card-date { font-size: 13px; color: var(--uf-en-muted); }
.uf-en-card-title { margin: 0; font-family: var(--uf-en-heading); font-size: 19px; line-height: 1.35; }
.uf-en-card-title a { color: var(--uf-en-primary); text-decoration: none; }
.uf-en-card-title a:hover { color: var(--uf-en-blue); }
.uf-en-card-text { margin: 0; font-size: 15px; line-height: 1.6; color: #3c4470; }
.uf-en-card-more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--uf-en-blue); text-decoration: none; }

/* Article list */
.uf-en-hub-head { padding: 72px 0 40px; background: var(--uf-en-light); }
.uf-en-hub-head .uf-en-lead { max-width: 680px; }
.uf-en-hub-list { padding: 48px 0 80px; }
.uf-en-hub-list .navigation { margin-top: 32px; }
.uf-en-hub-list .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.uf-en-hub-list .page-numbers { padding: 8px 14px; border: 1px solid var(--uf-en-border); border-radius: 10px; color: var(--uf-en-primary); text-decoration: none; }
.uf-en-hub-list .page-numbers.current { background: var(--uf-en-primary); color: #fff; }

/* English header: simple links instead of mega menu dropdowns */
.uf-en .uf-header .uf-nav-list { gap: 4px; }
.uf-en .uf-mobile-nav-link.uf-en-mobile-link { border-bottom: 1px solid var(--uf-en-border); }

/* Fallback header (only when the mega menu printed none) */
.uf-en-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--uf-en-border); }
.uf-en-header-inner { max-width: var(--uf-en-width); margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.uf-en-header-logo img { height: 26px; width: auto; display: block; }
.uf-en-header-nav { display: flex; gap: 20px; font-weight: 600; font-size: 15px; }
.uf-en-header-nav a { color: var(--uf-en-primary); text-decoration: none; }

/* English footer: same look as the builder footer part uf_unicorn_footer */
.uf-en .uf-footer { background: var(--uf-en-dark); color: #fff; position: relative; font-family: var(--uf-en-body); }
.uf-en .uf-footer-main { padding: 80px 24px 48px; }
.uf-en .uf-footer-inner { max-width: var(--uf-en-width); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.uf-en .uf-footer-logo { display: inline-block; margin-bottom: 24px; }
.uf-en .uf-footer-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.uf-en .uf-footer-desc { font-size: 14px; color: rgba(255, 255, 255, .6); line-height: 1.7; margin: 0 0 24px; }
.uf-en .uf-footer-social { display: flex; gap: 12px; }
.uf-en .uf-footer-social a { width: 40px; height: 40px; background: rgba(255, 255, 255, .1); border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.uf-en .uf-footer-social a:hover { background: var(--uf-en-blue); transform: translateY(-2px); }
.uf-en .uf-footer .uf-icon { width: 18px; height: 18px; color: #fff; }
.uf-en .uf-en-footer svg.uf-icon, .uf-en .uf-en-footer svg.uf-icon * { fill: none; stroke: currentColor; }
.uf-en .uf-footer-title { font-family: var(--uf-en-heading); font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 20px; }
.uf-en .uf-footer-links { list-style: none; padding: 0; margin: 0; }
.uf-en .uf-footer-links li { margin-bottom: 12px; }
.uf-en .uf-footer-links a { font-size: 14px; color: rgba(255, 255, 255, .6); text-decoration: none; transition: color .3s; }
.uf-en .uf-footer-links a:hover { color: #fff; }
.uf-en .uf-footer-address { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .6); line-height: 1.7; margin-bottom: 20px; }
.uf-en .uf-footer-address strong { color: #fff; display: block; margin-bottom: 8px; }
.uf-en .uf-footer-contact-links { display: flex; flex-direction: column; gap: 10px; }
.uf-en .uf-footer-contact-links a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .6); text-decoration: none; transition: color .3s; }
.uf-en .uf-footer-contact-links a:hover { color: var(--uf-en-blue); }
.uf-en .uf-footer-contact-links .uf-icon { width: 16px; height: 16px; color: var(--uf-en-blue); }
.uf-en .uf-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px; }
.uf-en .uf-footer-bottom-inner { max-width: var(--uf-en-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.uf-en .uf-footer-copyright { font-size: 13px; color: rgba(255, 255, 255, .5); }
.uf-en .uf-footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.uf-en .uf-footer-legal a { font-size: 13px; color: rgba(255, 255, 255, .5); text-decoration: none; transition: color .3s; }
.uf-en .uf-footer-legal a:hover { color: #fff; }

@media (max-width: 1024px) {
	.uf-en .uf-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
	.uf-en-article-head { padding: 40px 0 24px; }
	.uf-en-container { padding: 0 16px; }
	.uf-en-hero { padding: 0 16px; margin-top: 24px; }
	.uf-en-content { font-size: 16px; }
	.uf-en-content h2 { font-size: 24px; }
	.uf-en-cta { padding: 24px; }
	.uf-en .uf-footer-main { padding: 48px 16px; }
	.uf-en .uf-footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
	.uf-en .uf-footer-social { justify-content: center; }
	.uf-en .uf-footer-contact-links a { justify-content: center; }
	.uf-en .uf-footer-bottom-inner { flex-direction: column; text-align: center; }
	.uf-en .uf-footer-legal { justify-content: center; gap: 16px; }
	.uf-en-header-nav { gap: 14px; font-size: 14px; }
}
