/**
 * Speakers Listing Styles
 * 
 * @package AISBKnowledgeNetworks
 * @since 1.0.0
 */

/* Main Container */
.aisb-speakers-listing {
    padding: 60px 80px 80px 80px;
}

/* Filters Section - Updated to match image design */
.speakers-filters {
    background: #2a528d; /* Dark blue background */
    padding: 30px 20px;
    border-radius: 12px;
    margin-bottom: 80px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 0; /* Remove gap for seamless vertical lines */
    flex-wrap: nowrap;
}

.filter-field {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    padding: 0 20px;
}

/* Add vertical separators between filter items */
.filter-field:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.filter-field:nth-child(5)::after {
    content: '';
    display: none;
}

/* Hide labels completely */
.filter-field label {
    display: none;
}

.filter-field input[type="text"], 
.filter-field select {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    transition: all 0.3s ease;
    background: transparent;
    color: white;
    width: 100%;
    height: 60px;
    opacity: 0.5;
    font-weight: 400;
}

/* Placeholder text styling */
.filter-field input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

/* Select dropdown styling */
.filter-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 25px;
    cursor: pointer;
}

/* Dropdown options styling */
.filter-field select option {
    background: #2a528d;
    color: white;
    padding: 10px;
    font-size: 20px;
    font-weight: 400;
}

.filter-field select option:hover,
.filter-field select option:checked {
    background: #1a365d;
    color: white;
}

/* Search icon for name field */
.filter-field input[name="speaker_name"] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255, 255, 255, 0.8)'%3e%3cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 8px center;
    background-size: 24px;
    padding-left: 45px;
    background-color: transparent;
}

/* Focus states */
.filter-field input[type="text"]:focus,
.filter-field select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Submit button styling */
.filter-submit {
    flex: 0 0 auto;
    margin-left: 15px;
}

.filter-submit .submit-btn {
    background: white;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-size: 24px;
    line-height: 29px;
    color: #000000;
    font-weight: 400;
    text-align: center;
}

.filter-submit .submit-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

p.speaker-tier-label {
    font-size: 40px;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #2a528d;
    font-weight: 200;
    text-align: center;
}

.featured-speakers-section h2.section-title, 
.regular-speakers-section h2.section-title {
    font-size: 63px;
    color: #2a548c;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
}

.featured-speakers-section p.section-subtitle, 
.regular-speakers-section p.section-subtitle {
    font-size: 25px;
    letter-spacing: -1px;
    line-height: 32px;
    color: #2e2b2b;
    font-weight: 300;
    text-align: center;
    margin-bottom: 40px;
}

/* Featured Speaker Slider Specific Styling */
.featured-speakers-section .speaker-card, 
.regular-speakers-section .speaker-card {
    padding: 0 25px;
}

.featured-speakers-section .speaker-card-inner, 
.regular-speakers-section .speaker-card-inner {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-speakers-section .speaker-image, 
.regular-speakers-section .speaker-image {
    position: relative;
    height: auto;
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
}

.featured-speakers-section .speaker-photo, 
.regular-speakers-section .speaker-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-speakers-section .speaker-info, 
.regular-speakers-section .speaker-info {
    padding: 30px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-speakers-section .speaker-name-wrapper,
.regular-speakers-section .speaker-name-wrapper {
    margin-bottom: 15px;
}

.featured-speakers-section .speaker-name,
.regular-speakers-section .speaker-name {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 26px;
    line-height: 31px;
    color: #2a548c;
    font-weight: 600;
}

.featured-speakers-section .featured-badge,
.regular-speakers-section .verified-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.featured-speakers-section .golden-badge,
.regular-speakers-section .verified-badge {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.featured-speakers-section .speaker-designation,
.regular-speakers-section .speaker-designation {
    margin-bottom: 20px;
    font-size: 20px;
    letter-spacing: -1px;
    line-height: 26px;
    color: #2a548c;
    font-weight: 300;
}

.featured-speakers-section .speaker-expertise,
.regular-speakers-section .speaker-expertise {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 22px;
    color: #2a548c;
    font-weight: 400;
}

.featured-speakers-section .expertise-tag,
.regular-speakers-section .expertise-tag {
    display: inline-block;
    background: #e4e2dd;
    padding: 8px 16px;
    border-radius: 10px;
    margin-right: 5px;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 22px;
    color: #2a548c;
    font-weight: 400;
    text-align: center;
}

.featured-speakers-section .speaker-region, 
.featured-speakers-section .speaker-format,
.regular-speakers-section .speaker-region,
.regular-speakers-section .speaker-format {
    margin-bottom: 12px;
    font-size: 18px;
    letter-spacing: -1px;
    line-height: 23px;
    color: #2e2b2b; 
    font-weight: 400;
}

.featured-speakers-section .region-label,
.featured-speakers-section .format-label,
.regular-speakers-section .region-label,
.regular-speakers-section .format-label {
    font-weight: 400;
    color: #2a528d;
}

.featured-speakers-section .speaker-list-actions,
.regular-speakers-section .speaker-list-actions {
    margin-top: auto;
    padding-top: 25px;
}

.featured-speakers-section .view-profile-btn,
.regular-speakers-section .view-profile-btn {
    display: inline-block;
    background: #2a528d;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 24px;
    line-height: 29px;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
}

.featured-speakers-section .view-profile-btn:hover,
.regular-speakers-section .view-profile-btn:hover {
    background: #1a365d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 84, 140, 0.3);
}

/* Featured Speakers Slider Customization */
.featured-speakers-slider .slick-prev,
.featured-speakers-slider .slick-next,
.regular-speakers-slider .slick-prev,
.regular-speakers-slider .slick-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.featured-speakers-slider .slick-prev:hover,
.featured-speakers-slider .slick-next:hover,
.regular-speakers-slider .slick-prev:hover,
.regular-speakers-slider .slick-next:hover {
    background: #ffc107;
}

.featured-speakers-slider .slick-prev:before,
.featured-speakers-slider .slick-next:before,
.regular-speakers-slider .slick-prev:before,
.regular-speakers-slider .slick-next:before {
    font-family: 'dashicons';
    font-size: 24px;
    color: #2a548c;
}

.featured-speakers-slider .slick-prev:hover:before,
.featured-speakers-slider .slick-next:hover:before,
.regular-speakers-slider .slick-prev:hover:before,
.regular-speakers-slider .slick-next:hover:before {
    color: white;
}

.featured-speakers-slider .slick-prev,
.regular-speakers-section .slick-prev {
    left: -35px;
}

.featured-speakers-slider .slick-next,
.regular-speakers-section .slick-next {
    right: -35px;
}

.regular-speakers-section {
    background-color: #f4f1ea;
    padding: 80px 80px 50px;
    margin: 0 -80px;
}

.no-speakers {
    font-size: 25px;
    letter-spacing: -1px;
    line-height: 32px;
    color: #2e2b2b;
    font-weight: 300;
    text-align: center;
    margin-bottom: 40px;
}

.slick-next:before, .slick-prev:before {
    line-height: 0.5 !important;
}