/* Metode page styles — frame cards, founder cards, section visuals */

/* Frame cards — used by frame-cards.html include */
.frames-horizontal {
    margin: 32px 0;
}

.frames-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.frame-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--box-background-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-accent);
}

.frame-struct { border-color: #2A4D6E; }
.frame-human { border-color: #D4A836; }
.frame-political { border-color: #355E3B; }
.frame-symbol { border-color: #8E0D3C; }

.frame-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.frame-content {
    flex: 1;
    min-width: 0;
}

.frame-content h3 {
    margin: 0 0 4px 0;
    font-size: 1.1em;
}

.frame-desc {
    font-size: 0.85em;
    opacity: 0.7;
    margin: 0 0 8px 0;
}

.frame-detail-text {
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.frame-content cite {
    font-size: 0.8em;
    font-style: italic;
    opacity: 0.7;
}

/* Founder cards — used by profiles.html include */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.founder-card {
    padding: 24px;
    background: var(--box-background-light);
    border-radius: 12px;
    text-align: center;
}

.founder-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.founder-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.1em;
}

.founder-card p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Dark mode overrides */
.dark-mode .frame-item {
    background: var(--box-background-dark);
}

.dark-mode .founder-card {
    background: var(--box-background-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .frames-row {
        grid-template-columns: 1fr;
    }

    .frame-item {
        flex-direction: column;
        text-align: center;
    }

    .frame-image {
        margin: 0 auto;
    }

    .founders-grid {
        grid-template-columns: 1fr;
    }
}
