/*
Theme Name: Themedd Child
Theme URI: https://themedd.com
Description: Child theme for Themedd — full-size download thumbnails.
Author: Themedd Child
Template: themedd
Version: 1.0.0
Text Domain: themedd-child
*/

.edd_download_image img {
	width: 100%;
	height: auto;
}
.edd_downloads_list{
	grid-column-gap:0!important;
}

.download-image-overlay-wrap {
	position: relative;
	overflow: hidden;
	margin-bottom: 30px;
}

.download-image-overlay-wrap .post-thumbnail {
	margin: 0;
}

.download-image-overlay-wrap .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

.download-action-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    opacity: 1;
    transition: opacity 0.3s ease;
    height: 100px;
}

.download-image-overlay-wrap:hover .download-action-overlay {
	opacity: 1;
}

.download-action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	padding: 20px;
}

.action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border-radius: 0;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

/* First button — white */
.action-btn:nth-child(odd) {
	background: #fff;
	color: #333;
	border: 1px solid #ccc;
}

/* Second button — grey */
.action-btn:nth-child(even) {
	background: #6b6b6b;
	color: #fff;
	border: 1px solid #6b6b6b;
}
#main {
	padding-top: 0;
}

/* Home / downloads grid: Live Preview + View Detail */
.edd_download_action_buttons {
	display: flex;
	gap: 8px;
	margin-top: 1rem;
}

.edd_download_action_buttons .download-grid-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	line-height: 1.3;
	border-radius: 0;
	box-sizing: border-box;
}

.edd_download_action_buttons .download-grid-btn--preview {
	background: #fff !important;
	color: #333 !important;
	border: 1px solid #ccc !important;
}
.edd_download_action_buttons .download-grid-btn--detail {
	background: #6b6b6b !important;
	color: #fff !important;
	border: 1px solid #6b6b6b !important;
}
.page-header h1{
	margin-bottom:40px;
}