img {
	max-width: 100%;
}
.main-banner {
	width: 100%;
	height: 50vh;
	background: url("../img/welcome.jpg") center;
	background-size: 100%;
}
.main-blog-card {
	width: 90%;
}
.category-aside {
	width: 100%;
}
.main-blog {
	width: 70%;
}
.aside-main {
	width: 30%;
}

.w-450 {
	width: 450px;
}
.vh-100 {
	min-height: 100vh;
}
/*admin*/
.section-1 {
	width: 100%;
	padding: 15px;
}
.main-table {
   width: 90%;
   max-width: 700px;
}
.react-btns i {
	font-size: 24px;
	color: #222;
	cursor: pointer;
}
.react-btns a  {
	text-decoration: none;
	color: #222;
	cursor: pointer;
}
.react-btns a:hover  {
	opacity: .8;
}
.react-btns .like:hover  {
	color: #0088FF;
}
.react-btns .liked  {
	color: #0088FF;
}
.comments .comment span {
   color: #0088FF;
}
@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .aside-main {
  	display: none;
  }
  .main-blog {
	width: 100%;
  }
  .main-blog-card {
	width: 100%;
}
}
.navbar {
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1030; /* Certifique-se de que a navbar está acima de outros elementos */
}

.navbar-brand, .navbar-nav .nav-link {
	color: white;
}

.navbar-brand:hover, .navbar-nav .nav-link:hover {
	color: #ffcb05;
}

.hero {
	background-image: url('./src/img/mirante-aruja.png'); /* Substitua pela imagem real */
	background-size: cover;
	background-position: center;
	color: white;
	padding: 5rem 0;
	text-align: center;
}

.section-title {
	font-weight: bold;
	margin-top: 3rem;
}

.footer {
	background-color: #fff;
	padding: 20px 0;
	text-align: center;
	color: #6c757d;
	border-top: 1px solid #e9ecef;
}

.footer a {
	color: #ffcb05;
}

.footer a:hover {
	text-decoration: underline;
}

/* Estilo para o anúncio lateral */
.ad-skyscraper {
	position: fixed;
	top: 100px; /* Distância do topo da tela */
	width: 160px;
	height: 600px;
	background-color: #f1f1f1;
	border: 1px solid #ccc;
	text-align: center;
	padding-top: 10px;
}

.ad-skyscraper-left {
	left: 0;
}

.ad-skyscraper-right {
	right: 0;
}

.ad-skyscraper img {
	max-width: 100%;
	max-height: 100%;
}

/* Responsividade para os anúncios */
@media (max-width: 768px) {
	.ad-skyscraper {
		width: 100%;
		height: 300px;
		top: unset;
		bottom: 0;
	}
}

/* Container e layout do blog */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Estilo dos cards do blog */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.blog-card-text {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

/* Cabeçalho do blog */
.blog-header {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.blog-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsividade */
@media (max-width: 1200px) {
    .blog-container {
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 20px auto;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-card img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .blog-container {
        padding: 15px;
    }

    .blog-card-body {
        padding: 1rem;
    }

    .blog-header {
        margin: 20px 0;
    }
}

/* Filtros e categorias */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout dos posts */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove espaço entre posts */
    margin: 0 auto;
    max-width: 650px; /* Largura mais estreita como UOL */
}

/* Card do post */
.blog-post-card {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column; /* Posts em coluna como UOL */
}

/* Imagem do post */
.post-image {
    width: 100%;
    height: 360px; /* Altura maior como UOL */
    margin-bottom: 12px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteúdo do post */
.post-content {
    padding: 0;
}

.post-title {
    font-size: 24px; /* Título maior como UOL */
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.post-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.post-title a:hover {
    color: #666;
}

.post-excerpt {
    color: #666;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Meta informações */
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

/* Responsividade */
@media (max-width: 768px) {
    .post-image {
        height: 280px;
    }

    .post-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .post-image {
        height: 240px;
    }
}

/* Mensagem de nenhum post */
.no-posts {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    padding-top: 56px; /* Espaço para a navbar fixa */
}

.navbar-brand {
    font-weight: bold;
    color: #0056b3;
}

.nav-link {
    color: #333;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #0056b3;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.card {
    border: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-footer {
    background-color: #fff;
    border-top: none;
}

.btn-outline-primary {
    color: #0056b3;
    border-color: #0056b3;
    transition: background-color 0.2s, color 0.2s;
}

.btn-outline-primary:hover {
    background-color: #0056b3;
    color: #fff;
}

.list-group-item {
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: #e9ecef;
}

.footer {
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
    color: #6c757d;
    border-top: 1px solid #e9ecef;
}

.fixed-navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    height: 80px;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
}

.brand-highlight {
    color: #0d6efd;
}

.navbar-nav .nav-link {
    color: #555;
    font-size: 15px;
    padding: 10px 16px;
    margin: 0 2px;
    border-radius: 8px;
    transition: all 0.2s;
    height: 44px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0d6efd;
    background: #f0f4ff;
}

.search-form {
    width: 300px;
    margin: 0 20px;
}

.search-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px 0 0 8px;
    padding: 10px 15px;
    font-size: 14px;
}

.search-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: none;
}

.btn-search {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
}

@media (max-width: 991px) {
    .navbar-collapse {
        height: auto;
        background: white;
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .search-form {
        width: 100%;
        margin: 15px 0;
        height: 44px;
    }
}

body {
    padding-top: 80px; /* Espaço para a navbar fixa */
}