:root {
--gd-primary: #2271b1;
--gd-primary-dark: #135e96;
--gd-primary-light: #4f94d4;
--gd-text: #1d2327;
--gd-text-light: #646970;
--gd-border: #dcdcde;
--gd-bg: #f6f7f7;
--gd-white: #ffffff;
--gd-shadow: 0 2px 8px rgba(0,0,0,0.1);
--gd-shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
--gd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gd-frontend-container {
padding: 30px 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
} .gd-stats-bar {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 40px;
padding: 30px;
background: linear-gradient(135deg, var(--gd-primary) 0%, var(--gd-primary-dark) 100%);
border-radius: 16px;
box-shadow: var(--gd-shadow-hover);
}
.gd-stat-item {
text-align: center;
padding: 20px;
background: rgba(255,255,255,0.1);
border-radius: 12px;
backdrop-filter: blur(10px);
transition: var(--gd-transition);
}
.gd-stat-item:hover {
background: rgba(255,255,255,0.15);
transform: translateY(-5px);
}
.gd-stat-number {
display: block;
font-size: 36px;
font-weight: 700;
color: var(--gd-white);
margin-bottom: 8px;
}
.gd-stat-label {
display: block;
font-size: 14px;
color: rgba(255,255,255,0.9);
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 500;
} .gd-controls {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding: 20px;
background: var(--gd-white);
border-radius: 12px;
box-shadow: var(--gd-shadow);
flex-wrap: wrap;
gap: 20px;
}
.gd-search-container {
position: relative;
flex: 1;
min-width: 250px;
max-width: 400px;
}
.gd-search-container .dashicons {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: var(--gd-text-light);
pointer-events: none;
}
.gd-search-input {
width: 100%;
padding: 12px 15px 12px 45px;
border: 2px solid var(--gd-border);
border-radius: 25px;
font-size: 14px;
transition: var(--gd-transition);
}
.gd-search-input:focus {
border-color: var(--gd-primary);
outline: none;
box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}
.gd-sort-buttons {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.gd-sort-buttons label {
font-weight: 600;
color: var(--gd-text);
font-size: 14px;
}
.gd-sort-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 10px 20px;
background: var(--gd-white);
border: 2px solid var(--gd-border);
border-radius: 25px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
color: var(--gd-text);
transition: var(--gd-transition);
}
.gd-sort-btn:hover {
border-color: var(--gd-primary);
color: var(--gd-primary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(34, 113, 177, 0.2);
}
.gd-sort-btn.active {
background: var(--gd-primary);
border-color: var(--gd-primary);
color: var(--gd-white);
}
.gd-sort-btn .dashicons {
font-size: 18px;
width: 18px;
height: 18px;
} .gd-loading {
text-align: center;
padding: 60px 20px;
}
.gd-spinner {
width: 50px;
height: 50px;
margin: 0 auto 20px;
border: 4px solid var(--gd-bg);
border-top-color: var(--gd-primary);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.gd-loading p {
color: var(--gd-text-light);
font-size: 16px;
margin: 0;
} .gd-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
margin-bottom: 40px;
} .gd-card {
background: var(--gd-white);
border-radius: 16px;
overflow: hidden;
box-shadow: var(--gd-shadow);
transition: var(--gd-transition);
cursor: pointer;
position: relative;
}
.gd-card:hover {
transform: translateY(-8px);
box-shadow: var(--gd-shadow-hover);
}
.gd-card-photo {
width: 100%;
height: 320px;
overflow: hidden;
background: var(--gd-bg);
position: relative;
}
.gd-card-photo img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gd-card:hover .gd-card-photo img {
transform: scale(1.1);
}
.gd-placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: var(--gd-white);
}
.gd-placeholder .dashicons {
font-size: 80px;
width: 80px;
height: 80px;
opacity: 0.9;
}
.gd-card-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.7);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: var(--gd-transition);
}
.gd-card:hover .gd-card-overlay {
opacity: 1;
}
.gd-view-details {
color: var(--gd-white);
font-weight: 600;
font-size: 16px;
display: flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: var(--gd-primary);
border-radius: 25px;
transform: translateY(20px);
transition: var(--gd-transition);
}
.gd-card:hover .gd-view-details {
transform: translateY(0);
}
.gd-card-content {
padding: 25px;
}
.gd-card-name {
font-size: 20px;
font-weight: 700;
margin: 0 0 12px 0;
color: var(--gd-text);
line-height: 1.3;
}
.gd-card-university {
font-size: 14px;
color: var(--gd-text-light);
margin: 0 0 8px 0;
line-height: 1.5;
display: flex;
align-items: center;
gap: 6px;
}
.gd-card-university .dashicons {
flex-shrink: 0;
}
.gd-card-year {
font-size: 13px;
color: var(--gd-primary);
font-weight: 600;
margin: 0;
display: flex;
align-items: center;
gap: 6px;
} .gd-pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin: 40px 0 20px;
flex-wrap: wrap;
}
.gd-page-btn {
min-width: 44px;
height: 44px;
padding: 0 16px;
background: var(--gd-white);
border: 2px solid var(--gd-border);
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
color: var(--gd-text);
transition: var(--gd-transition);
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.gd-page-btn:hover:not(:disabled) {
border-color: var(--gd-primary);
color: var(--gd-primary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(34, 113, 177, 0.2);
}
.gd-page-btn.active {
background: var(--gd-primary);
border-color: var(--gd-primary);
color: var(--gd-white);
}
.gd-page-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.gd-page-numbers {
display: flex;
gap: 8px;
align-items: center;
}
.gd-page-ellipsis {
padding: 0 8px;
color: var(--gd-text-light);
font-weight: 600;
}
.gd-pagination-info {
text-align: center;
color: var(--gd-text-light);
font-size: 14px;
margin-top: 15px;
} .gd-popup-modal {
display: none;
position: fixed;
z-index: 999999;
left: 0;
top: 0;
width: 100%;
height: 100%;
animation: fadeIn 0.3s ease;
}
.gd-popup-modal.active {
display: flex;
align-items: center;
justify-content: center;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.gd-popup-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.85);
backdrop-filter: blur(5px);
}
.gd-popup-content {
position: relative;
background: var(--gd-white);
border-radius: 20px;
width: 90%;
max-width: 1000px;
max-height: 90vh;
overflow: auto;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 1;
}
@keyframes slideUp {
from {
transform: translateY(50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.gd-popup-close {
position: absolute;
top: 20px;
right: 20px;
width: 44px;
height: 44px;
background: rgba(0,0,0,0.7);
color: var(--gd-white);
border: none;
border-radius: 50%;
cursor: pointer;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
transition: var(--gd-transition);
}
.gd-popup-close:hover {
background: #d63638;
transform: rotate(90deg);
}
.gd-popup-close .dashicons {
font-size: 24px;
width: 24px;
height: 24px;
}
.gd-popup-body {
display: grid;
grid-template-columns: 400px 1fr;
min-height: 500px;
}
.gd-popup-left {
background: var(--gd-bg);
}
.gd-popup-photo {
width: 100%;
height: 100%;
position: relative;
}
.gd-popup-photo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.gd-popup-photo .gd-placeholder {
height: 100%;
}
.gd-popup-right {
padding: 50px 40px;
overflow-y: auto;
}
.gd-popup-header {
margin-bottom: 30px;
padding-bottom: 25px;
border-bottom: 2px solid var(--gd-border);
}
.gd-popup-header h2 {
font-size: 32px;
margin: 0 0 15px 0;
color: var(--gd-text);
line-height: 1.2;
}
.gd-popup-meta {
display: flex;
flex-wrap: wrap;
gap: 20px;
font-size: 15px;
color: var(--gd-text-light);
}
.gd-popup-meta > span {
display: flex;
align-items: center;
gap: 8px;
}
.gd-popup-meta .dashicons {
color: var(--gd-primary);
}
.gd-popup-content-area {
overflow-y: auto;
}
.gd-popup-section {
margin-bottom: 30px;
}
.gd-popup-section h3 {
font-size: 18px;
margin: 0 0 15px 0;
color: var(--gd-text);
display: flex;
align-items: center;
gap: 8px;
font-weight: 700;
}
.gd-popup-section h3 .dashicons {
color: var(--gd-primary);
}
.gd-popup-section p {
font-size: 15px;
line-height: 1.7;
color: var(--gd-text-light);
margin: 0;
white-space: pre-wrap;
}
.gd-popup-contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
}
.gd-contact-item {
display: flex;
align-items: center;
gap: 10px;
padding: 12px;
background: var(--gd-bg);
border-radius: 8px;
font-size: 14px;
}
.gd-contact-item .dashicons {
color: var(--gd-primary);
flex-shrink: 0;
}
.gd-contact-item a {
color: var(--gd-primary);
text-decoration: none;
word-break: break-word;
}
.gd-contact-item a:hover {
text-decoration: underline;
} .gd-no-results {
text-align: center;
padding: 80px 20px;
background: var(--gd-white);
border-radius: 16px;
box-shadow: var(--gd-shadow);
}
.gd-no-results .gd-empty-icon {
margin-bottom: 20px;
}
.gd-no-results .gd-empty-icon .dashicons {
font-size: 80px;
width: 80px;
height: 80px;
color: var(--gd-text-light);
opacity: 0.5;
}
.gd-no-results h3 {
font-size: 24px;
margin: 0 0 10px 0;
color: var(--gd-text);
}
.gd-no-results p {
color: var(--gd-text-light);
font-size: 16px;
margin: 0;
} @media (max-width: 1200px) {
.gd-grid {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 25px;
}
}
@media (max-width: 992px) {
.gd-popup-body {
grid-template-columns: 1fr;
}
.gd-popup-photo {
height: 400px;
}
.gd-popup-right {
padding: 30px 25px;
}
.gd-grid {
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
gap: 20px;
}
}
@media (max-width: 768px) {
.gd-frontend-container {
padding: 20px 0;
}
.gd-stats-bar {
grid-template-columns: 1fr;
padding: 20px;
gap: 15px;
}
.gd-controls {
flex-direction: column;
align-items: stretch;
padding: 15px;
}
.gd-search-container {
max-width: 100%;
}
.gd-sort-buttons {
width: 100%;
justify-content: space-between;
}
.gd-grid {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
}
.gd-card-photo {
height: 250px;
}
.gd-popup-content {
width: 95%;
max-height: 95vh;
border-radius: 12px;
}
.gd-popup-photo {
height: 300px;
}
.gd-popup-right {
padding: 20px;
}
.gd-popup-header h2 {
font-size: 24px;
}
.gd-popup-close {
top: 10px;
right: 10px;
width: 40px;
height: 40px;
}
.gd-popup-contact-grid {
grid-template-columns: 1fr;
}
.gd-pagination {
gap: 6px;
}
.gd-page-btn {
min-width: 40px;
height: 40px;
padding: 0 12px;
font-size: 13px;
}
}
@media (max-width: 480px) {
.gd-grid {
grid-template-columns: 1fr;
}
.gd-card-photo {
height: 320px;
}
.gd-sort-buttons label {
display: none;
}
.gd-sort-btn {
flex: 1;
justify-content: center;
}
} @media print {
.gd-controls,
.gd-pagination,
.gd-pagination-info,
.gd-card-overlay {
display: none !important;
}
.gd-grid {
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}
.gd-card {
page-break-inside: avoid;
}
} .gd-sort-arrow {
font-weight: bold;
margin-left: 3px;
} .gd-card-degree {
font-size: 12px;
color: #2271b1;
font-weight: 600;
margin: 5px 0 0 0;
display: flex;
align-items: center;
gap: 6px;
} .gd-stats-bar {
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
} .gd-popup-degree,
.gd-popup-gender {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 10px;
background: #f0f0f0;
border-radius: 4px;
font-size: 14px;
}
.gd-popup-meta {
display: flex;
flex-wrap: wrap;
gap: 15px;
}
.gd-popup-meta > span {
display: inline-flex;
align-items: center;
gap: 6px;
} .gd-sort-btn.active {
position: relative;
}
.gd-sort-btn.active::before {
content: attr(data-sort-order);
position: absolute;
top: -8px;
right: -8px;
background: #2271b1;
color: white;
width: 18px;
height: 18px;
border-radius: 50%;
font-size: 11px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.gd-sort-btn:not([data-sort-order])::before {
display: none;
}