/*
Theme Name: Numizmat Lite
Theme URI: https://numizmat.org.ua
Author: Miroslav Dubei
Author URI: https://numizmat.org.ua
Description: A clean, minimal WordPress theme matching the Numizmat design system — blue brand color, pill tags, card rows, and polished typography.
Version: 1.0.0
Text Domain: numizmat-lite
Tags: minimal, clean, blue, custom-menu, featured-images, translation-ready
*/

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 991px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: Montserrat, Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    background: #f8f8f5;
}

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

a {
    color: #074a8c;
    text-decoration: none;
    transition: color .15s;
}

a:hover {
    color: #052f59;
    text-decoration: underline;
}

a:focus {
    outline: 2px solid #074a8c;
    outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Montserrat, Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: .75rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: .25rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
    font-size: .9rem;
}

thead th {
    background: #074a8c;
    color: #fff;
    font-weight: 600;
    letter-spacing: .04em;
}

tbody tr:nth-child(even) {
    background: #f5f8fc;
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2rem 0;
}

blockquote {
    border-left: 3px solid #074a8c;
    background: #f5f8fc;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #444;
}

code, pre {
    font-family: "Courier New", Courier, monospace;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: .875rem;
}

code {
    padding: 2px 6px;
}

pre {
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-content {
    flex: 1;
    padding: 2.5rem 0;
}

.content-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .content-wrap {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }
}

.no-sidebar .content-wrap {
    grid-template-columns: 1fr;
    max-width: 820px;
}

.site-header {
    background: #fff;
    border-bottom: 2px solid #074a8c;
    box-shadow: 0 2px 10px rgba(7, 74, 140, .07);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-branding {
    flex-shrink: 0;
}

.site-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #074a8c;
    line-height: 1.1;
    margin: 0;
}

.site-title a {
    color: inherit;
}

.site-title a:hover {
    text-decoration: none;
    color: #052f59;
}

.site-description {
    font-size: 11px;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 500;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #333;
    padding: 7px 11px;
    border-radius: 6px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.nav-menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.nav-menu .menu-item-has-children > a::after {
    content: "\25BE";
    font-size: 10px;
    line-height: 1;
    color: #666;
    transition: transform .15s ease;
}

.nav-menu > li > a:hover,
.nav-menu > .current-menu-item > a,
.nav-menu > .current_page_item > a {
    background: #E6F1FB;
    color: #074a8c;
    text-decoration: none;
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-top: 2px solid #074a8c;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
    min-width: 220px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 200;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu li a {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #444;
    padding: 9px 16px;
    border-bottom: .5px solid rgba(0, 0, 0, .05);
    transition: background .12s, color .12s;
}

.nav-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.nav-menu .sub-menu li a:hover {
    background: #E6F1FB;
    color: #074a8c;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1.5px solid #074a8c;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 18px;
    color: #074a8c;
    line-height: 1;
}

@media (max-width: 880px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, .1);
        border-top: 2px solid #074a8c;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
        min-width: 240px;
        padding: 8px 0;
        gap: 0;
        z-index: 200;
    }

    .nav-menu.toggled {
        display: flex;
    }

    .nav-menu > li > a {
        border-radius: 0;
        padding: 10px 20px;
        border-bottom: .5px solid rgba(0, 0, 0, .05);
    }

    .nav-menu .sub-menu {
        position: static;
        border: none;
        border-top: .5px solid rgba(0, 0, 0, .07);
        box-shadow: none;
        border-radius: 0;
        padding-left: 12px;
        display: none;
    }

    .nav-menu li:hover > .sub-menu {
        display: none;
    }

    .nav-menu li.open > .sub-menu {
        display: block;
    }

    .nav-menu li.open > a::after {
        transform: rotate(180deg);
    }
}

.site-alert {
    background: #185FA5;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.site-alert p {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    padding: 7px 24px;
    margin: 0;
    line-height: 1.5;
}

.site-alert a {
    color: #FFD580;
    font-weight: 600;
    text-decoration: underline;
}

.site-alert a:hover {
    color: #fff;
}

.page-title-bar {

}

.page-title-bar .page-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0a4a1f;
    background: #d4f8e0;
    border: 1px solid #2ecc71;
    border-radius: 5px;
    padding: 1.25rem 1rem;
    margin-bottom: 0;
}

.card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    margin-bottom: 6px;
    transition: border-color .15s;
}

.card-row:hover {
    border-color: #B5D4F4;
}

.card-row-label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    min-width: 140px;
    flex-shrink: 0;
}

.card-row-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card-row-links a {
    font-size: 13px;
    color: #185FA5;
    padding: 2px 9px;
    border-radius: 4px;
    border: 1px solid #B5D4F4;
    background: #E6F1FB;
    transition: background .12s;
}

.card-row-links a:hover {
    background: #B5D4F4;
    text-decoration: none;
}

.card-section.is-today .section-heading {
    color: #C0392B;
}

.card-section.is-today .section-count {
    background: #FCEAE9;
    color: #C0392B;
    border-color: rgba(192, 57, 43, .25);
}

.card-section.is-today .card-row {
    border-color: rgba(192, 57, 43, .2);
    background: #FFFAF9;
}

.card-section.is-today .card-row-label {
    color: #C0392B;
}

.card-section.is-today .card-row-links a {
    color: #C0392B;
    border-color: rgba(192, 57, 43, .25);
    background: #FCEAE9;
}

.card-section.is-today .card-row-links a:hover {
    background: #f9d5d3;
}

.card-section {
    margin-bottom: 1.75rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.section-heading {
    font-size: 15px;
    font-weight: 500;
    color: #0C447C;
    margin: 0;
}

.section-count {
    font-size: 12px;
    font-weight: 500;
    background: #E6F1FB;
    color: #185FA5;
    border: 1px solid #B5D4F4;
    padding: 2px 8px;
    border-radius: 999px;
}

.filter-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 500;
}

.village-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
}

.village-pills a {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}

.village-pills a:hover {
    background: #E6F1FB;
    border-color: #185FA5;
    color: #0C447C;
    text-decoration: none;
}

.village-pills a.active {
    background: #074a8c;
    border-color: #074a8c;
    color: #fff;
}

.search-form-wrap {
    text-align: center;
    margin-bottom: 2rem;
}

.search-form-wrap label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #074a8c;
    margin-bottom: 12px;
}

.search-input-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.search-input-row input[type="text"],
.search-input-row input[type="search"] {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #052f59;
    background: #fff;
    border: 1.5px solid #B5D4F4;
    border-radius: 8px;
    padding: 10px 16px;
    width: 100%;
    max-width: 100%;
    outline: none;
    transition: border-color .15s;
    box-shadow: none;
}

.search-input-row input:focus {
    border-color: #074a8c;
}

.search-input-row button,
.search-input-row input[type="submit"] {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    background: #074a8c;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    cursor: pointer;
    height: 42px;
    transition: background .15s;
}

.search-input-row button:hover,
.search-input-row input[type="submit"]:hover {
    background: #052f59;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.post-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color .15s, box-shadow .15s;
}

.post-card:hover {
    border-color: #B5D4F4;
    box-shadow: 0 4px 14px rgba(7, 74, 140, .07);
}

.post-card-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #E6F1FB;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-body {
    flex: 1;
    min-width: 0;
}

.post-card-meta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}

.post-card-meta span + span::before {
    content: " · ";
}

.post-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #074a8c;
    line-height: 1.4;
    margin-bottom: 6px;
}

.post-card-title a {
    color: inherit;
}

.post-card-title a:hover {
    text-decoration: underline;
}

.post-card-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 600px) {
    .post-card-thumb {
        display: none;
    }
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1rem;
}

.entry-meta span + span::before {
    content: " · ";
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.1rem;
}

.entry-content h2 {
    margin-top: 2rem;
}

.entry-content img {
    border-radius: 8px;
    margin: 1rem auto;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    padding: 18px 20px;
}

.widget-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #074a8c;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E6F1FB;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    border-bottom: .5px solid rgba(0, 0, 0, .05);
    padding: 7px 0;
    margin: 0;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.widget ul li a:hover {
    color: #074a8c;
    text-decoration: underline;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
    color: #333;
    transition: background .12s, border-color .12s;
}

.pagination a:hover {
    background: #E6F1FB;
    border-color: #B5D4F4;
    color: #074a8c;
    text-decoration: none;
}

.pagination .current {
    background: #074a8c;
    border-color: #074a8c;
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    text-decoration: none;
    border: none;
    line-height: 1;
}

.btn-primary {
    background: #074a8c;
    color: #fff;
}

.btn-primary:hover {
    background: #052f59;
    color: #fff;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #074a8c;
    border: 1.5px solid #074a8c;
}

.btn-outline:hover {
    background: #E6F1FB;
    text-decoration: none;
}

.btn-green {
    background: #33843E;
    color: #fff;
}

.btn-green:hover {
    background: #276630;
    color: #fff;
    text-decoration: none;
}

.btn-sm {
    font-size: 11px;
    padding: 7px 14px;
    border-radius: 6px;
}

.btn-lg {
    font-size: 15px;
    padding: 13px 30px;
    border-radius: 10px;
}

.btn-pill {
    border-radius: 999px;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 9px 13px;
    outline: none;
    transition: border-color .15s;
}

.form-control:focus {
    border-color: #074a8c;
}

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

.notice {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.notice-info {
    background: #E6F1FB;
    color: #0C447C;
    border: 1px solid #B5D4F4;
}

.notice-success {
    background: #EAF3DE;
    color: #2d6a35;
    border: 1px solid #c0dd97;
}

.notice-error {
    background: #FCEAE9;
    color: #C0392B;
    border: 1px solid rgba(192, 57, 43, .25);
}

.notice-warning {
    background: #FEF3CD;
    color: #7a5200;
    border: 1px solid #f5c96a;
}

.numizmat-site-footer {
    background: #E6F1FB;
    color: #185FA5;
    border-top: 2px solid #B5D4F4;
    font-size: 0.9375rem;
}

.numizmat-site-footer .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.numizmat-site-footer .footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid #B5D4F4;
}

.numizmat-site-footer .widget {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
}

.numizmat-site-footer .menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.numizmat-site-footer .menu a {
    color: #185FA5;
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: opacity 0.18s, gap 0.18s;
    font-size: 1rem;
}

.numizmat-site-footer .menu a::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: opacity 0.18s, transform 0.18s;
}

.numizmat-site-footer .menu a:hover {
    gap: 0.72rem;
}

.numizmat-site-footer .menu a:hover::before {
    opacity: 1;
    transform: scale(1.15);
}

.numizmat-site-footer #menu-footer-menu-1 .menu-item:nth-child(1) a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185FA5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5L12 3l9 6.5V20a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9.5z'/%3E%3Cpath d='M9 21V12h6v9'/%3E%3C/svg%3E");
}

.numizmat-site-footer #menu-footer-menu-1 .menu-item:nth-child(2) a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185FA5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

.numizmat-site-footer #menu-footer-menu-1 .menu-item:nth-child(3) a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185FA5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6'/%3E%3Cline x1='8' y1='2' x2='8' y2='18'/%3E%3Cline x1='16' y1='6' x2='16' y2='22'/%3E%3C/svg%3E");
}

.numizmat-site-footer #menu-footer-menu-4 .menu-item:nth-child(1) a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185FA5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}

.numizmat-site-footer #menu-footer-menu-4 .menu-item:nth-child(2) a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185FA5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
}

.numizmat-site-footer .search-form-wrap {
    display: flex;
    flex-direction: column;
}

.numizmat-site-footer .search-form label {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #185FA5;
    display: none;
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #B5D4F4;
}

.numizmat-site-footer .search-input-row {
    display: flex;
    border: 1px solid #B5D4F4;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
    background: #fff;
}

.numizmat-site-footer .search-input-row:focus-within {
    border-color: #185FA5;
    box-shadow: 0 0 0 3px rgba(24, 95, 165, 0.12);
}

.numizmat-site-footer .search-input-row input[type="search"] {
    flex: 1;
    padding: 0.6rem 0.85rem;
    border: none;
    background: transparent;
    color: #185FA5;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.numizmat-site-footer .search-input-row input[type="search"]::placeholder {
    color: #185FA5;
    font-style: italic;
}

.numizmat-site-footer .search-input-row button {
    padding: 0.6rem 1rem;
    background: #185FA5;
    color: #E6F1FB;
    border: none;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.18s;
    border-radius: 0 !important;
}

.numizmat-site-footer .search-input-row button:hover {
    background: #0f4a85;
}

.numizmat-site-footer .footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
}

.numizmat-site-footer .footer-bottom p {
    font-size: 0.82rem;
    color: #185FA5;
    letter-spacing: 0.02em;
}

.numizmat-site-footer .footer-bottom a {
    color: #185FA5;
    font-weight: 600;
    opacity: 1;
    text-decoration: none;
    transition: opacity 0.18s;
}

.numizmat-site-footer .footer-bottom a:hover { opacity: 0.7; }

@media (max-width: 900px) {
    .numizmat-site-footer .footer-widgets {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .numizmat-site-footer .search-form-wrap {
        grid-column: 1 / -1;
        max-width: 480px;
    }
}

@media (max-width: 540px) {
    .numizmat-site-footer .footer-widgets {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.25rem 0 2rem;
    }

    .numizmat-site-footer .search-form-wrap {
        grid-column: 1;
        max-width: 100%;
    }

    .numizmat-site-footer .search-input-row button {
        padding: 0.6rem 0.8rem;
    }
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: .5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: .5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin: 1rem auto;
    width: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 12px;
    font-style: italic;
    color: #888;
    margin-top: 4px;
}

.sticky .post-card {
    border-color: #074a8c;
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
}

.blog-hero {
    background: #d4f8e0;
    border: 1px solid #2ecc71;
    border-radius: 5px;
    padding: 2.5rem 0 2.25rem;
    margin-bottom: 0;
}

.blog-hero-inner {
    max-width: 640px;
}

.blog-hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0a4a1f;
    background: rgba(10, 74, 31, .1);
    border: 1px solid rgba(10, 74, 31, .25);
    padding: 3px 12px;
    border-radius: 999px;
    margin-bottom: .75rem;
}

.blog-hero-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0a4a1f;
    margin-bottom: .5rem;
    line-height: 1.2;
}

.blog-hero-desc {
    font-size: 14px;
    color: rgba(10, 74, 31, .65);
    margin: 0;
}

.blog-layout-wrap {
    padding: 2.5rem 0 3rem;
    background: #f8f8f5;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 288px;
    gap: 40px;
    align-items: start;
}

.blog-grid--no-sidebar {
    grid-template-columns: 1fr;
    max-width: 760px;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: -1;
    }
}

.blog-article {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

.blog-article:hover {
    border-color: #B5D4F4;
    box-shadow: 0 6px 24px rgba(7, 74, 140, .09);
    transform: translateY(-2px);
}

.blog-article__thumb {
    display: block;
    position: relative;
    overflow: hidden;
    background: #E6F1FB;
    min-height: 180px;
}

.blog-article__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.blog-article:hover .blog-article__thumb img {
    transform: scale(1.04);
}

.blog-article__cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    background: #074a8c;
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    pointer-events: none;
}

.blog-article__body {
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.blog-article__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.blog-article__date,
.blog-article__author,
.blog-article__comments {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #888;
}

.blog-article__date svg,
.blog-article__author svg,
.blog-article__comments svg {
    flex-shrink: 0;
    opacity: .7;
}

.blog-article__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #1a1a1a;
}

.blog-article__title a {
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}

.blog-article__title a:hover {
    color: #074a8c;
}

.blog-article__excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-article__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.blog-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-tag {
    font-size: 11px;
    font-weight: 600;
    color: #074a8c;
    background: #E6F1FB;
    border: 1px solid #B5D4F4;
    padding: 2px 9px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .12s;
}

.blog-tag:hover {
    background: #B5D4F4;
    text-decoration: none;
}

.blog-article__readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #074a8c;
    text-decoration: none;
    transition: gap .15s, color .15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.blog-article__readmore:hover {
    gap: 10px;
    color: #052f59;
    text-decoration: none;
}

.blog-article:not(:has(.blog-article__thumb)) {
    grid-template-columns: 1fr;
}

@media (max-width: 640px) {
    .blog-article {
        grid-template-columns: 1fr;
    }

    .blog-article__thumb {
        min-height: 180px;
        height: 180px;
    }

    .blog-article__body {
        padding: 16px 16px 14px;
    }
}

.blog-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #aaa;
}

.blog-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: #E6F1FB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B5D4F4;
}

.blog-empty p {
    font-size: 15px;
    font-weight: 500;
    color: #888;
    margin: 0;
}

.blog-pagination {
    margin-top: 2rem;
}

.blog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #C0392B;
    background: #FCEAE9;
    color: #C0392B;
    text-decoration: none;
    transition: background .12s, border-color .12s, color .12s;
}

.blog-pagination .page-numbers:hover {
    background: #C0392B;
    border-color: #C0392B;
    color: #fff;
    text-decoration: none;
}

.blog-pagination .page-numbers.current {
    background: #C0392B;
    border-color: #C0392B;
    color: #fff;
}

.blog-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #C0392B;
    min-width: 20px;
}

.pagination .post-navigation {
    width: 100%;
}

.pagination .post-navigation .nav-links {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.pagination .post-navigation .nav-previous,
.pagination .post-navigation .nav-next {
    flex: 1;
    max-width: 48%;
}

.pagination .post-navigation .nav-next {
    text-align: right;
}

.pagination .post-navigation .nav-previous a,
.pagination .post-navigation .nav-next a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: #074a8c;
    background: #E6F1FB;
    border: 1.5px solid #074a8c;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: background .15s, color .15s;
    width: auto;
}

.pagination .post-navigation .nav-previous a:hover,
.pagination .post-navigation .nav-next a:hover {
    background: #074a8c;
    color: #fff;
    text-decoration: none;
}

.pagination .post-navigation .nav-previous a:hover::before,
.pagination .post-navigation .nav-next a:hover::after {
    color: #fff;
}

@media (max-width: 600px) {
    .pagination .post-navigation .nav-links {
        flex-direction: column;
        gap: 8px;
    }

    .pagination .post-navigation .nav-previous,
    .pagination .post-navigation .nav-next {
        max-width: 100%;
        text-align: left;
    }

    .pagination .post-navigation .nav-previous a,
    .pagination .post-navigation .nav-next a {
        width: 100%;
        justify-content: flex-start;
    }
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
}

.blog-widget {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    padding: 18px 20px;
}

.blog-widget__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #074a8c;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E6F1FB;
}

.blog-widget--search .search-form,
.blog-widget--search form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-widget--search .search-form label,
.blog-widget--search form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.blog-widget--search input[type="search"],
.blog-widget--search input[type="text"] {
    width: 100%;
    height: 40px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #052f59;
    background: #fff;
    border: 1.5px solid #074a8c;
    border-radius: 8px;
    padding: 0 14px;
    outline: none;
    transition: border-color .15s;
    box-shadow: none;
    box-sizing: border-box;
}

.blog-widget--search input[type="search"]:focus,
.blog-widget--search input[type="text"]:focus {
    border-color: #052f59;
}

.blog-widget--search button[type="submit"],
.blog-widget--search input[type="submit"] {
    width: 100%;
    height: 40px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    background: #E6F1FB;
    color: #074a8c;
    border: 1.5px solid #074a8c;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.blog-widget--search button[type="submit"]:hover,
.blog-widget--search input[type="submit"]:hover {
    background: #074a8c;
    color: #fff;
}

.blog-cat-select {
    display: block;
    width: 100%;
    height: 40px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #052f59;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23074a8c' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1.5px solid #074a8c;
    border-radius: 8px;
    padding: 0 40px 0 14px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color .15s;
    box-sizing: border-box;
}

.blog-cat-select:focus {
    border-color: #052f59;
}

.blog-cat-select:hover {
    border-color: #052f59;
}

.blog-sidebar .widget {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    padding: 18px 20px;
}

.blog-sidebar .widget-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #074a8c;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E6F1FB;
}

.content-wrap.no-n-sidebar {
    grid-template-columns: 1fr;
    gap: 0;
}

.custom-pill-green.entry-header {
    background: #d4f8e0;
    border: 1px solid #2ecc71;
    border-radius: 5px;
    padding: 1.25rem 1rem;
    margin-bottom: 0;

    .entry-title {
        color: #0a4a1f;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 0;
    }

    .entry-meta {
        margin-bottom: 0;
    }

    .entry-meta * {
        color: #0a4a1f;
    }

    .entry-meta a {
        text-decoration: underline;
    }
}

.zmist-box {
    background: #FCEAE9;
    border: 1px solid rgba(192, 57, 43, .25);
    border-radius: 5px;
    margin: 21px 0;
    padding: 1.25rem 1rem;

    h2 {
        margin: 0;
        color: #C0392B;
    }

    a {
        color: #C0392B;
    }

    p {
        margin-bottom: 0.6rem;
    }
}

.numizmat-entry-content,
.numizmat-entry-thumbnail {
    margin-top: 20px;
}

.numizmat-entry-thumbnail img {
    margin: 0 auto;
    border-radius: 10px;
}

.numizmat-labels {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.numizmat-labels span {
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.entry-footer .pill-red {
    width: 100% !important;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 5px;

    a {
        word-break: break-all;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #074a8c;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
    transition: opacity .3s ease, transform .3s ease, background .18s;
    box-shadow: 0 2px 14px rgba(7, 74, 140, .22);
    z-index: 999;
}

.scroll-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.scroll-to-top:hover {
    background: #052f59;
    transform: scale(1.1);
}

.scroll-to-top:focus {
    outline: 2px solid #074a8c;
    outline-offset: 3px;
}

.scroll-to-top svg {
    display: block;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

.pill {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.fw-p-description {
    color: #0a4a1f;
    background: #d4f8e0;
    border: 1px solid #2ecc71;
    border-radius: 5px;
    padding: .25rem 1rem;
    margin: 10px 0 0 0;
}

.stamp a {
    color: #0a4a1f;
    font-size: 0.8rem;
    font-weight: 600;
    background: #d4f8e0;
    border: 1px solid #2ecc71;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 0;
    display: block;
    width: fit-content;
}

.stamp img {
    margin-bottom: 50px;
}

#post-14455 h2:not(.h2-zmist) {
    background: #E6F1FB;
    color: #185FA5;
    border: 1px solid #B5D4F4;
    padding: 5px 10px;
}

.page-template-full-width .entry-content p {
    text-align: justify;
}

@media(max-width: 1008px) {
    .entry-content img {
        float: inherit;
    }

    .entry-content figure.alignleft {
        float: inherit;
        margin: 0 auto 20px auto;
    }
}

.is-style-rounded {
    border-radius: 15px;
}



/* ----- GLOBAL ----- */

.pill-blue {
    background: #E6F1FB;
    color: #185FA5;
    border: 1px solid #B5D4F4;
}

.pill-green {
    background: #EAF3DE;
    color: #2d6a35;
    border: 1px solid #c0dd97;
}

.pill-red {
    background: #FCEAE9;
    color: #C0392B;
    border: 1px solid rgba(192, 57, 43, .5);
}

.pill-gray {
    background: #f0f0ee;
    color: #555;
    border: 1px solid #ddd;
}

.pill-solid-blue {
    background: #074a8c;
    color: #fff;
    border: 1px solid #074a8c;
}

.pill-solid-red {
    background: #C0392B;
    color: #fff;
    border: 1px solid #C0392B;
}

body .wp-block-image > a, body .wp-block-image>figure > a {
    display: block;
}