:root {
    --app-bg: #f7f3eb;
    --app-text: #132118;
    --app-muted: #6f796f;

    --app-card-bg: #fffdf8;
    --app-card-border: #e2ded2;

    --app-primary: #3f7a2f;
    --app-primary-hover: #315f25;
    --app-primary-rgb: 63, 122, 47;

    --app-link: #2d6728;
    --app-green-dark: #0b2d20;
    --app-green-dark-2: #123d2d;
    --app-green-soft: #edf5e8;
    --app-cream: #f7f3eb;

    --app-shadow-sm: 0 10px 28px rgba(17, 38, 26, 0.08);
    --app-shadow-md: 0 18px 50px rgba(10, 31, 21, 0.18);
    --app-radius: 18px;
}

/* Globálne prvky */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--app-bg) !important;
    color: var(--app-text);
    text-rendering: optimizeLegibility;
}

a {
    color: var(--app-link);
}

a:hover {
    color: var(--app-primary-hover);
}

.card {
    background-color: var(--app-card-bg);
    border-color: var(--app-card-border);
}

.btn {
    border-radius: 0.75rem;
    font-weight: 650;
}

.btn-primary {
    background: linear-gradient(135deg, #5f963a, var(--app-primary));
    border-color: var(--app-primary);
    box-shadow: 0 10px 24px rgba(var(--app-primary-rgb), 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #4f8330, var(--app-primary-hover));
    border-color: var(--app-primary-hover);
}

.btn-outline-primary {
    color: var(--app-primary);
    border-color: rgba(var(--app-primary-rgb), 0.45);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--app-primary);
    border-color: var(--app-primary);
}

/* Horná navigácia */
.app-navbar {
    min-height: 72px;
    background:
        linear-gradient(90deg, rgba(7, 34, 23, 0.98), rgba(18, 61, 45, 0.98));
    box-shadow: 0 12px 30px rgba(6, 24, 16, 0.18);
}

.app-navbar .container {
    position: relative;
}

/* horný nadpis KST Prielom */
.app-navbar .navbar-brand {
    color: #ffffff;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    padding-top: 0;
    padding-bottom: 0;
}

/* horné logo */
.navbar-logo {
    display: block;
    width: auto;
    height: 54px;
    max-width: 180px;
    object-fit: contain;
}

.app-navbar .navbar-brand:hover,
.app-navbar .navbar-brand:focus {
    color: #ffffff;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before {
    content: "";
    position: absolute;
    bottom: 5px;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 22px solid rgba(255, 255, 255, 0.95);
}

.brand-mark::before {
    left: 0;
}

.brand-mark::after {
    right: 0;
    transform: scale(0.86);
    transform-origin: bottom right;
    opacity: 0.88;
}

.brand-mark span::before {
    left: 11px;
    bottom: 3px;
    transform: scale(0.72);
    border-bottom-color: #87b957;
    opacity: 0.95;
}

.app-navbar .navbar-nav .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.84);
    padding: 0.8rem 0.9rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.app-navbar .navbar-nav .nav-link:hover,
.app-navbar .navbar-nav .nav-link:focus,
.app-navbar .navbar-nav .nav-link.active {
    color: #ffffff;
}

.app-navbar .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.2rem;
    height: 3px;
    border-radius: 999px;
    background: #7fb243;
}

.app-navbar .dropdown-menu {
    border: 0;
    border-radius: 1rem;
    box-shadow: var(--app-shadow-md);
    padding: 0.65rem;
}

.app-navbar .dropdown-item {
    border-radius: 0.65rem;
    padding: 0.65rem 0.85rem;
}

.app-navbar .dropdown-item:hover,
.app-navbar .dropdown-item:focus {
    background-color: var(--app-green-soft);
    color: var(--app-green-dark);
}

.app-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.app-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18);
}

.app-navbar .navbar-toggler-icon {
    filter: invert(1) grayscale(1) brightness(2);
}

.navbar-actions .btn {
    white-space: nowrap;
}

.btn-nav-member {
    color: #ffffff;
    background: linear-gradient(135deg, #6ea53d, #3d782d);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(37, 85, 31, 0.35);
}

.btn-nav-member:hover,
.btn-nav-member:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #7cb54a, #346b27);
}

.btn-nav-logout {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.btn-nav-logout:hover,
.btn-nav-logout:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.55);
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;

    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0) 100%),
        url('/assets/img/hero-prielom.png');

    background-size:
        cover,
        cover;

    background-position:
        center,
        center 35%;

    background-repeat:
        no-repeat,
        no-repeat;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto -8% -22% -8%;
    height: 42%;
    background:
        radial-gradient(ellipse at center, rgba(9, 36, 24, 0.6), transparent 68%);
    pointer-events: none;
}

.min-vh-hero {
    min-height: 340px;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .min-vh-hero {
        min-height: 260px;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.hero-kicker {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 600px;
    margin: 0 0 1.5rem 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    line-height: 1.4;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.65),
        0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-hero-outline {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.hero-logo-title {
    display: block;
    width: min(100%, 260px);
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

@media (max-width: 575.98px) {
    .hero-logo-title {
        width: min(100%, 280px);
    }
}

.btn-hero-outline:hover,
.btn-hero-outline:focus {
    color: var(--app-green-dark);
    background: #ffffff;
    border-color: #ffffff;
}

.hero-card {
    max-width: 430px;
    padding: 2rem;
    color: var(--app-text);
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-md);
    backdrop-filter: blur(16px);
}

.hero-card h2 {
    letter-spacing: -0.02em;
    font-weight: 800;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    color: #2d6728;
    background: var(--app-green-soft);
    border-radius: 999px;
    padding: 0.42rem 0.7rem;
    font-weight: 750;
    font-size: 0.9rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--app-muted);
    font-size: 0.98rem;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--app-link);
    font-weight: 750;
    text-decoration: none;
}

.link-more:hover,
.link-more:focus {
    color: var(--app-primary-hover);
    text-decoration: none;
}

/* Obsah */
.site-main {
    background:
        radial-gradient(circle at top left, rgba(109, 165, 68, 0.10), transparent 28%),
        var(--app-bg);
}

.section-kicker {
    color: var(--app-primary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-heading h2 {
    letter-spacing: -0.03em;
    font-weight: 850;
}

.event-list {
    overflow: hidden;
    background: var(--app-card-bg);
    border: 1px solid var(--app-card-border);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-sm);
}

.event-row {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 1.1rem;
    align-items: center;
    padding: 1.05rem 1.25rem;
    color: var(--app-text);
    text-decoration: none;
    border-bottom: 1px solid var(--app-card-border);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.event-row:hover,
.event-row:focus {
    color: var(--app-text);
    background: #f8fbf4;
    transform: translateX(3px);
}

.event-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: #2d6728;
    background: var(--app-green-soft);
    border-radius: 0.95rem;
    font-size: 1.35rem;
}

.event-content {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.event-content strong {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.event-content small {
    color: var(--app-muted);
}

.event-content span {
    color: #2d342f;
}

.event-date {
    color: #111b15;
    font-weight: 850;
    white-space: nowrap;
}

.event-list-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    color: var(--app-link);
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(90deg, rgba(237, 245, 232, 0.3), rgba(255, 253, 248, 0.8));
}

.event-list-footer:hover,
.event-list-footer:focus {
    background: var(--app-green-soft);
}

/* Pravý stĺpec */
.side-stack {
    display: grid;
    gap: 1.2rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    padding: 1.4rem;
    background: var(--app-card-bg);
    border: 1px solid var(--app-card-border);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-sm);
}

.info-card h2 {
    margin-bottom: 0.45rem;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.info-card p {
    margin-bottom: 0;
    color: #354038;
}

.info-icon {
    flex: 0 0 auto;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: var(--app-primary);
    background: var(--app-green-soft);
    border-radius: 0.9rem;
    font-size: 1.25rem;
}

.info-card-soft {
    background: linear-gradient(135deg, #fffdf8, #eef7e8);
    border-color: rgba(var(--app-primary-rgb), 0.25);
}

.info-card-member {
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(133, 181, 74, 0.45), transparent 38%),
        linear-gradient(135deg, #174f35, #0b2d20);
    border-color: rgba(255, 255, 255, 0.12);
}

.info-card-member .info-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.info-card-member h2,
.info-card-member p,
.info-card-member a {
    color: #ffffff;
}

.info-card-member p {
    opacity: 0.88;
    margin-bottom: 0.55rem;
}

.info-card-member a {
    font-weight: 800;
    text-decoration: none;
}

.quick-links {
    display: grid;
    margin-top: 0.65rem;
}

.quick-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.62rem 0;
    color: #253027;
    text-decoration: none;
    border-bottom: 1px solid var(--app-card-border);
}

.quick-links a:last-child {
    border-bottom: 0;
}

.quick-links a:hover,
.quick-links a:focus {
    color: var(--app-link);
}

/* Päta */
.site-footer {
    padding: 1.4rem 0;
    color: rgba(255, 255, 255, 0.72);
    background: var(--app-green-dark);
}

/* Interná/admin navigácia používa rovnaký vizuálny jazyk */
.app-navbar-admin .navbar-nav .nav-link.active::after {
    display: none;
}

.app-navbar .text-muted {
    color: rgba(255, 255, 255, 0.68) !important;
}

/* Responzívne úpravy */
@media (max-width: 991.98px) {
    .app-navbar {
        min-height: 64px;
    }

    .app-navbar .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .app-navbar .navbar-nav .nav-link {
        padding-left: 0;
        padding-right: 0;
    }

    .app-navbar .navbar-nav .nav-link.active::after {
        left: 0;
        right: auto;
        width: 42px;
    }

    .navbar-actions {
        margin-top: 0.8rem;
    }

    .min-vh-hero {
        min-height: auto;
    }

    .hero-card {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {

    .event-row {
        grid-template-columns: 48px 1fr;
        align-items: start;
        padding: 1rem;
    }

    .event-icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .event-date {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.2rem;
    }

    .info-card {
        padding: 1.15rem;
    }
}

/* Dashboard / členská zóna */
.dashboard-card {
    display: flex;
    gap: 1rem;
    height: 100%;
    padding: 1.4rem;
    color: var(--app-text);
    text-decoration: none;
    background: var(--app-card-bg);
    border: 1px solid var(--app-card-border);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-sm);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.dashboard-card:hover,
.dashboard-card:focus {
    color: var(--app-text);
    background: #f8fbf4;
    border-color: rgba(var(--app-primary-rgb), 0.28);
    transform: translateY(-3px);
    box-shadow: var(--app-shadow-md);
}

.dashboard-card h2 {
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.dashboard-card p {
    margin-bottom: 0;
    color: var(--app-muted);
    line-height: 1.45;
}

.dashboard-card .info-icon {
    flex: 0 0 auto;
}

.dashboard-card-danger:hover,
.dashboard-card-danger:focus {
    background: #fff8f6;
    border-color: rgba(150, 60, 45, 0.25);
}

.dashboard-card-danger:hover .info-icon,
.dashboard-card-danger:focus .info-icon {
    color: #8a2f24;
    background: #f8e7e2;
}

/* Dashboard – verejné karty akcií */

.dashboard-event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

.dashboard-event-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: 1.45rem;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(91, 125, 71, .22);
    box-shadow:
        0 18px 48px rgba(31, 45, 33, .14),
        0 2px 8px rgba(31, 45, 33, .05);
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease;
}

.dashboard-event-card:hover {
    transform: translateY(-3px);
    color: inherit;
    border-color: rgba(91, 125, 71, .38);
    box-shadow:
        0 24px 60px rgba(31, 45, 33, .18),
        0 4px 14px rgba(31, 45, 33, .07);
}

/* Hlavička karty */

.event-card-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
    padding: 1.05rem 1.35rem;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .20), transparent 26%),
        linear-gradient(120deg, rgba(255, 255, 255, .11) 0 12%, transparent 12% 100%),
        repeating-linear-gradient(
            -35deg,
            rgba(255, 255, 255, .045) 0 1px,
            transparent 1px 11px
        ),
        linear-gradient(135deg, #7fa65f 0%, #557f47 48%, #345f38 100%);
}



.event-card-kind {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.event-card-kind strong {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 850;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

.event-card-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    color: #ffffff;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, .18);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .25),
        0 6px 16px rgba(0, 0, 0, .12);
}

.event-card-avatar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #2a2a2a;
    font-size: 2rem;
}

/* Stav akcie */

.event-card-status {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, .14),
        inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.event-status-soon {
    background: linear-gradient(135deg, #ffeaa3, #f2cc57);
    color: #4b3500;
}

.event-status-live {
    background: linear-gradient(135deg, #dff4d5, #aedc91);
    color: #21451f;
}

.event-status-done {
    background: linear-gradient(135deg, #eceff2, #d3dae0);
    color: #475569;
}

.event-status-published {
    background: linear-gradient(135deg, #e7f0f4, #c8dde7);
    color: #28475a;
}

.event-status-draft {
    background: linear-gradient(135deg, #f2e8ff, #d8c0ff);
    color: #5b21b6;
}

/* Názov akcie */

.event-card-title {
    display: block;
    padding: 1.35rem 1.35rem 0;
    color: #06210e;
    font-size: 1.28rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.015em;
}

/* Informačný box */

.event-card-info {
    display: grid;
    gap: 1.1rem;
    margin: 1.1rem 1.35rem 0;
    padding: 1.05rem 1.1rem;
    border-radius: 1rem;
    background:
        linear-gradient(135deg, rgba(248, 251, 244, .95), rgba(255, 255, 255, .92));
    border: 1px solid rgba(91, 125, 71, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.event-card-info-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.event-card-info-block {
    display: block;
}

.event-card-info-heading {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .45rem;
    color: #123118;
    font-weight: 850;
    line-height: 1.25;
}

.event-card-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: .8rem;
    color: #3f7a2f;
    background: rgba(91, 125, 71, .13);
}

.event-card-info-icon i {
    font-size: 1rem;
}

.event-card-info-value {
    display: block;
    padding-left: 2.55rem;
    color: #16251b;
    line-height: 1.5;
}

.event-card-meeting-block {
    grid-column: 1 / -1;
    padding-top: .75rem;
    border-top: 1px solid rgba(91, 125, 71, .13);
}

.event-card-days-inline {
    display: inline-flex;
    align-items: center;
    margin-left: .45rem;
    padding: .08rem .45rem;
    border-radius: 999px;
    color: #2f5f27;
    background: rgba(91, 125, 71, .13);
    font-size: .84rem;
    font-weight: 850;
}

/* Vedúci */

.event-card-leader {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 1.1rem 1.35rem 1.35rem;
    padding: .95rem 1.05rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f3efe6, #fbf8f1);
    border: 1px solid rgba(133, 105, 69, .18);
}

.event-card-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    overflow: hidden;
    flex: 0 0 auto;
    background: #e7dfcf;
    box-shadow:
        inset 0 0 0 1px rgba(133, 105, 69, .18),
        0 4px 10px rgba(31, 45, 33, .08);
}

.event-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5a4126;
    font-weight: 900;
    letter-spacing: .03em;
}

.event-card-leader small {
    display: block;
    color: #6f796f;
    font-size: .8rem;
    line-height: 1.1;
}

.event-card-leader strong {
    display: block;
    color: #10251c;
    font-weight: 900;
    line-height: 1.2;
}

.dashboard-empty {
    padding: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    color: #647067;
    border: 1px dashed rgba(91, 125, 71, .35);
}

.dashboard-event-footer {
    border-radius: 1rem;
}

/* Hero karta */

.hero-event-card .event-card-top {
    margin: -2rem -2rem 1.3rem;
}

.hero-event-card .event-card-title {
    padding: 0;
}

.hero-event-card .event-card-status {
    white-space: normal;
}

.hero-meeting {
    color: #26382e;
    line-height: 1.5;
}

/* Mobile */

@media (max-width: 767.98px) {
    .event-card-top {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
    }

    .event-card-top::before,
    .event-card-top::after {
        opacity: .12;
        right: -2rem;
    }

    .event-card-status {
        white-space: normal;
    }

    .event-card-info-main {
        grid-template-columns: 1fr;
        gap: .95rem;
    }

    .event-card-info-value {
        padding-left: 0;
    }

    .event-card-info-heading {
        align-items: center;
    }
}
/* Hero – minimalistická najbližšia akcia */

.hero-event-card-compact {
    max-width: 390px;
    padding: 1.35rem 1.45rem;
    border-radius: 1.25rem;
    background: rgba(255, 253, 248, .92);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow:
        0 18px 50px rgba(10, 31, 21, .24),
        inset 0 1px 0 rgba(255, 255, 255, .8);
    backdrop-filter: blur(14px);
}

.hero-event-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .9rem;
}

.hero-event-card-compact .event-card-status {
    position: static;
    white-space: nowrap;
    padding: .35rem .65rem;
    font-size: .74rem;
    box-shadow: 0 6px 16px rgba(31, 45, 33, .12);
}

.hero-event-title {
    margin: 0 0 .9rem;
    color: #10251c;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.025em;
}

.hero-event-meta {
    display: grid;
    gap: .45rem;
    color: #5d685f;
    font-size: .96rem;
}

.hero-event-meta span {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.hero-event-meta i {
    color: #587a45;
}

.hero-event-days {
    margin-left: .35rem;
    color: #6f796f;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .hero-event-card-compact {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-event-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-event-card-compact .event-card-status {
        white-space: normal;
    }
}
.participation-card {
    align-items: flex-start;
}

.participant-list {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-top: .75rem;
}

.participant-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem .65rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
}

.participant-photo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .35);
}

.participant-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.participant-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.participant-name strong {
    color: #fff;
}

.participant-name span {
    color: rgba(255, 255, 255, .75);
    font-size: .9rem;
}

.participants-section {
    margin-top: 2.25rem;
}

.participants-count {
    margin-bottom: 1rem;
    color: rgba(15, 23, 42, .78);
}

.participants-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.participant-chip {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, .06);
    border: 1px solid rgba(15, 23, 42, .08);
}

.participant-chip-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-size: 1.25rem;
}

.participant-chip-photo {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    max-width: 34px;
    max-height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255, 255, 255, .85);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .18);
}

.participant-chip-name {
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
    line-height: 1.1;
    white-space: nowrap;
}

.participant-chip-name strong {
    color: #111827;
}

.participant-chip-name span {
    color: rgba(15, 23, 42, .68);
}

.participants-note {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: .9rem;
    color: rgba(15, 23, 42, .6);
}

/* Detail akcie - horná lišta mimo hero */
.event-detail-topbar {
    background: #f4efe5;
    border-bottom: 1px solid rgba(20, 83, 45, 0.14);
    padding: 0.85rem 0;
}

.event-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #14532d;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(20, 83, 45, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.event-back-btn:hover {
    color: #fff;
    background: #0f3f23;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(20, 83, 45, 0.28);
}

.event-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #ffffff;
    color: #14532d;
    font-weight: 700;
    border: 1px solid rgba(20, 83, 45, 0.18);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.event-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 28, 18, 0.76),
        rgba(6, 28, 18, 0.35),
        rgba(6, 28, 18, 0.12)
    );
}

.detail-hero h1 {
    margin: 0;
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.4rem, 3.5vw, 2.8rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.45),
        0 6px 18px rgba(0, 0, 0, 0.45),
        0 0 2px rgba(0, 0, 0, 0.65);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.25);
}


.detail-hero .event-hero-meta,
.detail-hero .hero-meta {
    display: none !important;
}

/* Oddelenie sekcií v detaile */
.detail-section {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(20, 83, 45, 0.12);
    border-radius: 20px;
    padding: 1.35rem 1.45rem;
    margin-bottom: 1.35rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.detail-section h2,
.detail-section h3,
.detail-section h4 {
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.detail-section h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.detail-section h2 i,
.detail-section h3 i,
.detail-section h4 i {
    color: #14532d;
}

/* Texty z editora - červenú prepísať na čiernu */
.detail-section [style*="color: red" i],
.detail-section [style*="color:#ff0000" i],
.detail-section [style*="color: #ff0000" i],
.detail-section [style*="color: rgb(255, 0, 0)" i] {
    color: #0f172a !important;
}

.detail-content {
    color: #0f172a;
    line-height: 1.65;
}

.detail-content p:last-child {
    margin-bottom: 0;
}

/* Mobil */
@media (max-width: 575.98px) {
    .event-detail-topbar .container {
        align-items: stretch !important;
    }

    .event-back-btn,
    .event-type-chip {
        width: 100%;
        justify-content: center;
    }

    .detail-hero h1 {
        font-size: 1.8rem;
    }

    .detail-section {
        padding: 1.1rem;
        border-radius: 16px;
    }
}

/* Detail akcie */
.event-detail-topbar {
    background: #f4efe5;
    border-bottom: 1px solid rgba(20, 83, 45, 0.14);
    padding: 0.85rem 0;
}

.event-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.58rem 1rem;
    border-radius: 999px;
    background: #14532d;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(20, 83, 45, 0.24);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.event-back-btn:hover,
.event-back-btn:focus {
    color: #fff;
    background: #0f3f23;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(20, 83, 45, 0.3);
}

.event-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #ffffff;
    color: #14532d;
    font-weight: 800;
    border: 1px solid rgba(20, 83, 45, 0.18);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

/* Hero detailu */
.detail-hero {
    position: relative;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 28, 18, 0.72),
        rgba(6, 28, 18, 0.34),
        rgba(6, 28, 18, 0.08)
    );
    z-index: 0;
}

.detail-hero .container {
    position: relative;
    z-index: 1;
}

.min-vh-detail-hero {
    min-height: 230px;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
}

.detail-hero-title {
    display: inline-block;
    max-width: 980px;
    color: #ffffff;
    font-size: clamp(1.65rem, 3.1vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.035em;

    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.55),
        0 7px 18px rgba(0, 0, 0, 0.46),
        0 0 2px rgba(0, 0, 0, 0.85);

    -webkit-text-stroke: 0.7px rgba(0, 0, 0, 0.32);
}

/* Detailové sekcie */
.detail-section {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(20, 83, 45, 0.12);
    border-radius: 20px;
    padding: 1.35rem 1.45rem;
    margin-bottom: 1.35rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.detail-section h2,
.detail-section h3,
.detail-section h4 {
    color: #0f172a;
    font-weight: 850;
    margin-bottom: 0.8rem;
}

.detail-section h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.detail-section h2 i,
.detail-section h3 i,
.detail-section h4 i {
    color: #14532d;
}

/* Text z editora - farby prepísať na čiernu */
.detail-content {
    color: #0f172a;
    line-height: 1.65;
}

.detail-content [style*="color" i] {
    color: #0f172a !important;
}

.detail-content p:last-child {
    margin-bottom: 0;
}

/* Mobil */
@media (max-width: 575.98px) {
    .event-detail-topbar .container {
        align-items: stretch !important;
    }

    .event-back-btn,
    .event-type-chip {
        width: 100%;
        justify-content: center;
    }

    .min-vh-detail-hero {
        min-height: 180px;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .detail-hero-title {
        font-size: 1.65rem;
    }

    .detail-section {
        padding: 1.1rem;
        border-radius: 16px;
    }
}

/* Detail akcie - kompaktnejší hero */
.min-vh-detail-hero {
    min-height: 165px !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.detail-hero {
    min-height: 165px !important;
}

.detail-hero-title,
.detail-hero h1 {
    font-size: clamp(1.45rem, 2.5vw, 2.15rem) !important;
    line-height: 1.12 !important;
    max-width: 820px;
    margin: 0 !important;
    color: #fff;
    letter-spacing: -0.025em;

    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.58),
        0 5px 12px rgba(0, 0, 0, 0.42);

    -webkit-text-stroke: 0.35px rgba(0, 0, 0, 0.28);
}

@media (max-width: 575.98px) {
    .min-vh-detail-hero,
    .detail-hero {
        min-height: 135px !important;
    }

    .detail-hero-title,
    .detail-hero h1 {
        font-size: 1.45rem !important;
    }
}

.ucastnici-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.5rem;
}

.ucastnik-admin-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ucastnik-admin-item:hover {
    background: #f6fbf7;
    border-color: #b8dec5;
}

.ucastnik-admin-item input {
    margin-top: 0.25rem;
}

.ucastnik-admin-item strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
}

.ucastnik-admin-item small {
    display: block;
    color: #6c757d;
    font-size: 0.75rem;
}

.participants-picker {
    overflow: visible;
}

.participants-count {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #eef7f0;
    color: #245c36;
    font-size: 0.85rem;
    font-weight: 600;
}

.participant-search-wrap {
    position: relative;
}

.participant-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.25rem);
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.participant-result-item {
    width: 100%;
    display: block;
    padding: 0.6rem 0.8rem;
    border: 0;
    border-bottom: 1px solid #f1f3f5;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.participant-result-item:last-child {
    border-bottom: 0;
}

.participant-result-item:hover,
.participant-result-item:focus {
    background: #f6fbf7;
}

.participant-result-item strong {
    display: block;
    font-size: 0.92rem;
}

.participant-result-item small {
    display: block;
    color: #6c757d;
    font-size: 0.78rem;
}

.participant-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.participant-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.55rem 0.45rem 0.7rem;
    border: 1px solid #cfe7d5;
    border-radius: 999px;
    background: #f6fbf7;
    color: #203529;
    font-size: 0.88rem;
}

.participant-chip button {
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bcd8c4;
    border-radius: 50%;
    background: #dcefe2;
    color: #245c36;
    line-height: 1;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}

.participant-chip button:hover {
    background: #c9e4d1;
    border-color: #a9cbb3;
}

.participant-chip button:focus {
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(36, 92, 54, 0.15);
}

.dashboard-notice-card .event-card-icon {
    background: rgba(226, 189, 24, 0.18);
}

.dashboard-notice-card .event-card-title {
    color: #2f2a12;
}

.dashboard-notice-card .event-card-info-value {
    color: #343434;
}

.dashboard-notice-card {
    overflow: hidden;
    border: 1px solid rgba(226, 189, 24, 0.55);
    border-left: 1px solid rgba(226, 189, 24, 0.55);
    background:
        linear-gradient(135deg, rgba(255, 252, 236, 0.98), rgba(255, 248, 215, 0.9));
    box-shadow: 0 16px 34px rgba(74, 60, 10, 0.14);
    padding-bottom: 1.35rem;
}

.dashboard-event-card.dashboard-notice-card .event-card-top {
    background:
        linear-gradient(135deg, #d5a91a 0%, #e2bd18 48%, #f1d46b 100%) !important;
    color: #1f1b08;
}

.dashboard-notice-card .event-card-kind,
.dashboard-notice-card .event-card-kind strong {
    color: #1f1b08;
}

.dashboard-notice-card .event-card-icon {
    background: rgba(255, 255, 255, 0.34);
    color: #1f1b08;
    border-color: rgba(255, 255, 255, 0.55);
}

.dashboard-notice-card .event-card-status {
    background: rgba(255, 255, 255, 0.42);
    color: #1f1b08;
    border-color: rgba(31, 27, 8, 0.18);
}

.dashboard-notice-card .event-card-title {
    color: #2b2409;
}

.dashboard-notice-card .event-card-info {
    border-color: rgba(226, 189, 24, 0.35);
    background: rgba(255, 255, 255, 0.72);
    margin-bottom: 0;
}

.dashboard-notice-card .event-card-info-icon {
    background: rgba(226, 189, 24, 0.16);
    color: #7a6108;
}

.dashboard-notice-card .event-card-info-value {
    color: #2f2f2f;
}

.article-detail-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(226, 189, 24, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(246, 246, 239, 0.96), rgba(255, 255, 255, 1));
}

.article-detail-card {
    overflow: hidden;
    border: 1px solid rgba(21, 70, 37, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 50px rgba(15, 37, 24, 0.13);
}

.article-detail-header {
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        linear-gradient(135deg, rgba(18, 88, 44, 0.95), rgba(43, 111, 62, 0.92));
    color: #fff;
}

.article-detail-notice .article-detail-header {
    background:
        linear-gradient(135deg, #d5a91a 0%, #e2bd18 52%, #f1d46b 100%);
    color: #1f1b08;
}

.article-detail-type {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-detail-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.article-detail-notice .article-detail-icon {
    background: rgba(255, 255, 255, 0.34);
    border-color: rgba(255, 255, 255, 0.52);
}

.article-detail-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.34);
    font-size: 0.78rem;
}

.article-detail-header h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-weight: 900;
    line-height: 1.04;
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.35rem;
    font-weight: 700;
    opacity: 0.92;
}

.article-detail-body {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.article-detail-perex {
    max-width: 900px;
    margin-bottom: 2rem;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.65;
    color: #243426;
}

.article-content {
    max-width: 900px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1f2a21;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 900;
    color: #123a20;
}

.article-detail-notice .article-detail-header h1 {
    font-size: clamp(1.65rem, 3.4vw, 2.65rem);
    line-height: 1.12;
}

.article-content p {
    margin-bottom: 1.15rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.article-detail-empty {
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
}

.sidebar-article-list {
    display: grid;
    gap: 0.85rem;
}

.sidebar-article-item {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(21, 70, 37, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.sidebar-article-item:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 70, 37, 0.28);
    box-shadow: 0 12px 26px rgba(15, 37, 24, 0.12);
}

.sidebar-article-type {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #2e6b3f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sidebar-article-item strong {
    line-height: 1.22;
    color: #132c1a;
}

.sidebar-article-item small {
    color: #5f6b61;
    line-height: 1.45;
}

.sidebar-article-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: #7b7b7b;
}

.sidebar-article-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
    background: rgba(226, 189, 24, 0.18);
    color: #6c5608;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}

.article-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.public-article-grid {
    display: grid;
    gap: 1rem;
}

.public-article-card {
    display: grid;
    gap: 0.45rem;
    padding: 1.15rem 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(21, 70, 37, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(15, 37, 24, 0.08);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.public-article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 70, 37, 0.28);
    box-shadow: 0 18px 40px rgba(15, 37, 24, 0.14);
}

.public-article-type {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    color: #2e6b3f;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.public-article-card strong {
    color: #132c1a;
    font-size: 1.12rem;
    line-height: 1.25;
}

.public-article-card small {
    color: #5f6b61;
    line-height: 1.5;
}

.public-article-date {
    margin-top: 0.2rem;
    color: #777;
    font-size: 0.82rem;
    font-weight: 700;
}

.public-article-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
    background: rgba(226, 189, 24, 0.18);
    color: #6c5608;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}

.public-action-grid {
    display: grid;
    gap: 1rem;
}

.public-action-card {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem 1.25rem;
    border-radius: 24px;
    border: 1px solid rgba(21, 70, 37, 0.14);
    background: rgba(255, 255, 255, 0.86);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(15, 37, 24, 0.09);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.public-action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 70, 37, 0.32);
    box-shadow: 0 20px 44px rgba(15, 37, 24, 0.15);
}

.public-action-card-past {
    opacity: 0.82;
}

.public-action-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.public-action-type {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    color: #235d36;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.public-action-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(21, 70, 37, 0.1);
    color: #235d36;
}

.public-action-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.32rem 0.75rem;
    background: rgba(21, 70, 37, 0.1);
    color: #235d36;
    font-size: 0.78rem;
    font-weight: 900;
}

.public-action-title {
    color: #132c1a;
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    line-height: 1.15;
}

.public-action-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    color: #526157;
    font-weight: 700;
}

.public-action-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(21, 70, 37, 0.1);
}

.public-action-footer small {
    display: block;
    color: #78827a;
    font-size: 0.78rem;
    font-weight: 700;
}

.public-action-footer strong {
    color: #1f3827;
}

.public-action-more {
    color: #235d36;
    font-weight: 900;
}

.public-search-form {
    max-width: 760px;
}

.public-search-form .form-control {
    border-radius: 999px 0 0 999px;
    border-color: rgba(21, 70, 37, 0.18);
    padding-left: 1.1rem;
}

.public-search-form .btn {
    font-weight: 800;
}

.public-search-form .btn-primary {
    border-color: #235d36;
    background: #235d36;
}

.public-search-form .btn-outline-secondary {
    border-radius: 0 999px 999px 0;
}

/* ==========================================================
   KTO SME
========================================================== */

.about-page {
    background: #f4f1e9;
    color: #172018;
}

/* HERO */

.about-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("../img/kto-sme-hero.png")
        center 42% / cover no-repeat;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 23, 17, 0.94) 0%,
            rgba(7, 23, 17, 0.78) 42%,
            rgba(7, 23, 17, 0.28) 72%,
            rgba(7, 23, 17, 0.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(7, 23, 17, 0.38) 0%,
            transparent 45%
        );
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 690px;
    padding: 6rem 0;
    color: #fff;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #e2bd18;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.about-hero h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.045em;
    text-shadow: 0 5px 22px rgba(0, 0, 0, 0.45);
}

.about-hero-lead {
    max-width: 650px;
    margin-bottom: 1rem;
    font-size: clamp(1.3rem, 2.3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.4;
}

.about-hero-text {
    max-width: 610px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.06rem;
    line-height: 1.75;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.about-hero-actions .btn {
    min-width: 175px;
    border-radius: 999px;
    font-weight: 750;
}

/* SPOLOČNÉ NADPISY */

.about-section {
    padding: 6rem 0;
}

.about-section-heading {
    max-width: 740px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-section-kicker {
    display: block;
    margin-bottom: 0.6rem;
    color: #5d7538;
    font-size: 0.83rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.about-section-heading h2 {
    margin-bottom: 1rem;
    color: #142018;
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.035em;
}

.about-section-heading p {
    margin: 0;
    color: #59625b;
    font-size: 1.08rem;
    line-height: 1.75;
}

.about-board-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: left;
}

.about-board-intro-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.about-board-intro-item:last-child {
    margin-bottom: 0;
}

.about-board-intro-item i {
    flex: 0 0 auto;
    margin-top: 0.25rem;
    color: #5d7538;
    font-size: 1.05rem;
}

.about-board-intro-item p {
    margin: 0;
    color: #59625b;
    font-size: 1.02rem;
    line-height: 1.75;
}

/* ČO ROBÍME */

.about-activities {
    position: relative;
    overflow: hidden;
}

.about-activities::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -180px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(93, 117, 56, 0.07);
}

.about-activity-card {
    position: relative;
    height: 100%;
    padding: 2rem 1.65rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(24, 50, 33, 0.09);
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(28, 40, 31, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.about-activity-card::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -58px;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: rgba(226, 189, 24, 0.10);
    transition: transform 0.3s ease;
}

.about-activity-card:hover {
    transform: translateY(-8px);
    border-color: rgba(93, 117, 56, 0.25);
    box-shadow: 0 22px 50px rgba(28, 40, 31, 0.14);
}

.about-activity-card:hover::after {
    transform: scale(1.25);
}

.about-activity-icon {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    color: #fff;
    font-size: 1.8rem;
    background: linear-gradient(145deg, #6f8947, #405d2c);
    border-radius: 20px;
    box-shadow: 0 10px 22px rgba(64, 93, 44, 0.25);
}

.about-activity-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.8rem;
    color: #18231b;
    font-size: 1.28rem;
    font-weight: 850;
}

.about-activity-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #687069;
    line-height: 1.65;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .about-hero {
        min-height: 560px;
        background-position: 62% center;
    }

    .about-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7, 23, 17, 0.94) 0%,
                rgba(7, 23, 17, 0.74) 65%,
                rgba(7, 23, 17, 0.35) 100%
            );
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        min-height: auto;
        background-position: center;
    }

    .about-hero-overlay {
        background: rgba(7, 23, 17, 0.78);
    }

    .about-hero-content {
        padding: 5rem 0;
    }

    .about-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-hero-actions .btn {
        width: 100%;
        max-width: 310px;
    }

    .about-section {
        padding: 4.5rem 0;
    }
}

/* ==========================================================
   KTO SME – FILOZOFIA
========================================================== */

.about-philosophy {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f3eb 100%
        );
}

.about-philosophy::before {
    content: "";
    position: absolute;
    left: -220px;
    bottom: -260px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(93, 117, 56, 0.06);
}

.about-philosophy-photo {
    position: relative;
    max-width: 590px;
    margin: 0 auto;
}

.about-philosophy-photo::before {
    content: "";
    position: absolute;
    top: 24px;
    left: -24px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(93, 117, 56, 0.22);
    border-radius: 34px;
}

.about-philosophy-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: 0 24px 60px rgba(30, 45, 34, 0.18);
}

.about-philosophy-badge {
    position: absolute;
    right: -28px;
    bottom: 42px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 220px;
    padding: 1.15rem 1.35rem;
    color: #ffffff;
    background: #29462f;
    border: 5px solid #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(21, 42, 27, 0.25);
}

.about-philosophy-badge i {
    color: #e2bd18;
    font-size: 2rem;
}

.about-philosophy-badge span {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
}

.about-philosophy-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.about-philosophy-content h2 {
    margin-bottom: 1.35rem;
    color: #18231b;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.about-philosophy-content p {
    color: #626b64;
    line-height: 1.8;
}

.about-philosophy-lead {
    color: #334038 !important;
    font-size: 1.18rem;
    font-weight: 650;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 2rem;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 62px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(31, 62, 39, 0.10);
    border-radius: 16px;
}

.about-value i {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #496b37;
    background: rgba(93, 117, 56, 0.12);
    border-radius: 12px;
}

.about-value span {
    color: #27332a;
    font-size: 0.94rem;
    font-weight: 750;
}

/* ŠTATISTIKY */

.about-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 5.5rem;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #1d3928 0%,
            #37573a 100%
        );
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(28, 50, 34, 0.18);
}

.about-stat {
    position: relative;
    padding: 2.2rem 1.5rem;
    text-align: center;
}

.about-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    width: 1px;
    height: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.about-stat strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #e2bd18;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1;
}

.about-stat span {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .about-philosophy-content {
        max-width: none;
    }

    .about-philosophy-badge {
        right: 20px;
    }

    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-stat:nth-child(2)::after {
        display: none;
    }

    .about-stat:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }
}

@media (max-width: 575.98px) {
    .about-philosophy-photo::before {
        top: 13px;
        left: -10px;
    }

    .about-philosophy-photo img {
        border-radius: 24px;
    }

    .about-philosophy-badge {
        right: 12px;
        bottom: 18px;
        min-width: auto;
        padding: 0.85rem 1rem;
        border-width: 3px;
    }

    .about-philosophy-badge i {
        font-size: 1.5rem;
    }

    .about-philosophy-badge span {
        font-size: 0.8rem;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        margin-top: 4rem;
    }

    .about-stat {
        padding: 1.7rem 1rem;
    }

    .about-stat:not(:last-child)::after {
        top: auto;
        right: 15%;
        bottom: 0;
        width: 70%;
        height: 1px;
    }

    .about-stat:nth-child(2)::after {
        display: block;
    }

    .about-stat:nth-child(-n + 2) {
        border-bottom: 0;
    }
}

/* ==========================================================
   PRIELOM
========================================================== */

.about-prielom{

    background:#f5f3ec;
}

.about-prielom h2{

    margin-bottom:1.3rem;

    font-size:clamp(2.2rem,4vw,3.4rem);

    font-weight:900;
}

.about-prielom-lead{

    font-size:1.18rem;

    font-weight:650;

    color:#304233;

    margin-bottom:1.5rem;
}

.about-prielom p{

    line-height:1.85;

    color:#616a63;
}

.about-prielom-image{

    overflow:hidden;

    border-radius:28px;

    box-shadow:0 20px 55px rgba(0,0,0,.16);
}

.about-prielom-image img{

    width:100%;

    display:block;

    transition:.45s;
}

.about-prielom-image:hover img{

    transform:scale(1.05);
}

.about-prielom-quote{

    margin-top:2rem;

    padding:1.3rem 1.5rem;

    display:flex;

    gap:1rem;

    align-items:center;

    border-left:5px solid #5d7538;

    background:white;

    border-radius:16px;
}

.about-prielom-quote i{

    font-size:2rem;

    color:#5d7538;
}

.about-prielom-quote span{

    font-weight:700;

    color:#223026;
}

/* ==========================================================
   KTO SME – VÝBOR
========================================================== */

.about-board {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.about-board::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -180px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(93, 117, 56, 0.055);
}

.about-board-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1180px;
    margin: 0 auto;
}

.about-board-card {
    height: 100%;
    padding: 1.7rem 1.3rem;
    text-align: center;
    background:
        linear-gradient(
            180deg,
            #f7f5ee 0%,
            #ffffff 100%
        );
    border: 1px solid rgba(41, 70, 47, 0.10);
    border-radius: 28px;
    box-shadow: 0 15px 38px rgba(32, 49, 37, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.about-board-card:hover {
    transform: translateY(-8px);
    border-color: rgba(93, 117, 56, 0.28);
    box-shadow: 0 24px 52px rgba(32, 49, 37, 0.15);
}

.about-board-photo-wrap {
    position: relative;
    width: 176px;
    height: 176px;
    margin: 0 auto 1.35rem;
    padding: 7px;
    background:
        linear-gradient(
            145deg,
            #e2bd18,
            #6f8947
        );
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(45, 72, 47, 0.18);
}

.about-board-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #edf0e8;
    border: 5px solid #ffffff;
    border-radius: 50%;
    transition: transform 0.35s ease;
}

.about-board-card:hover .about-board-photo {
    transform: scale(1.035);
}

.about-board-photo-placeholder {
    display: grid;
    place-items: center;
    color: #60755d;
    font-size: 4.2rem;
}

.about-board-card-body h3 {
    margin-bottom: 0.45rem;
    color: #1c291f;
    font-size: 1.22rem;
    font-weight: 850;
}

.about-board-card-body p {
    margin: 0;
    color: #5d7538;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.55;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.about-board-empty {
    margin: 0;
    padding: 2rem;
    color: #687069;
    text-align: center;
    background: #f7f5ee;
    border-radius: 20px;
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
    .about-board-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .about-board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .about-board-photo-wrap {
        width: 145px;
        height: 145px;
    }
}

@media (max-width: 479.98px) {
    .about-board-grid {
        grid-template-columns: 1fr;
        max-width: 330px;
    }

    .about-board-card {
        padding: 1.6rem 1.2rem;
    }

    .about-board-photo-wrap {
        width: 165px;
        height: 165px;
    }
}

/* ==========================================================
   KTO SME – PREČO SA PRIDAŤ
========================================================== */

.about-benefits {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f5f2e9 0%,
            #ece8dd 100%
        );
}

.about-benefits::before {
    content: "";
    position: absolute;
    top: -190px;
    right: -190px;
    width: 460px;
    height: 460px;
    border: 75px solid rgba(93, 117, 56, 0.04);
    border-radius: 50%;
}

.about-benefits-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1120px;
    margin: 0 auto;
}

.about-benefit-card {
    position: relative;
    min-height: 245px;
    padding: 2rem 1.7rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(37, 65, 43, 0.10);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(32, 49, 37, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.about-benefit-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 130px;
    height: 130px;
    background: rgba(226, 189, 24, 0.09);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.about-benefit-card:hover {
    transform: translateY(-7px);
    border-color: rgba(93, 117, 56, 0.28);
    box-shadow: 0 23px 48px rgba(32, 49, 37, 0.14);
}

.about-benefit-card:hover::after {
    transform: scale(1.3);
}

.about-benefit-icon {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 1.3rem;
    color: #ffffff;
    font-size: 1.6rem;
    background:
        linear-gradient(
            145deg,
            #6f8947,
            #36562e
        );
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(45, 72, 47, 0.22);
}

.about-benefit-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
    color: #1d2a20;
    font-size: 1.2rem;
    font-weight: 850;
}

.about-benefit-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #667068;
    line-height: 1.7;
}

/* ==========================================================
   KTO SME – PRIDAJ SA
========================================================== */

.about-join {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("../img/kto-sme-pridaj-sa.jpg")
        center / cover no-repeat;
}

.about-join-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(6, 24, 16, 0.94) 0%,
            rgba(6, 24, 16, 0.77) 48%,
            rgba(6, 24, 16, 0.26) 100%
        );
}

.about-join-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 5.5rem 0;
    color: #ffffff;
}

.about-join-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    color: #e2bd18;
    font-size: 0.85rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.about-join-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.about-join-content h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
    text-shadow: 0 5px 22px rgba(0, 0, 0, 0.35);
}

.about-join-content p {
    max-width: 640px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    line-height: 1.75;
}

.about-join-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.about-join-actions .btn {
    min-width: 210px;
    padding: 0.85rem 1.45rem;
    border-radius: 999px;
    font-weight: 800;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .about-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-join {
        background-position: 62% center;
    }
}

@media (max-width: 575.98px) {
    .about-benefits-grid {
        grid-template-columns: 1fr;
    }

    .about-benefit-card {
        min-height: auto;
    }

    .about-join {
        min-height: auto;
        background-position: center;
    }

    .about-join-overlay {
        background: rgba(6, 24, 16, 0.82);
    }

    .about-join-content {
        padding: 4.5rem 0;
    }

    .about-join-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-join-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

.about-hero-links{
    display:flex;
    flex-wrap:wrap;
    gap:.8rem;
    margin-top:2rem;
}

.about-hero-links a{

    display:inline-flex;
    align-items:center;
    gap:.55rem;

    padding:.8rem 1.15rem;

    color:#fff;

    text-decoration:none;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(8px);

    border-radius:999px;

    transition:.25s;
}

.about-hero-links a:hover{

    background:#e2bd18;

    color:#1d291e;

    transform:translateY(-2px);
}

.about-hero-links i{

    font-size:.95rem;
}

/* ==========================================================
   KTO SME – PLÁVAJÚCE TLAČIDLO HORE
========================================================== */

.about-back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1050;

    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 7px;

    background:
        linear-gradient(
            145deg,
            #426b35,
            #23482d
        );

    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;

    box-shadow:
        0 14px 32px rgba(17, 45, 27, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translateY(18px)
        scale(0.88);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.about-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}

.about-back-to-top img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

    transition: transform .45s ease;
}

.about-back-to-top:hover,
.about-back-to-top:focus {
    background:
        linear-gradient(
            145deg,
            #e7c52d,
            #b6910d
        );

    box-shadow:
        0 18px 38px rgba(17, 45, 27, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);

    transform:
        translateY(-4px)
        scale(1.04);
}

.about-back-to-top:hover img,
.about-back-to-top:focus img {
    transform: rotate(360deg);
}

.about-back-to-top:focus-visible {
    outline: 3px solid rgba(226, 189, 24, 0.5);
    outline-offset: 4px;
}

@media (max-width: 575.98px) {
    .about-back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 50px;
        height: 50px;
        padding: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-back-to-top,
    .about-back-to-top img {
        transition: transform .45s ease;
    }
}

/* ==========================================================
   NAPÍŠTE NÁM
========================================================== */

.contact-write-page {
    min-height: 100vh;
    padding-top: 70px;
    background: #f7f5ee;
}

.contact-write-section {
    padding: 3rem 0 5rem;
}

.contact-write-heading {
    max-width: 760px;
    margin: 0 auto 2rem;
}

.contact-write-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: #667b3d;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.contact-write-heading h1 {
    margin-bottom: 0.5rem;
    color: #1d2b20;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
}

.contact-write-heading p {
    margin: 0;
    color: #667069;
    font-size: 1.05rem;
}

.contact-write-grid {
    display: grid;
    grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.55fr);
    gap: 2rem;
    align-items: stretch;
}

.contact-write-info {
    position: relative;
    padding: 2.5rem;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            rgba(27, 49, 31, 0.98),
            rgba(68, 91, 50, 0.96)
        );
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(30, 45, 32, 0.17);
}

.contact-write-info::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border: 55px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
}

.contact-write-info-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 2rem;
    place-items: center;
    color: #28331f;
    font-size: 1.65rem;
    background: #e2bd18;
    border-radius: 20px;
}

.contact-write-info h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 850;
}

.contact-write-info > p {
    position: relative;
    z-index: 1;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
}

.contact-write-detail {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-write-detail > i {
    color: #e2bd18;
    font-size: 1.4rem;
}

.contact-write-detail div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-write-detail span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-write-detail a,
.contact-write-detail strong {
    color: #ffffff;
    font-weight: 750;
    text-decoration: none;
}

.contact-write-detail a:hover {
    color: #e2bd18;
}

.contact-write-note {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 16px;
}

.contact-write-note i {
    flex: 0 0 auto;
    color: #e2bd18;
    font-size: 1.15rem;
}

.contact-form-card {
    padding: clamp(1.5rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(43, 65, 47, 0.08);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(30, 45, 32, 0.1);
}

.contact-form-card .form-label {
    color: #263128;
    font-weight: 750;
}

.contact-form-card .form-control {
    color: #1f2921;
    background: #f9faf7;
    border: 1px solid #dce2d8;
    border-radius: 13px;
}

.contact-form-card .form-control:focus {
    background: #ffffff;
    border-color: #788e4d;
    box-shadow: 0 0 0 0.25rem rgba(103, 126, 63, 0.13);
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 190px;
}

.contact-form-footer {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.contact-form-footer p {
    max-width: 440px;
    margin: 0;
    color: #747d76;
    font-size: 0.82rem;
    line-height: 1.55;
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-success {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 850px;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(43, 65, 47, 0.08);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(30, 45, 32, 0.1);
}

.contact-success-icon {
    display: grid;
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    place-items: center;
    color: #ffffff;
    font-size: 1.8rem;
    background: #60813e;
    border-radius: 50%;
}

.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact-success h2 {
    color: #1e2d21;
    font-weight: 850;
}

.contact-success p {
    color: #687069;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .contact-write-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .contact-write-section {
        padding: 3.25rem 0;
    }

    .contact-write-info,
    .contact-form-card,
    .contact-success {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .contact-form-footer,
    .contact-success {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form-footer .btn {
        width: 100%;
    }
}

/* =========================================================
   DASHBOARD – SKUPINY KARIET
   ========================================================= */

.dashboard-group {
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(31, 91, 65, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 24px rgba(20, 45, 34, 0.06);
}

.dashboard-group + .dashboard-group {
    margin-top: 2rem !important;
}

.dashboard-group-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.dashboard-group-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(31, 91, 65, 0.1);
    color: #1f5b41;
    font-size: 1.3rem;
}

.dashboard-group-heading h2 {
    margin: 0 0 0.2rem;
    font-size: 1.25rem;
    font-weight: 750;
    color: #18231d;
}

.dashboard-group-heading p {
    margin: 0;
    color: #6c757d;
    font-size: 0.94rem;
}

.dashboard-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.08rem;
    font-weight: 700;
}

.dashboard-card-title-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.dashboard-card-title-row h3 {
    margin: 0;
}

.dashboard-card-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

@media (max-width: 575.98px) {
    .dashboard-group-heading {
        align-items: flex-start;
    }

    .dashboard-group-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 12px;
    }
}

/* ==========================================================
   FOTOGALÉRIA
========================================================== */

.gallery-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 0%, rgba(226, 189, 24, 0.10), transparent 28%),
        #f4f1e9;
}

.gallery-hero {
    position: relative;
    overflow: hidden;
    padding: 2.6rem 0 2.8rem;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 86% 20%,
            rgba(226, 189, 24, 0.24),
            transparent 24%
        ),
        linear-gradient(
            135deg,
            #0b2d20 0%,
            #174f35 55%,
            #355d38 100%
        );
}

.gallery-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, 0.18) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.18) 87.5%),
        linear-gradient(150deg, rgba(255, 255, 255, 0.18) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.18) 87.5%);
    background-size: 56px 98px;
}

.gallery-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.gallery-eyebrow {
    margin-bottom: 0.55rem;
}

.gallery-hero h1 {
    margin-bottom: 0.65rem;
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    line-height: 1;
}

.gallery-hero p {
    max-width: 760px;
    margin-bottom: 1.15rem;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.55;
}

.gallery-hero-summary {
    gap: 0.6rem 1.4rem;
}

.gallery-hero-summary span,
.gallery-hero-summary a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 750;
}

.gallery-hero-summary strong {
    color: #e2bd18;
    font-size: 1.3rem;
}

.gallery-hero-summary a {
    text-decoration: none;
}

.gallery-hero-summary a:hover,
.gallery-hero-summary a:focus {
    color: #ffffff;
}

.gallery-section {
    padding: 2.7rem 0 4rem;
}

.gallery-year-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.gallery-year-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 0.62rem 1rem;
    color: #35533d;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 91, 65, 0.14);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(25, 49, 32, 0.05);
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.gallery-year-link:hover,
.gallery-year-link:focus {
    color: #173c29;
    border-color: rgba(31, 91, 65, 0.35);
    transform: translateY(-2px);
}

.gallery-year-link.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #557f47, #285637);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(31, 91, 65, 0.22);
}

.gallery-list {
    display: grid;
    gap: 1.35rem;
}

.gallery-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 91, 65, 0.13);
    border-radius: 26px;
    box-shadow: 0 16px 38px rgba(25, 49, 32, 0.09);
    transition:
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.gallery-card:hover,
.gallery-card.is-open {
    border-color: rgba(31, 91, 65, 0.28);
    box-shadow: 0 22px 50px rgba(25, 49, 32, 0.14);
}

.gallery-card:hover {
    transform: translateY(-2px);
}

.gallery-card-main {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1.45rem;
}

.gallery-card-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    color: #ffffff;
    font-size: 1.55rem;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 34%),
        linear-gradient(145deg, #6f8947, #315638);
    border-radius: 19px;
    box-shadow: 0 12px 25px rgba(49, 86, 56, 0.24);
}

.gallery-card-content {
    min-width: 0;
}

.gallery-card-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    align-items: center;
    margin-bottom: 0.4rem;
    color: #58704e;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gallery-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #747d76;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
}

.gallery-card h2 {
    margin: 0;
    color: #17251b;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.gallery-card-place {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.55rem 0 0;
    color: #6b746d;
    font-size: 0.92rem;
}

.gallery-card-place i {
    color: #5d7538;
}

.gallery-card-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    min-width: 205px;
}

.gallery-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.65rem 1rem;
    color: #ffffff;
    background: linear-gradient(135deg, #557f47, #285637);
    border: 0;
    border-radius: 13px;
    font-weight: 800;
    box-shadow: 0 9px 22px rgba(31, 91, 65, 0.19);
}

.gallery-toggle:hover,
.gallery-toggle:focus {
    background: linear-gradient(135deg, #668f56, #1f4930);
}

.gallery-toggle-hide {
    display: none;
}

.gallery-toggle[aria-expanded="true"] .gallery-toggle-show {
    display: none;
}

.gallery-toggle[aria-expanded="true"] .gallery-toggle-hide {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 40px;
    color: #315638;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.gallery-detail-link:hover,
.gallery-detail-link:focus {
    color: #173c29;
}

.gallery-embed-panel {
    padding: 0 1.45rem 1.45rem;
}

.gallery-embed-panel[hidden] {
    display: none;
}

.gallery-embed {
    overflow: hidden;
    min-height: 118px;
    background: #eef1ec;
    border: 1px solid rgba(31, 91, 65, 0.12);
    border-radius: 18px;
}

.gallery-embed iframe {
    display: block;
    width: 100%;
    height: 118px;
    border: 0;
}

.gallery-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px dashed rgba(31, 91, 65, 0.3);
    border-radius: 28px;
}

.gallery-empty-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    place-items: center;
    color: #ffffff;
    font-size: 1.8rem;
    background: linear-gradient(145deg, #6f8947, #315638);
    border-radius: 22px;
}

.gallery-empty h2 {
    color: #1a2b1f;
    font-weight: 900;
}

.gallery-empty p {
    max-width: 560px;
    margin: 0 auto 1.5rem;
    color: #687069;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .gallery-card-main {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .gallery-card-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        min-width: 0;
        padding-left: 80px;
    }

    .gallery-toggle {
        flex: 1 1 auto;
    }

    .gallery-detail-link {
        flex: 0 0 auto;
        padding: 0 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .gallery-hero {
        padding: 4.5rem 0;
    }

    .gallery-card-main {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 0.9rem;
        padding: 1.1rem;
    }

    .gallery-card-icon {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 1.25rem;
    }

    .gallery-card-actions {
        padding-left: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .gallery-detail-link {
        padding: 0;
    }

    .gallery-embed-panel {
        padding: 0 1.1rem 1.1rem;
    }

    .gallery-embed,
    .gallery-embed iframe {
        height: 106px;
        min-height: 106px;
    }
}

.gallery-section {
    padding: 2.5rem 0 4rem;
}

.gallery-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    color: #5d7538;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-page-heading h1 {
    margin: 0 0 0.4rem;
    color: #15231a;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.035em;
}

.gallery-page-heading p {
    margin: 0;
    color: #667069;
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .gallery-section {
        padding: 2rem 0 3rem;
    }

    .gallery-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================
   FOTOGALÉRIA – automatické lazy načítanie bez tlačidiel
   Pridaj na koniec theme.css.
========================================================== */

.gallery-card:hover,
.gallery-card.is-open {
    border-color: rgba(31, 91, 65, 0.28);
    box-shadow: 0 22px 50px rgba(25, 49, 32, 0.14);
}

.gallery-card h2 {
    margin: 0;
    color: #17251b;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.gallery-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 130px;
}

.gallery-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    color: #315638;
    background: rgba(49, 86, 56, 0.07);
    border-radius: 11px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.gallery-detail-link:hover,
.gallery-detail-link:focus {
    color: #173c29;
    background: rgba(49, 86, 56, 0.13);
}

.gallery-embed-panel {
    padding: 0 1.45rem 1.45rem;
}

.gallery-embed {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    background: #eef1ec;
    border: 1px solid rgba(31, 91, 65, 0.12);
    border-radius: 18px;
}

.gallery-embed iframe {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 118px;
    border: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-embed.is-loaded iframe {
    opacity: 1;
}

.gallery-embed-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    color: #68746b;
    font-size: 0.88rem;
    font-weight: 700;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.45), rgba(238, 241, 236, 0.92));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gallery-embed.is-loaded .gallery-embed-placeholder {
    opacity: 0;
    visibility: hidden;
}

.gallery-loader {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(49, 86, 56, 0.18);
    border-top-color: #315638;
    border-radius: 50%;
    animation: gallery-loader-spin 0.8s linear infinite;
}

@keyframes gallery-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Staré tlačidlo už vo view nie je. Toto odstráni prípadný zvyšok. */
.gallery-toggle {
    display: none !important;
}

@media (max-width: 991.98px) {
    .gallery-card-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        min-width: 0;
        padding-left: 80px;
    }
}

@media (max-width: 575.98px) {
    .gallery-card-actions {
        padding-left: 0;
    }

    .gallery-detail-link {
        width: 100%;
    }

    .gallery-embed-panel {
        padding: 0 1.1rem 1.1rem;
    }

    .gallery-embed,
    .gallery-embed iframe {
        height: 106px;
        min-height: 106px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-loader {
        animation: none;
    }

    .gallery-embed iframe,
    .gallery-embed-placeholder {
        transition: none;
    }
}

/* =========================================================
   2 % DANE – KOMPAKTNÁ STRÁNKA
   ========================================================= */

.tax2-simple-page {
    --tax2-green: #173f29;
    --tax2-green-dark: #0d2b1b;
    --tax2-yellow: #e2bd18;
    --tax2-text: #17251b;
    --tax2-muted: #667269;
    --tax2-border: rgba(23, 63, 41, 0.14);
    min-height: 70vh;
    background: #f4f6f4;
    color: var(--tax2-text);
}

.tax2-simple-hero {
    padding: clamp(2.5rem, 6vw, 4.25rem) 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(226, 189, 24, 0.18),
            transparent 28%
        ),
        linear-gradient(135deg, #0d2b1b, #1d5736);
    color: #fff;
}

.tax2-simple-kicker,
.tax2-simple-section-title > span {
    color: #d8be47;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 900;
}

.tax2-simple-hero h1 {
    margin: 0.45rem 0 0;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.05em;
}

.tax2-simple-hero p {
    max-width: 700px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.05rem;
    line-height: 1.65;
}

.tax2-simple-hero .btn {
    border-radius: 0.85rem;
    font-weight: 900;
}

.tax2-simple-status {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--tax2-border);
    border-radius: 0.85rem;
    background: #fff;
    color: #496052;
    font-weight: 750;
}

.tax2-simple-status-open {
    border-color: rgba(226, 189, 24, 0.55);
    background: #fffbea;
}

.tax2-simple-status-closed {
    background: #edf2ee;
}

.tax2-simple-recipient,
.tax2-simple-procedure {
    margin-bottom: 1.5rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid var(--tax2-border);
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 0.7rem 2rem rgba(20, 53, 33, 0.05);
}

.tax2-simple-section-title {
    margin-bottom: 1.1rem;
}

.tax2-simple-section-title > span {
    color: #5e7e69;
}

.tax2-simple-section-title h2 {
    margin: 0.25rem 0 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 950;
    letter-spacing: -0.035em;
}

.tax2-simple-recipient-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.7fr 1fr 2fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--tax2-border);
    border-radius: 0.85rem;
}

.tax2-simple-recipient-grid > div {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    border-right: 1px solid var(--tax2-border);
}

.tax2-simple-recipient-grid > div:last-child {
    border-right: 0;
}

.tax2-simple-recipient-grid small {
    color: var(--tax2-muted);
    font-size: 0.73rem;
}

.tax2-simple-recipient-grid strong {
    overflow-wrap: anywhere;
    font-size: 0.92rem;
}

.tax2-simple-recipient-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.tax2-simple-accordion .accordion-item {
    overflow: hidden;
    margin-bottom: 0.7rem;
    border: 1px solid var(--tax2-border);
    border-radius: 0.85rem;
}

.tax2-simple-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.tax2-simple-accordion .accordion-button {
    padding: 1rem 1.1rem;
    background: #f8faf8;
    color: var(--tax2-text);
    box-shadow: none;
    font-weight: 900;
}

.tax2-simple-accordion .accordion-button:not(.collapsed) {
    background: var(--tax2-green-dark);
    color: #fff;
}

.tax2-simple-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.tax2-simple-accordion .accordion-body {
    padding: clamp(1.1rem, 3vw, 1.5rem);
}

.tax2-simple-steps {
    margin: 0;
    padding-left: 1.35rem;
}

.tax2-simple-steps li {
    margin-bottom: 0.8rem;
    padding-left: 0.35rem;
    color: #455349;
    line-height: 1.65;
}

.tax2-simple-steps li:last-child {
    margin-bottom: 0;
}

.tax2-simple-steps li::marker {
    color: var(--tax2-green);
    font-weight: 900;
}

.tax2-simple-steps a {
    color: #126236;
    font-weight: 850;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

.tax2-simple-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--tax2-border);
}

.tax2-simple-links .btn {
    border-radius: 0.7rem;
    font-weight: 850;
}

.tax2-simple-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.75rem;
    background: #edf3ee;
    color: #486051;
    line-height: 1.55;
}

.tax2-simple-note i {
    margin-top: 0.12rem;
    color: var(--tax2-green);
}

.tax2-simple-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--tax2-muted);
    text-align: center;
}

.tax2-simple-help a {
    color: var(--tax2-green);
    font-weight: 850;
}

@media (max-width: 991.98px) {
    .tax2-simple-recipient-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tax2-simple-recipient-grid > div:nth-child(2) {
        border-right: 0;
    }

    .tax2-simple-recipient-grid > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--tax2-border);
    }
}

@media (max-width: 575.98px) {
    .tax2-simple-hero .btn {
        width: 100%;
    }

    .tax2-simple-recipient-grid {
        grid-template-columns: 1fr;
    }

    .tax2-simple-recipient-grid > div,
    .tax2-simple-recipient-grid > div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--tax2-border);
    }

    .tax2-simple-recipient-grid > div:last-child {
        border-bottom: 0;
    }

    .tax2-simple-recipient-actions .btn,
    .tax2-simple-links .btn {
        width: 100%;
    }
}

.tax2-hero-text {
    max-width: 760px;
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.92rem, 1.3vw, 1.02rem);
    line-height: 1.65;
}

.tax2-hero-thanks {
    margin: 1rem 0 0;
    color: #e2bd18;
    font-size: 1rem;
    font-weight: 900;
}