/* Homepage Rebuild CSS */

.gr-homepage {
    color: #eee;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

.gr-section {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.gr-section-title {
    font-size: 2.8em;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.gr-section-desc {
    font-size: 1.2em;
    color: #888;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.gr-hero {
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-bottom: 1px solid #222;
}

.gr-hero h1 {
    font-size: 4.5em;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.gr-hero p {
    font-size: 1.6em;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.gr-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.gr-btn {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.gr-btn-primary {
    background: #4da3ff;
    color: #000;
}

.gr-btn-primary:hover {
    background: #fff;
    transform: translateY(-3px);
}

.gr-btn-secondary {
    background: transparent;
    border: 2px solid #444;
    color: #fff;
}

.gr-btn-secondary:hover {
    border-color: #fff;
    transform: translateY(-3px);
}

/* Category Grid */
.gr-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.gr-cat-card {
    background: #111;
    border: 1px solid #222;
    padding: 40px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gr-cat-card:hover {
    border-color: #4da3ff;
    transform: translateY(-5px);
    background: #161616;
}

.gr-cat-card h3 {
    font-size: 1.8em;
    color: #fff;
    margin-bottom: 15px;
}

.gr-cat-card p {
    color: #888;
    margin: 0;
}

/* Person Cards */
.gr-person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.gr-person-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gr-person-card:hover {
    transform: translateY(-10px);
    border-color: #4da3ff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.gr-person-img {
    height: 350px;
    background-size: cover;
    background-position: center top;
    border-bottom: 1px solid #222;
}

.gr-person-content {
    padding: 25px;
    flex: 1;
}

.gr-person-card h3 {
    font-size: 1.8em;
    color: #fff;
    margin-bottom: 10px;
}

.gr-person-card p {
    font-size: 0.95em;
    color: #aaa;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gr-person-meta {
    font-size: 0.85em;
    color: #666;
    margin-top: auto;
}

.gr-person-meta strong {
    color: #888;
}

/* Guide Cards */
.gr-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.gr-guide-card {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.gr-guide-card:hover {
    border-color: #4da3ff;
    background: #161616;
}

.gr-guide-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.gr-guide-content {
    padding: 25px;
}

.gr-guide-label {
    display: inline-block;
    padding: 4px 12px;
    background: #222;
    color: #4da3ff;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.gr-guide-card h3 {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.gr-guide-card p {
    color: #888;
    font-size: 0.95em;
    margin: 0;
}

/* Compact Latest */
.gr-latest-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.gr-latest-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #222;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gr-latest-item:hover {
    padding-left: 10px;
}

.gr-latest-date {
    flex: 0 0 100px;
    color: #555;
    font-size: 0.9em;
}

.gr-latest-content h3 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.3em;
}

.gr-latest-content p {
    color: #888;
    margin: 0;
    font-size: 0.95em;
}

/* Final CTA */
.gr-final-cta {
    background: #111;
    text-align: center;
    padding: 100px 20px;
    border-top: 1px solid #222;
}

.gr-final-cta h2 {
    font-size: 3em;
    color: #fff;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .gr-hero h1 { font-size: 3em; }
    .gr-section-title { font-size: 2.2em; }
    .gr-hero p { font-size: 1.2em; }
}
