/* public/css/site/about-awards.css */

/* ========= About: Hero (Plain) ========= */
.about-hero {
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: clip;
    padding-block: clamp(28px, 8vh, 72px);
}

.about-hero--plain {
    background: #000;
    color: #fff;
    padding-block: clamp(32px, 12vh, 92px);
}

.about-hero__center {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.about-hero__headline {
    margin: 6px 0 6px;
    font-weight: 900;
    line-height: 1.12;
    font-size: clamp(30px, 6.8vw, 56px);
    letter-spacing: 0.1px;
}

.about-hero__line {
    display: block;
}

.about-hero__line--soft {
    opacity: 0.95;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero animation */
@keyframes aboutFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.about-hero--plain .about-hero__headline {
    animation: aboutFadeUp 0.6s var(--reveal-ease, ease-out) both;
    animation-delay: 0.05s;
}

@media (max-width: 640px) {
    .about-hero--plain {
        padding-block: clamp(26px, 10vh, 64px);
    }

    .about-hero__headline {
        font-size: clamp(24px, 6vw, 34px);
    }
}

/* ========= Generic Section Layout ========= */
.section {
    padding-block: clamp(32px, 12vh, 92px);
}

.section__title {
    margin: 0;
    font-weight: 700;
    color: var(--black);
    font-size: clamp(20px, 4.4vw, 32px);
    letter-spacing: 0.2px;
}

/* ========= Awards Section ========= */

.awards {
    background: #ffffff;
}

.awards__head {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.awards__intro {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.9;
    font-weight: 600;
}

/* Grid for certificates placeholders */
.awards-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.award-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--card, #f7f7f8);
    border: 1px dashed var(--line, #e9eaec);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
}

.award-card__badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    opacity: 0.7;
}

.award-card__meta {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.award-card__label {
    font-size: 14px;
    font-weight: 800;
    color: var(--black);
}

.award-card__hint {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

/* Login hint */
.awards-login-hint {
    margin-top: 26px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #0b0d10;
    color: #e8eaee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.awards-login-hint__text {
    margin: 0;
    font-weight: 600;
    line-height: 1.7;
}

.awards-login-hint__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    background: var(--accent, #c9a552);
    color: var(--accent-ink, #13100a);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.awards-login-hint__btn:hover,
.awards-login-hint__btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    outline: none;
}

@media (max-width: 640px) {
    .awards__head {
        text-align: center;
    }

    .awards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .awards-login-hint {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .awards-login-hint__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *[data-anim] {
        transition: none !important;
        animation: none !important;
    }
}
