/* WP Glossary Manager Frontend Styles */
.wpgm-glossary-wrapper {
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.wpgm-grid {
	display: grid;
	gap: 30px;
	margin-bottom: 40px;
}

.wpgm-cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.wpgm-cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
	.wpgm-cols-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.wpgm-grid {
		grid-template-columns: 1fr;
	}
}

.wpgm-card {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
	position: relative;
	border: 1px solid rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
}
.wpgm-card-inner {
	padding: 20px;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.wpgm-entry-title {
	margin: 0 0 15px 0;
	font-size: 28px !important;
    line-height: 34px !important;
    font-family: "Alfa Slab One", serif !important;
}

.wpgm-entry-title a {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wpgm-entry-title a:hover {
	color: #0051cc;
}

.wpgm-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 20px;
	font-size: 0.85rem;
	color: #666;
}

.wpgm-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.wpgm-meta-item svg {
	opacity: 0.7;
}

.wpgm-entry-excerpt {
	font-size: 1rem;
	line-height: 1.6;
	color: #4a4a4a;
	margin-bottom: 25px;
	flex-grow: 1;
	display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wpgm-flex-grow {
	flex-grow: 1 !important;
}

.wpgm-entry-excerpt p {
	margin: 0;
	font-family: 'Proxima Nova Rg';
    font-weight: normal;
}
.wpgm-btn-read-more svg {
	display: none;
}

.wpgm-btn-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background-color: #f4f6f8;
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	border-radius: 6px;
	transition: all 0.2s ease;
	border: 1px solid #e0e0e0;
	cursor: pointer;
}

.wpgm-btn-read-more:hover {
	background-color: transparent !important;
	color: #000 !important;
	border-color: #000 !important;
}

.wpgm-btn-read-more svg {
	transition: transform 0.2s ease;
}

.wpgm-btn-read-more:hover svg {
	transform: translateX(4px);
}

.wpgm-pagination-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.wpgm-pagination {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.wpgm-pagination .page-numbers {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.wpgm-pagination .page-numbers:hover,
.wpgm-pagination .page-numbers.current {
	background: #fff;
	color: #000;
	border-color: #fff;
}

.wpgm-pagination-info {
	margin-right: 15px;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
}

.wpgm-no-results {
	background: #f9f9f9;
	padding: 40px;
	border-radius: 12px;
	text-align: center;
	color: #666;
	font-size: 1.1rem;
	border: 1px dashed #ccc;
}
.glossary-details-section .post-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 25px;
    gap: 12px;
    flex-wrap: wrap;
}
.glossary-details-section .post-meta span {
    color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}
.glossary-details-section .post-meta span svg {
	width: 16px;
    height: 16px;
}
.glossary-details-section .post-meta span a {
	text-decoration: none;;
}
.glossary-details-section .content-wrapper p,
.glossary-details-section .content-wrapper ul li,
.glossary-details-section .content-wrapper ol li {
	font-family: 'Proxima Nova Rg';
    font-weight: 700;
}
.glossary-details-section .content-wrapper ul li,
.glossary-details-section .content-wrapper ul {
	list-style-type: disc;
}
.glossary-details-section .content-wrapper ol li,
.glossary-details-section .content-wrapper ol {
	list-style-type: decimal;
}
.back-to-glossary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f4f6f8;
    color: #000 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    margin-bottom: 25px;
}

.back-to-glossary-btn:hover {
	background-color: transparent !important;
	color: #fff !important;
	border-color: #fff !important;
}
.wpgm-entry-title a:hover {
	color: #000;
}

@media (max-width: 1199px) {
	.wpgm-entry-title {
		font-size: 22px !important;
		line-height: 27px !important;
	}
}
@media (max-width: 575px) {
	.wpgm-card-inner {
		padding: 15px;
	}
}