﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   USEFUL RESOURCES PAGES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* (Useful Resources rule removed â€” dropdown alignment now handled by nth-child(n+4) rule in header section) */

/* â”€â”€ Guideline year blocks â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.guideline-year-block {
	margin-bottom: 2.5rem;
}
.guideline-year-heading {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--green-700);
	padding-bottom: 0.5rem;
	border-bottom: 2px solid rgba(47, 125, 77, 0.2);
	margin-bottom: 1.25rem;
}
.guideline-lang-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}
.guideline-lang-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	background: var(--white);
	border: 1px solid rgba(47, 125, 77, 0.15);
	border-radius: 14px;
	padding: 1.5rem 1rem;
	text-align: center;
	text-decoration: none;
	color: var(--gray-900);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.guideline-lang-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
	border-color: rgba(47, 125, 77, 0.4);
}
.guideline-lang-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(47, 125, 77, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--green-700);
}
.guideline-lang-icon svg {
	width: 22px;
	height: 22px;
}
.guideline-lang-label {
	font-weight: 600;
	font-size: 0.95rem;
}
.guideline-lang-action {
	font-size: 0.8rem;
	color: var(--green-600);
	font-weight: 600;
}

/* â”€â”€ Document toolbar (back + download buttons) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.doc-toolbar {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}
.doc-toolbar .btn svg {
	flex-shrink: 0;
}

/* â”€â”€ iframe / embed container â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.iframe-container {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	background: #f5f5f5;
}
.iframe-container iframe,
.iframe-container embed {
	display: block;
	border: 0;
}

/* â”€â”€ Books grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.books-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
	gap: 2rem;
}
.book-card {
	display: flex;
	gap: 1.5rem;
	background: var(--white);
	border-radius: 18px;
	border: 1px solid rgba(47, 125, 77, 0.15);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
	padding: 1.5rem;
	text-decoration: none;
	color: var(--gray-900);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.book-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
	border-color: rgba(47, 125, 77, 0.4);
}
.book-cover {
	flex-shrink: 0;
	width: 120px;
}
.book-cover img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.book-info {
	display: flex;
	flex-direction: column;
}
.book-info h3 {
	font-size: 1.05rem;
	margin-bottom: 0.5rem;
	line-height: 1.4;
}
.book-info p {
	font-size: 0.88rem;
	color: var(--gray-700);
	line-height: 1.5;
	flex-grow: 1;
}
.book-link-label {
	font-size: 0.85rem;
	color: var(--green-600);
	font-weight: 600;
	margin-top: 0.75rem;
}

/* â”€â”€ Articles filter toolbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.articles-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.articles-toolbar input[type="text"] {
	flex: 1 1 220px;
	padding: 0.55rem 0.85rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 0.88rem;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.articles-toolbar input[type="text"]:focus {
	outline: none;
	border-color: var(--green-600);
	box-shadow: 0 0 0 3px rgba(47, 125, 77, 0.15);
}
.articles-toolbar select {
	padding: 0.55rem 0.85rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 0.85rem;
	font-family: inherit;
	background: var(--white);
	cursor: pointer;
	transition: border-color 0.2s ease;
}
.articles-toolbar select:focus {
	outline: none;
	border-color: var(--green-600);
}
.articles-result-count {
	font-size: 0.82rem;
	color: var(--gray-700);
	font-weight: 500;
	margin-left: auto;
}

/* â”€â”€ View article button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-view-article {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--green-700);
	color: var(--white);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-view-article:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(15, 123, 92, 0.3);
}
.btn-view-article svg {
	flex-shrink: 0;
}

/* â”€â”€ Articles table overrides â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.data-table--articles td {
	white-space: normal;
}

/* â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 1.5rem 0 0.5rem;
	flex-wrap: wrap;
}
.page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 0.65rem;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: var(--green-900);
	font-family: 'Poppins', sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease;
}
.page-btn:hover:not(:disabled) {
	background: var(--green-100);
	border-color: var(--green-500);
	color: var(--green-700);
}
.page-btn--active {
	background: var(--green-700);
	border-color: var(--green-700);
	color: #fff;
}
.page-btn--active:hover {
	background: var(--green-900);
	border-color: var(--green-900);
	color: #fff;
}
.page-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
.page-dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 36px;
	color: #9ca3af;
	font-size: 0.9rem;
	user-select: none;
}

/* â”€â”€ Responsive: Resources â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
	.guideline-lang-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.books-grid {
		grid-template-columns: 1fr;
	}
	.book-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.book-cover {
		width: 160px;
	}
	.doc-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	.doc-toolbar .btn {
		justify-content: center;
	}
	.articles-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	.articles-result-count {
		margin-left: 0;
		text-align: center;
	}
	.data-table--articles {
		font-size: 0.8rem;
	}
}

