.titleHW {}
.titleHW time{ padding-left:0}
.titleHW time:before{ display:none !important}


.hw-container {
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 10px;
}

.hw-container ul{
    padding: 0;
    margin: 0;
}

.hw-card {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: none;
	width: 100%;
	min-width: 0; position:relative;
	overflow: hidden;
}

.hw-header {
	color: white;
	padding: 15px 20px;
	font-weight: 500;
	font-size: 17px;
	margin: 0;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hw-card:nth-child(1) .hw-header {
	background: #1c58ac;
}
.hw-card:nth-child(2) .hw-header {
	background: #f59e0b;
}
.hw-card:nth-child(3) .hw-header {
	background: #10b981;
}
.hw-card:nth-child(4) .hw-header {
	background: #3b3286;
}
.hw-card:nth-child(5) .hw-header {
	background: #ff4a63;
}
.hw-card:nth-child(6) .hw-header {
	background: #8b5cf6;
}
.hw-card:nth-child(7) .hw-header {
	background: #06b6d4;
}

.hw-buttons {
	display: flex;
	gap: 10px;
	padding: 20px;
	flex-wrap: wrap;
}

.hw-btn {
	background: #d1d5db;
	color: #374151;
	border: none;
	padding: 12px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	flex: 1;
	min-width: 60px;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.hw-card:nth-child(1) .hw-btn:hover {
	background: #1c58ac;
	color: white;
}

.hw-card:nth-child(2) .hw-btn:hover {
	background: #f59e0b;
	color: white;
}

.hw-card:nth-child(3) .hw-btn:hover {
	background: #10b981;
	color: white;
}

.hw-card:nth-child(4) .hw-btn:hover {
	background: #3b3286;
	color: white;
}

.hw-card:nth-child(5) .hw-btn:hover {
	background: #ff4a63;
	color: white;
}

.hw-card:nth-child(6) .hw-btn:hover {
	background: #8b5cf6;
	color: white;
}

.hw-card:nth-child(7) .hw-btn:hover {
	background: #06b6d4;
	color: white;
}

@media(max-width: 768px) {
	.hw-container {
		grid-template-columns: 1fr;
		padding: 15px;
	}

	.hw-buttons {
		padding: 15px;
	}
}

.hw-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.hw-modal-content {
	background: white;
	margin: 5vh auto;
	border-radius: 8px;
	width: 90%;
	max-width: 800px;
	max-height: 85vh;
	overflow-y: auto;
	position: relative;
	padding: 20px;
	list-style: none;
}

.hw-close {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 28px;
	cursor: pointer;
	z-index: 10;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #ddd;
	transition: all 0.2s ease;
	font-family: Arial, sans-serif;
	font-weight: normal;
	line-height: 1;
	color: #333;
}

.hw-close:hover {
	background: #e0e0e0;

	transform: scale(1.1);
}

.hw-modal-header {
	background: var(--main-color);
	color: white;
	padding: 20px;
	border-radius: 8px 8px 0 0;
	display: flex;
	justify-content: space-between;
}

.hw-modal-title {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
}

.hw-close {
	font-size: 24px;
	cursor: pointer;
}

.hw-modal-body {
	padding: 20px;
}

.hw-subject-section {
	margin-bottom: 25px;
	border-left: 3px solid var(--main-color);
	padding-left: 15px;
}

.hw-subject-title {
	font-size: 16px;
	font-weight: 500;
	color: var(--main-color);
	margin-bottom: 10px;
}

.hw-content-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hw-content-list li {
	padding: 5px 0;
	border-bottom: 1px solid #f0f0f0;
}

.hw-content-list li:last-child {
	border-bottom: none;
}

.hw-no-content {
	color: #888;
	font-style: italic;
}

.hw-notification {
	position: fixed;
	top: 20px;
	right: 20px;
	background: #ff4a63;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	z-index: 9999;
	font-size: 14px;
}