/* Base Styles */
body {
    font-family: Arial, sans-serif;
    background-color: rgb(255, 255, 255);
    margin: 0;
    padding: 8px;
}

/* Text Center Section */
.text-center {
    background-color: rgb(0, 100, 160);
    border-radius: 3px 120px 0 0;
    padding: 30px;
    text-align: center;
}

.title1 {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    color: rgb(255, 255, 255);
    letter-spacing: 1.5px;
    transition: color 5s, letter-spacing 1s;
    line-height: 1.5;
}

.title-spacing {
    display: block;
    margin-top: 20px;
}

.highlight-text {
    color: rgb(255, 200, 50);
}

/* Recent Publications */
.recent-publications {
    margin-top: 30px;
    width: 100%;
}

.publication-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.publication-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
    border: 2px solid rgb(218, 165, 32);
    border-radius: 8px;
    background: rgb(240, 240, 245);
    width: 100%;
    box-sizing: border-box;
}

.publication-image {
    width: 40%;
    min-width: 200px;
    border-radius: 4px;
    flex-shrink: 0;
}

.publication-content {
    flex: 1;
    min-width: 250px;
}

.publication-subtitle {
    font-size: 18px;
    margin: 0 0 15px;
    color: rgb(0, 0, 0);
}

.publication-title {
    font-size: 22px;
    margin: 0 0 15px;
    line-height: 1.5;
    color: rgb(0, 0, 0);
}

.ai-analysis {
    color: rgb(255, 0, 0);
}

.publication-url {
    font-size: 18px;
    margin: 0;
    color: rgb(0, 102, 204);
    word-break: break-word;
}

/* Process Images Section */
.image-container {
    width: 100%;
}

.process-title {
    line-height: 1.5;
    text-align: left;
    font-size: 1.5em;
    font-weight: bold;
}

.process-spacing {
    display: block;
    margin-top: 15px;
}

.image-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.image-item {
    flex: 1 1 200px;
    box-sizing: border-box;
    padding: 15px;
    text-align: center;
}

.process-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.process-description {
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.cbctst-benefit {
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.5;
    background-color: rgb(255, 230, 150);
    padding: 5px;
    display: inline-block;
}

/* Content Sections */
.content {
    margin: 16px 0;
    padding: 15px;
    border-radius: 8px;
    background-color: rgb(200, 200, 210);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 16px;
    line-height: 1.6;
}

    .content.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .content:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        background-color: rgb(100, 100, 110);
        color: rgb(0, 0, 100);
    }

    .content .left-box {
        flex: 1;
        max-width: 20%;
        padding: 10px;
        background-color: rgb(240, 200, 150);
        color: rgb(255, 255, 255);
        border-radius: 8px 0 0 8px;
        font-size: 16px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        cursor: pointer;
    }

    .content .right-box {
        flex: 4;
        max-width: 80%;
        padding: 10px;
        background-color: rgb(200, 200, 210);
        border-radius: 0 8px 8px 0;
        line-height: 1.6;
    }

.content-description {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 1.5px;
    margin: 0;
}

/* Strong Text */
strong {
    color: rgb(0, 50, 150);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Play Button */
.play-button {
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.audio-control {
    margin-top: 5px;
}

/* Benefits Table */
.table-container {
    padding-top: 0px;
    font-size: 16px;
}

.benefits-table {
    text-align: center;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    border: 2px solid rgb(173, 216, 230);
}

    .benefits-table th, .benefits-table td {
        border: 1px solid rgb(173, 216, 230);
        padding: 8px;
    }

    .benefits-table th {
        background-color: rgb(242, 242, 242);
        color: rgb(51, 51, 51);
    }

    .benefits-table td {
        text-align: center;
    }

.table-header {
    background-color: rgb(50, 110, 130);
    font-size: 16px;
    height: 80px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    border: 1px solid rgb(173, 216, 230);
    opacity: 1;
}

.header-title {
    margin: 0;
    padding: 0;
    color: rgb(255, 255, 255);
}

.cbctst-logo {
    color: rgb(255, 200, 100);
}

.icon-image {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.benefit-cell {
    padding: 15px;
    border: 1px solid rgb(173, 216, 230);
}

.benefit-title {
    margin: 0;
}

.check-cell {
    font-size: 24px;
    text-align: center;
    color: rgb(0, 128, 0);
    border: 1px solid rgb(173, 216, 230);
}

.percentage-cell, .time-cell {
    text-align: center;
    border: 1px solid rgb(173, 216, 230);
}

.percentage, .time {
    margin: 0;
}

/* Table Striped Rows - White and Pale Blue */
.benefits-table tbody tr:nth-child(odd) {
    background-color: rgb(205, 235, 245);
}

.benefits-table tbody tr:nth-child(even) {
    background-color: rgb(255, 255, 255);
}

/* Blink Animation */
.hidden {
    opacity: 0;
}

.blink {
    animation: blink 3s infinite;
}

/* Frozen header styles - Identical clone of table header */
.frozen-thead {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgb(50, 110, 130);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-collapse: collapse;
    border-spacing: 0;
    border: 2px solid rgb(173, 216, 230);
}

    .frozen-thead th {
        border: 1px solid rgb(173, 216, 230);
        background-color: rgb(50, 110, 130);
        color: rgb(255, 255, 255);
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        height: 80px;
        padding: 8px;
        box-sizing: border-box;
        font-size: 16px;
        text-align: center;
    }

    .frozen-thead .header-title {
        margin: 0;
        padding: 0;
        color: rgb(255, 255, 255);
    }

    .frozen-thead .cbctst-logo {
        color: rgb(255, 200, 100);
    }

    .frozen-thead .icon-image {
        width: 25px;
        height: 25px;
        vertical-align: middle;
    }
