/*
Theme Name: int_child_theme
Template: interface
*/

.single .post-thumbnail,
.single .entry-image,
.post .post-thumbnail,
.post .entry-image {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


.cat-thumbs-page .wrap{max-width:1200px;margin:0 auto;padding:2rem;}
.thumbs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;margin-top:1rem;}
.thumb-tile{background:#fff;border:1px solid #eee;padding:.5rem;display:flex;flex-direction:column;align-items:center;text-align:center;}
.thumb-image img{width:100%;height:auto;display:block;object-fit:cover;}
.thumb-placeholder{width:100%;height:120px;background:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:2rem;color:#888;}
.thumb-title{margin-top:.5rem;font-size:0.95rem;color:#222;}
.no-posts{color:#666;margin-top:1rem;}
@media (max-width:600px){.thumbs-grid{grid-template-columns:repeat(2,1fr);}}

/* Hide featured image wrapper */
.post-featured-image,
.post-featured-image img,
.post-featured-image .wp-post-image {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Popular post on first page in one line */
.wpp-list li {
    display: inline-block;
    float: none;
    clear: none;
    width: 210px; /* adjust to your thumbnail width */
    vertical-align: top;
}

/* 2-Column Post Layout */
.posts-grid-2col {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.post-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.post-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.post-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.post-main-content {
  overflow: hidden;
  word-wrap: break-word;
}

.post-main-content img,
.post-main-content iframe,
.post-main-content video,
.post-main-content .yop-privacy-player {
  max-width: 100%;
  height: auto;
  display: block;
}

.post-sidebar-content {
  padding-left: 1rem;
  border-left: 1px solid #eee;
  overflow-y: auto;
  max-height: 600px;
  position: relative;
  z-index: 3;
}

.text-na-pesenta {
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 8px;
  position: relative;
  z-index: 4;
}

.text-na-pesenta h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #222;
}

.text-na-pesenta p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  white-space: pre-line;
}

/* Responsive: 1 column on mobile */
@media (max-width: 1024px) {
  .posts-grid-2col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .post-content {
    grid-template-columns: 1fr;
  }
  
  .post-sidebar-content {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .posts-grid-2col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}