:root {
    --primary: #185597;
    --secondary: #002d5f;
    --accent: #00c3ff;
    --text: #2d3436;
    --white: #ffffff;
    --bg: #f4f7f9;
    --border: #e2e8f0;
    --bg-light: #f8fafc;
    --transition: 0.3s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-nav {
    min-height: 100px;
    padding: 1.25rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.site-logo span {
    color: var(--accent);
}

.site-logo img {
    display: block;
    max-height: 68px;
    width: auto;
}

.nav-links ul,
.footer-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color var(--transition);
    font-size: 1.05rem;
}

.nav-links a:hover,
.header-contact a:hover {
    color: var(--primary);
}

.header-contact {
    display: grid;
    gap: 4px;
    font-size: 0.85rem;
    color: #636e72;
    text-align: right;
}

.header-contact a {
    text-decoration: none;
}

.site-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 260px;
    min-width: 190px;
}

.site-search input {
    width: 100%;
    height: 42px;
    padding: 0 44px 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-light);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.site-search input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(24, 85, 151, 0.12);
}

.site-search button {
    position: absolute;
    right: 4px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.site-search button:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.site-search__message {
    position: absolute;
    left: 14px;
    top: calc(100% + 4px);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.site-search__results {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1200;
    width: min(420px, 90vw);
    max-height: min(420px, 70vh);
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.site-search__results[hidden] {
    display: none;
}

.site-search__results ul {
    margin: 0;
    padding: 8px;
    list-style: none;
}

.site-search__results li + li {
    border-top: 1px solid var(--border);
}

.site-search__results a {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
}

.site-search__results a:hover,
.site-search__results a:focus {
    background: var(--bg-light);
    color: var(--primary);
    outline: none;
}

.site-search__results strong {
    font-size: 0.92rem;
    line-height: 1.3;
}

.site-search__results span,
.site-search__empty {
    color: #64748b;
    font-size: 0.78rem;
}

.site-search__empty {
    padding: 14px 16px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--primary);
}

.wp-content-container,
.page-content,
.single-content {
    max-width: 1200px;
    margin: 0 auto;
}

.entry-header {
    padding: 60px 20px 24px;
}

.entry-header h1 {
    color: var(--secondary);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: background var(--transition), transform var(--transition);
}

.btn-cta:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 40px 5%;
    text-align: center;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer__contact {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.75;
}

.footer-menu {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.86;
}

.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: var(--secondary);
    color: var(--white);
}

@media (max-width: 900px) {
    .site-nav {
        min-height: 78px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
    }

    .nav-links.is-open {
        display: block;
    }

    .nav-links ul {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 16px 0;
    }

    .header-contact {
        display: none;
    }

    .site-search {
        order: 4;
        flex: 1 1 100%;
        width: 100%;
    }

    .site-search__results {
        left: 0;
        right: 0;
        width: 100%;
    }
}

@media (max-width: 1200px) and (min-width: 901px) {
    .site-nav {
        gap: 14px;
    }

    .nav-links ul {
        gap: 16px;
    }

    .site-search {
        flex-basis: 210px;
    }

    .header-contact {
        font-size: 0.78rem;
    }
}
