/**
 * About Page (Meist) Styles
 * Unified icon style & design system implementation
 */

/* About page main container */
.about-page {
    line-height: 1.6;
}

/* Section spacing and backgrounds */
.who-we-are-section,
.training-section,
.schedule-section {
    padding: 4rem 0;
    background: #fff;
    padding-bottom: 0px;
}

.team-section,
.values-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section--light {
    background: #f8f9fa;
}

.section--green {
    background: linear-gradient(180deg, #2ac155 0%, #26b24a 40%, #22a743 100%);
    color: white;
}

/* Container and grid layouts */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Card styles following design system */
.rk-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Content card for text sections */
.content-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-grid p {
    max-width: 70ch;
    margin: 0 auto 1.5rem;
    font-size: 1.125rem;
    color: var(--rk-text-soft, #64748b);
}

.content-grid p:last-child {
    margin-bottom: 0;
}

/* Section titles */
.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--rk-text, #1e293b);
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.member-image-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--rk-text);
}

.member-title {
    font-size: 1rem;
    color: var(--rk-blue, #1e68ff);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--rk-text-soft);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.member-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

.rk-pill {
    background: var(--rk-blue, #1e68ff);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Training section */
.training-card {
    max-width: 900px;
    margin: 0 auto;
}

.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.training-grid h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--rk-text);
}

.training-grid p {
    color: var(--rk-text-soft);
    line-height: 1.6;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--rk-text-soft);
}

.skills-list li:last-child {
    border-bottom: none;
}

.skills-list li::before {
    content: "✓";
    color: var(--rk-green, #22c55e);
    font-weight: bold;
    margin-right: 0.75rem;
}

/* Training icons row */
.training-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.icon-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rk-text);
}

/* Values section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
}

.value-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.value-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--rk-text);
}

.value-card p {
    color: var(--rk-text-soft);
    line-height: 1.6;
    margin: 0;
}

/* Schedule section */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-card {
    text-align: center;
}

.schedule-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.schedule-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--rk-text);
}

.schedule-card p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rk-text);
    margin: 0;
}

.schedule-note {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--rk-text-soft);
}

/* Icon chip system - unified design */
.rk-chip {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #E8F0FF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rk-chip:hover {
    background: #dbeafe;
    transform: scale(1.05);
}

.rk-icon {
    width: 48px;
    height: 48px;
}

.rk-icon--duo .accent {
    fill: var(--rk-yellow, #ffd100);
}

.rk-icon--duo .primary {
    stroke: var(--rk-blue, #1e68ff);
    fill: none;
    stroke-width: 2;
}

/* CTA section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.rk-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
}

.rk-button--primary {
    background: var(--rk-yellow, #ffd100);
    color: var(--rk-text, #1e293b);
}

.rk-button--primary:hover {
    background: #f3c400;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Wave dividers */
.about-divider {
    line-height: 0;
    position: relative;
    z-index: 1;
}

.about-divider--bottom {
    margin-top: -1px;
}

.about-divider svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 -2px 8px rgba(0, 0, 0, 0.05));
}

/* Responsive design */
@media (max-width: 1024px) {
    .values-grid,
    .schedule-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title-center {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .training-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .training-icons {
        gap: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .rk-card {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title-center {
        font-size: 1.75rem;
    }

    .member-image-container {
        width: 120px;
        height: 120px;
    }

    .training-icons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
