/* css/news.styles.css */

main {
    padding-top: 120px; /* 固定ヘッダーの高さ分 */
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.event-header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.ai-disclaimer {
    text-align: right;
    margin-top: 5px;
    font-size: 0.8rem; /* Adjust as needed */
    color: var(--neutral-500);
}

.event-details {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}
.event-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--primary-teal);
    display: inline-block;
}

.event-details ul {
    list-style: none;
    padding-left: 0;
}
.event-details li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
}
.event-details li .label {
    font-weight: 700;
    color: var(--neutral-800);
    min-width: 100px;
    margin-right: 1rem;
}
.event-details .content-list {
    list-style: '✓ ';
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}
.event-details .content-list li {
    margin-bottom: 0.5rem;
}

.event-highlight {
    margin-bottom: 3rem;
    text-align: left;
}

.event-highlight h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-orange);
    white-space: nowrap;
}

.event-highlight h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-orange);
    white-space: nowrap;
}

.event-highlight h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
    display: inline-block;
    white-space: nowrap;
}

.event-highlight p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.event-highlight img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-top: 1.5rem;
}

/* Communicator Profile Section */
.communicator-profile {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--neutral-200);
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 2rem; /* Space between items */
}

.communicator-profile .communicator-image {
    width: 150px; /* Smaller size */
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-left: 2rem; /* Space from text */
    margin-bottom: 1rem;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.communicator-profile .communicator-info h4 {
    margin-bottom: 1.5rem;
}

.communicator-profile .communicator-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.communicator-profile .communicator-details li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    display: block; /* Override default li style */
}

@media (max-width: 768px) {
    .communicator-profile {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }
}


.map-container {
    margin-top: 2rem;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid var(--neutral-200);
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border:0;
}

.event-details .button-container {
    text-align: center; 
    margin: 2.5rem 0 2rem;
}

.back-to-top-container {
    text-align: center; 
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .event-details {
        padding: 1.5rem;
    }
    .event-details li {
        flex-direction: column;
        align-items: flex-start;
    }
    .event-details li .label {
        margin-bottom: 0.5rem;
    }
    .event-details h3 {
        font-size: 1.5rem;
    }
    .event-highlight h4 {
        font-size: 1.4rem;
        white-space: normal; /* Allow title to wrap on mobile */
    }
    .communicator-profile {
        flex-direction: column; /* Stack on mobile */
        align-items: center; /* Center items on mobile */
    }
    .communicator-profile .communicator-image {
        order: 1; /* Image on top on mobile */
        margin: 0 auto 1.5rem auto; /* Center image and add bottom margin */
    }
    .communicator-profile .communicator-info {
        order: 2; /* Text below image on mobile */
        text-align: center; /* Center text on mobile */
    }
}
