/*
Theme Name: InvestLink
Theme URI: https://investlink.vn
Author: InvestLink
Description: Giao diện cổng tin tức đầu tư & kết nối đối tác quốc tế InvestLink.vn.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: investlink
*/

:root {
	--navy: #123a7c;
	--navy-dark: #0b2a5e;
	--navy-deep: #082049;
	--red: #e0232b;
	--red-dark: #c4161e;
	--ink: #16284c;
	--text: #46546e;
	--muted: #7b879c;
	--line: #e4eaf3;
	--soft: #f2f6fc;
	--white: #fff;
	--radius: 10px;
	--shadow: 0 6px 24px rgba(18, 58, 124, .08);
	--wrap: 1360px;
	--font: "Be Vietnam Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }
.flag { width: 30px; height: 20px; border-radius: 3px; flex: none; display: inline-block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--white); border-radius: 6px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 11px 20px; border: 0; border-radius: 8px;
	font-size: 14px; font-weight: 600; line-height: 1.2;
	transition: background .15s, transform .15s, box-shadow .15s;
}
.btn .ic { font-size: 18px; transition: transform .15s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 6px 16px rgba(224, 35, 43, .3); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }
.more-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--navy); white-space: nowrap; }
.more-link .ic { font-size: 16px; transition: transform .15s; }
.more-link:hover .ic { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 4px 20px rgba(18, 58, 124, .1); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.site-logo { flex: none; display: block; }
.site-logo img { height: 62px; width: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a { position: relative; display: block; padding: 10px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-menu-ancestor > a { color: var(--red); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { transform: scaleX(1); }
.header-tools { flex: none; display: flex; align-items: center; gap: 18px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 22px; }
.icon-btn:hover { background: var(--soft); color: var(--red); }
.lang-switch { display: flex; align-items: center; gap: 4px; padding-left: 18px; border-left: 1px solid var(--line); }
.lang-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.lang-switch a .flag { width: 24px; height: 16px; }
.lang-switch a.is-active, .lang-switch a:hover { color: var(--ink); background: var(--soft); }
.btn-login { padding: 11px 18px; }
.btn-login .ic { font-size: 17px; }
.btn-login:hover .ic { transform: none; }
.nav-toggle { display: none; }
.header-search { display: none; border-top: 1px solid var(--line); background: var(--soft); padding: 16px 0; }
.header-search.is-open { display: block; }
.search-form { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: var(--white); }
.search-field:focus { outline: 2px solid rgba(18, 58, 124, .25); border-color: var(--navy); }
.search-submit { height: 46px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--navy); color: var(--white); font-weight: 600; font-size: 14px; }
.search-submit:hover { background: var(--navy-dark); }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--navy-dark) center/cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 36, 88, .96) 0%, rgba(9, 36, 88, .86) 26%, rgba(9, 36, 88, .35) 52%, rgba(9, 36, 88, .05) 72%, rgba(9, 36, 88, .25) 100%); }
.hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 330px; padding-top: 40px; padding-bottom: 40px; }
.hero-copy { max-width: 560px; }
.hero-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: .92; }
.hero h1 { margin: 0 0 16px; font-size: clamp(28px, 2.9vw, 40px); font-weight: 600; line-height: 1.22; color: var(--white); text-wrap: balance; }
.hero-lead { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .92); }
.hero-card { flex: none; width: 400px; padding: 28px 26px 26px; border-radius: 14px; background: rgba(15, 45, 100, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(4, 18, 48, .3); }
.hero-card-head { display: flex; gap: 18px; }
.hero-card-head > .ic { font-size: 52px; stroke-width: 1.1; margin-top: 2px; }
.hero-card h2 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--white); }
.hero-card p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.65; color: rgba(255, 255, 255, .88); }
.hero-card .more-link { color: var(--white); font-weight: 600; }
.hero-card .more-link:hover { color: #ffd0d2; }
.hero-flags { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-left: 4px; }
.hero-flags .flag { width: 39px; height: 26px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.hero-flags a { display: inline-flex; color: var(--white); font-size: 20px; margin-left: 4px; }

/* Home layout */
.home-main { padding: 28px 0 56px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; }
.home-col { display: grid; gap: 22px; min-width: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title { position: relative; margin: 0; padding-left: 16px; font-size: 25px; font-weight: 600; color: var(--ink); }
.section-title::before { content: ""; position: absolute; left: 0; top: .16em; bottom: .16em; width: 4px; border-radius: 2px; background: var(--red); }
.section-title.is-small { font-size: 19px; padding-left: 14px; }

/* News block */
.news-block { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 20px; }
.news-block .section-head { grid-column: 1; margin-bottom: 0; }
.news-feature { grid-column: 1; display: grid; grid-template-columns: 45% 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; box-shadow: var(--shadow); }
.news-feature-img { position: relative; display: block; min-height: 262px; background: var(--soft); }
.news-feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-feature:hover .news-feature-img img { transform: scale(1.04); }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 10px; border-radius: 4px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.news-feature-body { padding: 16px 20px 18px; display: flex; flex-direction: column; align-items: flex-start; }
.meta-date { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.meta-date .ic { font-size: 14px; }
.news-feature h3 { margin: 12px 0 12px; font-size: 20px; font-weight: 600; line-height: 1.38; }
.news-feature h3 a { color: var(--ink); }
.news-feature h3 a:hover { color: var(--red); }
.news-feature p { font-size: 13.5px; line-height: 1.8; margin-bottom: 14px; }
.news-feature .more-link { margin-top: auto; font-weight: 600; }
.news-list { grid-column: 2; grid-row: 2; display: grid; align-content: space-between; }
.news-item { display: grid; grid-template-columns: 82px 1fr; gap: 16px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.news-item:first-child { padding-top: 0; }
.news-item-img { display: block; height: 60px; border-radius: 6px; overflow: hidden; background: var(--soft); }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 3px; font-size: 11px; color: var(--muted); }
.news-item-meta .cat { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.news-item-meta .meta-date { font-size: 11px; gap: 5px; }
.news-item-meta .meta-date .ic { font-size: 12px; }
.news-item h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.45; }
.news-item h3 a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item h3 a:hover { color: var(--red); }

/* Feature strip */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 8px; border-radius: var(--radius); background: var(--soft); border: 1px solid #e6eefa; }
.feature { display: flex; align-items: center; gap: 16px; padding: 4px 18px; border-left: 1px solid #d5e0f0; }
.feature:first-child { border-left: 0; }
.feature > .ic { font-size: 34px; color: var(--navy); stroke-width: 1.5; }
.feature strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.feature span { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.45; color: var(--muted); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-img { position: relative; display: block; aspect-ratio: 16 / 9.4; background: var(--soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img .tag { top: auto; left: 10px; bottom: 10px; background: rgba(11, 42, 94, .86); font-size: 10.5px; padding: 4px 9px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--red); }
.card-loc { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.card-loc .ic { font-size: 14px; color: var(--navy); }
.card-excerpt { font-size: 13.5px; line-height: 1.65; margin: 2px 0 0; }
.card .meta-date { font-size: 12px; }

/* Reports widget */
.panel { border: 1px solid #e3ecf8; border-radius: var(--radius); background: #f7faff; padding: 20px 20px 10px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 20px; font-weight: 600; color: var(--ink); }
.panel-title .ic { font-size: 26px; color: var(--navy); stroke-width: 1.6; }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-radius: 6px; background: #edf2fa; }
.tab { padding: 10px 6px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--red); border-bottom-color: var(--red); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.report-item { display: grid; grid-template-columns: 34px 1fr 18px; gap: 14px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.report-item:last-child { border-bottom: 0; }
.report-item > .ic:first-child { font-size: 28px; color: var(--navy); stroke-width: 1.5; }
.report-item > .ic:last-child { font-size: 18px; color: var(--ink); transition: transform .15s; }
.report-item:hover > .ic:last-child { transform: translateX(3px); color: var(--red); }
.report-item strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.45; color: inherit; }
.report-item span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.panel-empty { padding: 18px 4px; font-size: 13.5px; color: var(--muted); }

/* CTA card */
.cta-card { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); color: var(--white); background: var(--navy-dark) right center/cover no-repeat; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9, 36, 88, .97) 0%, rgba(9, 36, 88, .9) 48%, rgba(9, 36, 88, .5) 100%); }
.cta-card > * { position: relative; }
.cta-card h2 { max-width: 250px; margin: 0 0 12px; font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--white); }
.cta-card p { max-width: 290px; margin: 0 0 18px; font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .9); }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 14px; }
.cta-contacts a:hover { color: #ffd0d2; }
.cta-contacts .ic { font-size: 20px; }

/* Partners + services (home) */
.band { padding: 54px 0; }
.band-soft { background: var(--soft); }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--text); transition: box-shadow .2s, transform .2s; }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.partner .flag { width: 45px; height: 30px; }
.partner strong { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.partner span { font-size: 13px; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service > .ic { font-size: 34px; color: var(--red); stroke-width: 1.5; margin-bottom: 14px; }
.service h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.service p { margin: 0; font-size: 13.5px; line-height: 1.7; }

/* Inner pages */
.page-hero { background: linear-gradient(100deg, var(--navy-deep), var(--navy) 70%, #1c4d9c); color: var(--white); padding: 40px 0 38px; }
.page-hero h1 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; color: var(--white); text-wrap: balance; }
.page-hero p { margin: 10px 0 0; max-width: 760px; color: rgba(255, 255, 255, .88); }
.crumbs { margin-bottom: 10px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.crumbs a { color: rgba(255, 255, 255, .9); }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.page-hero .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.page-hero .post-meta .meta-date, .page-hero .post-meta .card-loc { color: inherit; font-size: inherit; }
.page-hero .post-meta .card-loc .ic { color: inherit; }
.page-hero .post-meta .tag { position: static; }
.content-area { padding: 40px 0 64px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.content-narrow { max-width: 860px; margin: 0 auto; }
.sidebar { display: grid; gap: 22px; position: sticky; top: 100px; }
.entry-thumb { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.entry-thumb img { width: 100%; max-height: 480px; object-fit: cover; }
.entry-content { font-size: 16px; line-height: 1.85; color: #33415c; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.7em; font-size: 23px; font-weight: 600; padding-left: 14px; border-left: 4px solid var(--red); }
.entry-content h3 { margin-top: 1.5em; font-size: 18.5px; font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content li::marker { color: var(--red); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 14px 20px; border-left: 4px solid var(--navy); background: var(--soft); border-radius: 0 8px 8px 0; }
.entry-content img { border-radius: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--soft); color: var(--ink); }
.entry-footer { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.post-list { display: grid; gap: 18px; }
.post-row { display: grid; grid-template-columns: 250px 1fr; gap: 20px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.post-row-img { position: relative; display: block; aspect-ratio: 16 / 10.5; border-radius: 8px; overflow: hidden; background: var(--soft); }
.post-row-img img { width: 100%; height: 100%; object-fit: cover; }
.post-row h2 { margin: 8px 0; font-size: 19px; font-weight: 600; line-height: 1.4; }
.post-row h2 a { color: var(--ink); }
.post-row h2 a:hover { color: var(--red); }
.post-row p { margin: 0 0 8px; font-size: 14px; }
.widget-title { margin: 0 0 14px; font-size: 17px; font-weight: 600; padding-left: 12px; border-left: 4px solid var(--red); }
.side-box { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.side-box .news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.pagination { margin-top: 30px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-bar a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.filter-bar a.is-active, .filter-bar a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.report-list .report-item { padding: 18px 8px; }
.report-list .report-item strong { font-size: 16px; }
.nothing { padding: 40px 0; text-align: center; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.contact-box { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-box .ic { font-size: 26px; color: var(--red); margin-top: 2px; }
.contact-box strong { display: block; color: var(--ink); font-size: 14px; }
.contact-box a, .contact-box span { font-size: 14.5px; color: var(--text); overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 48px; padding-bottom: 36px; }
.footer-logo { display: inline-block; padding: 8px 14px; border-radius: 8px; background: var(--white); margin-bottom: 16px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h4 { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--white); }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { font-size: 17px; margin-top: 3px; color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 13px; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Responsive */
@media (max-width: 1240px) {
	.main-nav a { padding: 10px 9px; font-size: 14px; }
	.main-nav a::after { left: 9px; right: 9px; }
	.header-tools { gap: 10px; }
	.lang-switch { padding-left: 10px; }
	.home-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; }
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.feature-strip { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
	.feature:nth-child(odd) { border-left: 0; }
	.partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1060px) {
	.nav-toggle { display: inline-flex; order: 3; }
	.header-inner { height: 66px; gap: 12px; }
	.site-logo { margin-right: auto; }
	.site-logo img { height: 50px; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(18, 58, 124, .12); padding: 8px 24px 16px; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
	.main-nav a::after { display: none; }
	.home-grid, .content-grid { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.hero-card { display: none; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.wrap { padding: 0 16px; }
	.btn-login span { display: none; }
	.btn-login { padding: 11px; }
	.lang-switch { border-left: 0; padding-left: 0; }
	.lang-switch a span { display: none; }
	.lang-switch a { padding: 6px; }
	.header-tools { gap: 4px; }
	.site-logo img { height: 44px; }
	.main-nav { padding: 8px 16px 16px; }
	.hero-inner { min-height: 0; padding-top: 36px; padding-bottom: 36px; }
	.hero::before { background: linear-gradient(90deg, rgba(9, 36, 88, .95), rgba(9, 36, 88, .7)); }
	.hero-lead { font-size: 15px; }
	.section-title { font-size: 21px; }
	.news-block { grid-template-columns: 1fr; }
	.news-list { grid-column: 1; grid-row: auto; }
	.news-feature { grid-template-columns: 1fr; }
	.news-feature-img { min-height: 0; aspect-ratio: 16 / 10; }
	.feature-strip { grid-template-columns: 1fr; padding: 8px 4px; gap: 0; }
	.feature { border-left: 0; border-top: 1px solid #d5e0f0; padding: 14px; }
	.feature:first-child { border-top: 0; }
	.card-grid, .card-grid.cols-3, .service-grid, .contact-grid { grid-template-columns: 1fr; }
	.partner-grid { grid-template-columns: repeat(2, 1fr); }
	.post-row { grid-template-columns: 1fr; gap: 12px; }
	.footer-top { grid-template-columns: 1fr; gap: 28px; }
	.band { padding: 40px 0; }
	.search-form { flex-wrap: wrap; }
}
@media (max-width: 420px) {
	.partner-grid { grid-template-columns: 1fr; }
	.header-tools .lang-switch a:not(.is-active) { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
