@charset "UTF-8";

/* The off-canvas mobile navigation sits just outside the viewport; clip it
   without creating a scroll container (keeps the sticky header working). */
html {
    overflow-x: clip;
}

/* ==========================================================================
   indexes.aspx — page-level adjustments on top of the green site theme
   ========================================================================== */

/* Keep the real photo above the decorative fallback layer. */
.news-media {
    position: relative;
}

.news-media .media-fallback {
    z-index: 0;
}

.news-media img {
    position: relative;
    z-index: 1;
}

.news-media .news-chip {
    z-index: 2;
}

/* Long category names must not break the card media area. */
.news-chip {
    max-width: calc(100% - 24px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Keep every card in a row the same height and the CTA aligned at the bottom. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.news-card {
    height: 100%;
    min-width: 0;
}

.news-more {
    align-self: flex-start;
}

.nav-drawer-account {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.nav-drawer-account .nav-link {
    justify-content: flex-start;
    gap: 8px;
}

.news-title {
    overflow-wrap: anywhere;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-excerpt {
    overflow-wrap: anywhere;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* A little more breathing room between the hero and the listing. */
.page-hero + .section {
    padding-top: 56px;
}

.sidebar-list .count {
    min-width: 24px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: .72rem;
    text-align: center;
}

.sidebar-list a.is-active .count {
    background: var(--green-700);
    color: #fff;
}

/* The green theme declares the mobile drawer offset but not its open state. */
@media (max-width: 991.98px) {
    /* backdrop-filter makes the sticky header a containing block, which would
       clip the fixed-position mobile drawer to the header's height. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.nav-open .main-nav {
        transform: translateX(0);
    }
}
/* Home hero: the legacy banner graphics already contain text, so use a
   stronger overlay and crop the banner's bottom caption behind the copy. */
.hero-slide {
    background-position: center 32%;
}

.hero-overlay {
    background: linear-gradient(to left,
        rgba(4, 41, 26, .97) 0%,
        rgba(4, 41, 26, .94) 48%,
        rgba(4, 41, 26, .80) 100%);
}
/* ==========================================================================
   Home hero — split copy + banner slider (index.aspx)
   ========================================================================== */
.home-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 94px;
    color: #fff;
    background: linear-gradient(135deg, var(--green-950), var(--green-800));
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .45;
    z-index: 1;
}

.home-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 46px;
    align-items: center;
}

.home-hero-copy .hero-content {
    max-width: none;
    padding: 0;
}

.home-hero-media {
    position: relative;
}

.banner-card {
    position: relative;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.banner-card::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid rgba(201, 162, 39, .45);
    border-radius: 26px;
    z-index: -1;
}

.banner-slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1142 / 432;
    border-radius: 16px;
    background: #fff;
}

.banner-slider .hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transform: none;
    background: none;
    transition: opacity .6s ease;
}

.banner-slider .hero-slide.is-active {
    opacity: 1;
    transform: none;
}

.banner-slider .hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #f7fbf9;
}

.banner-slider .hero-dots {
    bottom: 12px;
}

.banner-slider .hero-dots button {
    background: rgba(6, 61, 36, .25);
}

.banner-slider .hero-dots button.is-active {
    background: var(--gold);
}

.banner-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 6px 2px;
    color: var(--green-900);
}

.banner-caption span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
}

.banner-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: .68rem;
}

.banner-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 4px 2px;
}

.banner-thumbs button {
    position: relative;
    display: block;
    aspect-ratio: 1142 / 432;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 9px;
    background: #f7fbf9;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
}

.banner-thumbs button:hover {
    transform: translateY(-1px);
    border-color: #b9d7c5;
}

.banner-thumbs button.is-active {
    border-color: var(--gold);
}

.banner-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
    font-size: .78rem;
}

.banner-caption span i {
    color: var(--gold);
}

.banner-caption a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--green-700);
    font-size: .82rem;
    font-weight: 700;
}

.banner-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 100%;
    padding: 24px;
    text-align: center;
    background: #fff;
}

.banner-empty img {
    height: 70px;
    width: auto;
}

.banner-empty strong {
    color: var(--green-900);
}

.banner-empty span {
    color: var(--muted);
    font-size: .85rem;
}

@media (max-width: 991.98px) {
    .home-hero {
        padding: 44px 0 80px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .banner-card {
        max-width: 660px;
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .home-hero h1 {
        font-size: 2rem;
    }

    .banner-card {
        padding: 10px;
        border-radius: 18px;
    }

    .banner-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}
.home-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.15rem, 4.4vw, 3.55rem);
    font-weight: 800;
    line-height: 1.28;
}

.home-hero h1 .accent {
    color: #f0d27a;
}

@media (max-width: 767.98px) {
    .home-hero h1 {
        font-size: 2rem;
    }
}
.home-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.home-hero h1 .accent {
    white-space: nowrap;
}
/* Login aside on the green auth card */
.auth-aside h1 {
    color: #fff;
}

.auth-aside .about-points li {
    color: rgba(255, 255, 255, .86);
}
/* Header account pill (the master uses .account-btn directly, outside a dropdown) */
.header-actions .account-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 10px 5px 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink) !important;
    font-size: .88rem;
    font-weight: 600;
}

.header-actions .account-btn:hover {
    border-color: var(--green-100);
    box-shadow: var(--shadow-sm);
}

.header-actions .account-btn span:not(.avatar) {
    color: var(--ink) !important;
}
/* Registration form is wider than the login card */
.register-card {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    max-width: 1160px;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

@media (max-width: 991.98px) {
    .register-card {
        grid-template-columns: minmax(0, 1fr);
        max-width: 680px;
    }
}

@media (max-width: 640px) {
    .register-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* RadCaptcha: hide the English default label and match green inputs */
.RadCaptcha p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 0;
}

.RadCaptcha input[type="text"] {
    width: 180px;
    max-width: 100%;
    padding: .55rem .7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: inherit;
    font-size: .9rem;
}

.RadCaptcha input[type="text"]:focus {
    border-color: var(--green-600);
    outline: 0;
    box-shadow: 0 0 0 .18rem rgba(13, 107, 63, .12);
}

[id$="_CaptchaTextBoxLabel"] {
    display: none !important;
}
/* ==========================================================================
   Profile, delete-account and contact pages
   ========================================================================== */
.profile-card {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    max-width: 1120px;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.profile-aside {
    padding: 34px 26px;
    background: linear-gradient(160deg, var(--green-950), var(--green-800));
    color: #fff;
    text-align: center;
}

.profile-avatar {
    width: 136px;
    height: 136px;
    border: 4px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
}

.profile-aside h2 {
    margin: 14px 0 4px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.profile-role {
    margin: 0;
    color: rgba(255, 255, 255, .65);
    font-size: .8rem;
}

.profile-links {
    display: grid;
    gap: 5px;
    margin-top: 24px;
    text-align: right;
}

.profile-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 9px;
    color: rgba(255, 255, 255, .82);
    font-size: .8rem;
}

.profile-links a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.profile-links .is-danger {
    color: #ffd7dc;
}

.profile-form {
    padding: 34px;
}

.profile-upload {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: var(--sand-50);
}

.profile-upload small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .74rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.danger-card {
    max-width: 720px;
    margin-inline: auto;
    padding: 38px;
    border: 1px solid #f3c6cc;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.danger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fdeef0;
    color: #c8102e;
    font-size: 1.8rem;
}

.danger-card h1 {
    margin: 16px 0 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.danger-card p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.9;
}

.danger-points {
    display: grid;
    gap: 8px;
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
    text-align: right;
}

.danger-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-2);
    font-size: .85rem;
}

.danger-points i {
    color: #c8102e;
}

.btn-danger {
    border: 1px solid #c8102e !important;
    background: #c8102e !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(200, 16, 46, .18);
}

.btn-danger:hover {
    border-color: #a50d25 !important;
    background: #a50d25 !important;
}

@media (max-width: 900px) {
    .profile-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .profile-form {
        padding: 22px;
    }

    .profile-grid,
    .profile-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .danger-card {
        padding: 26px 20px;
    }
}
/* ==========================================================================
   Membership page
   ========================================================================== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.status-badge.is-active {
    background: var(--green-50);
    color: var(--green-800);
}

.status-badge.is-soon {
    background: var(--gold-100);
    color: #7a5f0a;
}

.status-badge.is-expired {
    background: var(--red-50);
    color: #9b1022;
}

.status-badge.is-muted {
    background: #f1f3f2;
    color: var(--muted);
}

.membership-table-wrap {
    overflow-x: auto;
}

.membership-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem;
}

.membership-table th {
    padding: 10px 12px;
    background: var(--green-50);
    color: var(--green-900);
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
}

.membership-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    text-align: right;
}

.membership-table tr:last-child td {
    border-bottom: 0;
}

.status-paid {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--green-700);
    font-weight: 700;
}

.status-pending {
    color: #9a6b00;
    font-weight: 700;
}

.receipt-link {
    color: var(--green-700);
    font-weight: 700;
    white-space: nowrap;
}

.receipt-link:hover {
    text-decoration: underline;
}
/* ==========================================================================
   Member dashboard (welcome.aspx)
   ========================================================================== */
.dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.dashboard-head h1 {
    margin: 0 0 4px;
    font-size: 1.55rem;
}

.dashboard-head p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--sand-50);
}

.dashboard-stat i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
    border-radius: 10px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: .95rem;
}

.dashboard-stat b {
    color: var(--green-950);
    font-size: 1.15rem;
    font-weight: 800;
}

.dashboard-stat span {
    color: var(--muted);
    font-size: .75rem;
}

.dashboard-membership {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid var(--green-100);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--green-50), #fff);
}

.dashboard-membership > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-membership strong {
    color: var(--green-900);
    font-size: .96rem;
}

.dashboard-membership small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.9;
}

.dashboard-section {
    margin-bottom: 26px;
}

.dashboard-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.dashboard-section-head h3 {
    margin: 0;
    color: var(--green-900);
    font-size: 1.02rem;
    font-weight: 800;
}

.dashboard-section-head h3 i {
    color: var(--green-600);
}

.dashboard-section-head a {
    font-size: .8rem;
    font-weight: 700;
    color: var(--green-700);
    white-space: nowrap;
}

.dashboard-empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--muted);
    font-size: .85rem;
    text-align: center;
}

@media (max-width: 1100px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dashboard-membership {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-stats {
        grid-template-columns: minmax(0, 1fr);
    }
}
.profile-joined {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .72);
    font-size: .76rem;
}

.profile-joined i {
    color: #f0d99b;
}

.profile-joined strong {
    color: #fff;
    font-weight: 700;
    direction: ltr;
    unicode-bidi: embed;
}
/* Extra Booking (non-KNET gifts) */
.extra-booking-note {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--sand-50);
    color: var(--muted);
    font-size: .68rem;
    font-weight: 600;
    white-space: nowrap;
}

.extra-booking-table td {
    vertical-align: top;
}

.extra-booking-noted {
    max-width: 260px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.7;
    white-space: normal;
}