/*
 Theme Name: GeneratePress Child
 Theme URI: https://example.com/
 Description: Motyw potomny dla GeneratePress
 Author: Twoja nazwa
 Author URI: https://example.com/
 Template: generatepress
 Version: 1.0.0
 Text Domain: generatepress-child
*/

/* Tu możesz dodawać swój CSS */

/* Onest – global font */
body {
    font-family: 'Onest', sans-serif;
}

/* Breadcrumbs (Yoast SEO) */
.breadcrumbs {
    font-size: 13px;
    padding: 0.6em 0;
    margin-bottom: 1rem;
    color: #666;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .breadcrumb_last {
    color: #333;
    font-weight: 600;
}

/* Przyciski */
/* Przyciski */
.btn {
    display: inline-block;
    padding: 0.5em 1em;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #3432b838;
    font-size: 15px;
}

/* .btn--primary {
    background: var(--accent);
    color: #ffffff;
} */

.btn--primary:hover {
    opacity: 0.9;
}

.btn--ghost {
    background: transparent;
}

/* Sekcja hero na stronie głównej */
.home-hero {
    padding: 2rem 0;
    position: relative;
}

.home-hero__canvas {
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.home-hero__inner {
    /* max-width: 900px; */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.home-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    margin-bottom: 10px;
}

.home-hero__title {
    font-size: clamp(32px, 4vw, 42px);
    margin-bottom: 15px;
}

.home-hero__text {
    font-size: 16px;
    /* max-width: 700px; */
    margin-bottom: 20px;
}

.home-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .home-hero__inner {
        text-align: left;
    }
}

/* Homepage news section */
.home-news {
    padding: 2rem 0px;
}

/* Archive page – 3-column grid */
.archive-grid {
    padding: 1rem 0 2rem;
    align-items: start;
}

.home-news__grid.archive-grid {
    grid-template-columns: repeat(3, 1fr);
}

.home-news__header {
    /* max-width: 1100px; */
    margin: 0 auto 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.home-news__header h2 {
    margin: 0;
}

.home-news__desc {
    /* max-width: 1100px; */
    margin: 0 auto 20px;
}

.home-news__grid {
    /* max-width: 1100px; */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.home-news__item {
    padding: 16px;
    border-radius: 10px;
    background: #f5f5f5;
    border: 1px solid #3432b838;
    height: 100%;
}

.home-news__meta {
    font-size: 12px;
    opacity: 0.7;
    margin: 0 0 4px;
}

.home-news__title {
    font-size: 18px;
    margin: 0 0 8px;
}

.home-news__title a {
    text-decoration: none;
}

.home-news__excerpt {
    font-size: 14px;
    margin-bottom: 8px;
}

/* Reuse home-link style from hero section */
.home-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.home-link:hover {
    text-decoration: underline;
}

/* Baner pleksusowy – tło podstron */
.page-banner {
    position: relative;
    height: 110px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

/* nadpisanie reguły .site-main>* { margin-bottom:0 } */
.site-main > .page-banner {
    margin-bottom: -110px;
}

.page-banner__canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Tytuł i treść nad banerem */
.entry-header,
.page-header {
    position: relative;
    z-index: 1;
}

/* Przycisk powrotu do strony głównej (single.php) */
.back-to-home {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.back-to-home__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

.custom-social-icons {
    position: relative;
    display: flex;
    justify-content: end;
    gap: 10px;
}

.custom-social-icons li {
    margin-bottom: 0 !important;
}

.custom-social-icons i {
    font-size: 30px;
}


/* Członkowie – tabela */
.members-table {
    width: 100%;
    border-collapse: collapse;
}

/* odstępy + separatory między wierszami */
.members-table td {
    padding: 18px 16px;
    vertical-align: middle;
}

.members-table tr+tr td {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

/* kolumny */
.members-table__details {
    vertical-align: top;
}

.members-table__logo {
    width: 260px;
    /* stała szerokość na logo */
    text-align: center;
}

/* SPÓJNE LOGA: jedna wysokość, proporcje zachowane */
.members-table__logo img {
    display: inline-block;
    max-height: 72px;
    /* docelowa wysokość logotypów */
    width: auto;
    height: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Nazwa firmy większa */
.member-name {
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px;
}

/* linie danych teleadresowych */
.member-line {
    margin: 0 0 4px;
    line-height: 1.45;
    word-break: break-word;
}

/* linki w liniach (www / mail / tel) */
.member-line a {
    text-decoration: none;
}

/* www delikatnie wyróżnione */
.member-www {
    font-weight: 600;
}

/* mobile: kolumna logo pod danymi */
@media (max-width: 768px) {

    .members-table,
    .members-table tbody,
    .members-table tr,
    .members-table td {
        display: block;
        width: 100%;
    }

    /* ubij wszystkie bordery / cienie narzucane przez WP/motyw */
    .members-table,
    .members-table * {
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
        background: transparent !important;
    }

    /* jedna "karta" na firmę: ramka + padding (bez radius i bez tła) */
    .members-table tr {
        margin: 0 0 14px;
        padding: 16px 14px;
        border: 1px solid rgba(0, 0, 0, .12) !important;
        border-radius: 0 !important;
    }

    /* upewnij się, że nie ma pseudo-elementów robiących kreski */
    .members-table tr::before,
    .members-table tr::after {
        content: none !important;
        display: none !important;
    }

    /* komórki bez paddingu — padding jest na <tr> */
    .members-table td {
        padding: 0 !important;
    }

    /* logo większe i na środku */
    .members-table__logo {
        margin-top: 12px;
        text-align: center;
    }

    .members-table__logo img {
        max-height: 80px;
        /* <- większe logo */
        width: auto;
        height: auto;
        max-width: 100%;
        display: inline-block;
        object-fit: contain;
    }

    
}




.separate-containers .site-main,
.page-header,
.sidebar .widget,
.site-main>* {
    margin-bottom: 0px;
}

.top-bar {
    display: none;
}

.inside-header {
    padding: 1rem 0rem;
}

table {
    border: 1px solid #3432b838;
}
.footer-widgets-container{
    border-top: 1px solid #3432b838;
    margin: 0;
    padding: 0;
}

.entry-meta .byline {
    /* display: none; */
}

.entry-meta .cat-links {
    /* display: none; */
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select{
    border-color:#3432b838;
}