.dbl-pub-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin-bottom: 24px;
}

.dbl-pub-filter-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid #e4e1db;
	background-color: #fff !important;
	color: #1f1a17;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dbl-pub-filter-btn:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

.dbl-pub-filter-btn.active {
	background-color: #f5c400 !important;
	border-color: #f5c400 !important;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

#dbl-pub-grid {
	position: relative;
}

.dbl-pub-card {
	width: calc(33% - 18px);
	margin-bottom: 24px;
	background-color: #fff !important;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08) !important;
	border: 1px solid #f0ede8 !important;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-height: 500px;
}

.dbl-pub-img-wrap {
	height: 260px;
	background: #f6f4f0 !important;
	overflow: hidden;
}

.dbl-pub-img {
	width: 100%;
	height: 260px !important;
	object-fit: cover;
	display: block;
}

.dbl-pub-body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.dbl-pub-meta {
	margin: 0;
	font-size: 14px;
	color: #817b73 !important;
	letter-spacing: 0.1px;
}

.dbl-pub-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
	color: #1f1a17 !important;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 42px;
}

.dbl-pub-excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: #484239 !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 66px;
}

.dbl-pub-author {
	margin: 0 0 6px;
	font-size: 14px;
	color: #817b73 !important;
	font-weight: 600;
}

.dbl-pub-btn {
	margin-top: auto;
	display: block;
	text-align: center;
	padding: 14px 12px;
	background-color: #f5c400 !important;
	color: #0f0c08 !important;
	font-weight: 500;
  	letter-spacing: 0px;
  	font-size: 14px;
	border-radius: 10px;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.dbl-pub-btn:hover {
	filter: brightness(1.05);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
	transform: translateY(-1px);
}

@media (max-width: 1300px) {
	.dbl-pub-card {
		width: calc(33.333% - 16px);
	}
}

@media (max-width: 1024px) {
	.dbl-pub-card {
		width: calc(50% - 14px);
	}
}

@media (max-width: 680px) {
	.dbl-pub-filter-bar {
		gap: 10px;
	}

	.dbl-pub-card {
		width: 100%;
	}
}

/* Modal */
.dbl-pub-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.dbl-pub-modal.is-visible {
	display: flex;
	opacity: 1;
}

.dbl-pub-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	animation: fadeIn 0.3s ease;
}

.dbl-pub-modal__box {
	position: relative;
	background: #fff;
	border-radius: 20px;
	padding: 40px 32px 32px;
	width: min(480px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.1);
	z-index: 2;
	animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dbl-pub-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border: none;
	background: #f6f4f0 !important;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	color: #1f1a17 !important;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dbl-pub-modal__close:hover {
	background: #e4e1db !important;
	transform: rotate(90deg);
}

.dbl-pub-modal__title {
	margin: 0 0 12px;
	font-size: 26px;
	font-weight: 700;
	color: #1f1a17 !important;
	line-height: 1.2;
}

.dbl-pub-modal__subtitle {
	margin: 0 0 12px !important;
	color: #5c554c !important;
	font-size: 15px;
	line-height: 1.5;
}

.dbl-pub-modal__contact {
	margin: 0 0 24px !important;
	color: #817b73 !important;
	font-size: 14px;
	line-height: 1.5;
}

#dbl-pub-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.dbl-pub-field label {
	display: flex;
	flex-direction: column;
	gap: 0;
	font-weight: 600;
	color: #2c2620 !important;
}

.dbl-pub-field input[type="text"],
.dbl-pub-field input[type="email"] {
	border: 2px solid #e4e1db !important;
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 15px;
	font-family: inherit;
	transition: all 0.2s ease;
	background: #fff;
	width:100%;
}

.dbl-pub-field input[type="text"]:focus,
.dbl-pub-field input[type="email"]:focus {
	outline: none;
	border-color: #f5c400 !important;
	box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.1);
}

.dbl-pub-field input[type="text"]::placeholder,
.dbl-pub-field input[type="email"]::placeholder {
	color: #a09990 !important;
}

.dbl-pub-field span {
	color: #d00 !important;
	margin-left: 4px;
}

.dbl-pub-checkbox {
	margin-top: 4px;
}

.dbl-pub-checkbox label {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
}

.dbl-pub-checkbox input[type="checkbox"] {
	margin-top: 2px;
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: #f5c400 !important;
}

.dbl-pub-error {
	color: #b3261e !important;
	background: #fbe7e6 !important;
	border: 1px solid #f2b8b5 !important;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.4;
}

.dbl-pub-submit {
	background: #f5c400 !important;
	border: none;
	border-radius: 12px;
	padding: 16px 24px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-top: 8px;
	box-shadow: 0 4px 12px rgba(245, 196, 0, 0.3);
}

.dbl-pub-submit:hover {
	background: #ffd000 !important;
	box-shadow: 0 6px 20px rgba(245, 196, 0, 0.4);
	transform: translateY(-2px);
}

.dbl-pub-submit:active {
	transform: translateY(0);
}

.dbl-pub-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
}

/* Toast notification */
.dbl-pub-toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%) translateY(100px);
	background: #1f1a17;
	color: #fff;
	padding: 16px 24px;
	border-radius: 12px;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
	z-index: 10000;
	max-width: 90%;
	width: max-content;
	opacity: 0;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dbl-pub-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 640px) {
	.dbl-pub-modal__box {
		padding: 32px 24px 24px;
	}

	.dbl-pub-modal__title {
		font-size: 22px;
	}

	.dbl-pub-modal__subtitle {
		font-size: 14px;
	}
}
