/* Dropdown Menu Styling */
.dropdown-menu {
    background-color: #18181c;
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 0;
}

.dropdown-item {
    color: #999999;
    padding: 10px 20px;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #1d428a;
    color: #ffffff;
}

.nav-link.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    margin-left: 0.5em;
}

/* Talk Card Styling */
.talk-card {
    background-color: #f0f2f6;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.talk-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.talk-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.talk-thumbnail a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.talk-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.talk-card:hover .talk-thumbnail img {
    transform: scale(1.05);
}

.talk-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.talk-speaker {
    color: #1d428a;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.talk-title {
    color: #18181c;
    font-size: 14px;
    margin-bottom: 10px;
    min-height: 40px;
    flex: 1;
}

.talk-meta {
    font-size: 12px;
    color: #838383;
    margin-bottom: 10px;
}

.talk-meta span {
    margin-right: 10px;
}

.talk-meta i {
    margin-right: 5px;
}

/* Archive section styling */
.section_title .subtitle {
    color: #838383;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Button styling */
.btn-primary-outline {
    background-color: transparent;
    border: 1px solid #1d428a;
    color: #1d428a;
    transition: all 0.3s ease;
}

.btn-primary-outline:hover {
    background-color: #1d428a;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dropdown-menu {
        background-color: #18181c;
        border: none;
        margin-top: 0;
        padding-left: 20px;
    }

    .talk-card {
        margin-bottom: 20px;
    }
}

/* Talk Detail Page Styling */
.talk-detail-page {
    padding: 100px 0 50px;
    min-height: 100vh;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: #838383;
}

.breadcrumb a {
    color: #1d428a;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .active {
    color: #18181c;
    font-weight: 600;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.talk-detail-header h1 {
    font-size: 32px;
    color: #18181c;
    margin-bottom: 10px;
    line-height: 1.3;
}

.talk-detail-speaker {
    font-size: 20px;
    color: #1d428a;
    font-weight: 600;
    margin-bottom: 20px;
}

.talk-detail-speaker i {
    margin-right: 10px;
}

.talk-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f0f2f6;
    border-radius: 4px;
}

.talk-detail-meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #18181c;
}

.talk-detail-meta-item i {
    margin-right: 8px;
    color: #1d428a;
}

.talk-detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: #18181c;
    margin-bottom: 30px;
}

.talk-detail-description h3 {
    font-size: 24px;
    color: #18181c;
    margin-bottom: 20px;
    margin-top: 10px;
}

.talk-detail-description p {
    margin-bottom: 15px;
}

.talk-detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.talk-detail-links .btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
}

.talk-detail-links .btn i {
    margin-right: 8px;
}

.btn-secondary {
    background-color: #838383;
    color: #ffffff;
    border: none;
}

.btn-secondary:hover {
    background-color: #666666;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #1d428a;
    color: #1d428a;
}

.btn-outline:hover {
    background-color: #1d428a;
    color: #ffffff;
}

@media (max-width: 768px) {
    .talk-detail-header h1 {
        font-size: 24px;
    }

    .talk-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .talk-detail-links {
        flex-direction: column;
    }

    .talk-detail-links .btn {
        width: 100%;
        text-align: center;
    }
}
/* Podcast Section Styles */
.podcast-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-width: 400px; /* Ensures Ausha player displays correctly */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.podcast-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.podcast-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.podcast-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: #666;
}

.podcast-meta i {
    margin-right: 4px;
    color: #999;
}

.podcast-guest {
    font-weight: 600;
    color: #555;
}

.podcast-date,
.podcast-duration {
    color: #777;
}

.podcast-player {
    margin-bottom: 16px;
    border-radius: 4px;
    overflow: hidden;
}

.podcast-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.podcast-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
}

.podcast-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .podcast-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .podcast-meta {
        flex-direction: column;
        gap: 8px;
    }

    .podcast-title {
        font-size: 1.1rem;
    }
}
