/* WP Glossary Manager Frontend Styles */
.wpgm-glossary-wrapper {
	margin: 30px auto 0;
	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 {
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
    border: 1px solid #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.wpgm-card-inner {
	padding: 30px;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.wpgm-entry-title {
	color: #000000;
	font-size: 26px;
	margin-top: 0;
	line-height: 1;
	margin-bottom: 15px;
	font-weight: normal;
}
.wpgm-entry-title a:visited,
.wpgm-entry-title a {
	color: #000;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wpgm-entry-title a:hover {
	color: #000;
}

.wpgm-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	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;
}

.wpgm-flex-grow {
	flex-grow: 1 !important;
}

.wpgm-entry-excerpt p {
	font-size: 16px;
	font-weight: normal;
	line-height: 24px;
    color: #000;
}

.wpgm-btn-read-more {
    background: #000;
    border: 1px solid #000;
    color: #fff !important;
    padding: 8px 16px;
    font-size: 16px;
    font-family: 'Segoe UI Bold';
    font-weight: bold;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
    font-family: 'Segoe UI This Bold';
}
.wpgm-btn-read-more:hover {
    background: transparent;
    color: #000 !important;
}

.wpgm-btn-read-more svg {
	display: none;
}
.wpgm-pagination-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.wpgm-pagination {
	display: flex;
	gap: 0;
	flex-wrap: wrap;
	align-items: center;
}

.wpgm-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    background: #ffffff;
    color: #000;
    border: 1px solid #D9D9D9;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
    font-size: 15px;
    margin: -1px;
}

.wpgm-pagination .page-numbers:hover,
.wpgm-pagination .page-numbers.current {
    background: #F2F2F2;
    border-color: #D9D9D9 !important;
    font-weight: normal !important;
}

.wpgm-pagination-info {
    margin-right: 15px;
    color: #000;
    font-size: 15px;
    font-weight: 400;
}

.wpgm-no-results {
	background: #f9f9f9;
	padding: 40px;
	border-radius: 12px;
	text-align: center;
	color: #666;
	font-size: 1.1rem;
	border: 1px dashed #ccc;
}
.category-glossary .entry-meta,
.category-glossary .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}
.category-glossary .entry-content a,
.breadcrumb a {
    color: #c21919;
    text-decoration: underline;
}
.category-glossary .entry-content a:hover,
.breadcrumb a:hover {
    text-decoration: none;
    color: #404040;
}
.category-glossary .entry-meta a {
    color: #404040;
}
.category-glossary h1,
.category-glossary .entry-content h2,
.category-glossary .entry-content h3,
.category-glossary .entry-content h4,
.category-glossary .entry-content h5,
.category-glossary .entry-content h6 {
    margin: 25px 0;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
}
.category-glossary .entry-content h3 {
    font-size: 30px;
}
.category-glossary .entry-content h4 {
    font-size: 26px;
}
.category-glossary .entry-content h6,
.category-glossary .entry-content h5 {
    font-size: 22px;
}
.category-glossary .entry-content ol,
.category-glossary .entry-content ul {
    margin-left: 40px;
    padding-left: 0;
}
.category-glossary .entry-content ol li {
    padding-left: 0;
}
.error-404.not-found {
    padding: 110px 0;
    text-align: center;
}
.error-404.not-found h1 {
    font-weight: bold;
    font-size: 85px;
    line-height: 1;
    margin: 0 0 10px;
    color: #c21919;
}
.error-404.not-found h2 {
    font-weight: normal;
    font-size: 30px;
    margin: 0 0 10px;
}
.backto-button {
    margin: 25px auto 0;
}
.backto-button .btn-black {
    font-size: 14px;
}
@media (max-width: 1679px) {
    .wpgm-card-inner {
        padding: 22px;
    }
    .page-template-page-glossary .blog-cat-inner {
        margin: 0;
    }
}
@media (max-width: 1199px) {
    .category-glossary h1 {
        font-size: 34px;
        line-height: 40px;
    }
    .category-glossary .entry-content h2 {
        font-size: 30px;
    }
    .category-glossary .entry-content h3 {
        font-size: 24px;
    }
    .category-glossary .entry-content h4 {
        font-size: 20px;
    }
    .category-glossary .entry-content h6,
    .category-glossary .entry-content h5 {
        font-size: 18px;
    }
    .category-glossary .entry-content ol, .category-glossary .entry-content ul {
        margin-left: 20px;
        padding-left: 0;
    }
}
@media (max-width: 1023px) {
	.error-404.not-found {
		padding: 70px 0;
	}
	.error-404.not-found h1 {
		font-size: 55px;
	}
	.error-404.not-found h2 {
		font-size: 22px;
	}
}