/* =========================================
   PARCEIROS (GRID & SINGLE)
   ========================================= */

/* Grid de parceiros */
.post-type-archive-partner .content-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

/* Card/Box do parceiro */
.list-box {
    background: #fff;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    margin-bottom: 2rem;
    position: relative;
}

.list-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.list-box-inner {
    display: flex;
    height: 100%;
}

/* Link estendido */
.partner-stretch-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Área da logo */
.list-box-image {
    width: 200px;
    display: flex;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 0;
}

.list-box-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Placeholder com iniciais */
.partner-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--color-secondary, #0066cc) 0%, #004a99 100%);
    color: #ffffff;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: inherit;
    user-select: none;
}

.partner-placeholder {
    color: var(--color-muted, #999);
    font-size: 0.9rem;
}

/* Título e conteúdo */
.list-box-header,
.list-box-content {
    padding: 1rem 1.5rem;
}

.list-box-title {
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.list-box-title a {
    color: var(--color-text, #111);
}

.list-box-title a:hover {
    color: var(--color-primary, #0066cc);
}

.list-box-content {
    color: var(--color-muted, #666);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Container do grid */
.partner-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Partner single - Localização */
.partner-location {
    margin: 2rem auto;
}

.partner-location h4 {
    font-size: 1.5em;
    color: var(--color-dark-grey);
}

.set-location-map {
    border: 1px solid var(--color-dark-grey);
    border-radius: 8px;
    overflow: hidden;
}

/* Partner single - Contato */
.partner-contact {
    margin: 1rem 0;
    background-color: var(--color-bg-dark);
    border-radius: 12px;
    padding: 12px 20px;
}

.partner-contact h4 {
    font-size: 1.5em;
    color: var(--color-dark-grey);
    margin-bottom: 1.2rem;
}

.partner-contact p {
    margin-bottom: 0.75rem;
}

.partner-contact p a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partner-contact .inline-svg {
    display: block;
    width: 24px;
    height: 24px;
}

.partner-contact svg {
    width: 100%;
    height: auto;
}