/*
Theme Name: Talk News Child
Template: newsmatic
Description: Tema filho para personalizações do Talk News
Author: Talkeando Podcast
Version: 1.0
*/



/****************************************/
/************ Author's page  ************/
/****************************************/


.archive.author .newsmatic-author-section .author-content .author-links a {
	text-decoration: none;
	color: #000000;
	margin-right: 1rem;
}

.archive.author .newsmatic-author-section .author-content .author-links a i {
	font-size: 1.5rem;
	width: auto;
	height: auto;
}



/****************************************/
/************ Front page  ************/
/****************************************/

.sidebars-container {
	padding-left: 12px !important;
	padding-right: 12px !important;
}

.sidebars {
    display: flex; /* Enable Flexbox */
    gap: 20px; /* Space between columns */
    justify-content: space-between; /* Distribute columns evenly */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.sidebars .col {
    flex: 1; /* Each column takes equal space */
    min-width: 250px; /* Minimum width for each column */
}


.row-2-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust gap as needed */
    justify-content: space-between;
}

.row-2-columns .col {
    flex: 1 1 calc(50% - 20px); /* Grow, shrink, basis with gap calculation */
    min-width: 250px; /* Minimum width before stacking */
    max-width: 100%; /* Allow full width on small screens */
    margin-top: 0 !important;
}

/* Optional: Adjustments for smaller screens */
@media (max-width: 600px) {
    .row-2-columns .col {
        flex-basis: 100%; /* Stack columns vertically on small screens */
        max-width: 100%;
    }
}

.row-2-columns .col .news-carousel .slick-dots {
    top: 0px !important;
    right: 42px !important;
}

.row-2-columns .col .news-carousel a.view-all-button {
    top: 0 !important;
    right: 0 !important;
}

#header-menu > li:last-child a ,
h2.newsmatic-block-title.podcast {
	color: #1E3A8A;
}

.podcast.post-thumb-wrap {
	padding-bottom: 100% !important;
}

.layout--three-podcast h2.post-title {
	text-align: center;
	font-size: 1.2rem;
}

/* WIDGET FRONT PAGE */
.widget {
    position: relative;
	margin: 0 0 0;
	border-top: 1.5px solid #000 !important;
}

.widget a.view-all-button {
    top: 15px;
}


.newsmatic-container.newsmatic-author-section {
    padding: 0 12px;
}

.newsmatic_site_block_border_top .bottom-full-width-section .row > div:first-child {
    margin-bottom: 0 !important;
}

.news-carousel a.view-all-button {
    top: 15px !important;
    right: 20px !important;
}

.news-carousel .slick-dots {
    top: 15px !important;
    right: 56px !important;
}


body.post-layout--two #theme-content .pagination {
    width: 100%;
    justify-content: center;
    display: flex;
}



/* Author page */

/* Garante que o layout da row seja flexível */
#theme-content.author-page .newsmatic-container .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Estilo para a sidebar esquerda do autor */
#theme-content.author-page .secondary-left-sidebar {
    flex: 0 0 25%;
    min-width: 250px;
}

/* Estilo para o conteúdo principal */
#theme-content.author-page .primary-content {
    padding: 20px;
    flex: 1 1 70%;
}

/* Estilo para a sidebar direita padrão */
#theme-content.author-page .secondary-sidebar {
    flex: 0 0 25%;
    min-width: 250px;
}

/* Layout para telas menores */
@media (max-width: 768px) {
    #theme-content.author-page .secondary-left-sidebar,
    #theme-content.author-page .primary-content,
    #theme-content.author-page .secondary-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Garante que as sidebars sejam mostradas na página de autor */
body.no-sidebar #theme-content.author-page  .secondary-left-sidebar, 
body.no-sidebar #theme-content.author-page  .secondary-sidebar  {
    display: block !important;
}


body.post-layout--two.no-sidebar #theme-content .primary-content .news-list-wrap article {
    flex: 0 1 50% !important;
    padding: 0 10px;
    margin-bottom: 1.5rem;
}

@media (max-width: 610px) {
    body.post-layout--two.no-sidebar #theme-content .primary-content .news-list-wrap article {
        flex: 0 1 100% !important;
    }
}



/* Podcast Page - Podcasts List */

.post-inner-wrapper.podcast-list {
    display: flex;
    flex-wrap: wrap;
}

.podcast-list article {
    flex: 0 1 25%;
    padding: 0 10px;
    margin-bottom: 1.5rem !important;
}

@media (max-width: 950px) {
    .podcast-list article {
        flex: 0 1 50%;
    }
}

@media (max-width: 610px) {
     .podcast-list article {
        flex: 0 1 100%;
    }
}

/* SINGLE POST */
.single-related-posts-section-wrap {
    margin-top: 1.5rem;
}

.single-post .post .post-thumbnail, 
.single-post .post .entry-content {
    width: 65%;
    margin: 0 auto;
}

@media (max-width: 610px) {
    .single-post .post .post-thumbnail, 
    .single-post .post .entry-content {
        width: 80%;
        margin: 0 auto;
    }
}

/* Compartilhamento Social */
.newsmatic-social-share {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.newsmatic-social-share .share-label {
    margin-right: 15px;
    font-weight: bold;
    font-size: 0.9em;
}

.newsmatic-social-share .social-icons {
    display: flex;
    gap: 10px;
}

.newsmatic-social-share .social-share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.newsmatic-social-share .social-share-link:hover {
    transform: translateY(-3px);
}

.newsmatic-social-share .social-share-link i {
    font-size: 16px;
}

/* Cores específicas para cada rede */
.newsmatic-social-share .fa-facebook-f { background-color: #3b5998; }
.newsmatic-social-share .fa-twitter { background-color: #1da1f2; }
.newsmatic-social-share .fa-linkedin-in { background-color: #0077b5; }
.newsmatic-social-share .fa-whatsapp { background-color: #25d366; }
.newsmatic-social-share .fa-telegram-plane { background-color: #0088cc; }


/* Footer Social Links */
.footer-social-links {
    gap: 10px !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.footer-social-links li {
    font-size: 20px !important;
    padding: 0 !important;
}

.footer-social-links li a {
    display: block !important;
    height: 29px !important;
}


/* Admin social buttons posts */

    #social-buttons {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    #social-buttons button {
        padding: 8px 15px;
        font-size: 14px;
        cursor: pointer;
    }

    .instagram-button { background-color: #E4405F; color: white; border: none; }
    .facebook-button { background-color: #1877F2; color: white; border: none; }
    .x-button { background-color: #000000; color: white; border: none; }
    .pinterest-button { background-color: #E60023; color: white; border: none; }
    .threads-button { background-color: #000000; color: white; border: none; }
    .youtube-button { background-color: #FF0000; color: white; border: none; }

    #social-buttons button:hover {
        opacity: 0.8;
    }

    h2.newsmatic-block-title, h2.newsmatic-widget-title, h2.widget-title {
        padding-bottom: 22px !important;
    }