.club-header {
    background: linear-gradient(#faf7f2, #ffffff 120px);
    padding: 40px 0 50px;
    text-align: center;
    border-bottom: 1px solid #e5e2dd;
}

.club-header h1 {
    font-size: 38px;
    font-weight: 600;
    margin: 0;
}

.club-header p {
    margin-top: 8px;
    font-size: 16px;
    color: #666;
}

/* KLUBA KUBA FONI — pagaidu, nomainīsim vēlāk */
#klubs-raksti {background-image: url('../img/raksti-pale.webp');}
#klubs-galerijas {background-image: url('../img/galerijas-pale.webp');}
#klubs-diskusijas {background-image: url('../img/diskusijas-pale.webp');}
#klubs-izlase {background-image: url('../img/izlase-pale.webp');}

/* Hover efekti */
#klubs-raksti:hover {
    background-image: url('../img/raksti.webp');
    transition-duration: 0.3s;
}
#klubs-galerijas:hover {
    background-image: url('../img/galerijas.webp');
    transition-duration: 0.3s;
}
#klubs-diskusijas:hover {
    background-image: url('../img/diskusijas.webp');
    transition-duration: 0.3s;
}
#klubs-izlase:hover {
    background-image: url('../img/izlase.webp');
    transition-duration: 0.3s;
}

/* ===== KLUBA RETRO KUBS ===== */

/* Pamatkubs (izmanto sq-reg izmērus) */

.club-retro {
    filter: sepia(0.15) brightness(1.02) contrast(0.95);
}
.club-retro:hover {
    filter: sepia(0.1) brightness(1.08) contrast(1);
}
.club-retro {
    box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}

.club-right h2 {
    font-family: Trebuchet MS;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.club-article {
    margin-bottom: 25px;
}

.club-article small {
    color: #888;
}

.club-article h3 {
    font-family: Trebuchet MS;
    font-size: 1.2em;
    margin: 5px 0;
}

.club-article p {
    margin: 5px 0 10px 0;
    color: #444;
}

.readmore {
    color: #3c6575;
    text-decoration: none;
    font-weight: bold;
}

.readmore:hover {
    color: #2e58a6;
}

.article-meta {
    font-size: 12px;
    margin-bottom: 2px;
    color: #777;
}

.article-intro {
    font-size: 13px;
    line-height: 1.3;
    max-height: 1.3em;
    overflow: hidden;
    color: #444;
}

.cat-btn {
    padding: 3px 10px;
    font-size: 13px;
    background: #f2f2f2;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
}

.cat-btn.active {
    background: #d0e4ff;
    color: #000;
    font-weight: 600;
}

.cat-btn:hover {
    background: #e6e6e6;
}

.article-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}


/* Visi linki kluba sadaļā ir tumši, nevis zili */
.klubs a {
    color: #222 !important;
    text-decoration: none;
}

.klubs a:hover {
    color: #000 !important;
    text-decoration: underline;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

/* Kategoriju pogas: lai tās neaizņem 100% platumu */
.cat-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1 1 auto; /* ← ļauj aizņemt vietu, bet ne 100% */
}

/* Datumu select bloks */
.date-filters {
    display: flex;
    gap: 6px;
    margin-left: auto; /* ← aizstumj pa labi */
    flex: 0 0 auto;    /* ← neļauj izstiepties */
}


/* Select augstuma izlīdzināšana ar pogām */
.filters select {
    height: 36px; /* default btn height */
    min-width: 120px;
    padding: 6px 8px;
    font-size: 14px;
    background-position: right 8px center !important; /* centrē bultu */
}

.cat-buttons .btn {
    white-space: normal !important;
}

/* Intro + Readmore vienā rindā */
.intro-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}


/* Intro pats nosaka rindu skaitu */
.article-intro {
    font-size: 14px;
    line-height: 1.35;
    flex: 1 1 auto; /* intro aizņem visu vietu */
}


/* Lasīt tālāk vienmēr intro beigās */
.readmore {
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap; /* NEKAD nelaužas jaunā rindā */
}


.article-thumb {
    width: 150px;
    height: 92px;
    flex-shrink: 0;
}

.article-thumb img,
.article-thumb .thumb-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f3f3f3;
    border-radius: 4px;
}

.pagination-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
    align-items: center;
}

.pg-btn {
    padding: 4px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background: #f8f8f8;
}

.pg-btn:hover {
    background: #e6e6e6;
}

.pg-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}


.pg-ellipsis {
    padding: 4px 6px;
    font-size: 14px;
    color: #777;
}


.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin: 10px 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.breadcrumbs a {
    color: #3c6575;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .current {
    color: #222;
    font-weight: 500;
}

.club-banner {
    position: relative; /* ŠIS IR OBLIGĀTS */
}

.banner-search {
    position: absolute;
    right: 20px;
    bottom: 10px;
    z-index: 10; /* ja vajag virs h1 vai citiem elementiem */
}

.banner-search form {
    display: flex;
    gap: 6px;
}

.banner-search input[type="text"] {
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.banner-search button {
    padding: 4px 8px;
    border: 1px solid #ccc;
    background: #eee;
    border-radius: 4px;
    cursor: pointer;
}

.cat-dropdown select {
    min-width: 300px;
    height: 38px;
    background-color:#f8f9fa;
    border: 1px solid #999;
    color: #222;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.article-link {
    color: #666;
    margin-left: 4px;
    font-size: 14px;
}

.article-link:hover {
    color: #0d6efd;
}

.article-link i {
    vertical-align: middle;
    font-size: 16px;
    color: #444;
    opacity: 1;
}

.seo-h1 {
    font-size: 1px;       /* vai 0.1rem */
    line-height: 1px;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
        position: absolute;
    left: -9999px;
    top: -9999px;
}

.banner-title {
    font-family: "Trebuchet MS";
    font-size: 1.8em !important;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.3rem 0;
}

.article-title a {
    text-decoration: none;
    color: #000;
}

#archive-block, #latest-block {
    transition: opacity 0.3s ease;
}

.club-article p {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* max 2 rindas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


