/*
 * Página de podcasts: grid em cards, toolbar com busca alinhada ao conteúdo (1185px).
 */

.podcasts-page {
    max-width: 1185px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 16px 48px;
    box-sizing: border-box;
}

.podcasts-page .page-title {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Barra: resultados + busca na mesma linha, alinhados verticalmente */
.podcasts-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.podcasts-toolbar__results {
    flex: 1 1 240px;
    margin: 0;
}

.podcasts-toolbar__results .text-label {
    margin: 0;
    font-size: 14px;
    color: #636363;
    line-height: 1.4;
}

.podcasts-toolbar__search {
    flex: 0 1 360px;
    max-width: 100%;
}

.podcasts-toolbar__search .form-horizontal {
    margin: 0;
}

.podcasts-search-wrap {
    position: relative;
    display: block;
}

.podcasts-search-wrap .podcasts-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #eb8602;
    font-size: 15px;
    pointer-events: none;
    opacity: 0.85;
}

.podcasts-toolbar__search .form-control {
    height: 44px;
    padding: 8px 16px 8px 42px;
    font-size: 15px;
    font-weight: 400;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.podcasts-toolbar__search .form-control:focus {
    border-color: #eb8602;
    outline: none;
    box-shadow: 0 0 0 3px rgba(35, 68, 137, 0.15);
}

/* Grid 3 colunas */
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 991px) {
    .podcasts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .podcasts-grid {
        grid-template-columns: 1fr;
    }

    .podcasts-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    /* Em column o flex-basis vira altura: reseta para o conteudo nao ficar gigante. */
    .podcasts-toolbar__results,
    .podcasts-toolbar__search {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

/* Card */
.podcast-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.podcast-card:hover {
    box-shadow: 0 10px 28px rgba(35, 68, 137, 0.12);
    border-color: rgba(35, 68, 137, 0.35);
}

.podcast-card__body {
    padding: 18px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.podcast-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #383838;
}

.podcast-card__title a {
    color: inherit;
}

.podcast-card__title a:hover {
    color: #eb8602;
}

.podcast-card__embed {
    width: 100%;
    min-height: 120px;
}

.podcast-card__embed iframe,
.podcast-card__embed .video-iframe {
    width: 100% !important;
    max-width: 100%;
    display: block;
    border: 0;
    border-radius: 6px;
}

/* Paginação */
.podcasts-pagination {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}

.podcasts-pagination .pagination {
    margin: 0;
}

.podcasts-pagination .pagination > li > a {
    color: #eb8602;
    border-color: #ddd;
}

.podcasts-pagination .pagination > .active > a,
.podcasts-pagination .pagination > .active > a:focus,
.podcasts-pagination .pagination > .active > a:hover {
    background-color: #eb8602;
    border-color: #eb8602;
}

/* Estado vazio */
.podcasts-empty {
    text-align: center;
    padding: 48px 16px;
    font-size: 18px;
    color: #666;
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 10px;
    margin: 0;
}

.podcasts-empty--full {
    grid-column: 1 / -1;
}

/* Breadcrumb alinhado à largura do conteúdo */
.k-breadcrumbs .width-padrao {
    padding-left: 16px;
    padding-right: 16px;
}
