/* ========== Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333;
    background: #d5dade url('../images/bg.svg') no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
    line-height: 1.5;
    min-height: 100vh;
}

a { color: #1a5490; text-decoration: none; }
a:hover { text-decoration: underline; }

img { border: 0; max-width: 100%; }

ul { list-style: none; }

/* ========== Layout ========== */
.container {
    width: 1000px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    position: relative;
}

/* ========== Top Bar ========== */
.topbar {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 20;
    background: transparent;
    padding: 0;
    width: auto;
}

.topbar-inner {
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    gap: 0;
}

.topbar-inner ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.topbar-inner li {
    padding: 0 14px;
    font-size: 11px;
    color: #6f7378;
    letter-spacing: 0.6px;
    line-height: 28px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
}

.topbar-inner li:not(:first-child)::before {
    content: '|';
    position: absolute;
    left: -1px;
    color: #b8bcc1;
    font-weight: normal;
}

.topbar-inner li a {
    color: #6f7378;
    text-decoration: none;
}
.topbar-inner li a:hover { color: #1a5490; text-decoration: none; }
.topbar-inner li.active a { color: #1a5490; }

/* Language switch — single boxed button */
.topbar-inner .lang-switch {
    display: inline-block;
    margin-left: 6px;
}
.topbar-inner .lang-switch a {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    color: #2c2c2c;
    font-weight: bold;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
}
.topbar-inner .lang-switch a:hover {
    background: #fff;
    color: #1a5490;
    text-decoration: none;
}

/* ========== Header ========== */
.header {
    padding: 0;
    background: #fff;
    display: block;
    box-sizing: border-box;
}

/* Single uploadable logo image — edge-to-edge */
.header .header-logo {
    display: block;
    width: 100%;
    line-height: 0;
    text-decoration: none;
}
.header .header-logo img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    display: block;
}

/* Old icon + text fallback (only used when header has flex children) */
.header:has(.logo) {
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 110px;
}

/* Old icon + text fallback (kept for the static .html pages) */
.header .logo {
    width: 86px;
    height: 86px;
    flex-shrink: 0;
}

.header .brand h1 {
    font-size: 30px;
    color: #1a5490;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.header .brand h2 {
    font-size: 26px;
    color: #1a5490;
    font-weight: normal;
    line-height: 1.1;
    margin-top: 2px;
}

/* ========== Navigation ========== */
.nav {
    background: #1a4570;
    background: linear-gradient(to bottom, #2a5a8a, #1a4570);
    padding: 0;
    height: 44px;
    display: flex;
    align-items: stretch;
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 0 14px;
    line-height: 44px;
    font-size: 11.5px;
    font-weight: bold;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.nav a:hover, .nav a.active {
    background: #143759;
}

/* Dropdown sub-menus */
.nav { position: relative; }
.nav .nav-item {
    position: relative;
}
.nav .nav-item > a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0 14px;
    line-height: 44px;
    font-size: 11.5px;
    font-weight: bold;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.nav .nav-item > a:hover,
.nav .nav-item > a.active,
.nav .nav-item:hover > a {
    background: #143759;
    text-decoration: none;
}
.nav .nav-item.has-dropdown > a::after {
    content: '';
}
.nav .nav-item:hover > a {
    background: linear-gradient(to bottom, #4a7eb5, #2e639a);
}
.nav .nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #2e639a;
    background: linear-gradient(to bottom, #3a6da8, #2e639a);
    border: 0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    z-index: 100;
    padding: 0;
}
.nav .nav-item:hover .nav-dropdown {
    display: block;
}
.nav .nav-dropdown a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: normal;
    text-transform: none;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    line-height: 1.3;
    background: transparent;
    letter-spacing: 0;
}
.nav .nav-dropdown a:last-child { border-bottom: 0; }
.nav .nav-dropdown a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
}
.nav .nav-dropdown a.active {
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-weight: bold;
}

/* ========== Slider / Hero ========== */
.hero {
    position: relative;
    display: flex;
    background: #1a4570;
    color: #fff;
    height: 320px;
    overflow: hidden;
}

.hero .hero-image {
    width: 58%;
    background: #1e3a5f;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero .hero-content {
    flex: 1;
    padding: 28px 26px 96px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero .hero-content h3 {
    font-size: 20px;
    margin-bottom: 14px;
    line-height: 1.3;
    font-weight: bold;
}

.hero .hero-content p {
    font-size: 12.5px;
    line-height: 1.6;
    opacity: 0.92;
    flex: 1;
}

.hero .hero-meta {
    font-size: 12px;
    opacity: 0.55;
    margin-top: 14px;
    letter-spacing: 0.3px;
}

.hero-tabs {
    position: absolute;
    bottom: 56px;
    right: 0;
    display: flex;
    padding: 0;
    z-index: 5;
}

.hero-tabs button {
    background: rgba(20, 55, 89, 0.85);
    color: #fff;
    border: 0;
    padding: 8px 20px;
    font-size: 11px;
    cursor: pointer;
    margin-left: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-weight: bold;
    letter-spacing: 0.3px;
}

.hero-tabs button.active { background: #fff; color: #1a4570; }

.hero-thumbs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 3px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.96);
    overflow-x: auto;
    z-index: 4;
    height: 56px;
    box-sizing: border-box;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.hero-thumbs .thumb {
    width: 64px;
    height: 42px;
    background: #ccc;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid #c8ccd2;
    overflow: hidden;
    transition: transform 0.15s;
    position: relative;
}

.hero-thumbs .thumb:hover { transform: translateY(-1px); }
.hero-thumbs .thumb.active {
    border-color: #1a5490;
    box-shadow: 0 0 0 2px #1a5490, 0 2px 5px rgba(26,84,144,0.3);
}
.hero-thumbs .thumb.active::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #1a5490;
}
.hero-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ========== Main Content ========== */
.main-content {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
}

.col-left { flex: 1; }
.col-right { width: 280px; }

/* ========== Section Box ========== */
.section {
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.section-header {
    background: #1a5490;
    background: linear-gradient(to bottom, #2a6ba8, #1a5490);
    color: #fff;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #1a5490;
}

.section-body { padding: 15px; }

/* ========== News List ========== */
.news-list { display: flex; gap: 15px; }

.news-featured {
    width: 180px;
    flex-shrink: 0;
}

.news-featured img {
    width: 100%;
    border: 1px solid #ddd;
}

.news-featured h4 {
    font-size: 12px;
    color: #1a5490;
    margin: 8px 0;
    line-height: 1.3;
}

.news-featured p { font-size: 11px; color: #666; line-height: 1.5; }

.news-items { flex: 1; }

.news-item {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.news-item:last-child { border-bottom: 0; }

.news-item h4 {
    font-size: 12px;
    color: #1a5490;
    margin-bottom: 4px;
    font-weight: bold;
}

.news-item p { font-size: 11px; color: #555; line-height: 1.4; }

.news-footer {
    text-align: right;
    padding: 8px 0 0;
    font-size: 11px;
}

.news-footer a { margin-left: 12px; color: #1a5490; }

/* ========== Services Accordion ========== */
.services .accordion-item {
    border-bottom: 1px solid #ddd;
}

.services .accordion-header {
    padding: 10px 15px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    background: #f8f8f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.services .accordion-header:hover { background: #eef4fa; }
.services .accordion-header::after {
    content: '▾';
    color: #1a5490;
    font-size: 12px;
}

.services .accordion-content {
    display: none;
    padding: 10px 15px;
    background: #fff;
    font-size: 11px;
    color: #555;
}

.services .accordion-item.open .accordion-content { display: block; }

/* ========== Search Box ========== */
.search-box {
    background: #1a5490;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.search-box label {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.search-box input {
    flex: 1;
    padding: 5px 8px;
    border: 1px solid #ccc;
    font-size: 12px;
}

.search-box button {
    background: #143759;
    color: #fff;
    border: 0;
    padding: 5px 12px;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
}

/* ========== Sidebar Banner ========== */
.sidebar-banner {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    background: #f4f4f4;
    text-align: center;
    padding: 15px;
}

.sidebar-banner img { width: 100%; display: block; }

.sidebar-banner h4 {
    font-size: 13px;
    color: #1a5490;
    margin-top: 10px;
}

/* ========== Banners Row ========== */
.banners-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.banner {
    flex: 1;
    border: 1px solid #ddd;
    padding: 15px;
    background: linear-gradient(to bottom, #fafafa, #efefef);
    text-align: center;
}

.banner img { max-height: 50px; }
.banner h4 { font-size: 12px; color: #1a5490; margin-top: 8px; }

.big-banner {
    background: linear-gradient(135deg, #1a5490, #2a6ba8);
    color: #fff;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.big-banner h3 { font-size: 22px; margin-bottom: 6px; }
.big-banner p { font-size: 13px; opacity: 0.9; }

/* ========== Footer ========== */
.footer {
    background: #1a4570;
    background: linear-gradient(to bottom, #1a4570, #143759);
    color: #fff;
    padding: 25px 20px;
    display: flex;
    gap: 30px;
}

.footer-col { flex: 1; }

.footer-col h4 {
    font-size: 13px;
    background: #2a5a8a;
    padding: 6px 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-col ul li {
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px dotted rgba(255,255,255,0.1);
}

.footer-col ul li a { color: #cfe0f2; }
.footer-col ul li a:hover { color: #fff; }

.footer-col .columns {
    display: flex;
    gap: 20px;
}

.footer-col .columns ul { flex: 1; }

.footer-bottom {
    background: #143759;
    padding: 12px 20px;
    font-size: 11px;
    color: #cfe0f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .rss {
    color: #ff8c00;
    font-weight: bold;
}

/* ========== Article / News Detail ========== */
.article-layout {
    display: flex;
    gap: 18px;
    padding: 18px;
    background: #fff;
}
.article-main { flex: 1; min-width: 0; }
.article-sidebar { width: 280px; flex-shrink: 0; }

.article-title-bar {
    background: linear-gradient(to bottom, #2a6ba8, #1a5490);
    color: #fff;
    padding: 13px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
    border-radius: 2px;
}
.article-title-bar::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 24px;
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #1a5490;
}
.article-title-bar h1 {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
}
.article-share {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}
.article-share a {
    color: #fff;
    font-size: 11px;
    opacity: 0.85;
    white-space: nowrap;
}
.article-share a:hover { opacity: 1; text-decoration: none; }

.article-body {
    padding: 22px 4px 10px 4px;
}
.article-image {
    margin-bottom: 16px;
    text-align: center;
    background: #f4f4f4;
    border: 1px solid #e5e8ec;
    padding: 8px;
}
.article-image img {
    max-width: 100%;
    max-height: 480px;
    display: block;
    margin: 0 auto;
}
.article-meta {
    font-size: 12px;
    color: #555;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.article-meta strong { color: #1a5490; font-size: 13px; }
.article-lead {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    font-weight: 500;
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 3px solid #1a5490;
}
.article-content {
    font-size: 13.5px;
    line-height: 1.8;
    color: #333;
}
.article-content p { margin-bottom: 14px; }
.article-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.back-link {
    display: inline-block;
    color: #1a5490;
    font-size: 12px;
    font-weight: bold;
}

/* ----- Sidebar widgets for news detail ----- */

.share-widget {
    background: #eef0f3;
    border: 1px solid #dfe3e8;
    padding: 12px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.share-widget .share-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1a5490;
    font-size: 12px;
}
.share-widget .share-link:hover { text-decoration: underline; }
.share-widget .share-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}
.share-widget .social {
    margin-left: auto;
    display: flex;
    gap: 4px;
    align-items: center;
}
.share-widget .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.share-widget .social a img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}
.share-widget .social a:hover { opacity: 0.85; }

.search-widget {
    background: #ececec;
    border: 0;
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 0;
    box-sizing: border-box;
    width: 100%;
}
.search-widget label {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.4px;
    flex: 0 0 auto;
    margin-right: 12px;
}
.search-widget input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    padding: 0 8px;
    border: 1px solid #cccccc;
    border-right: 0;
    background: #fff;
    font-size: 12px;
    margin: 0;
    height: 28px;
    box-sizing: border-box;
    color: #333;
}
.search-widget input:focus { outline: 0; border-color: #1a5490; }
.search-widget button {
    background: #2c7bbd;
    color: #fff;
    border: 0;
    padding: 0 12px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 0.4px;
    height: 28px;
    box-sizing: border-box;
    flex: 0 0 auto;
}
.search-widget button:hover { background: #1a5490; }

.news-widget {
    background: #eef0f3;
    border: 1px solid #dfe3e8;
}
.news-widget .widget-header {
    background: #2a3851;
    color: #fff;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: bold;
    position: relative;
}
.news-widget .widget-header::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 16px;
    width: 0; height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #2a3851;
}
.news-widget .widget-items { padding: 0; }
.news-widget .widget-item {
    display: block;
    padding: 12px 14px;
    color: #333;
    font-size: 12.5px;
    line-height: 1.4;
    border-bottom: 1px dashed #c8ccd2;
    transition: background 0.15s;
    background: transparent;
}
.news-widget .widget-item:last-child { border-bottom: 0; }
.news-widget .widget-item:hover {
    background: rgba(255,255,255,0.5);
    color: #1a5490;
    text-decoration: none;
}

/* Clickable items in news list */
.news-featured a.link-block,
.news-item a.link-block {
    display: block;
    color: inherit;
    text-decoration: none;
}
.news-featured a.link-block:hover h4,
.news-item a.link-block:hover h4 { text-decoration: underline; }

/* Make hero clickable */
.hero a.hero-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}
.hero-image { cursor: pointer; }

/* ========== Board of Directors ========== */
.board-wrap {
    padding: 20px 22px;
    background: #fff;
}
.board-section {
    background: #fff;
    border: 1px solid #e5e8ec;
}
.board-section-title {
    background: #1a5490;
    background: linear-gradient(to bottom, #2a6ba8, #1a5490);
    color: #fff;
    padding: 13px 22px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    letter-spacing: 0.3px;
}
.board-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 26px;
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #1a5490;
}

.board-featured {
    display: flex;
    gap: 28px;
    padding: 28px 24px;
    align-items: flex-start;
    border-bottom: 1px solid #e5e8ec;
}
.board-photo {
    width: 150px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f4f4f4;
    border: 1px solid #e5e8ec;
}
.board-info {
    flex: 1;
    padding-top: 30px;
}
.board-name {
    font-size: 18px;
    color: #222;
    line-height: 1.3;
    margin-bottom: 8px;
}
.board-name strong { font-weight: bold; }
.board-title {
    font-size: 14px;
    color: #555;
    font-style: italic;
    margin-bottom: 18px;
}
.board-cv {
    display: inline-block;
    color: #1a5490;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.board-cv:hover { text-decoration: underline; }

.board-row {
    display: flex;
    gap: 0;
    padding: 22px 24px;
    border-bottom: 1px solid #e5e8ec;
}
.board-row:last-child { border-bottom: 0; }

.board-card {
    flex: 1;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 0 12px;
}
.board-card-empty { visibility: hidden; }

.board-card-photo {
    width: 90px;
    height: 110px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f4f4f4;
    border: 1px solid #e5e8ec;
}
.board-card-info { flex: 1; padding-top: 14px; }
.board-card-name {
    font-size: 15px;
    color: #222;
    line-height: 1.3;
    margin-bottom: 6px;
}
.board-card-name strong { font-weight: bold; }
.board-card-title {
    font-size: 12px;
    color: #555;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 12px;
}

.board-photo-empty {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 38px;
    background: #f4f6f8 !important;
}

/* ========== Certificate Verification ========== */
.cert-wrap {
    padding: 24px 22px;
    background: #fff;
}

.cert-header {
    padding: 26px 24px;
    background: #fff;
    border: 1px solid #e5e8ec;
    border-bottom: 0;
    text-align: center;
    margin-bottom: 0;
}
.cert-header h1 {
    color: #444;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.cert-header .cert-no {
    color: #1a1a1a;
    font-size: 18px;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

.cert-section {
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #e5e8ec;
}
.cert-section-title {
    background: #fafafa;
    color: #2a2a2a;
    padding: 16px 22px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e8ec;
    text-transform: uppercase;
}

.cert-row {
    display: flex;
    border-bottom: 1px solid #f0f2f5;
    background: #fff;
}
.cert-row:last-child { border-bottom: 0; }
.cert-row:nth-child(even) { background: #fafbfc; }

.cert-label {
    width: 180px;
    flex-shrink: 0;
    padding: 16px 18px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    background: #f7f8fa;
    border-right: 1px solid #f0f2f5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.cert-value {
    flex: 1;
    padding: 16px 22px;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.55;
}

.cert-row .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    background: #5b9bd5;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 0 6px;
    margin-left: auto;
    border-radius: 2px;
    flex-shrink: 0;
}

.cert-goods {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.cert-goods th {
    background: #f7f8fa;
    color: #333;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #e5e8ec;
    font-size: 13px;
    vertical-align: top;
}
.cert-goods th .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    background: #5b9bd5;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 0 6px;
    margin-left: 6px;
    border-radius: 2px;
}
.cert-goods td {
    padding: 16px 18px;
    border-bottom: 1px solid #f0f2f5;
    color: #1a1a1a;
    vertical-align: top;
}
.cert-goods tr:last-child td { border-bottom: 0; }

.cert-qr-section .cert-section-title { background: #1a5490; color: #fff; border-bottom: 0; }
.cert-qr-block {
    display: flex;
    gap: 26px;
    padding: 24px;
    align-items: flex-start;
}
.cert-qr {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border: 1px solid #e5e8ec;
    padding: 6px;
    background: #fff;
}
.cert-qr-info { flex: 1; padding-top: 6px; }

.btn-primary {
    display: inline-block;
    padding: 9px 22px;
    background: #1a5490;
    color: #fff;
    border: 0;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}
.btn-primary:hover { background: #143759; color: #fff; text-decoration: none; }

@media print {
    .topbar, .nav, .footer, .footer-bottom, .header,
    .cert-wrap > div:last-child { display: none !important; }
    .container { box-shadow: none; }
    body { background: #fff; }
    .cert-qr-section .cert-section-title { background: #444; }
}

/* ========== Inner Page ========== */
.page-title {
    background: #f4f4f4;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
    color: #1a5490;
    font-weight: bold;
}

.page-content {
    padding: 25px 20px;
    line-height: 1.7;
    font-size: 13px;
}

.page-content h2 {
    color: #1a5490;
    font-size: 18px;
    margin: 20px 0 10px;
    border-bottom: 2px solid #1a5490;
    padding-bottom: 6px;
}

.page-content h3 {
    color: #1a5490;
    font-size: 15px;
    margin: 16px 0 8px;
}

.page-content p { margin-bottom: 12px; }

.page-content ul { padding-left: 20px; margin-bottom: 12px; }
.page-content ul li { list-style: disc; margin-bottom: 5px; }

.breadcrumb {
    padding: 8px 20px;
    background: #fafafa;
    font-size: 11px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.breadcrumb a { color: #1a5490; }

/* Two column layout for inner pages */
.inner-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.inner-layout .sidebar {
    width: 220px;
    flex-shrink: 0;
}

.inner-layout .content { flex: 1; }

.sidebar-menu {
    background: #f4f4f4;
    border: 1px solid #ddd;
}

.sidebar-menu h4 {
    background: #1a5490;
    color: #fff;
    padding: 10px 15px;
    font-size: 13px;
    text-transform: uppercase;
}

.sidebar-menu ul li {
    border-bottom: 1px solid #ddd;
}

.sidebar-menu ul li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 12px;
}

.sidebar-menu ul li a:hover, .sidebar-menu ul li a.active {
    background: #eef4fa;
    color: #1a5490;
    text-decoration: none;
}

/* Table */
table.data {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 12px;
}

table.data th {
    background: #1a5490;
    color: #fff;
    padding: 8px 10px;
    text-align: left;
}

table.data td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}

table.data tr:nth-child(even) td { background: #fafafa; }

/* Org chart */
.org-chart {
    text-align: center;
    padding: 20px 0;
}

.org-node {
    display: inline-block;
    background: #1a5490;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    margin: 8px;
    font-size: 12px;
    font-weight: bold;
    min-width: 180px;
}

.org-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
}

.org-row::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 80%;
    height: 1px;
    background: #1a5490;
    transform: translateX(-50%);
}

/* Form */
.contact-form .form-row {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: bold;
    color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    font-size: 13px;
    font-family: inherit;
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form button {
    background: #1a5490;
    color: #fff;
    border: 0;
    padding: 10px 25px;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

.contact-form button:hover { background: #143759; }

.contact-info {
    background: #f4f4f4;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.contact-info p { margin-bottom: 8px; font-size: 13px; }
.contact-info strong { color: #1a5490; }
