/*
Theme Name: BCert Certification
Theme URI: https://example.com/bcert
Author: BCert
Description: A clean, corporate WordPress theme for certification bodies and management-system auditors. Navy and green palette, animated hero, certification category grid, statistics band, news cards and call-to-action. Includes a Services post type and Customizer controls for every home page block.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bcert
Tags: business, corporate, one-column, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--navy:       #0b2a5b;
	--navy-deep:  #071b3f;
	--navy-mid:   #0e3a73;
	--green:      #2f9e57;
	--green-lt:   #4cb86a;
	--teal:       #0e7c8a;
	--ink:        #0c2b5c;
	--text:       #4b5668;
	--muted:      #7b8696;
	--line:       #e4e9f0;
	--soft:       #f6f8fb;
	--white:      #fff;
	--radius:     10px;
	--shadow:     0 6px 22px rgba(11, 42, 91, .07);
	--font:       'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--wrap:       1200px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--green-lt); outline-offset: 2px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0; padding: 12px 18px;
	background: var(--navy); color: #fff; z-index: 1000; left: 8px; top: 8px;
}

.icon {
	width: 1em; height: 1em; flex: none;
	fill: none; stroke: currentColor; stroke-width: 1.8;
	stroke-linecap: round; stroke-linejoin: round;
	vertical-align: -.14em;
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 24px; border: 1px solid transparent; border-radius: 4px;
	font: 600 12.5px/1 var(--font); letter-spacing: .04em; text-transform: uppercase;
	cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn .icon { font-size: 14px; }
.btn--sm { padding: 11px 18px; font-size: 11.5px; }
.btn--green { background: linear-gradient(90deg, var(--green) 0%, #2a8c78 100%); color: #fff; }
.btn--green:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(47, 158, 87, .35); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-mid); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { color: var(--green); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: 0 1px 0 rgba(11, 42, 91, .05); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn__ring {
	display: inline-grid; place-items: center; width: 20px; height: 20px;
	border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%;
}
.btn__ring .icon { font-size: 10px; }
.btn__ring--dark { border-color: rgba(11, 42, 91, .35); }

.link-more {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy);
}
.link-more .icon { font-size: 13px; }
.link-more:hover { color: var(--green); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: #fff; border-bottom: 1px solid var(--line);
	transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(11, 42, 91, .09); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.site-branding img, .custom-logo { max-height: 60px; width: auto; }

.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__mark { width: 52px; height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.brand__tag { margin-top: 3px; font-size: 8.5px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.header-contact { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.header-contact__item { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 500; }
.header-contact__item .icon { color: var(--green); font-size: 14px; }
.header-social { display: inline-flex; gap: 16px; margin-left: 10px; }
.header-social a { display: inline-flex; font-size: 16px; color: var(--navy); }
.header-social a:hover { color: var(--green); }

/* Primary nav */
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.primary-menu > li { position: relative; }
.primary-menu > li > a {
	position: relative; display: inline-flex; align-items: center; gap: 4px;
	padding: 4px 0 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--navy);
}
.primary-menu > li > a::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
	background: var(--green); transform: scaleX(0); transition: transform .25s;
}
.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a,
.primary-menu > li.current-menu-ancestor > a { color: var(--green); }
.primary-menu > li:hover > a::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current_page_item > a::after,
.primary-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }

.menu-item-has-children > a::before { order: 2; content: ''; width: 5px; height: 5px; margin-left: 2px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }

.primary-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px 0; min-width: 230px;
	position: absolute; top: 100%; left: -14px;
	background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--green);
	border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 16px 34px rgba(11, 42, 91, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-menu .sub-menu a { display: block; padding: 9px 20px; font-size: 13px; color: var(--text); }
.primary-menu .sub-menu a:hover { color: var(--green); background: var(--soft); }

.nav-toggle { display: none; }

/* ==========================================================================
   Hero (slider)
   ========================================================================== */
.hero {
	position: relative; color: #fff; overflow: hidden;
	background:
		radial-gradient(circle at 72% 45%, rgba(46, 160, 140, .30), transparent 46%),
		linear-gradient(115deg, #06173a 0%, #0a2759 52%, #0b3f6e 100%);
	border-bottom-left-radius: 50% 46px;
	border-bottom-right-radius: 50% 46px;
}
.hero::before {
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.5px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
	        mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
}
.hero-slides { position: relative; display: grid; }
.hero-slide {
	position: relative; grid-area: 1 / 1; z-index: 0; padding: 56px 0 84px;
	opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; min-height: 320px; }
.hero-copy { transform: translateX(-14px); transition: transform .7s ease; }
.hero-slide.is-active .hero-copy { transform: none; }
.hero-title { color: #fff; font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; line-height: 1.22; margin-bottom: 18px; }
.hero-title__accent { color: var(--green-lt); }
.hero-text { max-width: 420px; font-size: 13.5px; line-height: 1.75; color: rgba(255, 255, 255, .86); margin-bottom: 28px; }

/* Full-width media backgrounds */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background-size: cover; background-position: center; container-type: size; }
.hero-bg__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(6, 23, 58, .9) 0%, rgba(7, 30, 70, .68) 50%, rgba(7, 30, 70, .35) 100%); }
.hero-slide--video_bg .hero-inner,
.hero-slide--image_bg .hero-inner { grid-template-columns: 1fr; min-height: 340px; }
.hero-slide--video_bg .hero-copy,
.hero-slide--image_bg .hero-copy { max-width: 560px; }
.hero-video { display: block; border: 0; background: #06173a; }
.hero-bg .hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-bg .hero-video--embed { width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); }

/* Right-hand media */
.hero-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / .86; margin-left: auto; }
.hero-art--image, .hero-art--video {
	aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: #06173a;
	border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
.hero-art--image img, .hero-art--video .hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-rings circle:nth-of-type(3) { transform-origin: 200px 205px; animation: spin 40s linear infinite; }
.hero-photo { position: absolute; right: 8%; bottom: -12%; width: 62%; z-index: 2; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-node {
	position: absolute; z-index: 3; transform: translate(-50%, 0);
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	font-size: 11px; font-weight: 600; color: #fff; text-align: center; white-space: nowrap;
}
.hero-node__icon {
	display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
	font-size: 24px; color: #fff;
	background: rgba(8, 30, 70, .75); border: 2px solid rgba(255, 255, 255, .85);
	box-shadow: 0 0 0 5px rgba(63, 182, 201, .15), 0 0 24px rgba(59, 208, 138, .35);
}

/* Controls */
.hero-dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; }
.hero-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); cursor: pointer; transition: transform .2s, background .2s; }
.hero-dot.is-active { background: var(--green-lt); transform: scale(1.15); box-shadow: 0 0 0 3px rgba(76, 184, 106, .3); }
.hero-arrow {
	position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
	display: grid; place-items: center; width: 42px; height: 42px; padding: 0; font-size: 20px; color: #fff; cursor: pointer;
	background: rgba(7, 27, 63, .45); border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
	transition: background .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--green); border-color: var(--green); }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 64px 0; }
.section--soft { background: var(--soft); }
.eyebrow { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--green); }
.section-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin-bottom: 18px; }
.section-title--rule { position: relative; padding-bottom: 14px; margin-bottom: 26px; }
.section-title--rule::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--green); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: stretch; }
.about-text { max-width: 440px; font-size: 13.5px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 30px; text-align: center; }
.feature h3 { font-size: 12.5px; font-weight: 600; margin: 12px 0 6px; }
.feature p { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.feature__icon {
	display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto;
	border-radius: 50%; border: 1px solid currentColor; font-size: 26px; background: #fff;
	box-shadow: 0 0 0 5px rgba(0, 0, 0, .03);
}
.feature--green .feature__icon { color: var(--green); }
.feature--navy  .feature__icon { color: var(--navy); }
.feature--teal  .feature__icon { color: #1d9e8f; }

/* Help card */
.help-card {
	position: relative; display: flex; align-items: flex-end; min-height: 380px; overflow: hidden;
	border-radius: 14px; color: #fff;
	background:
		radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .22), transparent 38%),
		linear-gradient(135deg, #3c5f8f 0%, #274a7e 45%, #1a4b78 100%);
	background-size: cover; background-position: center;
}
.help-card::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8, 30, 70, 0) 30%, rgba(9, 52, 98, .88) 62%, rgba(14, 124, 138, .92) 100%);
}
.help-card__body { position: relative; padding: 30px 32px; }
.help-card__icon { display: inline-flex; font-size: 22px; color: #ffb703; margin-bottom: 4px; }
.help-card__eyebrow { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #ffd166; }
.help-card h2 { color: #fff; font-size: clamp(20px, 2.2vw, 24px); font-weight: 600; line-height: 1.3; max-width: 400px; margin-bottom: 10px; }
.help-card p { font-size: 12.5px; max-width: 400px; color: rgba(255, 255, 255, .9); }

/* Services grid */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
	--c: var(--green);
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 22px 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 6px;
	transition: box-shadow .25s, border-color .25s;
}
.service-card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 40%, #fff); }
.service-card__icon {
	display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 10px;
	border-radius: 50%; font-size: 26px; color: var(--c);
	background: #e8f3ef; background: color-mix(in srgb, var(--c) 14%, #fff);
	box-shadow: 0 0 0 4px #f3f8f6; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 6%, #fff);
}
.service-grid--archive { margin-bottom: 8px; }
.service-card__img { width: 30px; height: 30px; object-fit: contain; }
.service-card h3 { font-size: 12.5px; font-weight: 600; margin-bottom: 8px; min-height: 2.5em; display: flex; align-items: center; }
.service-card h3 a { color: var(--ink); }
.service-card p { flex: 1; margin: 0 0 12px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* Stats */
.stats {
	display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; padding: 20px 8px;
	border-radius: 8px; color: #fff;
	background: linear-gradient(100deg, var(--navy-deep) 0%, #0b2f6a 55%, #0a3a73 100%);
}
.stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 16px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: rgba(255, 255, 255, .15); }
.stat__icon { font-size: 40px; color: rgba(255, 255, 255, .92); }
.stat__icon .icon { stroke-width: 1.2; }
.stat strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.2; color: #fff; }
.stat__label { display: block; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .8); }

/* News */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.news-head .section-title { margin-bottom: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-grid--archive { grid-template-columns: repeat(3, 1fr); }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: box-shadow .25s; }
.news-card:hover { box-shadow: var(--shadow); }
.news-thumb { display: block; aspect-ratio: 16 / 6.4; overflow: hidden; background: var(--navy); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-thumb--navy  { background: radial-gradient(circle at 70% 40%, #2a6bb5, transparent 55%), linear-gradient(135deg, #07204d, #0d4a85); }
.news-thumb--blue  { background: radial-gradient(circle at 55% 45%, #35a5e8, transparent 50%), linear-gradient(135deg, #061c45, #0a3b78); }
.news-thumb--green { background: radial-gradient(circle at 50% 55%, #5fcf7c, transparent 55%), linear-gradient(135deg, #0c3b2a, #17684a); }
.news-card__body { padding: 16px 18px 18px; }
.news-card h3 { font-size: 14.5px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--green); }
.news-date { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 11.5px; color: var(--muted); }
.news-date .icon { color: var(--navy); font-size: 13px; }

/* CTA */
.cta-wrap { padding: 8px 0 56px; }
.cta {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 24px 40px; border-radius: 8px; color: #fff; overflow: hidden;
	background: linear-gradient(95deg, #2f9e57 0%, #1f8a6e 40%, #0e6b8a 75%, #0a4a82 100%);
}
.cta h2 { color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.cta p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .92); }
.cta .btn { margin-left: auto; margin-right: 100px; }
.cta__badge {
	position: absolute; right: 36px; top: 50%; transform: translateY(-50%);
	display: grid; place-items: center; width: 64px; height: 64px; font-size: 54px; color: rgba(255, 255, 255, .85);
}
.cta__badge .icon { stroke-width: 1.2; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgba(255, 255, 255, .82); font-size: 12.5px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.25fr; gap: 40px; padding-top: 44px; padding-bottom: 28px; }
.footer-title { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.site-footer p { line-height: 1.8; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--green-lt); }
.footer-list, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 9px; }
.footer-list a { display: inline-flex; align-items: center; gap: 6px; }
.footer-list a::before { content: ''; width: 5px; height: 5px; border: solid var(--green-lt); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; line-height: 1.65; }
.footer-contact .icon { margin-top: 3px; font-size: 15px; color: #ffb703; }
.footer-contact li:nth-child(2) .icon, .footer-contact li:nth-child(3) .icon { color: var(--green-lt); }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
	display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .45); font-size: 15px; transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 11.5px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 14px; }
.footer-legal a + a { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .4); }

.scroll-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 40;
	display: grid; place-items: center; width: 44px; height: 44px; padding: 0; font-size: 20px;
	color: #fff; background: var(--navy); border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; cursor: pointer;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transition: background .2s, transform .2s;
}
.scroll-top:hover { background: var(--green); transform: translateY(-2px); }
.scroll-top[hidden] { display: none; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
	padding: 54px 0 62px; color: #fff; text-align: left;
	background: radial-gradient(circle at 80% 30%, rgba(46, 160, 140, .3), transparent 45%), linear-gradient(115deg, #06173a, #0a2759 55%, #0b3f6e);
	border-bottom-left-radius: 50% 28px; border-bottom-right-radius: 50% 28px;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; margin: 0; }
.page-hero p { margin: 8px 0 0; color: rgba(255, 255, 255, .8); }

.entry-thumb { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.entry-content { font-size: 16px; line-height: 1.8; }
.entry-content h2 { margin-top: 1.8em; font-size: 24px; }
.entry-content h3 { margin-top: 1.5em; font-size: 19px; }
.entry-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 6px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--green); color: var(--ink); }
.entry-content table { width: 100%; border-collapse: collapse; }
.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); }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 2px 12px; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-block; min-width: 40px; padding: 8px 14px; text-align: center; border: 1px solid var(--line); border-radius: 4px; font-weight: 600; }
.page-numbers.current, a.page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.empty { text-align: center; }
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 20px auto; }
.search-form input[type="search"] { flex: 1; padding: 11px 14px; font: inherit; border: 1px solid var(--line); border-radius: 4px; }

.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 14px; font: inherit; border: 1px solid var(--line); border-radius: 4px;
}
.comment-form .submit { padding: 13px 24px; border: 0; border-radius: 4px; background: var(--green); color: #fff; font: 600 13px var(--font); cursor: pointer; }

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption, .gallery-caption { max-width: 100%; font-size: 13px; color: var(--muted); }
.sticky, .bypostauthor { display: block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.header-contact { gap: 16px; }
	.primary-menu { gap: 18px; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	.header-inner { min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
	.header-right { flex-direction: row; align-items: center; gap: 10px; margin-left: auto; }
	.header-contact { display: none; }
	.nav-toggle {
		display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; font-size: 22px;
		color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
	}
	.nav-toggle__close { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
	.main-nav { display: none; flex-basis: 100%; order: 3; padding: 8px 0 14px; border-top: 1px solid var(--line); }
	.main-nav.is-open { display: block; }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-menu > li > a { display: flex; justify-content: space-between; padding: 12px 4px; font-size: 12.5px; border-bottom: 1px solid var(--line); }
	.primary-menu > li > a::after { display: none; }
	.menu-item-has-children > a::before { order: 3; }
	.primary-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }

	.hero-slide { padding: 40px 0 76px; }
	.hero-arrow { display: none; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-art { margin: 8px auto 0; max-width: 440px; }
	.about-grid { grid-template-columns: 1fr; gap: 36px; }
	.about-text { max-width: none; }
	.stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
	.stat:nth-child(3)::before { display: none; }
	.news-grid, .news-grid--archive { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.cta { flex-wrap: wrap; padding: 26px 24px; }
	.cta .btn { margin: 0; }
	.cta__badge { display: none; }
}

@media (max-width: 640px) {
	.section { padding: 48px 0; }
	.features { grid-template-columns: 1fr; gap: 22px; }
	.service-grid { grid-template-columns: 1fr; }
	.news-grid, .news-grid--archive { grid-template-columns: 1fr; }
	.news-head { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.footer-bottom { flex-direction: column; }
	.stats { grid-template-columns: 1fr; }
	.stat + .stat::before { display: none; }
	.stat { justify-content: flex-start; }
	.hero-node__icon { width: 42px; height: 42px; font-size: 19px; }
	.hero-node { font-size: 9.5px; }
	.brand__name { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
