/*
Theme Name: Mg Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ===== ESSC tokens ===== */
:root {
	--essc-navy: #0b3a7e;
	--essc-navy-dark: #072a5c;
	--essc-red: #d71920;
	--essc-bg: #f2f5fa;
	--essc-line: #dfe6f1;
	--essc-text: #3a4556;
	--essc-shadow: 0 4px 18px rgba(11, 58, 126, .08);
}
body { color: var(--essc-text); }
.essc-ico-cal, .essc-cards .post-meta, .essc-notice-list .post-meta, .essc-featured .post-meta, .blog-archive .post-meta { position: relative; }

/* ===== Top bar ===== */
#top-bar .essc-tb { margin-right: 22px; font-size: 12.5px; white-space: nowrap; }
#top-bar .essc-tb i { margin-right: 5px; opacity: .85; }
#top-bar .essc-tb a { color: inherit; }
#top-bar .nav-top > li > a { font-size: 12.5px; }
#top-bar .nav-top > li + li { border-left: 1px solid rgba(255, 255, 255, .35); }
#top-bar .nav-top > li { margin: 0; padding: 0 12px; }

/* ===== Header: split menu around centered logo ===== */
.header-main { border-bottom: 3px solid var(--essc-navy); }
.header-main .header-nav-main > li > a { font-weight: 700; font-size: 15px; letter-spacing: 0; }
.header-main .header-nav-main > li.active > a,
.header-main .header-nav-main > li.current-menu-ancestor > a { color: var(--essc-red); }
.header-main .nav-dropdown { border-top: 3px solid var(--essc-red); }
@media (min-width: 850px) and (max-width: 1199px) {
	.header-main .header-nav-main > li > a { font-size: 13.5px; }
	.header-main .nav-spacing-large > li { margin: 0 6px; }
}

/* ===== Hero ===== */
.essc-hero h1 { font-size: 34px; line-height: 1.3; color: #fff; margin: 0; letter-spacing: .5px; }
.essc-hero h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--essc-red); margin-top: 18px; }

/* ===== Service bar ===== */
.essc-services-sec { background: var(--essc-bg) !important; }
.essc-services { background: #fff; border: 1px solid var(--essc-line); border-radius: 8px; box-shadow: var(--essc-shadow); margin-top: -46px !important; position: relative; z-index: 2; padding: 14px 0; }
.essc-services > .col { border-right: 1px solid var(--essc-line); }
.essc-services > .col:last-child { border-right: 0; }
.essc-services .featured-box { padding: 6px 22px; }
.essc-services .featured-box h3 { font-size: 15px; line-height: 1.35; color: var(--essc-navy); margin: 0; font-weight: 600; }
.essc-services .icon-box-img { margin-right: 14px !important; }
.essc-services a:hover h3 { color: var(--essc-red); }

/* ===== Section titles (native [title]) ===== */
.essc-khcn-sec .section-content > .row:first-child > .col, .essc-blog-sec .section-content > .row:first-child > .col { padding-bottom: 0; }
.page-template-page-blank .section-title-container { margin-bottom: 16px; }
.section-title-normal { border-bottom: 0; }
.section-title-normal span { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.page-template-page-blank h2.section-title { font-size: 24px; }
.section-title-normal .section-title-main { border-left: 5px solid var(--essc-red); padding-left: 12px; color: var(--essc-navy); font-size: 24px; text-transform: none; }
.section-title a { color: var(--essc-red); font-weight: 600; font-size: 14px; }
.section-title a .icon-angle-right { color: var(--essc-red); }

/* ===== Featured slider + notices ===== */
.essc-news-sec { background: var(--essc-bg) !important; }
.essc-featured > .col-inner, .essc-notices > .col-inner { background: #fff; border: 1px solid var(--essc-line); border-radius: 8px; box-shadow: var(--essc-shadow); padding: 14px; height: 100%; }
.essc-featured > .col-inner { position: relative; overflow: hidden; }
.essc-featured .row-slider { margin-left: 0 !important; margin-right: 0 !important; }
.essc-featured .row-slider .post-item { padding: 0 !important; }
.essc-featured > .col-inner::before { content: "TIN NỔI BẬT"; display: block; position: absolute; left: calc(52% + 40px); top: 26px; color: var(--essc-red); font-weight: 700; font-size: 13px; letter-spacing: .3px; z-index: 3; }
.essc-featured .box-image { border-radius: 6px; overflow: hidden; }
.essc-featured .box-text { padding: 34px 10px 10px 26px !important; }
.essc-featured .post-title { font-size: 20px; line-height: 1.35; color: var(--essc-navy); }
.essc-featured .from_the_blog_excerpt { color: var(--essc-text); font-size: 14px; }
.essc-featured .button { color: var(--essc-red); font-weight: 600; text-transform: none; padding-left: 0; }
.essc-featured .flickity-page-dots .dot { background: #c6cfdc; border: 0; opacity: 1; }
.essc-featured .flickity-page-dots .dot.is-selected { background: var(--essc-red); }
.page-template-page-blank .essc-notices h2.section-title { font-size: 19px; }
.essc-notices .section-title-normal .section-title-main { font-size: 19px; color: var(--essc-red); text-transform: uppercase; border-left: 0; padding-left: 0; }
.essc-notices .section-title-main::before { content: ""; display: inline-block; width: 26px; height: 20px; margin-right: 8px; vertical-align: -3px; background: var(--essc-red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10v4h3l6 5V5L6 10H3zm13.5 2A4.5 4.5 0 0 0 14 8v8a4.47 4.47 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10v4h3l6 5V5L6 10H3zm13.5 2A4.5 4.5 0 0 0 14 8v8a4.47 4.47 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") no-repeat center / contain; }
.essc-notice-list .box-image { display: none; }
.essc-notice-list .col { padding-bottom: 0 !important; }
.essc-notice-list .box-text { padding: 10px 0 10px 18px !important; border-bottom: 1px dashed var(--essc-line); position: relative; }
.essc-notice-list .col:last-child .box-text { border-bottom: 0; }
.essc-notice-list .box-text::before { content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--essc-red); }
.essc-notice-list .post-title { font-size: 14.5px; line-height: 1.4; color: var(--essc-navy); font-weight: 600; }
.essc-notice-list .is-divider { display: none; }
.essc-notice-list a:hover .post-title { color: var(--essc-red); }

/* Calendar glyph before post dates (shared) */
.essc-cards .post-meta::before, .essc-notice-list .post-meta::before, .essc-featured .post-meta::before, .blog-archive .entry-meta::before {
	content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ===== About + stats ===== */
.essc-about { background: linear-gradient(100deg, #eef3fb 0%, #e3ebf7 100%); border: 1px solid var(--essc-line); border-radius: 8px; padding: 18px 8px 4px; }
.essc-about h2 { font-size: 24px; border-left: 5px solid var(--essc-red); padding-left: 12px; margin-bottom: 14px; }
.essc-about p { font-size: 14.5px; line-height: 1.65; }
.essc-more, .essc-footer a:hover { color: var(--essc-red); }
.essc-more { font-weight: 600; }
.essc-more::after, .section-title a::after { content: " →"; }
.section-title a .icon-angle-right { display: none; }
.essc-stats > .col-inner { border-left: 1px solid #c9d5e8; padding-left: 40px; }
.essc-stats .featured-box { margin-bottom: 4px; border-bottom: 1px solid #d3ddec; padding: 8px 0; }
.essc-stats .featured-box:last-child { border-bottom: 0; }
.essc-stats p { margin: 0; font-size: 15px; color: var(--essc-text); }
.essc-stats strong { display: inline-block; min-width: 82px; font-size: 26px; color: var(--essc-red); font-weight: 700; }
.essc-stats .icon-box-img { margin-right: 22px !important; }

/* ===== Post cards (KH&CN, news) ===== */
.essc-khcn-sec, .essc-blog-sec { background: #fff; }
.essc-cards .col-inner { background: #fff; border: 1px solid var(--essc-line); border-radius: 6px; overflow: hidden; box-shadow: var(--essc-shadow); height: 100%; transition: transform .2s, box-shadow .2s; }
.essc-cards .col-inner:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11, 58, 126, .14); }
.essc-cards .box-text { padding: 12px 14px 14px !important; }
.essc-cards .post-title { font-size: 14.5px; line-height: 1.4; color: var(--essc-navy); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.essc-cards .is-divider { display: none; }
.essc-cards .post-meta, .essc-notice-list .post-meta, .essc-featured .post-meta { font-size: 12.5px; color: #6a7587; margin-top: 6px; opacity: 1; }

/* ===== Quick lookup strip ===== */
.essc-quick { background: linear-gradient(90deg, #f6f8fc 0%, #e8eef8 100%); border: 1px solid var(--essc-line); border-radius: 8px; overflow: hidden; }
.essc-quick-head > .col-inner { background: var(--essc-navy); padding: 18px 22px !important; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.essc-quick-head h2 { color: #fff; font-size: 20px; margin: 0; letter-spacing: .5px; }
.essc-quick-items .col-inner { padding: 14px 10px !important; }
.essc-quick-items .col + .col > .col-inner { border-left: 1px solid #cdd7e6; }
.essc-quick-items .featured-box { display: flex; justify-content: center; }
.essc-quick-items p { margin: 0; font-weight: 600; color: var(--essc-navy); font-size: 15px; }
.essc-quick-items a:hover p { color: var(--essc-red); }

/* ===== Footer ===== */
.essc-footer h3 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.essc-footer p { color: #c9d6ec; font-size: 13.5px; margin-bottom: 10px; }
.essc-footer ul { list-style: none; margin: 0; }
.essc-footer li { margin: 0 0 6px; color: #dfe7f5; font-size: 13.5px; }
.essc-footer a { color: #dfe7f5; }
.essc-footer-info > .col-inner, .essc-footer-links > .col-inner { border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 26px; }
.essc-footer-links li::before { content: "› "; color: #fff; }
.essc-contact li { padding-left: 22px; position: relative; }
.essc-contact li::before { font-family: "fl-icons"; position: absolute; left: 0; top: 0; color: #fff; }
.essc-ci-pin::before { content: "\e01a"; }
.essc-contact li::before { content: "•"; font-family: inherit; font-size: 18px; line-height: 1; color: var(--essc-red); }
.absolute-footer { font-size: 13px; }
.absolute-footer, .absolute-footer a { color: #fff !important; }

/* ===== Tablet ===== */
@media (max-width: 849px) {
	.essc-hero h1 { font-size: 28px; }
	.essc-services > .col:nth-child(2n) { border-right: 0; }
	.essc-services > .col:nth-child(-n+2) { border-bottom: 1px solid var(--essc-line); }
	.essc-featured { margin-bottom: 20px; }
	.essc-stats > .col-inner { border-left: 0; padding-left: 0; border-top: 1px solid #c9d5e8; padding-top: 10px; }
	.essc-quick-head > .col-inner { clip-path: none; text-align: center; }
	.essc-quick-head .featured-box { display: flex; justify-content: center; }
	.essc-footer-links > .col-inner { border-left: 0; padding-left: 0; }
}

/* ===== Mobile: news + notices right after the hero (CSS order, no duplicate content) ===== */
@media (max-width: 549px) {
	#top-bar .essc-tb:first-child { display: none; }
	.essc-hero h1 { font-size: 20px; }
	.essc-hero h1::after { margin-top: 10px; width: 50px; height: 3px; }
	.page-template-page-blank #content { display: flex; flex-direction: column; }
	.page-template-page-blank #content > .essc-hero { order: 1; }
	.page-template-page-blank #content > .essc-news-sec { order: 2; }
	.page-template-page-blank #content > .essc-services-sec { order: 3; padding-top: 6px !important; }
	.page-template-page-blank #content > .essc-about-sec { order: 4; }
	.page-template-page-blank #content > .essc-khcn-sec { order: 5; }
	.page-template-page-blank #content > .essc-blog-sec { order: 6; }
	.page-template-page-blank #content > .essc-quick-sec { order: 7; }
	.essc-services { margin-top: 0 !important; padding: 4px 0; }
	.essc-services .featured-box { padding: 8px 10px; }
	.essc-services .featured-box h3 { font-size: 13px; }
	.essc-services .icon-box-img { margin-right: 8px !important; width: 30px !important; }
	.essc-news-row > .col { padding-bottom: 12px; }
	.essc-featured > .col-inner, .essc-notices > .col-inner { padding: 10px; }
	.essc-featured > .col-inner::before { position: static; width: auto; margin: 0 0 6px; }
	.essc-featured .post-item .box { display: flex; align-items: center; }
	.essc-featured .post-item .box-image { width: 38% !important; flex: 0 0 38%; }
	.essc-featured .box-text { padding: 0 0 0 12px !important; }
	.essc-featured .post-title { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.essc-featured .from_the_blog_excerpt, .essc-featured .button, .essc-featured .is-divider { display: none; }
	.essc-featured .flickity-page-dots { bottom: -14px; }
	.essc-notice-list .box-text { padding: 7px 0 7px 16px !important; }
	.essc-notice-list .box-text::before { top: 14px; }
	.essc-notice-list .post-title { font-size: 13.5px; }
	.essc-notices .section-title-container { margin-bottom: 4px; }
	.page-template-page-blank h2.section-title, .section-title-normal .section-title-main { font-size: 19px; }
	.essc-about h2 { font-size: 20px; }
	.essc-stats strong { font-size: 22px; min-width: 64px; }
	.essc-cards .post-title { font-size: 13.5px; }
	.essc-quick-items .col-inner { padding: 10px 6px !important; }
	.essc-quick-items .col:nth-child(odd) > .col-inner { border-left: 0 !important; }
	.essc-quick-items .col:nth-child(-n+2) > .col-inner { border-bottom: 1px solid #cdd7e6; }
	.essc-footer-info > .col-inner { border-left: 0; padding-left: 0; }
}


/* ===== Dropdown menus ===== */
.header-nav .nav-dropdown { border: 0; border-top: 3px solid var(--essc-red); border-radius: 0 0 4px 4px; box-shadow: 0 14px 30px rgba(11, 58, 126, .16); padding: 6px 0; min-width: 260px; background: #fff; }
.header-nav .nav-dropdown > li { width: 100%; }
.header-nav .nav-dropdown > li > a { position: relative; display: block; padding: 10px 20px; margin: 0; font-size: 14px; font-weight: 500; text-transform: none; color: #1f3556; border-bottom: 1px solid #eef2f7; border-radius: 0; background: none; }
.header-nav .nav-dropdown > li:last-child > a { border-bottom: 0; }
.header-nav .nav-dropdown > li > a:hover, .header-nav .nav-dropdown > li.current-menu-item > a { background: #f2f6fc; color: var(--essc-navy); }
.header-nav .nav-dropdown > li > a:hover::before, .header-nav .nav-dropdown > li.current-menu-item > a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--essc-red); }
/* Mega dropdown (menu item design: custom size) */
.header-nav .menu-item-design-custom-size > .nav-dropdown { display: flex; align-items: flex-start; padding: 20px 8px 14px; }
.header-nav .menu-item-design-custom-size > .nav-dropdown > li.nav-dropdown-col { flex: 1 1 0; width: auto; padding: 0 16px; border-left: 1px solid #eef2f7; }
.header-nav .menu-item-design-custom-size > .nav-dropdown > li.nav-dropdown-col:first-child { border-left: 0; }
.header-nav .nav-dropdown > li.nav-dropdown-col > a { padding: 0 0 10px; margin-bottom: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .2px; color: var(--essc-navy); border-bottom: 1px solid #dbe3ef; background: none !important; }
.header-nav .nav-dropdown > li.nav-dropdown-col > a::before { display: none; }
.header-nav .nav-dropdown > li.nav-dropdown-col > a::after { content: ""; display: block; width: 36px; height: 2px; background: var(--essc-red); margin-top: 10px; position: relative; top: 11px; }
.header-nav .nav-dropdown-col > ul { display: block !important; position: static; padding: 0; box-shadow: none; border: 0; min-width: 0; }
.header-nav .menu-item-design-custom-size .nav-dropdown a { white-space: normal; line-height: 1.4; }
.header-nav .nav-dropdown-col > ul > li > a { display: block; padding: 7px 8px 7px 14px; font-size: 14px; color: #3a4556; position: relative; border-radius: 3px; }
.header-nav .nav-dropdown-col > ul > li > a::before { content: "›"; position: absolute; left: 3px; color: var(--essc-red); font-weight: 700; }
.header-nav .nav-dropdown-col > ul > li > a:hover { background: #f2f6fc; color: var(--essc-navy); }
.off-canvas .nav-sidebar > li > a { color: var(--essc-navy); font-weight: 600; }
.off-canvas .nav-sidebar .children li a, .off-canvas .nav-sidebar .sub-menu li a { color: #3a4556; }

/* ===== Inner page band (page_header + archive header) ===== */
.page-title.dark, .essc-page-band { min-height: 0; }
.page-title-inner { padding-top: 0; }
.page-title .title-breadcrumbs, .essc-breadcrumb { font-size: 13px; }
.essc-breadcrumb { color: rgba(255, 255, 255, .75); margin-top: 8px; }
.essc-breadcrumb a { color: #fff; }
.essc-breadcrumb a:hover { color: #ffd2d3; }
.essc-breadcrumb .divider { margin: 0 8px; opacity: .7; }
.essc-breadcrumb .current { color: rgba(255, 255, 255, .8); }
.page-title .page-title-inner h1, .page-title .entry-title { font-size: 28px; letter-spacing: .3px; }
.page-title .page-title-inner h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--essc-red); margin-top: 10px; }

/* ===== Panels (gov portal style) ===== */
.essc-panel > .col-inner { background: #fff; border: 1px solid #dbe3ef; border-radius: 4px; padding: 0 20px 18px; box-shadow: 0 1px 3px rgba(11, 58, 126, .05); height: 100%; }
.essc-panel-title { width: calc(100% + 40px); box-sizing: border-box; margin: 0 -20px 16px; padding: 12px 20px; font-size: 16px; text-transform: uppercase; letter-spacing: .3px; color: var(--essc-navy); background: #eef3fa; border-bottom: 2px solid var(--essc-navy); border-radius: 4px 4px 0 0; position: relative; }
.essc-panel-title::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--essc-red); margin-right: 10px; vertical-align: -2px; }
.essc-panel-note { font-size: 14px; color: #5b6678; }
.essc-contact-row .featured-box { padding: 12px 0; border-bottom: 1px dashed #dbe3ef; }
.essc-contact-row .essc-panel:first-child .col-inner > .featured-box:last-child { border-bottom: 0; }
.essc-contact-row .featured-box h3 { font-size: 14px; margin: 0 0 2px; color: var(--essc-navy); text-transform: uppercase; letter-spacing: .2px; }
.essc-contact-row .featured-box p { margin: 0; font-size: 14.5px; color: var(--essc-text); }
.essc-contact-row .featured-box a:hover p { color: var(--essc-red); }
.essc-contact-row .icon-box-img { margin-right: 14px !important; background: #eef3fa; border-radius: 4px; padding: 8px; box-sizing: content-box; }
.essc-map-panel iframe { display: block; border-radius: 3px; }
/* Contact Form 7 */
.essc-form-panel .wpcf7 input[type=text], .essc-form-panel .wpcf7 input[type=tel], .essc-form-panel .wpcf7 input[type=email], .essc-form-panel .wpcf7 textarea { border: 1px solid #cfd8e6; border-radius: 4px; box-shadow: none; height: 44px; font-size: 14.5px; background: #fbfcfe; }
.essc-form-panel .wpcf7 textarea { height: 150px; }
.essc-form-panel .wpcf7 input:focus, .essc-form-panel .wpcf7 textarea:focus { border-color: var(--essc-navy); background: #fff; box-shadow: 0 0 0 3px rgba(11, 58, 126, .1); }
.essc-form-panel .wpcf7 input[type=submit] { background: var(--essc-red) !important; border: 0 !important; color: #fff; border-radius: 4px; padding: 0 28px; text-transform: none; font-weight: 600; }
.essc-form-panel .wpcf7 input[type=submit]:hover { background: #b51419 !important; }
.essc-form-panel .wpcf7 br { display: none; }
.essc-form-panel .wpcf7-form > p, .essc-form-panel .wpcf7-form-control-wrap { display: block; margin-bottom: 12px; }
/* Partners */
.essc-partner-intro p { max-width: 820px; margin-bottom: 4px; }
.essc-partner-grid { margin-top: 14px !important; }
.essc-partner > .col-inner { background: #fff; border: 1px solid #dbe3ef; border-radius: 4px; padding: 16px 14px 12px; height: 100%; transition: border-color .2s, box-shadow .2s; }
.essc-partner > .col-inner:hover { border-color: var(--essc-navy); box-shadow: 0 6px 18px rgba(11, 58, 126, .12); }
.essc-partner .img { height: 110px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; width: 100% !important; }
.essc-partner .img .img-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.essc-partner .img img { max-height: 96px; width: auto !important; max-width: 85%; object-fit: contain; }
.essc-partner h3 { font-size: 14px; line-height: 1.45; color: var(--essc-navy); font-weight: 600; margin: 0; padding-top: 10px; border-top: 1px solid #eef2f7; }
.essc-partner-cta > .col-inner { background: linear-gradient(90deg, var(--essc-navy) 0%, #164b98 100%); border: 0; padding: 22px 26px; color: #fff; }
.essc-partner-cta h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.essc-partner-cta p { color: #d6e1f3; margin: 0; }

/* ===== Category archive (gov tone) ===== */
.archive .blog-wrapper.page-wrapper, .search .blog-wrapper.page-wrapper { padding-top: 0; background: #f2f5fa; padding-bottom: 30px; }
.essc-page-band { background: var(--essc-navy) url("/wp-content/uploads/2024/12/costi-vn-2-scaled.webp") 70% 50% / cover; position: relative; margin-bottom: 26px; }
.essc-page-band::before { content: ""; position: absolute; inset: 0; background: rgba(6, 28, 74, .75); }
.essc-page-band .row { position: relative; padding: 38px 0 30px; }
.essc-page-band .col { padding-bottom: 0; }
.essc-page-band .page-title { color: #fff; font-size: 28px; margin: 0; letter-spacing: .3px; text-transform: none; }
.essc-page-band .page-title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--essc-red); margin-top: 10px; }
.essc-page-band .taxonomy-description { color: #d5e0f2; margin-top: 8px; font-size: 14px; }
.essc-post-list .post-item { padding-bottom: 14px; }
.essc-post-list .post-item .col-inner { background: #fff; border: 1px solid #dbe3ef; border-radius: 4px; box-shadow: none; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.essc-post-list .post-item .col-inner:hover { border-color: #b9c8de; box-shadow: 0 6px 18px rgba(11, 58, 126, .1); }
.essc-post-list .box-image { border-radius: 0; }
.essc-post-list .box-text { padding: 14px 20px !important; vertical-align: top; }
.essc-post-list .post-title { font-size: 17px; line-height: 1.4; color: var(--essc-navy); font-weight: 700; }
.essc-post-list a:hover .post-title { color: var(--essc-red); }
.essc-post-list .is-divider { display: none; }
.essc-post-list .post-meta { font-size: 13px; color: #6a7587; margin: 6px 0 8px; opacity: 1; }
.essc-post-list .post-meta::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") no-repeat center / contain; }
.essc-post-list .from_the_blog_excerpt { font-size: 14px; color: var(--essc-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.archive .page-numbers { border-radius: 4px !important; border-color: #cfd8e6; color: var(--essc-navy); background: #fff; }
.archive .page-numbers.current, .archive .page-numbers:hover { background: var(--essc-navy); border-color: var(--essc-navy); color: #fff; }
/* Sidebar widgets */
.archive #secondary, .search #secondary, .single-post #secondary { padding-bottom: 0; }
#secondary .widget { background: #fff; border: 1px solid #dbe3ef; border-radius: 4px; padding: 0 16px 12px; box-shadow: none; margin-bottom: 20px; }
#secondary .widget-title { display: block; margin: 0 -16px 10px; padding: 11px 16px; background: var(--essc-navy); color: #fff; font-size: 14px !important; text-transform: uppercase; letter-spacing: .4px; border-radius: 3px 3px 0 0; }
#secondary .widget-title::before { content: ""; display: inline-block; width: 4px; height: 14px; background: var(--essc-red); margin-right: 9px; vertical-align: -1px; }
#secondary .is-divider.small { display: none; }
#secondary .essc-notice-list .post-item .col-inner { background: none; border: 0; border-radius: 0; box-shadow: none; }
#secondary .essc-notice-list .post-title { font-size: 14px; font-weight: 600; }
#secondary .essc-notice-list .box-text { padding: 9px 0 9px 16px !important; }
.essc-hotline { text-align: center; padding: 6px 0 2px; }
.essc-hotline p { margin: 0 0 4px; font-size: 13.5px; color: #5b6678; }
.essc-hotline a.essc-hotline-num { display: block; font-size: 22px; font-weight: 700; color: var(--essc-red); margin: 4px 0 8px; }
.essc-hotline a.button { margin: 6px 0 0; border-radius: 4px; }

@media (max-width: 849px) {
	.header-nav .menu-item-design-custom-size > .nav-dropdown { display: block; }
	.essc-panel > .col-inner { margin-bottom: 0; }
	.essc-partner .img { height: 90px; }
}
@media (max-width: 549px) {
	.page-title .page-title-inner h1, .essc-page-band .page-title { font-size: 22px; }
	.essc-page-band .row { padding: 24px 0 20px; }
	.essc-panel > .col-inner { padding: 0 14px 14px; }
	.essc-panel-title { width: calc(100% + 28px); margin: 0 -14px 12px; padding: 11px 14px; font-size: 14.5px; }
	.essc-partner > .col-inner { padding: 12px 10px 10px; }
	.essc-partner .img { height: 74px; }
	.essc-partner .img img { max-height: 64px; }
	.essc-partner h3 { font-size: 12.5px; }
	.essc-partner-cta > .col-inner { padding: 18px; text-align: center; }
	.essc-partner-cta .col-inner.text-right { text-align: center; }
	.essc-post-list .box-text { padding: 12px 14px !important; }
	.essc-post-list .post-title { font-size: 15.5px; }
}

/* ===== About pages (sub-nav + panels) ===== */
.essc-about-page .essc-main-col > .col-inner > .row { margin-bottom: 6px; }
.essc-about-page .row-inner .col { padding-bottom: 20px; }
.essc-subnav-panel > .col-inner { padding-bottom: 0; position: sticky; top: 90px; height: auto; }
.essc-subnav { list-style: none; margin: -16px -20px 0 !important; padding: 0 !important; }
.essc-subnav li { margin: 0 !important; border-bottom: 1px solid #eef2f7; }
.essc-subnav a { display: block; position: relative; padding: 12px 20px 12px 34px; color: #1f3556; font-weight: 500; font-size: 14.5px; }
.essc-subnav a::before { content: "›"; position: absolute; left: 20px; color: var(--essc-red); font-weight: 700; }
.essc-subnav a:hover { background: #f2f6fc; color: var(--essc-navy); }
.page-id-1296 .sn-1296 a, .page-id-1676 .sn-1676 a, .page-id-1640 .sn-1640 a, .page-id-1822 .sn-1822 a { background: var(--essc-navy); color: #fff; font-weight: 600; }
.page-id-1296 .sn-1296 a::before, .page-id-1676 .sn-1676 a::before, .page-id-1640 .sn-1640 a::before, .page-id-1822 .sn-1822 a::before { color: #fff; }
.essc-subnav-help { margin: 0 -20px; padding: 16px 20px 18px; text-align: center; background: #f7f9fd; }
.essc-subnav-help p { margin: 0; font-size: 13px; color: #5b6678; text-transform: uppercase; letter-spacing: .3px; }
.essc-subnav-help a { font-size: 22px; font-weight: 700; color: var(--essc-red); }
.essc-panel p { font-size: 15px; line-height: 1.7; text-align: justify; }
.essc-panel-img > .col-inner { padding: 10px; display: flex; align-items: center; }
.essc-panel-img img { border-radius: 3px; }
.essc-panel .img { margin-bottom: 4px; }
.essc-stat-card > .col-inner, .essc-icon-card > .col-inner { background: #fff; border: 1px solid #dbe3ef; border-radius: 4px; padding: 18px 16px; height: 100%; text-align: center; transition: border-color .2s, box-shadow .2s; }
.essc-stat-card .icon-box-text, .essc-icon-card .icon-box-text { text-align: center; padding-left: 0; }
.essc-panel > .col-inner > .text > p:last-child { margin-bottom: 0; }
.essc-stat-card .featured-box h3 { font-size: 28px; color: var(--essc-red); margin: 6px 0 2px; font-weight: 700; }
.essc-stat-card .featured-box p { font-size: 13.5px; color: #5b6678; margin: 0; text-align: center; }
.essc-icon-card .featured-box h3 { font-size: 16px; color: var(--essc-navy); margin: 8px 0 6px; }
.essc-icon-card .featured-box p { font-size: 14px; color: #5b6678; margin: 0; text-align: center; line-height: 1.55; }
.essc-link-card > .col-inner:hover { border-color: var(--essc-navy); box-shadow: 0 6px 18px rgba(11, 58, 126, .12); }
.essc-link-card a:hover h3 { color: var(--essc-red); }
.essc-icon-card .icon-box-img, .essc-stat-card .icon-box-img { margin: 0 auto 4px !important; }
.essc-vm-card > .col-inner { padding: 26px 26px 20px; border-top: 3px solid var(--essc-red); }
.essc-vm-card .featured-box { text-align: center; }
.essc-vm-card h2 { color: var(--essc-navy); font-size: 22px; margin: 10px 0 10px; text-transform: uppercase; letter-spacing: .5px; }
.essc-vm-card .icon-box-img { margin: 0 auto !important; background: #eef3fa; border-radius: 50%; padding: 14px; box-sizing: content-box; }
.essc-contact-mini .featured-box { padding: 10px 0; border-bottom: 1px dashed #dbe3ef; }
.essc-contact-mini .col-inner > .featured-box:last-child, .essc-contact-mini a:last-of-type .featured-box { border-bottom: 0; }
.essc-contact-mini h3 { font-size: 13.5px; margin: 0; color: var(--essc-navy); text-transform: uppercase; }
.essc-contact-mini p { margin: 0; text-align: left; font-size: 14.5px; }
.essc-contact-mini .icon-box-img { margin-right: 12px !important; }
.essc-about-page .row-inner > .col.essc-panel:not(.essc-panel-img):not(.essc-vm-card) > .col-inner > .text:only-child h2.essc-panel-title { margin-bottom: 8px; }

@media (max-width: 849px) {
	.essc-subnav-panel > .col-inner { position: static; }
	.essc-subnav-panel { padding-top: 6px; }
}
@media (max-width: 549px) {
	.page-title .page-title-inner h1::after { margin-left: auto; margin-right: auto; }
	.essc-post-list .post-item .box-vertical { display: flex; align-items: flex-start; }
	.essc-post-list .post-item .box-vertical .box-image { width: 36% !important; flex: 0 0 36%; }
	.essc-post-list .post-item .box-vertical .box-image .image-cover { padding-top: 100% !important; }
	.essc-post-list .box-text { padding: 10px 12px !important; }
	.essc-post-list .post-title { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.essc-post-list .from_the_blog_excerpt { display: none; }
	.essc-post-list .post-meta { margin-bottom: 0; }
	.essc-subnav { margin: -12px -14px 0 !important; }
	.essc-subnav-help { margin: 0 -14px; }
	.essc-panel p { font-size: 14.5px; text-align: left; }
	.essc-stat-card > .col-inner, .essc-icon-card > .col-inner { padding: 14px 10px; }
	.essc-stat-card .icon-box-text, .essc-icon-card .icon-box-text { text-align: center; padding-left: 0; }
.essc-panel > .col-inner > .text > p:last-child { margin-bottom: 0; }
.essc-stat-card .featured-box h3 { font-size: 22px; }
	.essc-icon-card .featured-box h3 { font-size: 14.5px; }
	.essc-icon-card .featured-box p { font-size: 13px; }
	.essc-vm-card > .col-inner { padding: 20px 16px 14px; }
}
@media (max-width: 549px) {
	.essc-panel-img .img { max-width: 220px; margin: 0 auto; }
}
