/*
Theme Name: PokaTheme Child Fanchants
Template: pokatheme
Theme URI: https://pokatheme.com
Description: Premium Affiliate WordPress Theme
Author: PokaTheme
Author URI: https://pokatheme.com
Version: 1.0.0
License: Licensed theme
Tags: black, blue, white, two-columns
Text Domain:  poka
*/

/*
    Add your custom styles here
*/

.fanchants-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #0b1020;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.fanchants-block__title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.fanchants-teams-list,
.fanchants-popular-chants {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fanchants-team-item,
.fanchants-popular-chant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.fanchants-team-item:last-child,
.fanchants-popular-chant-item:last-child {
    border-bottom: none;
}

.fanchants-team-count,
.fanchants-chant-team {
    font-size: 0.85rem;
    opacity: 0.75;
}

.fanchants-team-item a,
.fanchants-popular-chant-item a {
    color: inherit;
    text-decoration: none;
}

.fanchants-team-item a:hover,
.fanchants-popular-chant-item a:hover {
    text-decoration: underline;
}

.fanchants-block__footer {
    margin-top: 0.75rem;
    text-align: right;
}

.fanchants-block__see-all {
    font-size: 0.9rem;
    color: inherit;
    text-decoration: underline;
    opacity: 0.85;
}

/* Team single: songs list */
.fanchants-team-songs {
    margin-top: 2rem;
}

.fanchants-team-songs h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.fanchants-team-songs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fanchants-team-song-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fanchants-team-song-item:last-child {
    border-bottom: none;
}

.fanchants-team-song-item a {
    text-decoration: none;
}

.fanchants-team-song-item a:hover {
    text-decoration: underline;
}

.fanchants-team-songs-pagination {
    margin-top: 1.5rem;
    text-align: center;
}

.fanchants-team-songs-pagination ul.page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fanchants-team-songs-pagination li {
    display: inline-block;
    margin: 0 0.25rem;
}

.fanchants-team-songs-pagination a,
.fanchants-team-songs-pagination span {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    border-radius: 3px;
}

.fanchants-team-songs-pagination .current {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Team single: equal-height song cards and two-line excerpts */
.fanchants-team-songs .post-element--s1 {
    height: 100%;
}

.fanchants-team-songs .post-element-inner-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fanchants-team-songs .post-element-text {
    flex-grow: 1;
}

.fanchants-team-songs .post-element-big-p,
body.tax-fanchants_team_tax .post-element-big-p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
}

.fanchants-team-songs .post-element .post-element-text h3,
body.tax-fanchants_team_tax .post-element .post-element-text h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

.box-shadow {
    -webkit-box-shadow: 0 16px 29px rgba(29, 39, 48, 0.1);
    box-shadow: 0 16px 29px rgba(29, 39, 48, 0.1);
}

/* Team taxonomy archive: show 3 cards per row on desktop, 1 on mobile */
body.tax-fanchants_team_tax .posts-archives-wrapper .row.row--hcenter.gap-30.gap-md-20 > .col-12 {
    width: 100%;
}

.fanchants-block-title-affiliates{
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}
.fanchants-block-title-affiliates h1 {
    margin: 0 0 0.5rem;
    font-size: var(--h2-font-size);
    font-weight: 700;
    color: #f85b5b !important;
}

/* Hide author meta (avatar + name) coming from main site on this child theme */
.post-element-info .post-element-author {
    display: none !important;
}

/* Also hide the separator that immediately follows the author block */
.post-element-info .post-element-author + .dot-separator {
    display: none !important;
}
.post-element-team{
    margin-bottom: 1rem;
}
.post-element h3, .wysiwyg-part .post-element h3{
    height: 50px;
    overflow: hidden;
}


/* Equal-height team cards on team taxonomy & team archive listings */
body.tax-fanchants_team_tax .posts-archives-wrapper .row > [class*="col-"],
body.post-type-archive-fanchants_team .posts-archives-wrapper .row > [class*="col-"] {
    display: flex;
}

body.tax-fanchants_team_tax .posts-archives-wrapper .post-element,
body.post-type-archive-fanchants_team .posts-archives-wrapper .post-element {
    width: 100%;
}

body.tax-fanchants_team_tax .posts-archives-wrapper .post-element-inner-wrapper,
body.post-type-archive-fanchants_team .posts-archives-wrapper .post-element-inner-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.tax-fanchants_team_tax .posts-archives-wrapper .post-element-text,
body.post-type-archive-fanchants_team .posts-archives-wrapper .post-element-text {
    flex-grow: 1;
}
.post-type-archive-fanchants_team .link-on-img, .post-type-archive-fanchants_team .wp-post-image{
    height: 100px !important;
    min-height: 100px !important;
}
.post-type-archive-fanchants_team .post-element-inner-wrapper{
    padding: 0.8rem;
}
.post-type-archive-fanchants_team .post-element-text{
    flex-grow: 0 !important;
}

@media (min-width: 768px) {
    body.tax-fanchants_team_tax .posts-archives-wrapper .row.row--hcenter.gap-30.gap-md-20 > .col-12 {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    body.tax-fanchants_team_tax .posts-archives-wrapper .row.row--hcenter.gap-30.gap-md-20 > .col-12 {
        width: 33.3333%;
    }
}
