/*
Theme Name:     ZW Conference Kadence Child Theme
Theme URI:      n/a
Template:       kadence
Author:         LaughterOnWater
Author URI:     https://low.li
Description:    This is a child theme of Kadence for ZWConference.org
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
.nav-previous, .nav-next {
    display: none;
}

.site-branding a.brand img {
    max-width: 100%;
    width: auto;
    height: auto;
}

@media (min-width: 1024px) {
    .site-branding a.brand img {
        max-width: 1120px;
    }
}

@media screen and (min-width: 1025px) {
    .has-sidebar .content-container {
        grid-gap: 0;
    }
}

.entry-meta {
    display: none;
}

.wpcs_session {
    padding: 1em 1.5em 1em 1.5em;
}

main#main.site-main {
    background-color: white;
}

#block-14, #block-15 {
    margin-bottom: .1em;
}

#block-14 p, #block-15 p {
    margin-bottom: 0;
}

#block-9 {
    margin-bottom: 1em;
}

.wpsc-single-session-speakers {
    display: none;
}

.glance-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.glance-table th, .glance-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.glance-table th {
    background-color: #f2f2f2;
    text-align: left;
}

.glance-table col:first-child,
.glance-table col:last-child {
    width: 90px;
}

.glance-table tr:nth-child(odd) {
    background-color: #EEF5F9;
}

.glance-table tr:nth-child(even) {
    background-color: #F9F9F9;
}


.glance-table a {
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
}

.glance-table a:hover {
    text-decoration: underline;
}

/* Reset all table cells to left alignment first */
.glance-table td {
    text-align: left;
}

/* Time column to right */
.glance-table td:first-child {
    text-align: left;
}

/* Only center cells that actually contain "Track A", "Track B", "Track C", or "Main Track" */
.glance-table td:last-child {
    text-align: center;
}

/* Force middle column content to stay left when it's actually the last visible cell due to rowspan */
.glance-table td:nth-child(2):last-child {
    text-align: left;
}

.zwc-white-link a:link,
.zwc-white-link a:visited,
.zwc-white-link a:active,
.zwc-white-link a:hover,
.zwc-white-link a:focus {
    color: white;
}

.kb-row-layout-id920_b1826c-6c>.kt-row-column-wrap {
    margin-bottom: -34px;
}


/* Constrain and style featured images on speaker/sponsor posts */
body.category-speaker .post-thumbnail.article-post-thumbnail,
body.category-sponsor .post-thumbnail.article-post-thumbnail {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
}

/* Ensure the inner container also has white background */
body.category-speaker .post-thumbnail-inner,
body.category-sponsor .post-thumbnail-inner {
    background-color: white;
}

/* Target the actual image element with high specificity */
body.category-speaker .post-thumbnail.article-post-thumbnail .post-thumbnail-inner img.post-top-featured,
body.category-sponsor .post-thumbnail.article-post-thumbnail .post-thumbnail-inner img.post-top-featured {
    max-width: 500px;
    width: 500px;
    height: 500px;
    object-fit: cover;
}

/* Also target the wp-post-image class for additional specificity */
body.category-speaker .post-thumbnail.article-post-thumbnail img.wp-post-image,
body.category-sponsor .post-thumbnail.article-post-thumbnail img.wp-post-image {
    max-width: 500px;
    width: 500px;
    height: 500px;
    object-fit: cover;
}

/* Speaker Styles - Archive & Single */
.zwconf_speaker-item,
.zwconf_speaker-single {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #ddd;
}

.zwconf_speaker-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.zwconf_speaker-photo {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.zwconf_speaker-name {
    text-align: center;
    margin-bottom: 1rem;
}

.zwconf_speaker-content {
    margin-bottom: 1.5rem;
}

.zwconf_speaker-meta div {
    margin-bottom: 0.5rem;
}

/* Sponsor Styles - Archive & Single */
.zwconf_sponsor-item,
.zwconf_sponsor-single {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #ddd;
}

.zwconf_sponsor-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.zwconf_sponsor-logo {
    max-width: 500px;
    height: auto;
    border-radius: 4px;
}

.zwconf_sponsor-name {
    text-align: center;
    margin-bottom: 1rem;
}

.zwconf_sponsor-content {
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 600px) {

    .zwconf_speaker-photo,
    .zwconf_sponsor-logo {
        max-width: 100%;
        height: auto;
    }
}