/**
 * Test site daikan.pl only (system/libs/staging_site.php). Loaded by template.php when
 * staging_is_test_site(); dajkan.com never loads this file.
 * - .tl-staging-bar: bar above the menu on every page
 * - .tl-stg: /account/create on the test site ("registration is closed")
 * Shared pieces (tl-panel, tl-btn, tl-slot, tl-orn): telara-components.css.
 */

/* ------------------------------------------------------------------
 * Bar on every page
 * ------------------------------------------------------------------ */
.tl-staging-bar {
    /* Strong red on purpose: on the test server this bar must catch the eye at once */
    position: relative;
    z-index: 1001;
    background: #7a1f1f;
    border-bottom: 2px solid #c9a34a;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.tl-staging-bar__in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
    width: min(1170px, 100% - 32px);
    margin: 0 auto;
    padding: 8px 0;
    text-align: center;
}

.tl-staging-bar__tag {
    flex: none;
    padding: 2px 9px;
    border: 1px solid #ffd97a;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.28);
    color: #ffd97a;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tl-staging-bar__text {
    color: #fff;
}

a.tl-staging-bar__link,
a.tl-staging-bar__link:visited {
    flex: none;
    color: #ffd97a;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: underline;
    white-space: nowrap;
}

a.tl-staging-bar__link:hover,
a.tl-staging-bar__link:focus {
    color: #fff;
}

/* ------------------------------------------------------------------
 * /account/create: registration is closed
 * ------------------------------------------------------------------ */
.tl-stg {
    display: grid;
    gap: 18px;
    margin: 6px 0 10px;
    color: var(--tl-parchment);
}

.tl-stg__hero {
    padding: 38px 40px 34px;
    overflow: hidden;
    text-align: center;
}

.tl-stg__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(55% 70% at 50% 0%, rgba(230, 195, 92, 0.12), transparent 70%);
    pointer-events: none;
}

.tl-stg__hero > * {
    position: relative;
}

.tl-stg__badge {
    margin-bottom: 14px;
}

.tl-stg p.tl-stg__kicker {
    margin: 0 0 4px !important;
    color: var(--tl-gold);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tl-stg__title {
    margin: 0;
    color: var(--tl-gold-pale);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.tl-stg p.tl-stg__lead {
    max-width: 640px;
    margin: 16px auto 0 !important;
    color: var(--tl-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.tl-stg__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.tl-stg__grid {
    display: grid;
    /* 3 columns in a wide content column, fewer when the column (sidebar, phone) is narrow */
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.tl-stg__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
}

.tl-stg__card h3 {
    margin: 0 0 6px !important;
    color: var(--tl-title);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.tl-stg__card p,
.tl-stg p.tl-stg__note {
    margin: 0 !important;
    color: var(--tl-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.tl-stg p.tl-stg__note {
    color: var(--tl-faint);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 600px) {
    .tl-stg__hero {
        padding: 28px 18px 24px;
    }

    .tl-stg__title {
        font-size: 1.5rem;
    }

    .tl-stg__cta .tl-btn {
        width: 100%;
        padding: 0 14px;
        font-size: 0.8125rem;
        letter-spacing: 0.06em;
        white-space: normal;
        text-align: center;
    }

    .tl-staging-bar__in {
        width: calc(100% - 32px);
    }
}
