/* GC Partners Page Styles */

/* Hero Section - consistent with site */
.gc-partners-page .hero-section {
    position: relative;
    width: 100%;
    height: 30vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.gc-partners-page .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gc-partners-page .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gc-partners-page .hero-content {
    text-align: left;
    color: white;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
}

.gc-partners-page .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.gc-partners-page .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    margin-top: 10px !important;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
    max-width: 550px;
}

.gc-partners-page .hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.gc-partners-page .hero-button:hover {
    border-color: #ff2400;
    color: #ff2400;
}

/* Container */
.gc-partners-container {
    padding: 60px 0 80px;
    background-color: #f8f9fa;
}

.gc-partners-container .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Intro Content */
.gc-partners-intro {
    max-width: 700px;
    margin: 0 0 40px;
}

.gc-partners-intro h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.gc-partners-intro p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

/* Section Title - left aligned */
.gc-partners-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    margin: 0 0 30px;
    position: relative;
    padding-bottom: 12px;
}

.gc-partners-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ff2400;
}

/* Partners Grid - horizontal card layout */
.gc-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Partner Card - horizontal: logo left, name right */
.gc-partner-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Linked partner cards (anchor variant) */
a.gc-partner-card {
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.gc-partner-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Partner Logo - compact left side */
.gc-partner-logo {
    width: 90px;
    min-width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #fff;
    box-sizing: border-box;
}

.gc-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Placeholder when no logo uploaded */
.gc-partner-logo-placeholder {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-partner-logo-placeholder span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

/* Partner Name - right side */
.gc-partner-name {
    flex: 1;
    padding: 12px 18px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.gc-partner-name h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Empty State */
.gc-partners-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
}

.gc-partners-empty p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* Responsive */

@media (max-width: 1400px) {
    .gc-partners-page .hero-section {
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 1024px) {
    .gc-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gc-partners-page .hero-section {
        height: auto;
        min-height: 250px;
        max-width: 100%;
    }

    .gc-partners-page .hero-content {
        padding: 25px 20px;
    }

    .gc-partners-container {
        padding: 40px 0 60px;
    }

    .gc-partners-container .container {
        padding: 0 15px;
    }

    .gc-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gc-partners-section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .gc-partners-intro {
        margin-bottom: 30px;
    }

    .gc-partners-intro p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gc-partners-page .hero-section {
        min-height: 200px;
    }

    .gc-partners-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gc-partner-logo {
        width: 60px;
        min-width: 60px;
        height: 60px;
        padding: 8px;
    }

    .gc-partner-name {
        padding: 10px 14px;
    }

    .gc-partner-name h3 {
        font-size: 0.8rem;
    }
}
