.subpage-title-wrap{
    margin-bottom: 24px;
    border-bottom: 2px solid #eee;
}

.subpage-title-wrap.intro {
    margin-bottom: 0;
}
.subpage-title{
    position: relative;
    font-size: 26px;
    font-weight: 700;
    color: var(--main-dark-blue);
    padding-bottom: 10px;
    margin: 0;
    width: fit-content;
    text-wrap-mode: nowrap;
}
  
.subpage-title:after {
    content: '';
    position: absolute;
    bottom: -2.5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--main-dark-blue);
    border-radius: 2px;
    width: -webkit-fill-available;
}
.speaker-title-wrap{
    display: flex;
    gap: 16px;
}
/* 포럼 프로그램 페이지 css */

/* 포럼 프로그램 */
.forum-wrapper {
  max-width: 1200px;
  padding: 0 20px;
}

.forum-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.schedule-table {
    overflow-x: auto;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.schedule-table th,
.schedule-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.schedule-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: bold;
}

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

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

.forum-archive {
    margin-top: 50px;
    padding-top: 30px;
}

.forum-archive h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.year-selector {
    margin-bottom: 20px;
}

.year-selector select {
    padding: 8px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.forum-list {
    margin-top: 20px;
}

.forum-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.forum-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.forum-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.forum-item p {
    color: #666;
    margin: 5px 0;
}



/* 포럼 신청 페이지 css */

.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 26px;
    font-weight: 600;
}

.forum-info-box {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.privacy-box {
    margin: 10px 0;
    border: 1px solid #ddd;
    padding: 10px;
}

.privacy-box textarea {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #eee;
}

.agree-check {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    background-color: #f4f4f4;
    padding: 16px 10px;
    border-radius: 4px;
}

.btn-group {
    text-align: center;
    margin-top: 30px;
}

.btn-submit,
.btn-cancel {
    padding: 10px 30px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit {
    background: #007bff;
    color: white;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.interest-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.interest-item input[type="checkbox"] {
    margin: 0;
}

.interest-item label {
    margin: 0;
    font-weight: normal;
}



/* 신규 R&D 제안 */
.rd-proposal {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.rd-container {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.rd-logo {
    width: 50px;
    height: auto;
}

.subpage-title h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.rd-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #666;
}
.rd-description.rd-inform {
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
    background-color: #f7f7f7;
    padding: 32px 32px;
    border-radius: 10px;
}
.inform-title {
    font-size: 24px;
    color: var(--main-blue);
    margin: 0 0 12px 0;
    line-height: 1;
}

.rd-image {
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.rd-image img {
    width: 1140px;
    height: 480px;
    display: block;
    /* object-fit: cover; */
    border-radius: 10px;
}

.rd-buttons {
    display: flex;
    justify-content: flex-end;
}

.btn-download,
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 23px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-download {
    background-color: #3c5a28;
    color: #fff;
}

.btn-submit {
    background-color: #3c5a28;
    color: #fff;
}

.btn-download:hover,
.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 포럼 연사자 */

.speaker-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
  }

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.btn-add-speaker-box{
    width: 100%;
    margin-bottom: 20px;
}
.btn-add-speaker {
    font-size: 19px;
    float: right;
    background-color: var(--main-dark-blue);
    color: white;
    padding: 7px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: fit-content;
    transition: background-color 0.3s;
}
  
  .subpage-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--main-dark-blue);
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    height: 50px;
  }
  
  /* .subpage-title:after {
    content: '';
    position: absolute;
    bottom: -2.5px;
    left: 4.2%;
    transform: translateX(-50%);
    width: 91px;
    height: 3px;
    background: var(--main-dark-blue);
    border-radius: 2px;
  } */
  .speaker-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 32px;
    padding: 20px 0;
    margin-bottom: 50px;
}

.speaker-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid #d3f2ff;
    max-height: 180px;
    display: flex;
    gap: 32px;
    align-items: center;
}

.speaker-profile {
    display: flex;
    gap: 7px;
    flex-direction: column;
    width: 100%;
}

.speak-category {
    border: 1px solid #d00fc5;
    width: fit-content;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: #d00fc5;
}
.profile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex-grow: 1;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
}

.profile-info .name {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.profile-info .description {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.admin-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.admin-buttons button {
    padding: 7px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-edit {
    background: var(--main-dark-blue);
    color: white;
}

.btn-delete {
    background: #dc3545;
    color: white;
}
  


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    background: #fff;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    top: 20%;
    left: 40%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-submit, .btn-cancel {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit {
    background: var(--main-dark-blue);
    color: #fff;
}

.btn-cancel {
    background: #6c757d;
    color: #fff;
}

/* 연설자 카테고리 관리 */
.category-manage {
    margin-top: 10px;
}

.btn-manage-category {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.category-list {
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.category-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#categoryForm .form-group {
    display: flex;
    gap: 10px;
}

#categoryForm input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-add {
    background: #3c5a28;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}


/* 지난 포럼 */


  .detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.detail-row .label {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 7px 0;
    width: 147px;
    height: 40px;
    text-align: center;
    margin-right: 15px;
    font-weight: 500;
    font-size: 18px;
}

.detail-row .content {
    font-size: 20px;
    font-weight: bold;
}

.btn-download-register:hover :hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.btn-download-register {
    background-color: #3c5a28;
    color: #fff;
    margin-top: 30px;
}
.btn-download-register {
    display: inline-flex
;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}