/* ==========================================
   stroll.link Articles - Integrated Style
   Bright, Pale-toned, Elegant Aesthetics
   ========================================== */

:root {
    --bg-page: #faf9f7;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-color: #e2e8f0;
    --border-glow: #cbd5e1;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #8c9ba5;
    
    /* Category Colors - Refined Light Tones */
    --accent-shine: #b45309;
    --accent-shine-bg: #fef3c7;
    --accent-shine-border: #fde68a;
    
    --accent-colorful: #0284c7;
    --accent-colorful-bg: #e0f2fe;
    --accent-colorful-border: #bae6fd;
    
    --accent-materiality: #6d28d9;
    --accent-materiality-bg: #f3e8ff;
    --accent-materiality-border: #ddd6fe;
    
    --accent-flower: #be185d;
    --accent-flower-bg: #fce7f3;
    --accent-flower-border: #fbcfe8;

    --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Meiryo", "Noto Sans JP", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.9;
    letter-spacing: 0.02em;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.02) 0%, transparent 50%);
}

/* Background Animated Gradient Overlay */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Navbar Navigation */
.article-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 1.5rem;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.nav-back:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateX(-2px);
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0f172a;
    text-decoration: none;
}

/* Article Hero Header */
.article-hero {
    position: relative;
    padding: 4.5rem 1.5rem 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.badge-shine {
    background: var(--accent-shine-bg);
    color: var(--accent-shine);
    border-color: var(--accent-shine-border);
}

.badge-colorful {
    background: var(--accent-colorful-bg);
    color: var(--accent-colorful);
    border-color: var(--accent-colorful-border);
}

.badge-materiality {
    background: var(--accent-materiality-bg);
    color: var(--accent-materiality);
    border-color: var(--accent-materiality-border);
}

.badge-flower {
    background: var(--accent-flower-bg);
    color: var(--accent-flower);
    border-color: var(--accent-flower-border);
}

.article-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Gallery Association Hero Banner */
.gallery-hero-banner {
    position: relative;
    max-width: 900px;
    margin: 1.5rem auto 3.5rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.gallery-hero-banner img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95);
    transition: transform 0.5s ease;
}

.gallery-hero-banner:hover img {
    transform: scale(1.02);
}

.gallery-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 42%, rgba(255, 255, 255, 0.1) 75%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.banner-caption {
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Main Content Container */
.article-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
    position: relative;
    z-index: 1;
}

.article-body {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
    .article-body {
        padding: 1.8rem;
        border-radius: 16px;
    }
}

.article-body p {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 1.75rem;
    line-height: 1.95;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2.75rem 0 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #0f172a;
}

.article-body ul {
    margin: 1.5rem 0 2rem 1.5rem;
    color: #475569;
}

.article-body li {
    margin-bottom: 0.75rem;
    font-size: 1.025rem;
}

/* Gallery CTA Card (Direct Link & Association) */
.gallery-cta-box {
    margin: 3rem 0;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.gallery-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.cta-shine {
    background: #fffdf5;
    border-color: #fde68a;
}
.cta-shine::before {
    background: linear-gradient(90deg, transparent, #b45309, transparent);
}

.cta-colorful {
    background: #f8fbff;
    border-color: #bae6fd;
}
.cta-colorful::before {
    background: linear-gradient(90deg, transparent, #0284c7, transparent);
}

.cta-materiality {
    background: #fbf9ff;
    border-color: #ddd6fe;
}
.cta-materiality::before {
    background: linear-gradient(90deg, transparent, #6d28d9, transparent);
}

.cta-flower {
    background: #fff9fb;
    border-color: #fbcfe8;
}
.cta-flower::before {
    background: linear-gradient(90deg, transparent, #be185d, transparent);
}

.gallery-cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-cta-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.65;
}

.btn-cta-gallery {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    color: #ffffff;
    background: #0f172a;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-cta-gallery:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

/* Related Widget Box (e.g. Notice Guide) */
.widget-card {
    margin: 2.2rem 0;
    padding: 1.25rem 1.6rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.widget-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.widget-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.widget-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.widget-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tags Section */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.article-tag {
    font-size: 0.825rem;
    color: var(--text-secondary);
    background: #f1f5f9;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* Footer */
.article-footer {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
}


