/* === GLOBAL & BACKGROUND ======================================= */

/* Gradient TYLKO NA HOMEPAGE */
.home html {
    background:
        radial-gradient(circle at 18% 8%, rgba(61, 220, 151, 0.22), transparent 45%),
        radial-gradient(circle at 82% 18%, rgba(61, 220, 151, 0.10), transparent 45%),
        #050608;
}

/* PODSTRONY – JEDNOLITE CIEMNE TŁO */
html:not(.home) {
    background: #050608 !important;
}

/* body – neutralne */
body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #cfcfcf;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* === TYPOGRAFIA ================================================ */

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

/* Podstrony – czytelniejszy tekst */
.page .entry-content,
.page p,
.page a {
    color: #cfcfcf !important;
}

.page h1,
.page h2 {
    color: #ffffff !important;
}

/* linki */
a {
    color: #3ddc97;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* === TRANSPARENT HEADER FOR ALL PAGES =========================== */

header,
.site-header,
.ct-header,
.ct-header-main,
.ct-header-inner {
    background: transparent !important;
    box-shadow: none !important;
}

.ct-menu-container a {
    color: #e6e6e6 !important;
}

.ct-menu-container a:hover {
    color: #3ddc97 !important;
}

/* Active menu item */
.ct-menu-container .current-menu-item > a {
    color: #3ddc97 !important;
}

/* === BLOCKSY BACKGROUND OVERRIDE ================================ */

.site,
#page,
#content,
#primary,
.ct-main,
.ct-main-inner,
.ct-content,
.ct-inner-content,
.site-main,
.ct-container,
.ct-container-full,
.ct-section,
.ct-section-inner,
.ct-page,
.ct-page-content,
.ct-content-wrap,
.entry-content,
.entry-header,
.page .entry-header,
.wp-block-group,
.wp-block-cover,
.wp-block-columns,
.wp-block-column {
    background: transparent !important;
    box-shadow: none !important;
}

/* === SECTIONS ==================================================== */

section {
    padding: 60px 20px;
}

.triit-section {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* === BUTTONY ==================================================== */

button,
input[type=submit],
a.button {
    display: inline-block;
    background: #3ddc97;
    color: #0e0f12;
    padding: 0.6em 1.2em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

button:hover,
input[type=submit]:hover,
a.button:hover {
    background-color: #63e3ab;
}

/* === THANK YOU / ERROR ========================================== */

.triit-thanks {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.triit-thanks .triit-container {
    max-width: 640px;
}

.triit-thanks h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.triit-thanks p {
    margin-bottom: 0.75rem;
    color: #cfcfcf !important;
}

.triit-thanks-sub {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

/* --- Ikona obok nagłówka hero (ze starego kodu) --- */
.triit-hero-title {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 1.5rem;
}

.triit-hero-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(61, 220, 151, 0.45));
}
/* === Profile photo in the right hero card === */
.triit-profile-photo{
    width: 100%;
    max-width: 180px;        /* kontrola wielkości w karcie */
    margin: 0 auto 18px;     /* wyśrodkowanie + odstęp od "Profile" */
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.triit-profile-photo img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;     /* ładny portret (bez rozjeżdżania) */
    object-fit: cover;
    object-position: center;
    filter: contrast(1.05) saturate(1.05);
    transform: translateZ(0);
}

/* subtelne “vignette” + miętowy klimat, bez robienia z tego mema */
.triit-profile-photo::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(0,0,0,0.00) 35%, rgba(0,0,0,0.55) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
    mix-blend-mode: multiply;
}

/* delikatna obwódka spójna z kartą */
.triit-profile-photo{
    box-shadow:
        0 0 0 1px rgba(61, 220, 151, 0.22),
        0 18px 40px rgba(0,0,0,0.45);
}
/* --- PROFILE badge pod zdjęciem, na środku --- */
.triit-hero-aside .triit-tag{
  display: table;
  margin: 12px auto 18px;
  text-align: center;
}
