/* 
 * Workshop Report Page Styles
 * Extends the global styles in ../style.css
 */

/* Progress Bar at the top of the page */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001; /* Must be higher than header (100) */
}

#progressBar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--c-primary), var(--c-secondary));
    border-radius: 0 2px 2px 0;
    transition: width 0.1s ease-out;
}

/* Adjust layout for fixed header */
.report-hero {
    padding-top: 140px; /* Account for fixed header + top announcement */
    padding-bottom: 60px;
    background: radial-gradient(circle at 90% -20%, var(--c-secondary), transparent 40%),
                radial-gradient(circle at -10% 80%, rgba(255, 123, 84, 0.08), transparent 50%);
    text-align: center;
    border-bottom: 2px dashed rgba(255, 123, 84, 0.1);
}

.report-hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.report-title {
    font-size: 38px;
    line-height: 1.3;
    color: var(--c-text);
    margin-bottom: 20px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .report-title {
        font-size: 28px;
    }
}

.report-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--c-text-light);
    font-size: 15px;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    font-weight: 500;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item svg {
    color: var(--c-primary);
}

/* Article Layout */
.report-body {
    background-color: var(--c-bg-light);
}

.article-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 24px;
}

.article-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 50px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    .article-card {
        padding: 30px 20px;
    }
}

/* Article Typography */
.article-card p {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--c-text);
    margin-bottom: 24px;
    text-align: justify;
}

.article-card h2, 
.article-card h3 {
    color: var(--c-text);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-card h2 {
    font-size: 24px;
    border-left: 6px solid var(--c-primary);
    padding-left: 16px;
    line-height: 1.3;
}

.article-card h3 {
    font-size: 20px;
    border-bottom: 2px dashed var(--c-tertiary);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Photos & Captions as Cards */
.photo-card {
    background: var(--c-bg-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 32px 0;
    border: 1px solid rgba(255, 123, 84, 0.1);
    transition: var(--trans);
    box-shadow: var(--shadow-sm);
}

.photo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--c-secondary);
}

.photo-wrapper {
    overflow: hidden;
    border-radius: var(--radius-sm);
    background-color: #f0f0f0;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    isolation: isolate;
}

.photo-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 450px;
    transition: transform 0.4s ease;
}

.photo-card:hover img {
    transform: scale(1.03);
}

.photo-caption {
    margin-top: 14px;
    text-align: center;
    font-size: 14px;
    color: var(--c-text-light);
    line-height: 1.5;
}

.photo-badge {
    display: inline-block;
    background-color: var(--c-primary);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

/* Voice / Testimonials Quotes */
.quotes-container {
    background: #FFF;
    border: 2px solid var(--c-secondary);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 36px 0;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.quotes-container::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 80px;
    color: rgba(255, 123, 84, 0.15);
    line-height: 1;
}

.quotes-container p {
    font-size: 15px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--c-primary);
    line-height: 1.6;
}

.quotes-container p:last-child {
    margin-bottom: 0;
}

/* Back Button & Actions */
.article-actions {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--c-border);
    padding-top: 40px;
}

.btn-back {
    background-color: transparent;
    color: var(--c-text-light);
    border: 2px solid var(--c-border);
}

.btn-back:hover {
    background-color: var(--c-bg-light);
    color: var(--c-text);
    border-color: var(--c-text-light);
}

/* Top Announcement bar adjustment for relative links */
.top-announcement .announcement-link {
    cursor: pointer;
}
