

.author-box {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	width: fit-content;
	margin: 2rem auto;
	margin-bottom: 2rem;
	margin-bottom: 1rem;
}

.author-avatar-wrapper {
	position: relative;
	width: 48px;
	height: 48px;
}

.author-avatar-wrapper .author-avatar {
	width: 100%;
	height: auto;
	border-radius: 50%;
}


.author-details {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}

.author-name {
	font-weight: bold;
	line-height: 1;
}

.publish-date {
	font-size: 12px;
	line-height: 1;
}


.share-buttons {
	display: flex;
	gap: 10px;
}

.share-btn {
	display: flex;
	padding: 10px 16px;
	justify-content: center;
	align-items: center;
	gap: var(--spacing-md, 8px);
    background: #fa9906;
    color: #000;
	font-size: 17px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px; /* 117.647% */
	cursor: pointer;
	transition: all 0.2s ease;
	border: 0;
	border-radius: 100px;
}

.share-btn:hover {
	background: #eee;
}

.share-btn img.icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
}


/* Inline | https://ispolska.dstdesign.website/blog/ */

.custom-news-wrapper.tripple .et_pb_ajax_pagination_container article {
  display: flex;
  flex-direction: column;
}

.entry-featured-image-url {
  width: 100%;
}

.entry-featured-image-url::before {
  content: "";
  display: block;
  padding-top: 65%;
}

.entry-featured-image-url {
  position: relative;
  overflow: hidden;
  display: block;
  margin-bottom: 1rem;
}

.entry-featured-image-url img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  object-fit: cover;
  left: 0;
  border-radius: 10px;
}

@media (max-width: 767px) {
	
	.share-btn {
		padding: 10px;
		font-size: 14px;
		line-height: 13px;
	}

	.share-btn img.icon {
		width: 14px;
		height: 14px;
	}

	

}

/* ===== DST BLOG GRID ===== */
.dst-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
    padding: 0px;
}

.dst-blog-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.dst-blog-card:hover {
    transform: translateY(-5px);
}

.dst-blog-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Tło zdjęcia */
.dst-blog-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dst-blog-card:hover .dst-blog-card-bg {
    transform: scale(1.05);
}

/* Overlay */
.dst-blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
}

/* Wrapper dla daty i metadanych w jednej linii */
.dst-blog-card-top-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 15px;
}

/* Data box (kwadrat z datą) - lewy dolny */
.dst-blog-date-box {
    width: 80px;
    height: 80px;
    background: #159cd0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    flex-shrink: 0;
}

.dst-blog-date-day {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.dst-blog-date-month {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

/* Meta (kategoria i autor) - obok daty */
.dst-blog-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding-bottom: 10px;
}

.dst-blog-category {
    color: #ffffff;
    font-weight: 600;
    text-transform: capitalize;
}

.dst-blog-author {
    color: rgba(255, 255, 255, 0.8);
}

/* Content - tylko tytuł pod datą i meta */
.dst-blog-card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Tytuł */
.dst-blog-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
    transition: color 0.3s ease;
}

.dst-blog-card:hover .dst-blog-title {
    color: #159cd0;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .dst-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .dst-blog-date-box {
        width: 80px;
        height: 80px;
    }
    
    .dst-blog-date-day {
        font-size: 32px;
    }
    
    .dst-blog-title {
        font-size: 18px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .dst-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .dst-blog-card-overlay {
        padding: 20px;
    }
    
    .dst-blog-date-box {
        width: 70px;
        height: 70px;
    }
    
    .dst-blog-date-day {
        font-size: 28px;
    }
    
    .dst-blog-date-month {
        font-size: 11px;
    }
    
    .dst-blog-title {
        font-size: 16px;
    }
    
    .dst-blog-meta {
        font-size: 11px;
    }
}
