@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    letter-spacing: 0.02em;

}


h1 {
    font-size: 3.5em;
    line-height: 120%;
}

body {
    padding: 0;
    color: #4C666D;
}

body button {
    color: #4C666D;
}

.body-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.n-container {
    width: 1128px;
    padding: 60px 0
}

.first-section {
    display: flex;
    flex-direction: column;
}


.div-texts-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    text-align: center;
}

.sub-container-cards {
    flex: 0 0 1;
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.cards-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 477px;
}

.cards-content img {
    width: 100%;
    height: 236px;
    object-fit: cover;
    display: block;
}

.cards-content {
    /* ...seu código... */
    background: #fff;
    border-radius: 8px;
}

.card-meta {
    display: flex;
    gap: 12px;
    margin: 12px 0 8px 0;
    align-items: center;
}

.card-tag {
    background: #e0f7fa;
    color: #009688;
    font-size: 0.9em;
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.card-time {
    color: #78909c;

}

.card-title {
    font-size: 1.15em;
    font-weight: 700;
    margin: 18px 0 18px 0;
}

.card-desc {
    font-size: 1em;
    margin-bottom: 18px;
}

.card-link {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1em;
}

.card-link.init:hover {
    color: #11D3D3;
}

.card-link span {
    font-size: 1.2em;
    transition: transform 0.2s;
}

.card-link:hover span {
    transform: translateX(4px);
}

.button-center {
    display: flex;
    justify-content: center;
    margin: 32px 0 0 0;
}

.button-center button {
    border: 1.5px solid #11D3D3;
    background: #fff;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.button-center button:hover {
    background: #11D3D3;
    color: #fff;
}


.container-centered {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.sub-container-left {
    width: 65%;
}

.sub-container-right {
    width: 31%;
}

.card-banner-section {
    background-color: #F3F4F6;
    border-radius: 15px;
    height: 723px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 30px;
}


.card-banner-section img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.second-container-content {
    width: 90%;
}

.card-time-test {
    display: flex;
    align-items: center;
    color: #78909c;
}


.search-box {
    display: flex;
    align-items: center;
    background: #f6f7fa;
    border-radius: 8px;
    padding: 24px;
    width: 100%;
    max-width: 356px;
    height: 135px;
    box-sizing: border-box;
}

.search-box input {
    border: none;
    background: #fff;
    padding: 16px 14px;
    border-radius: 6px 0 0 6px;
    font-size: 1em;
    flex: 1;
    outline: none;
    color: #74787C;
}

.search-box button {
    background: #11D3D3;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 0 18px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.search-box button:hover {
    background: #0bbcbc;
}

.search-box button img {
    width: 18px;
    height: 18px;
}


.sidebar-card.tags {
    height: 267px;

}

.sidebar-card {
    width: 100%;
    height: 400px;
    background: #f6f7fa;
    border-radius: 14px;
    padding: 24px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: auto;
    margin-top: 30px;
}

.sidebar-section {
    margin-bottom: 16px;
    overflow: hidden;
}

.sidebar-title {
    font-size: 1.15em;
    font-weight: 600;
    color: #4C666D;
    margin-bottom: 12px;
}

.sidebar-post {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
}

.sidebar-post img {
    width: 71px;
    height: 77px;
    max-width: 71px;
    max-height: 77px;
    border-radius: 8px;
    object-fit: cover;
}

#image-third-recent-post {
    width: 110px;
}

.sidebar-author {
    font-size: 0.95em;
    color: #78909c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sidebar-author img {
    width: auto;
    object-fit: cover;
    height: 16px;
}

.sidebar-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.sidebar-post-title {
    font-size: 1em;
    font-weight: 600;
    color: #222;
    margin: 2px 0 0 0;
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #e0e7ef;
    color: #4C666D;
    font-size: 1em;
    cursor: pointer;
    transition: color 0.2s;
}

.sidebar-categories li:hover {
    color: #11D3D3;
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories img {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.sidebar-card.gallery {
    width: 100%;
    height: 328px;
    background: #f6f7fa;
    border-radius: 14px;
    padding: 24px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

/* Adicione ao seu style.css */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    background: #e0e7ef;
    display: block;
}



.sidebar-section-gallery {
    margin-bottom: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-section.tags {
    gap: 24px;
    display: flex;
    flex-direction: column;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 12px;
    margin-top: 12px;
}

.tag-chip {
    background: #fff;
    color: #4C666D;
    padding: 7px 18px;
    border-radius: 18px;
    font-size: 1em;
    font-weight: 500;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    border: none;
}

.tag-chip-active {
    background: #11D3D3;
    color: #fff;
    font-weight: 600;
}

.popular-tags .tag-chip:hover {
    background: #11D3D3;
    color: #fff;
}

.popular-tags .tag-chip-active,
.popular-tags .tag-chip.tag-chip-active:hover {
    background: #11D3D3;
    color: #fff;
    font-weight: 600;
}

.blog-hero {
    text-align: center;
    margin-bottom: 32px;
}

.blog-label {
    color: #4C666D;
    font-size: 1em;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 2.4em;
    font-weight: 700;
    color: #4C666D;
    margin-bottom: 8px;
}

.blog-subtitle {
    color: #4C666D;
    font-size: 1em;
    margin-bottom: 24px;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff;
    border: 1.5px solid #11D3D3;
    color: #4C666D;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #11D3D3;
    color: #fff;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border: 1px solid #e0e7ef;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px #0001;
    /* justify-content: space-around; */
    height: 420px;
    max-height: 420px;
    padding-bottom: 8px;
}

.div-text-blog {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

}

.sidebar-post-content {
    height: 77px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}


.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-meta {
    display: flex;
    gap: 10px;
    margin: 16px 18px 0 18px;
    align-items: center;
}

.blog-card-tag {
    background: #e0f7fa;
    color: #009688;
    font-size: 0.9em;
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.blog-card-time {
    color: #78909c;
    font-size: 0.9em;
}

.blog-card-title {
    font-size: 1.15em;
    font-weight: 700;
    margin: 10px 18px 6px 18px;
    color: #4C666D;
    ;
}

.blog-card-desc {
    font-size: 1em;
    color: #4C666D;
    margin: 0 18px 18px 18px;
}

.blog-card-link {
    color: #4C666D;
    font-weight: 600;
    text-decoration: none;
    margin-left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1em;
}

.blog-card-link:hover {
    color: #11D3D3;
}


.blog-card-link span {
    font-size: 1.2em;
    transition: transform 0.2s;
}

.blog-card-link:hover span {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .blog-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .blog-cards-grid {
        grid-template-columns: 1fr;
    }
}
