* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
  --primary-green: #02A28F; 
  --accent-green: #4db6ac;  
  --bg-light: #FFFFFF;
}

.recent-section {
    padding-bottom: 100px; 
}

#posts {
    scroll-margin-top: 20px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--bg-light); 
    padding: 0;
    margin: 0; 
    color: #333; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    display: flex;
    flex-direction: column;
    align-items: center

}
.container { 
    width: 100%;
    max-width: 1400px;    
    margin: 0 auto;       
    padding: 0 20px;     
    box-sizing: border-box; 
    
    display: flex;        
    flex-wrap: wrap;      
    justify-content: center; 
}

.container2 { 
    width: 100%;
    max-width: 1400px;    
    margin: 0 auto;       
    padding: 0 20px;      
    box-sizing: border-box; 
}


img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; 
}

header { 
    background: var(--primary-green); 
    color: white; 
    width: 100%;           
    min-height: 80px;      
    display: flex;
    align-items: center; 
    justify-content: center; 
    box-sizing: border-box;
}

header .container {
    width: 100%;
    max-width: 1400px;    
    margin: 0 auto;       
    padding: 0 20px;      
    display: flex;
    justify-content: flex-start; 
    box-sizing: border-box;
}

header h1 { 
    font-family: 'Montserrat', sans-serif;
    font-size: 36px ;    
    font-weight: 700 ;    
    line-height: 100% ;   
    letter-spacing: 0 ;    
    width: 268px;
    height: 44px;
    margin: 0; 
    display: flex;
    align-items: center; 
    text-align: left;
    white-space: nowrap;
}

.main-layout { 
    display: flex; 
    flex-direction: row; 
    gap: 30px; 
    align-items: flex-start;
    width: 100%;
}

.content { 
    flex: 2; 
}

.sidebar { 
    margin-top: 40px;
    flex: 1; 
}

.widget:first-child {
    margin-top: 0 !important;
}

.hero {  
    width: 100%; 
    max-width: 100%;       
    height: auto; 
    min-height: 396px; 
    margin-top: 50px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;

    background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.7)), url('./imagens/imagens01.png'); 
    background-size: cover; 
    background-position: center; 
    border-radius: 10px;
    
    display: flex; 
    align-items: flex-end; 
    color: white; 
    margin-bottom: 30px;
    padding: -24px;         
    box-sizing: border-box; 
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: -14px; 
    align-items: flex-start; 
}

.widget-header {
    margin-top: 0 !important; 
}


.img-placeholder { 
  height: 160px; border-radius: 10px 10px 0 0; 
  background-size: cover; background-position: center; background-color: #eee;
}

.mobile-dev { background-image: url('./imagens/imagens02.svg'); }
.balance    { background-image: url('./imagens/imagens03.svg'); }
.vscode     { background-image: url('./imagens/imagens04.svg'); }
.monitors   { background-image: url('./imagens/imagens05.svg'); }

.hero-info { padding: 25px; }
.tag-opiniao { background: #FFB800; color: black; padding: 4px 8px; font-weight: bold; border-radius: 4px; font-size: 12px; }

.header-bar  { 
    background-color: #02A28F; 
    color: #FFFFFF; 
    padding: 15px 20px; 
    border-radius: 8px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: -10px;    
    margin-bottom: 20px; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);


    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-header { 
    background-color: var(--primary-green); 
    color: #FFFFFF; 
    padding: 12px 15px; 
    border-radius: 8px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
    font-size: 16px;
    font-weight: bold;
}

.header-bar a {
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300 !important; 
    font-size: 14px;
    text-decoration: underline !important;
    text-decoration-color: #FFFFFF !important;
    text-underline-offset: 3px;
    
}

.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.card { 
    border: 1px solid #eee; 
    border-radius: 30px; 
    overflow: hidden; 
    background: #FFFFFF; 
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15); 
    border-color: #02A28F; 
} 

.card-content { 
    padding: 15px; 
}

.card:hover {
    outline: 2px solid rgba(2, 162, 143, 0.5);
}

.card-content { padding: 15px; }
.category { color: #02A28F; font-size: 12px; font-weight: bold; text-transform: uppercase; display: block; }
.card h4 { font-size: 18px; margin: 8px 0; color: #111; }
.author { font-size: 13px; color: #666; margin: 0; }
.excerpt { font-size: 14px; color: #444; line-height: 1.1; margin: 08px 0; }
.post-date { font-size: 12px; color: #999; }


.widget { 
    margin-bottom: 15px; 
    background: #FFFFFF;
    padding: 09px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08); 
}
.sidebar .widget:nth-child(2) {
    margin-top: -10px !important; 
}

.popular-posts, .categories { list-style: none; padding: 0; }

.popular-posts li {
    width: 100% !important; 
    max-width: 100%;
    height: auto;
    min-height: 96px;
    background: #FFFFFF;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
}

.categories li { 
    display: flex; 
    justify-content: flex-start; 
    align-items: center; 
    color: #616161; 
    
    padding: 12px 0; 
    border-bottom: 1px solid #eee; 
    font-weight: bold;
    list-style: none;
}

.categories li::before {
    content: ">"; 
    color: #616161; 
    
    margin-right: 10px;
    font-weight: bold;
    font-family: sans-serif;
}

.categories li span {
    margin-left: auto; 
    color: #616161; 
    font-weight:700;
    font-size: 17px;
}

.categories li:hover {
    color: #02A28F; 
    padding-left: 5px; 
}
.img-mini {
    width: 132px; 
    height: 70px; 
    border-radius: 6px; 
    margin-right: 12px; 
    background-size: cover; 
    background-position: center;
    background-color: #eee;
    flex-shrink: 0; 
}

.pop-content {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important; 
    font-size: 14px !important;
    line-height: 1.2 !important; 
    color: #616161 !important; 
    text-decoration: none !important;
}

.pop-content {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important; 
    font-size: 14px !important;
    color: #000000 !important; 
    line-height: 1.2 !important;
}

.pop-content small {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important; 
    font-size: 11px !important;
    color: #616161 !important; 
    display: block;
    margin-top: 5px;
    font-style: normal !important; 
}
.pop-1 { background-image: url('./imagens/foto02.svg'); }
.pop-2 { background-image: url('./imagens/foto03.svg'); }
.pop-3 { background-image: url('./imagens/foto04.svg'); }


.pop-content {
    font-size: 14px;
    line-height: 1.2;
}

@media (max-width: 768px) {
  .main-layout { flex-direction: column; }
  .post-grid { grid-template-columns: 1fr; }
  .hero { height: 250px; }
}

.footer-site {
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
    background-color: #02A28F;
    padding: 20px 0;
    margin-top: 40px;
}

.copyright-text {
    color: #FFFFFF;
    opacity: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; 
    font-size: 14px;
    width: 189px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;

    letter-spacing: 1.5px; 
    line-height: 100%;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    
    .container {
       width: 100%;
       max-width: 1400px; 
       margin: 0 auto;    
       padding: 0 20px;
    }
    
    .main-layout {
        display: flex;
        flex-direction: column; 
        width: 100%;
        margin: 0;
        gap: 20px;
    }

    .content, .sidebar, .hero, .popular-posts li {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    .hero {
        height: auto;
        min-height: 300px;
        background-size: cover;
        background-position: center;
    }
}
@media (max-width: 768px) {
    .seu-elemento-principal {
        flex-direction: column; 
    }
    
    img, .post-body {
        width: 100%; 
        height: auto;
    }
}

.categories { 
    list-style: none; 
    padding-left: 0 !important; 
    padding-top: 16px;
    padding-right: 24px;
    padding-bottom: 16px;
    
    
    margin-top: 16px !important; 
    
    
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.categories li {
    padding-left: 0 !important;
    margin-left: 0 !important;
}


