/* News & Information Pages Styles */

:root {
    --primary-black: #000000;
    --accent-color: #ff6b6b;
    --accent-gray: #666666;
    --light-gray: #f8f9fa;
    --border-gray: #e9ecef;
    --text-gray: #495057;
    --background-white: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--background-white);
}

/* Page Container */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.site-header {
    background: var(--background-white);
    border-bottom: 1px solid var(--border-gray);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.site-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 100;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.site-subtitle {
    font-size: 0.9rem;
    color: var(--accent-gray);
    margin-bottom: 1rem;
    font-weight: 300;
}

.breadcrumb {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 200;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent-gray);
    font-weight: 300;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-item {
    background: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-gray);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-item.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured .news-image {
    height: 300px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
}

.featured .news-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-gray);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--primary-black);
}

.featured .news-title {
    font-size: 1.8rem;
    font-weight: 400;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-black);
    transform: translateX(5px);
}

.read-more::after {
    content: '�';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-gray);
    background: var(--background-white);
    color: var(--text-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-black);
    color: white;
    border-color: var(--primary-black);
}

/* Information Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--background-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.info-content {
    line-height: 1.6;
}

.info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item label {
    font-weight: 500;
    color: var(--primary-black);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.info-item span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Access Methods */
.access-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.access-method {
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-align: center;
}

.access-method strong {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.access-method p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Map Placeholder */
.map-placeholder {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 2px dashed var(--border-gray);
}

.map-notice p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.map-notice small {
    color: var(--accent-gray);
    font-size: 0.8rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    gap: 2rem;
}

.team-member {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.member-photo {
    flex-shrink: 0;
}

.placeholder-photo {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.member-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--primary-black);
}

.member-role {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Awards List */
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.award-item:hover {
    background: var(--accent-color);
    color: white;
}

.award-year {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1rem;
    min-width: 60px;
}

.award-item:hover .award-year {
    color: white;
}

.award-name {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.award-item:hover .award-name {
    color: white;
}

/* Philosophy Text */
.philosophy-text p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.philosophy-text p:last-child {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: var(--primary-black);
    color: white;
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.studio-info h4 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.studio-info p {
    font-size: 0.9rem;
    color: #cccccc;
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-link:hover {
    color: white;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 2rem 1rem;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-item.featured {
        grid-template-columns: 1fr;
    }
    
    .featured .news-image {
        height: 200px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .access-methods {
        grid-template-columns: 1fr;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .news-content,
    .info-card {
        padding: 1rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .page-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item,
.info-card {
    animation: fadeInUp 0.6s ease-out;
}

.news-item:nth-child(even) {
    animation-delay: 0.1s;
}

.news-item:nth-child(3n) {
    animation-delay: 0.2s;
}

/* Map Container Styles */
.map-container {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

.map-address {
    background: var(--light-gray);
    padding: 0.75rem 1rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
    border-top: 1px solid var(--border-gray);
}

/* News Detail Page Styles */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.detail-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.category-badge.event {
    background: rgba(255, 107, 107, 0.1);
    color: var(--accent-color);
}

.category-badge.exhibition {
    background: rgba(102, 102, 102, 0.1);
    color: var(--accent-gray);
}

.detail-date {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.detail-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 300;
}

.detail-content {
    line-height: 1.8;
}

.main-image {
    margin-bottom: 3rem;
    text-align: center;
}

.main-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
}

.content-text {
    margin-bottom: 3rem;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-black);
    margin: 2rem 0 1rem 0;
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
}

.content-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.image-gallery {
    margin: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    background: var(--background-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

.event-details {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.event-details p {
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.detail-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
    text-align: center;
}

.back-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 400;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Additional styles for BlackBox Gallery page */
.activity-list {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    list-style: none;
}

.activity-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-gray);
    position: relative;
    padding-left: 1.5rem;
}

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

.activity-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.application-requirements {
    background: var(--background-white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.application-requirements h4 {
    color: var(--primary-black);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 0.5rem;
}

.application-requirements h4:first-child {
    margin-top: 0;
}

.application-requirements ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.application-requirements li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.contact-section {
    background: rgba(255, 107, 107, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 2rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
}

.contact-details {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--background-white);
    border-radius: 6px;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Responsive Design for Detail Pages */
@media (max-width: 768px) {
    .news-detail {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .detail-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .pagination,
    .site-footer,
    .detail-footer {
        display: none;
    }
    
    .news-item,
    .info-card,
    .news-detail {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .map-container {
        display: none;
    }
    
    .gallery-grid {
        display: none;
    }
}