/*
Theme Name: NyilvĂˇntartĂł
Theme URI: https://example.local/nyilvantarto
Author: OpenAI
Author URI: https://openai.com
Description: MobilbarĂˇt WordPress sablon a NyilvĂˇntartĂł munkaidĹ‘-rĂ¶gzĂ­tĹ‘ pluginhoz.
Version: 1.0.38
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nyilvantarto
*/

:root {
    --ny-bg: #f3f6f8;
    --ny-surface: #ffffff;
    --ny-surface-soft: #eef3f6;
    --ny-text: #15202b;
    --ny-muted: #607080;
    --ny-border: #d5dde5;
    --ny-primary: #1f6f54;
    --ny-primary-dark: #17523f;
    --ny-accent: #27496d;
    --ny-warn: #9a5a1f;
    --ny-shadow: 0 14px 34px rgba(21, 32, 43, 0.08);
    --ny-radius: 8px;
    --ny-content: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    font-size: 16px;
}

body {
    min-height: 100%;
    margin: 0;
    background: var(--ny-bg);
    color: var(--ny-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: var(--ny-accent);
}

a:hover,
a:focus {
    color: var(--ny-primary-dark);
}

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

.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;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

.ny-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--ny-border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.ny-header-inner {
    max-width: var(--ny-content);
    min-height: 68px;
    margin: 0 auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    position: relative;
}

.ny-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--ny-text);
    text-decoration: none;
    font-weight: 800;
}

.ny-brand-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ny-menu-toggle {
    display: inline-block;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ny-border);
    border-radius: var(--ny-radius);
    background: var(--ny-surface);
    color: var(--ny-text);
    cursor: pointer;
}

.ny-menu-toggle span,
.ny-menu-toggle::before,
.ny-menu-toggle::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: currentColor;
}

.ny-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    z-index: 60;
    display: none;
    width: min(280px, calc(100vw - 36px));
    padding: 8px;
    border: 1px solid var(--ny-border);
    border-radius: var(--ny-radius);
    background: var(--ny-surface);
    box-shadow: var(--ny-shadow);
}

body.ny-menu-open .ny-nav {
    display: block;
}

.ny-nav ul {
    display: grid;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ny-nav a {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: var(--ny-radius);
    color: var(--ny-text);
    text-decoration: none;
    font-weight: 700;
}

.ny-nav a:hover,
.ny-nav .current-menu-item > a {
    background: var(--ny-surface-soft);
}
.ny-user-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.ny-register-link {
    border-color: var(--ny-primary);
    background: var(--ny-primary);
    color: #fff;
}

.ny-register-link:hover {
    color: #fff;
}
.ny-user-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--ny-border);
    border-radius: var(--ny-radius);
    background: var(--ny-surface);
    color: var(--ny-text);
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}
.ny-user-link:hover {
    border-color: var(--ny-primary);
    color: var(--ny-primary-dark);
}

.ny-main {
    flex: 1;
}

.ny-shell {
    max-width: var(--ny-content);
    margin: 0 auto;
    padding: 22px 18px 34px;
}

.ny-page-title {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0;
}

.ny-panel {
    padding: 18px;
    border: 1px solid var(--ny-border);
    border-radius: var(--ny-radius);
    background: var(--ny-surface);
    box-shadow: var(--ny-shadow);
}

.ny-content > *:first-child {
    margin-top: 0;
}

.ny-content > *:last-child {
    margin-bottom: 0;
}

.ny-content table {
    width: 100%;
    border-collapse: collapse;
}

.ny-content th,
.ny-content td {
    padding: 10px;
    border-bottom: 1px solid var(--ny-border);
    text-align: left;
}

.ny-empty {
    max-width: 720px;
    margin: 0 auto;
}

.ny-empty h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
}

.ny-empty p {
    margin: 0 0 14px;
    color: var(--ny-muted);
}

.ny-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: var(--ny-radius);
    border: 1px solid var(--ny-primary);
    background: var(--ny-primary);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.ny-button:hover {
    background: var(--ny-primary-dark);
    color: #fff;
}

.ny-footer {
    border-top: 1px solid var(--ny-border);
    background: var(--ny-surface);
}

.ny-footer-inner {
    max-width: var(--ny-content);
    margin: 0 auto;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ny-muted);
    font-size: 14px;
}

.ny-footer a {
    color: var(--ny-muted);
    text-decoration: none;
}

.ny-footer a:hover {
    color: var(--ny-primary-dark);
}

.cmuny-wrap {
    max-width: none !important;
    padding-top: 0 !important;
}

.cmuny-toolbar,
.cmuny-table-wrap,
.cmuny-entry-table tr {
    box-shadow: none;
}

@media (max-width: 820px) {
    .ny-header-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 62px;
        gap: 10px;
    }

    .ny-nav {
        top: calc(100% + 6px);
        left: 12px;
        right: 12px;
        width: auto;
        padding: 10px 18px 14px;
        border-bottom: 1px solid var(--ny-border);
        background: var(--ny-surface);
    }
.ny-user-link {
        justify-self: end;
        padding: 8px 10px;
    }

    .ny-shell {
        padding: 16px 12px 26px;
    }

    .ny-page-title {
        font-size: 22px;
    }

    .ny-panel {
        padding: 12px;
        box-shadow: none;
    }

    .ny-footer-inner {
        display: grid;
        padding: 14px 12px;
    }
}

@media (max-width: 460px) {
    .ny-brand-text {
        max-width: 140px;
    }
.ny-user-link {
        font-size: 14px;
    }
}





