*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;font-family:Inter,system-ui,"Segoe UI",Roboto,Arial;background:#fbfbfc;color:#0b1220}

:root{
  --sidebar-w:100px;
  --accent:#ff7a00;
  --accent2:#ff1b1b;
  --muted:#6b7280;
  --card-bg:#fff;
  --gap:20px;
	
	
font-family: poppins-thin, poppins-extralight, Roboto, Lucida Grande;}
::selection {
  background: #0b1620;
  color: #fff;
  }



  
.app{display:flex;min-height:100vh}

/* ===== Sidebar ===== */
.sidebar{
  width:var(--sidebar-w);
  background:#0b1620;
  color:#fff;
  padding:20px 0;
  position:fixed;
  left:0;top:0;bottom:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  z-index:30;
  transition:all .3s ease;
}

.logo{
  width:70px;
  height:auto;
  margin-top:10px;
}

/* Logo que aparece no topo no mobile */
.mobile-logo{
  display:none;
  position:fixed;
  top:0;
  left:0;
  right:0;
  background:#0b1620;
  text-align:center;
  padding:10px;
  z-index:100;
  box-shadow:0 3px 10px rgba(0,0,0,0.15);
}
.mobile-logo img{
  width:90px;
  height:auto;
}

/* Ícones empilhados */
.socials{
  display:flex;
  flex-direction:column;
  gap:5px; /* espaçamento entre ícones */
  align-items:center;
  justify-content:center;
  margin-top:20px;
	margin-bottom: 20px;
}

/* Ícones redondos */
.icon-btn{
  width:50px;
  height:50px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,0.08);
  color:#fff;
  transition:all .2s;
}
.icon-btn:hover{
  background:linear-gradient(135deg,var(--accent2),var(--accent));
  transform:translateY(-3px);
}

.sidebar-footer{
  font-size:12px;
  color:rgba(255,255,255,0.85);
  text-align:center;
  padding:10px;
  line-height:1.4;
}

/* ===== Main TOPO DESLTOP ===== */
.main{
  margin-left:var(--sidebar-w);
  padding:10px;
  flex:1;
  transition:all .3s ease;
}

.gallery{
  column-count:3;
  column-gap:var(--gap);
  column-rule:none;
  max-width:1200px;
  margin:0 auto;
  -webkit-column-count:3;
  -moz-column-count:3;
}

.card{
  background:var(--card-bg);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(15,23,42,0.06);
  display:inline-block;
  width:100%;
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
  -moz-column-break-inside:avoid;
  margin:0 0 var(--gap);
  vertical-align:top;
}
.card img{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
}
.card-body{padding:14px 16px;}
.card-title{font-weight:700;font-size:15px;margin-bottom:6px;color:#0b1220;}
.card-text{font-size:14px;color:var(--muted);line-height:1.4;}

@media(max-width:1000px){
  .gallery{column-count:2}
}

/* ===== Mobile ===== */
@media(max-width:700px){
.gallery{column-count:1}
.main{
  padding:18px;
  margin-left:0;
  margin-top:160px; /* espaço total para logo + ícones */
}

/* Oculta a barra lateral */
.sidebar{display:none;}

/* Cabeçalho fixo com logo e ícones */
.mobile-logo{
  display:block;
  position:fixed;
  top:0;
  left:0;
  right:0;
  background:#0b1620;
  text-align:center;
  padding:10px 0 60px 0; /* espaço extra para os ícones dentro do fundo */
  z-index:100;
  box-shadow:0 3px 10px rgba(0,0,0,0.15);
}

/* Ícones fixos abaixo do logo, mas dentro do mesmo fundo */
.mobile-socials{
  display:flex;
  justify-content:center;
  gap:5px;
  position:fixed;
  top:105px; /* logo tem cerca de 60px de altura */
  left:0;
  right:0;
  z-index:101;
  padding-bottom:25px; /* padding inferior como solicitado */
  background:#0b1620; /* fundo atrás dos ícones */
}

/* Ícones redondos */
.icon-btn{
  width:50px;
  height:50px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,0.08);
  color:#fff;
  transition:all .2s;
}
.icon-btn:hover{
  background:linear-gradient(135deg,var(--accent2),var(--accent));
  transform:translateY(-3px);
}
}

/* Lightbox com botão X redondo, fundo fixo e escurecimento suave */
/* Fundo escurecido fixo */
body.lightbox-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9998;
  transition: opacity .3s ease;
  opacity: 1;
}

body:not(.lightbox-open)::before {
  opacity: 0;
  pointer-events: none;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 95%;
  max-height: 95vh;
  border-radius: 10px;
  cursor: zoom-out;
  animation: zoomIn .25s ease;
  box-shadow: none;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Botão de fechar redondo */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 32px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
  border: 2px solid rgba(255,255,255,0.4);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.6);
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin: 20px 0;
  overflow: hidden;
}

.card-body {
  padding: 15px;
}

.card-title {
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 12px;
  color: #0b1620;
}

.card-text {
  color: #333;
  margin: 10px 0 15px;
}

.share-grid-mega {
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: center;
  gap: -10px;
  text-align: center;
}

.share-grid-mega a img {
  width: 50px;
  height: 50px;
  transition: all 0.2s ease-in-out;
}

.share-grid-mega a:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* Paginação */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 40px 20px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 10px 20px;
  background: #0b1620;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.2s;
}

.pagination-btn:hover {
  background: #1a2740;
}

.pagination-btn.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-numbers {
  display: flex;
  gap: 5px;
  align-items: center;
}

.pagination-number {
  display: inline-block;
  padding: 10px 15px;
  background: white;
  color: #0b1620;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
  min-width: 44px;
  text-align: center;
}

.pagination-number:hover {
  background: #f9fafb;
  border-color: #0b1620;
}

.pagination-number.active {
  background: #0b1620;
  color: white;
  border-color: #0b1620;
  cursor: default;
}

.pagination-dots {
  padding: 10px 5px;
  color: #6b7280;
}

@media (max-width: 700px) {
  .pagination {
    margin: 30px 10px;
  }
  
  .pagination-btn {
    padding: 8px 15px;
    font-size: 12px;
  }
  
  .pagination-number {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 38px;
  }
}

/* Página Individual */
.post-single .post-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.post-single .gallery {
  column-count: 1;
}

.post-single .card {
  max-width: 100%;
}

.post-single .post-card {
  margin-bottom: 30px;
}

.btn-voltar {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: #0b1620;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-voltar:hover {
  background: #1a2740;
}

/* Card clicável */
.card-clickable {
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-clickable:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(15,23,42,0.12);
}

.card-clickable img {
  cursor: zoom-in;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:visited {
  color: inherit;
}

.card-link:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.share-grid-mega {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

@media (max-width: 700px) {
  .post-single .post-container {
    padding: 10px;
  }
}

