/*
Theme Name: PokaTheme Child odds
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
*/
.review-box{
    width: 100% !important;
    padding: 0 !important;
}
.review-box-wrap{
    background: transparent !important;
}
.odds-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #0b1020;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

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

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

.odds-team-item,
.odds-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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.odds-team-songs .post-element .post-element-text h3,
body.tax-odds_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-odds_team_tax .posts-archives-wrapper .row.row--hcenter.gap-30.gap-md-20 > .col-12 {
    width: 100%;
}

.odds-block-title-affiliates{
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}
.odds-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-odds_team_tax .posts-archives-wrapper .row > [class*="col-"],
body.post-type-archive-odds_team .posts-archives-wrapper .row > [class*="col-"] {
    display: flex;
}

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

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

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

.single-odds_team .odds-team-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-odds_team .odds-team-logo img {
    width: 100px;
    max-width: 100px;
    height: auto;
}

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

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

/* Song submission page */
.song-submission-page .group-song-submission {
    padding-top: 30px;
    padding-bottom: 60px;
}

.song-submission-page .song-submission-form {
    max-width: 640px;
    margin: 0 auto 30px auto;
}

.song-submission-page .wpcf7-form p {
    margin-bottom: 15px;
}

.song-submission-page .wpcf7-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.song-submission-page .wpcf7-form .wpcf7-form-control {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.song-submission-page .wpcf7-text,
.song-submission-page .wpcf7-email,
.song-submission-page .wpcf7-select,
.song-submission-page .wpcf7-textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.song-submission-page .wpcf7-textarea {
    min-height: 160px;
}

/* Team / Club select UI */
.song-submission-page #song-team-ui {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    margin-bottom: 5px;
}

.song-submission-page .wpcf7-submit {
    display: inline-block;
    border-radius: 4px;
    padding: 10px 24px;
    border: none;
    cursor: pointer;
    background-color: #f85b5b;
    color: #fff;
    font-weight: 600;
}

.song-submission-page .wpcf7-submit:hover {
    opacity: 0.9;
}

.song-submission-page .wpcf7-response-output {
    margin-top: 15px;
}

/* Odds: local author box (mirrors AIOSEO compact layout) */
.odds-local-author-box {
    /* margin: 40px auto 0;
    max-width: 860px;
    padding: 0 15px; */
}

.odds-local-author-bio {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    border-color: #0b1020;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.odds-author-bio-left {
    flex: 0 0 auto;
}

.odds-author-bio-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.odds-author-bio-right {
    flex: 1 1 auto;
}

.odds-author-bio-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.odds-author-bio-header .author-name {
    font-weight: 600;
}

.odds-author-bio-header .author-job-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

.odds-author-bio-main {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.odds-author-bio-main p {
    margin-bottom: 0.5rem;
}

.odds-author-bio-main p:last-child {
    margin-bottom: 0;
}

.author-bio-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.author-bio-link a {
    text-decoration: underline;
}

.odds-author-bio-footer {
    margin-top: 8px;
}

/* Header menu: show submenus on hover on desktop */
@media (min-width: 992px) {
    /* Ensure submenus are positioned correctly and hidden by default */
    .header-menu-wrapper .menu-item-has-children {
        position: relative;
    }

    .header-menu-wrapper .menu-item-has-children > .sub-menu {
        position: absolute;
        left: 0;
        top: 100%;
        min-width: 200px;
        display: none;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }

    .header-menu-wrapper .menu-item-has-children:hover > .sub-menu,
    .header-menu-wrapper .menu-item-has-children:focus-within > .sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}
