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

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.top-bar {
    background-color: #4a90a4;
    height: 5px;
    width: 100%;
}

.header {
    background-color: #ffffff;
    padding: 20px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 80px;
    width: auto;
}

.conference-title {
    display: flex;
    flex-direction: column;
}

.title-line1 {
    font-size: 18px;
    font-weight: bold;
    color: #1e3a5f;
    line-height: 1.2;
}

.title-line2 {
    font-size: 20px;
    font-weight: bold;
    color: #1e3a5f;
    margin-top: 5px;
}

.search-section {
    display: flex;
    align-items: center;
}

.search-box {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

.main-nav {
    background-color: #e8e8e8;
    padding: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 15px 20px;
    color: #1e3a5f;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #d0d0d0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 2;
}

.sidebar {
    flex: 1;
    min-width: 250px;
}

.hero-section {
    position: relative;
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-text {
    position: absolute;
    bottom: 60px;
    left: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 10px;
}

.hero-logos {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #ffffff;
}

.hero-logos img {
    height: 40px;
    width: auto;
    opacity: 0.9;
}

.hero-thanks {
    font-size: 18px;
    font-weight: bold;
    color: #4a90a4;
    text-align: center;
    padding: 20px;
    margin: 0;
    background-color: #ffffff;
}

.panel-image {
    margin-bottom: 30px;
}

.panel-image img {
    width: 100%;
    height: auto;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    color: #1e3a5f;
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90a4;
}

hr.content-divider {
    border: none;
    border-top: 2px solid #4a90a4;
}

/* Three columns: PCBBE History, Chairs, Contact */
.three-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.three-columns .three-col {
    flex: 1;
    min-width: 220px;
}

.three-columns .three-col h2 {
    color: #1e3a5f;
    font-size: 22px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4a90a4;
}

.three-columns .history-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.three-columns .history-list li {
    margin-bottom: 8px;
}

.three-columns .history-list a {
    color: #1e3a5f;
    text-decoration: none;
}

.three-columns .history-list a:hover {
    text-decoration: underline;
}

.three-columns .three-col p {
    margin-bottom: 12px;
    font-size: 14px;
}

.three-columns .three-col a {
    color: #4a90a4;
    text-decoration: underline;
}

.three-columns .three-col a:hover {
    color: #1e3a5f;
}

.three-columns .three-col-map {
    margin: 15px 0;
}

.three-columns .three-col-map img {
    max-width: 100%;
    height: auto;
    display: block;
}

.three-columns .three-col-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.three-columns .three-col-logo img {
    max-width: 80px;
    height: auto;
}

.three-columns .three-col-logo p {
    margin: 0;
    font-size: 14px;
}

.content-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-section li {
    margin-bottom: 8px;
}

.content-section a {
    color: #4a90a4;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.sponsor-item {
    text-align: center;
}

.sponsor-item img {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.sponsor-item p {
    font-size: 14px;
    color: #666;
}

.media-patronage {
    text-align: center;
    margin-top: 20px;
}

.media-patronage img {
    max-width: 250px;
    height: auto;
    margin-bottom: 10px;
}

.sidebar-section {
    background-color: #f5f5f5;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.sidebar-section h3 {
    color: #1e3a5f;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.sidebar-section p {
    margin-bottom: 10px;
    font-size: 14px;
}

.sidebar-section a {
    color: #4a90a4;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.sidebar-section a:hover {
    text-decoration: underline;
}

.sidebar-section ul {
    list-style: none;
    margin-left: 0;
}

.sidebar-section ul li {
    margin-bottom: 5px;
}

.patronage-logo,
.organizer-logo {
    max-width: 150px;
    height: auto;
    margin: 10px 0;
    display: block;
}

.organizer-logo.logo-white-bg {
    background-color: #fff;
    padding: 8px;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #4a90a4;
    text-decoration: none;
}

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

.for-authors-nav {
    margin-bottom: 20px;
    font-size: 14px;
}

.for-authors-nav a {
    color: #4a90a4;
    text-decoration: none;
}

.for-authors-nav a:hover {
    text-decoration: underline;
}

.accommodation-notice {
    color: #c00;
    font-weight: 500;
    margin: 20px 0;
    padding: 15px;
    background-color: #fff5f5;
    border-left: 4px solid #c00;
}

.page-title {
    font-size: 32px;
    color: #1e3a5f;
    margin-bottom: 20px;
    font-weight: bold;
}

.session-title {
    font-size: 28px;
    color: #1e3a5f;
    margin-bottom: 15px;
    font-weight: bold;
}

.session-organizer {
    margin-bottom: 20px;
}

.session-organizer strong {
    display: block;
    margin-bottom: 5px;
    color: #1e3a5f;
}

.session-scope {
    margin-bottom: 30px;
}

.session-scope strong {
    display: block;
    margin-bottom: 10px;
    color: #1e3a5f;
}

.session-scope p {
    margin-bottom: 15px;
    text-align: justify;
}

.session-scope ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.session-scope li {
    margin-bottom: 8px;
}

/* Session diagrams (Biomaterials and implants, Biomaterials for controlled delivery) */
.session-diagram {
    margin: 25px 0;
    padding: 20px;
    background-color: #f9fbfc;
    border: 1px solid #e8f4f8;
    border-radius: 8px;
}

.session-diagram h4 {
    color: #1e3a5f;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
}

.session-diagram-img,
.session-graphic {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.diagram-credit {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 20px;
}

.navigation-buttons.nav-next-only {
    justify-content: flex-end;
}

.nav-button {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #e0e0e0;
}

.speaker-item {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
}

.speaker-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.speaker-info {
    flex: 1;
}

.speaker-name {
    font-size: 20px;
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.speaker-topic {
    font-size: 18px;
    color: #4a90a4;
    margin-bottom: 15px;
}

.speaker-bio {
    text-align: justify;
    margin-bottom: 10px;
}

.committee-list {
    list-style: none;
    margin-left: 0;
}

.committee-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.committee-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a90a4;
    font-weight: bold;
}

.committee-member {
    font-weight: bold;
    color: #1e3a5f;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #4a90a4;
    color: #ffffff;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f5f5f5;
}

.sponsorship-table td:first-child {
    font-size: 13px;
    min-width: 180px;
}

.sponsors-nav {
    margin-bottom: 20px;
    font-size: 14px;
}

.sponsors-nav a {
    color: #4a90a4;
    text-decoration: none;
}

.sponsors-nav a:hover {
    text-decoration: underline;
}

.venue-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.venue-images img {
    width: 100%;
    height: auto;
}

.venue-caption {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    margin-bottom: 5px;
}

.photo-credit {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-bottom: 20px;
}

.venue-gray-block {
    background-color: #f0f0f0;
    padding: 25px;
    margin: 25px 0;
    border-radius: 5px;
}

.venue-gray-block p {
    margin: 0;
    text-align: justify;
}

.venue-text-block {
    background-color: #1e3a5f;
    color: #ffffff;
    padding: 30px;
    margin: 30px 0;
    border-radius: 5px;
}

.venue-text-block p {
    margin-bottom: 15px;
    text-align: justify;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    color: #1e3a5f;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #4a90a4;
    text-decoration: none;
}

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

.map-container {
    margin: 20px 0;
}

.map-container img {
    width: 100%;
    height: auto;
}

.map-legend {
    margin-top: 15px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.map-legend p {
    margin-bottom: 5px;
}

.video-section {
    margin-bottom: 40px;
}

.video-section h3 {
    color: #1e3a5f;
    margin-bottom: 15px;
}

.video-thumbnail-link {
    display: block;
    position: relative;
    max-width: 640px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(0,0,0,0.7);
    border-radius: 12px;
    color: #fff;
    font-size: 24px;
    line-height: 48px;
    text-align: center;
    padding-left: 4px;
    box-sizing: border-box;
    transition: background 0.3s;
}

.video-thumbnail-link:hover .video-play-overlay {
    background: rgba(204,0,0,0.9);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer {
    background-color: #f5f5f5;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

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

.footer-content .breadcrumbs-footer,
.footer-content .copyright {
    color: #666;
    font-size: 14px;
}

.footer-content .copyright {
    flex: 1;
    text-align: center;
}

.back-to-top {
    color: #4a90a4;
    text-decoration: none;
    font-size: 14px;
}

.back-to-top:hover {
    text-decoration: underline;
}

.workshop-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #4a90a4;
    border-radius: 4px;
}

.workshop-item h3 {
    color: #1e3a5f;
    font-size: 20px;
    margin-bottom: 10px;
}

.workshop-item p {
    margin-bottom: 0;
    text-align: justify;
}

.session-item {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.session-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav a {
        text-align: center;
    }
    
    .venue-images {
        grid-template-columns: 1fr;
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
    
    .three-columns .three-col {
        min-width: 100%;
    }
}
