/* Single Seminar Page Styles */

.single-seminar {
    background: #f9fafb;
    padding: 2rem 0 4rem;
}

.single-seminar .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Back Link */
.seminar-back-link {
    margin-bottom: 24px;
}

.seminar-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7b89;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.seminar-back-link a:hover {
    color: #154D8C;
    transform: translateX(-2px);
}

.seminar-back-link svg {
    width: 16px;
    height: 16px;
}

/* Layout */
.single-seminar-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

/* Main Content */
.seminar-main-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Header */
.seminar-header {
    padding-bottom: 32px;
}

.seminar-badges-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.status-badge.status-upcoming {
    background: #154D8C;
    color: #fff;
}

.status-badge.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.seminar-category-badge {
    background: #eff6ff;
    color: #154D8C;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.seminar-format-badge {
    background: #f3f4f6;
    color: #6b7b89;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e9f0;
}

.seminar-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.seminar-excerpt {
    color: #6b7b89;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Event Details Grid */
.seminar-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.detail-item svg {
    color: #6b7b89;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 12px;
    color: #6b7b89;
    font-weight: 500;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 15px;
    color: #111827;
    font-weight: 600;
}


.speaker-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
}

.speaker-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-avatar svg {
    width: 64px;
    height: 64px;
}

.speaker-info {
    flex: 1;
}

.speaker-label {
    font-size: 12px;
    color: #6b7b89;
    font-weight: 500;
    margin-bottom: 4px;
}

.speaker-name {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.speaker-title {
    font-size: 14px;
    color: #6b7b89;
    margin-bottom: 8px;
}

.speaker-description {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 12px;
}

.speaker-expertise {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.expertise-badge {
    display: inline-flex;
    padding: 5px 12px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

/* Speaker Biographies Section */
.speaker-biographies {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bio-section-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e9f0;
}

.bio-main-speakers-section,
.bio-co-speakers-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Main Speaker Bio Card (Larger) */
.bio-main-speaker {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: #ffffff;
    border: 2px solid #154D8C;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(21, 77, 140, 0.08);
}

.bio-main-speaker .bio-speaker-avatar {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #154D8C;
}

.bio-main-speaker .bio-speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-main-speaker .bio-speaker-avatar svg {
    width: 120px;
    height: 120px;
}

.bio-main-speaker .bio-speaker-label {
    display: inline-block;
    background: #154D8C;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.bio-main-speaker .bio-speaker-name {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.bio-main-speaker .bio-speaker-position {
    font-size: 16px;
    color: #154D8C;
    font-weight: 600;
    margin-bottom: 12px;
}

.bio-main-speaker .bio-speaker-description {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

.bio-main-speaker .bio-speaker-expertise {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Co-Speakers Grid (Smaller cards) */
.bio-co-speakers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.bio-co-speaker {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.bio-co-speaker:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.bio-co-speaker .bio-speaker-avatar {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e5e9f0;
}

.bio-co-speaker .bio-speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-co-speaker .bio-speaker-avatar svg {
    width: 70px;
    height: 70px;
}

.bio-co-speaker .bio-speaker-label {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7b89;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bio-co-speaker .bio-speaker-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.bio-co-speaker .bio-speaker-position {
    font-size: 14px;
    color: #6b7b89;
    margin-bottom: 10px;
}

.bio-co-speaker .bio-speaker-description {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 12px;
}

.bio-co-speaker .bio-speaker-expertise {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.bio-speaker-info {
    flex: 1;
}

/* Co-Speakers Grid */
.co-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.co-speaker-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
}

.co-speaker-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.co-speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.co-speaker-avatar svg {
    width: 50px;
    height: 50px;
}

.co-speaker-info {
    flex: 1;
}

.co-speaker-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.co-speaker-position {
    font-size: 13px;
    color: #6b7b89;
    margin-bottom: 8px;
}

.co-speaker-description {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 10px;
}

.co-speaker-expertise {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Sections */
.seminar-section {
    padding: 32px 0;
    border-bottom: 1px solid #e5e9f0;
}

.seminar-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
}

.section-content {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Who Should Attend */
.who-attend-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attend-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.attend-item svg {
    flex-shrink: 0;
    margin-top: 0.25em;
}

.attend-item span {
    color: #374151;
    font-size: 15px;
}

/* Learning Objectives */
.learning-objectives-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.objective-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.objective-item svg {
    flex-shrink: 0;
    margin-top: 0.25em;
}

.objective-item span {
    color: #374151;
    font-size: 15px;
}

/* Topics Covered */
.topics-covered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.topic-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.topic-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.25em;
}

.topic-item span {
    color: #374151;
    font-size: 14px;
}

/* Key Takeaways */
.key-takeaways-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.takeaway-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-left: 20px;
    position: relative;
}

.takeaway-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #154D8C;
    font-size: 18px;
    font-weight: 700;
}

.takeaway-item span {
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

/* Agenda Timeline */
.agenda-timeline {
    position: relative;
    padding-left: 0;
}

.agenda-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px 0;
    border-left: 3px solid #154D8C;
    padding-left: 20px;
}

.agenda-item:first-child {
    padding-top: 0;
}

.agenda-item:last-child {
    padding-bottom: 0;
}

.agenda-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 24px;
    width: 11px;
    height: 11px;
    background: #154D8C;
    border-radius: 50%;
}

.agenda-time {
    font-size: 14px;
    font-weight: 600;
    color: #154D8C;
    padding-top: 2px;
}

.agenda-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.agenda-description {
    font-size: 14px;
    color: #6b7b89;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.agenda-speaker {
    font-size: 14px;
    color: #6b7b89;
    margin: 0;
}

/* Co-speakers List */
.co-speakers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.co-speaker-tag {
    display: inline-flex;
    padding: 8px 16px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Sidebar */
.seminar-sidebar {
    position: sticky;
    top: 20px;
}

.registration-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e9f0;
}

.pricing-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.spots-remaining {
    font-size: 14px;
    color: #6b7b89;
    margin: 0 0 20px 0;
}

.btn-register-main {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #154D8C;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.btn-register-main:hover {
    background: #0f3a6b;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 77, 140, 0.3);
}

.event-completed {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #f3f4f6;
    color: #6b7b89;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
}

.registration-closes {
    font-size: 13px;
    color: #6b7b89;
    text-align: center;
    margin: 0 0 24px 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e9f0;
}

/* Sidebar Info List */
.sidebar-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-item svg {
    color: #6b7b89;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item-label {
    font-size: 12px;
    color: #6b7b89;
    font-weight: 500;
    margin-bottom: 4px;
    text-align: left;
}

.info-item-value {
    font-size: 14px;
    color: #111827;
    text-align: left;
    font-weight: 600;
}

.venue-address {
    font-size: 13px;
    color: #6b7b89;
    margin-top: 4px;
    text-align: left;
}

/* Contact */
.sidebar-contact {
    padding-top: 24px;
    border-top: 1px solid #e5e9f0;
}

.contact-label {
    font-size: 13px;
    color: #6b7b89;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.contact-email {
    font-size: 14px;
    color: #154D8C;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.contact-phone {
    font-size: 14px;
    color: #374151;
    margin: 0;
}

/* Sidebar Who Should Attend */
.sidebar-who-attend {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #DFE6EB;
    margin-top: 20px;
}

.sidebar-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
}

.sidebar-who-attend .who-attend-list {
    gap: 10px;
}

.sidebar-who-attend .attend-item {
    gap: 10px;
}

.sidebar-who-attend .attend-item svg {
    width: 16px;
    height: 16px;
}

.sidebar-who-attend .attend-item span {
    font-size: 14px;
    color: #374151;
}

/* Responsive */
@media (max-width: 900px) {
    .single-seminar-layout {
        grid-template-columns: 1fr;
    }

    .seminar-sidebar {
        position: static;
    }

    .seminar-main-content {
        padding: 28px;
    }

    .seminar-details-grid {
        grid-template-columns: 1fr;
    }

    .seminar-title {
        font-size: 26px;
    }

    .topics-covered-grid {
        grid-template-columns: 1fr;
    }
    
    .co-speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .bio-co-speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .bio-main-speaker {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .single-seminar {
        padding: 1.5rem 0 3rem;
    }

    .seminar-main-content {
        padding: 20px;
    }

    .registration-box {
        padding: 20px;
    }

    .seminar-title {
        font-size: 22px;
    }

    .section-title {
        font-size: 20px;
    }

    .speaker-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .co-speaker-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .bio-main-speaker {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 20px;
    }
    
    .bio-main-speaker .bio-speaker-avatar {
        width: 100px;
        height: 100px;
    }
    
    .bio-main-speaker .bio-speaker-name {
        font-size: 20px;
    }
    
    .bio-co-speaker {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Downloadable Materials */
.downloadable-materials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.material-item:hover {
    background: #f0f2f5;
    transform: translateY(-1px);
}

.material-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
}

.material-icon svg {
    width: 24px;
    height: 24px;
}

.material-info {
    flex: 1;
}

.material-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.material-meta {
    font-size: 14px;
    color: #6b7b89;
}

.material-download {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    color: #6b7b89;
    transition: all 0.2s ease;
    text-decoration: none;
}

.material-download:hover {
    background: #154D8C;
    color: #fff;
}

.material-download svg {
    width: 20px;
    height: 20px;
}

/* Venue Information Sidebar */
.sidebar-venue-information {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    margin-top: 24px;
}

.venue-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.venue-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
}

.venue-address {
    font-size: 14px;
    color: #6b7b89;
    line-height: 1.6;
}

.venue-room {
    font-size: 14px;
    color: #6b7b89;
    line-height: 1.6;
}

.venue-facilities {
    margin-top: 8px;
}

.facilities-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.facilities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.facility-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f2f5;
    border-radius: 6px;
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
}

.btn-view-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.btn-view-map:hover {
    background: #f9fafb;
    border-color: #154D8C;
    color: #154D8C;
}

.btn-view-map svg {
    width: 16px;
    height: 16px;
}

/* Related Seminars Sidebar */
.sidebar-related-seminars {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.related-seminars-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.related-seminar-item {
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.related-seminar-item:hover {
    background: #f0f2f5;
}

.related-seminar-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    text-decoration: none;
    margin-bottom: 8px;
}

.related-seminar-title:hover {
    color: #154D8C;
}

.related-seminar-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7b89;
}

.related-seminar-date svg {
    width: 14px;
    height: 14px;
    color: #9ca3af;
}

.btn-view-all-seminars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-view-all-seminars:hover {
    background: #154D8C;
    border-color: #154D8C;
    color: #fff;
}

.btn-view-all-seminars svg {
    width: 16px;
    height: 16px;
}
