/* Скрываем автора и дату публикации */
.entry-meta,
.posted-on,
.byline,
.entry-date,
.author,
.posted-by {
	display: none !important;
}

.work-header {
	margin-bottom: 40px;
}

.work-meta-row {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

/* ТОЛЬКО миниатюра работы адаптивная */
.work-thumbnail {
	flex: 0 0 480px;
	max-width: 100%;
}

.work-thumbnail img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.work-params {
	flex: 1;
	background: #f8fafc;
	padding: 30px;
	border-radius: 12px;
	min-width: 280px;
}

.work-params h3 {
	margin-top: 0;
	font-size: 22px;
	margin-bottom: 20px;
}

.param-item {
	display: flex;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #e5e7eb;
	font-size: 16px;
}

.param-item:last-child {
	border-bottom: none;
}

/* Фиксированный размер для иконок параметров */
.param-icon {
	font-size: 20px !important;
	margin-right: 12px;
	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	max-width: 30px !important;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.param-label {
	color: #6b7280;
	flex: 0 0 120px;
}

.param-value {
	font-weight: 600;
	color: #111827;
}

.download-button {
	display: inline-block;
	width: 100%;
	padding: 16px 40px;
	background: #2563eb;
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 600;
	margin-top: 20px;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
	text-align: center;
}

.download-button:hover {
	background: #1d4ed8;
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
	color: white !important;
	text-decoration: none !important;
}

.download-button:disabled {
	background: #9ca3af;
	cursor: not-allowed;
	transform: none;
}

/* Стили для таймера */
.timer-message {
	display: none;
	margin-top: 20px;
	padding: 30px;
	background: white;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	animation: slideDown 0.4s ease-out;
}

.timer-message.active {
	display: block;
}

.timer-message.error {
	border-color: #dc2626;
	background: #fef2f2;
	animation: shake 0.5s ease-in-out;
}

.timer-message.success {
	border-color: #2563eb;
	background: #eff6ff;
	animation: bounceIn 0.6s ease-out;
}

/* Круговой прогресс-бар */
.timer-circle-wrapper {
	position: relative;
	width: 160px;
	height: 160px;
	margin: 20px auto;
}

.timer-circle {
	transform: rotate(-90deg);
}

.timer-circle-bg {
	fill: none;
	stroke: #dbeafe;
	stroke-width: 10;
}

.timer-circle-progress {
	fill: none;
	stroke: #2563eb;
	stroke-width: 10;
	stroke-linecap: round;
	stroke-dasharray: 440;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s linear;
	filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.4));
}

.timer-countdown {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 48px;
	font-weight: 800;
	color: #1e3a8a;
	text-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
	animation: pulse 1s ease-in-out infinite;
}

.timer-text {
	font-size: 18px;
	color: #1e3a8a;
	font-weight: 600;
	margin: 15px 0 0 0;
}

.timer-subtitle {
	font-size: 14px;
	color: #6b7280;
	margin-top: 8px;
}

/* Анимации */
@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0%, 100% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -50%) scale(1.05);
	}
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-10px); }
	75% { transform: translateX(10px); }
}

@keyframes bounceIn {
	0% {
		opacity: 0;
		transform: scale(0.3);
	}
	50% {
		opacity: 1;
		transform: scale(1.05);
	}
	70% {
		transform: scale(0.9);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.loading-spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top-color: white;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin-right: 8px;
	vertical-align: middle;
}

.timer-icon {
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translateX(-50%);
	font-size: 20px;
	opacity: 0.6;
}

/* Содержание работы - адаптивное */
.work-content {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 2px solid #e5e7eb;
	overflow-x: hidden;
	word-wrap: break-word;
}

.work-content h3 {
	font-size: 24px;
	margin-bottom: 20px;
}

/* ТОЛЬКО изображения в контенте работы адаптивные */
.work-content img {
	max-width: 100% !important;
	height: auto !important;
	width: auto !important;
}

/* Плавная прокрутка к якорям */
html {
	scroll-behavior: smooth;
}
/* Аннотация */
.work-annotation {
    margin: 30px 0;
    padding: 25px 30px;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
}

.work-annotation h2 {
    text-align: center;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #111827;
}

.work-annotation p {
    text-align: justify;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 12px;
}

.work-annotation p:last-child {
    margin-bottom: 0;
}


/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .work-annotation {
        padding: 20px;
        margin: 20px 0;
    }

    .work-annotation h2 {
        font-size: 20px;
    }
    
	.work-meta-row {
		flex-direction: column;
		gap: 20px;
		margin-bottom: 30px;
	}

	.work-thumbnail {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.work-thumbnail img {
		width: 100% !important;
		max-width: 100% !important;
	}

	.work-params {
		padding: 20px !important;
	}

	.param-item {
		padding: 10px 0 !important;
		font-size: 14px !important;
	}

	.param-label {
		flex: 0 0 100px !important;
		font-size: 13px !important;
	}

	.param-icon {
		font-size: 18px !important;
		margin-right: 8px !important;
		width: 28px !important;
		height: 28px !important;
		min-width: 28px !important;
		max-width: 28px !important;
	}

	.download-button {
		width: 100%;
		padding: 14px 20px !important;
		font-size: 16px !important;
	}

	.work-params h3 {
		font-size: 18px !important;
		margin-bottom: 15px !important;
	}

	.timer-circle-wrapper {
		width: 140px !important;
		height: 140px !important;
	}

	.timer-countdown {
		font-size: 40px !important;
	}

	.timer-text {
		font-size: 16px !important;
	}

	.work-content {
		overflow-x: hidden !important;
	}

	.work-content img {
		width: 100% !important;
		max-width: 100% !important;
	}

}

@media (max-width: 400px) {

}