/**
 * Page - Search
 */

.container-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.block-search {
    margin: 40px 0;
}

.block-search .avenue-section__title {
    margin-bottom: 40px;
}

.block-search .avenue-grid--small figure .avenue-grid--image {
    background-color: #002820;
    border-radius: 4px;
    display: block;
}

@media (max-width: 767px) {
    .block-search {
        margin: 0;
        padding: 32px 0;
    }

    .block-search .avenue-section__title {
        padding: 0 24px;
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 32px;
    }
}


/**
 * Page - Author
 */

 .page-author .block-header-author .block-header-author__content {
    width: 580px;
 }


 /**
  * Page - Videos
  */
.page-videos .avenue-section__title {
    margin: 64px 0;
}

.page-videos .avenue-grid--image {
    background-color: #002820;
    display: block;
    width: 270px;
    height: 160px;
}

.page-videos .container-button,
.page-podcast .container-button {
    margin-bottom: 64px;
}
/**
 * Page - Podcast
 */
.page-podcast .avenue-section__title {
    margin: 64px 0;
}

/**
 * Page - Categories / Tag
 */
.page-template {
    padding: 0 0 64px 0;
}
.page-template .page-category-heading {
    margin-bottom: 40px;
}

/**
 * Single webstories
 */

.single-webstories {
    width: 100%;
    display: flex;
    justify-content: center;
}
.single-webstories .web-story-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/**
* Page - bom dia USA
*/
.bom-dia-usa-template .page-category-heading {
    max-width: 100%;
}

.bom-dia-usa-template .button-load-more {
    padding: 16px 50px;
}

.avenue-sticky-post {
    border-top: 1px solid #CBD4D8;
    border-bottom: 1px solid #CBD4D8;
    display: flex;
    padding: 80px 0;
    gap: 24px;
}

.avenue-sticky-post figure {
    position: relative;
    filter: brightness(95%);
    will-change: transform;
    transition: filter .3s ease-in;
}

.avenue-sticky-post figure img {
    border-radius: 4px;
}

.avenue-sticky-post figure figcaption {
    position: absolute;
}

.avenue-sticky-post figure figcaption.top-left {
    top: 1rem;
    left: 1rem;
    text-transform: uppercase;
    border: 1px solid #CBD4D8;
    padding: 10px 8px 10px 28px;
    font-size: 10px;
    color: #FAF6F2;
    backdrop-filter: blur(6px);
    background-color: #00000066;
    border-radius: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6666 1.83337V4.50004' stroke='%23CBD4D8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.33333 1.83337V4.50004' stroke='%23CBD4D8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 6.49996H14' stroke='%23CBD4D8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.6667 3.16663H3.33333C2.59667 3.16663 2 3.76329 2 4.49996V13.1666C2 13.9033 2.59667 14.5 3.33333 14.5H12.6667C13.4033 14.5 14 13.9033 14 13.1666V4.49996C14 3.76329 13.4033 3.16663 12.6667 3.16663Z' stroke='%23CBD4D8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.67544 8.986C4.58344 8.986 4.50878 9.06067 4.50944 9.15267C4.50944 9.24467 4.58411 9.31934 4.67611 9.31934C4.76811 9.31934 4.84278 9.24467 4.84278 9.15267C4.84278 9.06067 4.76811 8.986 4.67544 8.986' stroke='%23CBD4D8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.00869 8.986C7.91669 8.986 7.84203 9.06067 7.84269 9.15267C7.84269 9.24467 7.91736 9.31934 8.00936 9.31934C8.10136 9.31934 8.17603 9.24467 8.17603 9.15267C8.17603 9.06067 8.10136 8.986 8.00869 8.986' stroke='%23CBD4D8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.3422 8.986C11.2502 8.986 11.1755 9.06067 11.1762 9.15267C11.1762 9.24467 11.2509 9.31934 11.3429 9.31934C11.4349 9.31934 11.5095 9.24467 11.5095 9.15267C11.5095 9.06067 11.4349 8.986 11.3422 8.986' stroke='%23CBD4D8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.67544 11.6526C4.58344 11.6526 4.50878 11.7273 4.50944 11.8193C4.50944 11.9113 4.58411 11.986 4.67611 11.986C4.76811 11.986 4.84278 11.9113 4.84278 11.8193C4.84278 11.7273 4.76811 11.6526 4.67544 11.6526' stroke='%23CBD4D8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.00869 11.6526C7.91669 11.6526 7.84203 11.7273 7.84269 11.8193C7.84269 11.9113 7.91736 11.986 8.00936 11.986C8.10136 11.986 8.17603 11.9113 8.17603 11.8193C8.17603 11.7273 8.10136 11.6526 8.00869 11.6526' stroke='%23CBD4D8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 8px center;
    z-index: 999;
}

.avenue-sticky-post > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
}

.avenue-sticky-post > div h3, .avenue-sticky-post > div h3 a {
    font-family: var(--title-font-family);
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    color: #002820;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
}

.avenue-sticky-post > div p {
    font-family: var(--title-font-family);
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #45565C;
}

.avenue-sticky-post > div a {
    margin-top: auto;
    width: fit-content;
    padding: 16px 100px;
}

.bom-dia-usa-template .avenue-sticky-post > div {
    max-width: 790px;
}

.bom-dia-usa-template .page-category-heading__title h2 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.good-day-usa__posts .good-day-usa__accordion {
    display: flex;
    padding: 24px 0;
    justify-content: space-between;
    font-size: 32px;
    font-weight: 500;
    text-decoration: none;
    line-height: 40px;
    border-bottom: 1px solid #CBD4D8;
    color: #002820;
}

.good-day-usa__posts .good-day-usa__accordion svg {
    transform: rotate(180deg);
    transition: all 0.2s ease;
}

.good-day-usa__posts .good-day-usa__accordion.active {
    border-bottom: unset;    
}

.good-day-usa__posts .good-day-usa__accordion.active svg {
    transform: rotate(0deg);
}

.good-day-usa__posts .good-day-usa__articles {
    flex-direction: column;
    overflow: hidden;
}

.good-day-usa__posts .good-day-usa__article {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid #CBD4D8;
    align-items: center;
}

.good-day-usa__posts .good-day-usa__article p {
    font-weight: 700;
    font-style: bold;
    font-size: 18px;
    line-height: 24px;
    color: #002820;
}

.good-day-usa__posts .good-day-usa__article strong {
    color: #219056;
    padding-right: 8px;
}

.good-day-usa__posts .good-day-usa__article a {
    min-width: 180px;
    background-color: #DFECE4;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #002820;
}

.good-day-usa__posts .good-day-usa__article a:hover {
    background-color: #47E57F;
}

@media (max-width: 768px) {
    .bom-dia-usa-template .page-category-heading {
        max-width: 100%;
        margin-bottom: 32px;
    }
    .bom-dia-usa-template .good-day-usa {
        background-position: 20px top !important;
    }
    .avenue-sticky-post {
        flex-direction: column;
        padding: 64px 0px;
        margin: 0 24px;
        gap: 40px;
    }
    .avenue-sticky-post figure .avenue-grid--image {
        max-width: 100%;
        min-height: 280px;
        object-fit: cover;
    }
    .avenue-sticky-post > div a {
        margin-top: 24px;
        text-align: center;
        width: 100%;
    }
    .bom-dia-usa-template .page-category-heading__title h2 {
        gap: 8px;
    }
    .good-day-usa__posts {
        padding: 0 24px;
    }
    .good-day-usa__posts .good-day-usa__article {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .good-day-usa__posts .good-day-usa__article a {
        min-width: 100%;
    }
}


/**
 *   Page Template - Colunistas Avenue
 */

.page-authors .page-category-heading p {
    font-size: 20px;
    line-height: 30px;
}

.page-authors .page-authors--header {
    margin-bottom: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-authors .page-authors--header > div {
    display: flex;
    gap: 24px;
    align-items: center;
}

.page-authors .page-authors--header form input {
    border-radius: 100px;
    border: none;
    background-color: #F4F6F7;
    color: #45565C;
    padding: 14px 56px;
    width: 359px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_108_714)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.0268 17.0875C14.6766 18.2014 12.9457 18.8706 11.0586 18.8706C6.7442 18.8706 3.24667 15.3731 3.24667 11.0586C3.24667 6.74423 6.7442 3.2467 11.0586 3.2467C15.373 3.2467 18.8706 6.74423 18.8706 11.0586C18.8706 12.9458 18.2014 14.6766 17.0875 16.0268L20.5337 19.473C20.8266 19.7659 20.8266 20.2408 20.5337 20.5337C20.2408 20.8266 19.7659 20.8266 19.473 20.5337L16.0268 17.0875ZM4.74667 11.0586C4.74667 7.57266 7.57263 4.7467 11.0586 4.7467C14.5446 4.7467 17.3706 7.57266 17.3706 11.0586C17.3706 12.7909 16.6728 14.3601 15.543 15.5006C15.5357 15.5074 15.5285 15.5143 15.5214 15.5214C15.5143 15.5285 15.5074 15.5357 15.5006 15.543C14.3601 16.6728 12.7908 17.3706 11.0586 17.3706C7.57263 17.3706 4.74667 14.5446 4.74667 11.0586Z' fill='%23A3B1B7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_108_714'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: 16px center;
    outline: none;
}

.page-authors .page-authors--header a.active svg path {
    fill: #007A64;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 24px;
    margin-bottom: 72px;
}

.authors-grid > div {
    border: 1px solid #CBD4D8;
    border-radius: 4px;
    padding: 24px;
    width: 100%;
}

.authors-grid__card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.2s ease;
}

.authors-grid__card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
} 

.authors-grid__card-header > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.authors-grid__card a {
    text-decoration: none !important;
}

.authors-grid__card-header > div h4 {
    font-size: 20px;
    font-weight: 500;
    color: #002820;
    margin-bottom: 4px;
}

.authors-grid__card-header > div p {
    font-size: 16px;
    font-weight: 400;
    color: #45565C;
}

.authors-grid__card-header > img {
    width: 80px;
    height: 80px;
    border-radius: 100px;
}

.authors-grid__card-body {
    display: flex;
    gap: 24px;
    flex-direction: column;
}

.authors-grid__card-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
}

.authors-grid__card ul {
    display: flex;
    gap: 8px;
    padding: 0;
}

.authors-grid__card ul li a {
    display: inline-block;
    text-decoration-line: none;
    text-transform: uppercase;
    border: 1px solid #CBD4D8;
    border-radius: 16px;
    padding: 8px;
    font-size: 10px;
    font-weight: 500;
    color: #45565C;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.authors-grid__card ul li a,
.authors-grid__card ul li a {
    max-width: 100px;
}

.authors-grid__card hr {
    border: none;
    background-color: #CBD4D8;
    height: 1px;
}

.authors-grid__card-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #45565C;
    text-transform: uppercase;
}

.authors-grid--oneline {
    grid-template-columns: 1fr;
}

.authors-grid--oneline .authors-grid__card-body {
    flex-direction: row;
}

.authors-grid--oneline hr {
    width: 1px;
    height: 30px;
}

.authors-grid__notice {
    display: none;
    color: #45565C;
    font-style: italic;
    border: 1px solid #CBD4D8;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 72px;
    margin-top: -72px;
    justify-content: center;
}

@media (max-width: 767px) {
    .authors-grid {
        display: flex!important;
        flex-direction: column!important;
    }
    .page-authors--header, .authors-grid {
        padding: 0 24px;
    }
    .page-authors .page-authors--header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .grid-view {
        display: none;
    }
    .avenue-section__title {
        margin-top: 24px;
        font-size: 24px;
    }
    .page-authors .page-authors--header > div,
    .page-authors .page-authors--header form, 
    .page-authors .page-authors--header form input {
        width: 100%;
    }
    .authors-grid__notice {
        margin-left: 24px;
        margin-right: 24px;
    }
}


/**
 * Weekly - category author 
 */
.page-template--weekly .page-category-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.page-template--weekly .page-category-heading .page-category-heading__title {
    gap: 16px;
}
.page-template--weekly .page-category-heading .page-category-heading__title h2 {
    font-size: 40px;
    line-height: 56px;
}
.page-template--weekly .page-category-heading .tag-color {
    background-color: #D1B592;
    height: 32px;
}
.page-template--weekly .page-category-heading > div {
    flex: 1
}
.page-template--weekly .item-post figure img {
    object-fit: cover;
    display: block;
}
.page-template--weekly .avenue-grid--small>div {
    max-width: unset;
    flex: 0 0 calc((100% - 80px) / 3);
}

.page-template--weekly .weekly-author {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.page-template--weekly .weekly-author h4 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    font-family: var(--title-font-family);
    color: #002820;
}
.weekly-author .weekly-author__content {
    display: flex;
    gap: 32px;
}
.weekly-author .weekly-author__data {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    width: 100%;
}
.weekly-author .weekly-author__data > div:first-child {
    display: flex;
    flex-direction: column;
}
.weekly-author .weekly-author__name {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    color: #002820;
    font-family: var(--title-font-family);
}
.weekly-author .weekly-author__position {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #45565C;
}
.weekly-author .weekly-author__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.page-template--weekly .weekly-author__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.page-template--weekly .weekly-author__avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-template--weekly .weekly-author__share {
    display: flex;
    gap: 32px;
    align-items: center;
}
.page-template--weekly .weekly-author__share svg path {
    fill: black;
}
.page-template--weekly .weekly-author__description {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #45565C;
}
.page-template--weekly .weekly-author__grid-heading {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #002820;
    font-family: var(--title-font-family);
    margin-bottom: 24px;
}
.only-mobile {
    display: none;
}
@media (max-width: 768px) {
    .page-template--weekly .page-category-heading {
        flex-direction: column;
    }
    .weekly-author .weekly-author__data {
        flex-direction: column;
        gap: 16px;
    }
    .weekly-author__grid-heading {
        padding: 0 24px;
    }
    .only-mobile {
        display: block;
    }
    .weekly-author .weekly-author__info .weekly-author__description {
        display: none;
    }
}