/**
 * Page-Specific CSS
 * Contains inline styles that were previously scattered across PHP files
 */

/* Footer Latest Post Styles */
.lat li .fa-link {
    display: none;
}

.lat ul {
    min-height: 155px;
}

/* Additional page-specific styles can be added here */

/* ============================================
   Community Board Styles
   ============================================ */

/* Review Board Table */
.review-board-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
}

.review-board-table thead {
    background: #00a79d;
    color: #fff;
}

.review-board-table thead th {
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid #008c84;
}

.review-board-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.review-board-table tbody tr:hover {
    background-color: #f8f9fa;
}

.review-board-table tbody td {
    padding: 15px 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.review-board-table .num {
    width: 80px;
}

.review-board-table .subject {
    text-align: left;
    width: auto;
}

.review-board-table .rating {
    width: 150px;
}

.review-board-table .name {
    width: 120px;
}

.review-board-table .date {
    width: 120px;
    color: #999;
}

.review-board-table .hit {
    width: 80px;
    color: #999;
}

.review-board-table .review-title {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.review-board-table .review-title:hover {
    color: #00a79d;
}

/* Star Rating */
.stars {
    display: inline-flex;
    gap: 3px;
}

.stars .fa-star {
    color: #ffc107;
    font-size: 16px;
}

.stars .fa-star-o {
    color: #ddd;
    font-size: 16px;
}

/* Board Pagination */
.board-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
}

.board-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.board-pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #00a79d;
    color: #00a79d;
}

.board-pagination .page-link.active {
    background: #00a79d;
    border-color: #00a79d;
    color: #fff;
    font-weight: 600;
}

.board-pagination .page-link.first,
.board-pagination .page-link.last,
.board-pagination .page-link.prev,
.board-pagination .page-link.next {
    min-width: 35px;
}

/* Board Buttons */
.board-buttons {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
}

.btn-write {
    display: inline-block;
    padding: 10px 25px;
    background: #00a79d;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-write:hover {
    background: #008c84;
}

/* Empty Message */
.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* Responsive Design for Board */
@media screen and (max-width: 768px) {
    .review-board-table {
        font-size: 12px;
    }

    .review-board-table thead th {
        padding: 10px 5px;
        font-size: 12px;
    }

    .review-board-table tbody td {
        padding: 10px 5px;
        font-size: 12px;
    }

    .review-board-table .num,
    .review-board-table .hit {
        display: none;
    }

    .review-board-table .date {
        width: 90px;
        font-size: 11px;
    }

    .review-board-table .name {
        width: 70px;
    }

    .review-board-table .rating {
        width: 100px;
    }

    .stars .fa-star,
    .stars .fa-star-o {
        font-size: 14px;
    }

    .board-pagination .page-link {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ============================================
   Video Review Grid
   ============================================ */

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.video-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.video-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

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

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #999;
}

.video-author,
.video-date,
.video-views {
    position: relative;
}

.video-author::after,
.video-date::after {
    content: '·';
    margin-left: 10px;
    color: #ddd;
}

/* Responsive Design for Video Grid */
@media screen and (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-title {
        font-size: 15px;
    }

    .video-meta {
        font-size: 12px;
    }
}

/* ============================================
   Notice Board Table
   ============================================ */

.notice-board-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
}

.notice-board-table thead {
    background: #00a79d;
    color: #fff;
}

.notice-board-table thead th {
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid #008c84;
}

.notice-board-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.notice-board-table tbody tr:hover {
    background-color: #f8f9fa;
}

.notice-board-table tbody tr.notice-row {
    background-color: #f0fffe;
}

.notice-board-table tbody tr.notice-row:hover {
    background-color: #e6fffd;
}

.notice-board-table tbody td {
    padding: 15px 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.notice-board-table .num {
    width: 100px;
}

.notice-board-table .subject {
    text-align: left;
    width: auto;
}

.notice-board-table .name {
    width: 150px;
}

.notice-board-table .date {
    width: 120px;
    color: #999;
}

.notice-board-table .hit {
    width: 100px;
    color: #999;
}

.notice-board-table .notice-title {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.notice-board-table .notice-title:hover {
    color: #00a79d;
}

.notice-board-table .notice-title .fa-bullhorn {
    color: #ff6b6b;
    margin-right: 5px;
}

/* Badge Notice */
.badge-notice {
    display: inline-block;
    padding: 4px 12px;
    background: #ff6b6b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
}

/* Responsive Design for Notice Board */
@media screen and (max-width: 768px) {
    .notice-board-table {
        font-size: 12px;
    }

    .notice-board-table thead th {
        padding: 10px 5px;
        font-size: 12px;
    }

    .notice-board-table tbody td {
        padding: 10px 5px;
        font-size: 12px;
    }

    .notice-board-table .num,
    .notice-board-table .hit {
        display: none;
    }

    .notice-board-table .date {
        width: 90px;
        font-size: 11px;
    }

    .notice-board-table .name {
        display: none;
    }

    .badge-notice {
        padding: 3px 8px;
        font-size: 11px;
    }
}

/* ============================================
   News Cards Grid
   ============================================ */

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

.news-card {
    display: flex;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.news-image {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    background: rgba(0, 167, 157, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
}

.news-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.news-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.news-title a:hover {
    color: #00a79d;
}

.news-excerpt {
    flex: 1;
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.news-source {
    font-weight: 600;
    color: #00a79d;
}

.news-date::before {
    content: '•';
    margin-right: 8px;
    color: #ddd;
}

/* Responsive Design for News Grid */
@media screen and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .news-card {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
        height: 180px;
    }

    .news-content {
        padding: 15px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-excerpt {
        font-size: 13px;
    }

    .news-meta {
        font-size: 12px;
    }
}

/* ============================================
   About Page Styles
   ============================================ */

.about-page {
    padding-top: 90px;
    min-height: 100vh;
}

/* Hero Section */
.about-hero {
    width: 100%;
    overflow: hidden;
}

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

/* Introduction Section */
.about-intro {
    padding: 80px 0;
    text-align: center;
}

.about-intro .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-intro .intro-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.about-intro .intro-content p {
    font-size: 16px;
    line-height: 2;
    color: #000000;
    margin-bottom: 30px;
}

.about-intro .intro-content strong {
    color: #000000;
    font-weight: 700;
}

.about-intro .intro-sub {
    font-size: 15px;
    color: #000000;
}

/* Promise Section */
.about-promise {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 260px 75px;
    background: url("../../assets/images/tooth-bg.jpg"), #FFFFFF;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-promise .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.about-promise .promise-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 21px 0 75px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 59px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

.about-promise .promise-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
    width: 100%;
}

.about-promise .promise-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0 auto;
    width: 443px;
    height: 650px;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.35));
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
}

.about-promise .promise-card:nth-child(1) .card-header,
.about-promise .promise-card:nth-child(3) .card-header {
    background: #DCF3ED;
}

.about-promise .promise-card:nth-child(2) .card-header {
    background: #FFFFFF;
}

.about-promise .card-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 30px 30px 0;
    gap: 20px;
    width: 100%;
    height: 190px;
    box-sizing: border-box;
}

.about-promise .card-number {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #019982;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.about-promise .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    width: 320px;
    height: 160px;
}

.about-promise .card-title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 35px;
    line-height: 42px;
    color: #393838;
    margin: 0;
}

.about-promise .card-desc {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 27px;
    color: #393838;
    margin: 0;
    padding: 5px 0;
}

.about-promise .card-image {
    width: 100%;
    height: 477px;
    overflow: hidden;
}

.about-promise .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Facility Section */
.about-facility {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 75px;
}

.about-facility .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1414px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-facility .facility-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 120px 0 15px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 59px;
    text-align: center;
    color: #000000;
    margin: 0;
}

.about-facility .facility-subtitle {
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 45px;
    text-align: center;
    color: #666666;
    margin: 0 0 50px;
}

.about-facility .facility-subtitle strong {
    font-weight: 600;
    color: #666666;
}

.about-facility .facility-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px;
}

.about-facility .facility-main {
    width: 100% !important;
    border-radius: 8px;
    overflow: hidden;
}

.about-facility .facility-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-facility .facility-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.about-facility .facility-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.about-facility .facility-item {
    border-radius: 8px;
    overflow: hidden;
}

.about-facility .facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .about-intro .intro-title {
        font-size: 24px;
    }

    .about-promise .promise-cards {
        flex-direction: column;
        align-items: center;
    }

    .about-promise .promise-card {
        max-width: 100%;
    }

    .about-facility .facility-title {
        font-size: 24px;
    }

    .about-facility .facility-row {
        flex-direction: column;
    }
}

/* Responsive Design for About Page */
@media screen and (max-width: 1024px) {
    .about-page .intro-section {
        flex-direction: column;
        gap: 40px;
    }

    .about-page .intro-image {
        flex: 1;
        max-width: 100%;
    }

    .about-page .intro-text {
        padding-left: 0;
    }

    .about-page .cards-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .about-page .promise-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .about-page .container {
        padding: 60px 15px;
    }

    .about-page .main-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .about-page .intro-section {
        margin-bottom: 60px;
    }

    .about-page .intro-text p {
        font-size: 16px;
        line-height: 1.8;
    }

    .about-page .section-subtitle {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .about-page .cards-wrapper {
        gap: 40px;
        margin-top: 40px;
    }

    .about-page .card-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 15px;
    }

    .about-page .card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .about-page .card-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Facility Section */
.about-page .facility-section {
    margin-top: 120px;
    padding-top: 80px;
}

.about-page .facility-headline {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-page .facility-subtitle {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.6;
}

.about-page .facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.about-page .facility-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.about-page .facility-item-wide {
    grid-column: 1 / -1;
    aspect-ratio: 16/6;
}

.about-page .facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.about-page .facility-item:hover img {
    transform: scale(1.05);
}

.about-page .facility-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Responsive Design for Facility Section */
@media screen and (max-width: 1024px) {
    .about-page .facility-section {
        margin-top: 100px;
        padding-top: 60px;
    }

    .about-page .facility-headline {
        font-size: 28px;
    }

    .about-page .facility-subtitle {
        font-size: 18px;
        margin-bottom: 50px;
    }

    .about-page .facility-grid {
        gap: 20px;
        margin-top: 50px;
    }
}

@media screen and (max-width: 768px) {
    .about-page .facility-section {
        margin-top: 80px;
        padding-top: 40px;
    }

    .about-page .facility-headline {
        font-size: 22px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .about-page .facility-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .about-page .facility-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .about-page .facility-item-wide {
        grid-column: 1;
        aspect-ratio: 16/9;
    }

    .about-page .facility-item {
        aspect-ratio: 16/9;
    }

    .about-page .facility-label {
        padding: 15px;
        font-size: 16px;
    }
}

/* ============================================
   Location Page Styles
   ============================================ */

.location-page {
    padding-top: 90px;
    min-height: 100vh;
}

.location-page .container {
    max-width: 1580px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
}

.location-page .wrapper {
    width: 100%;
}

/* Section Title */
.location-page .section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 60px;
    line-height: 1.4;
}

/* Services Section */
.location-page .services-section {
    margin-bottom: 100px;
}

.location-page .services-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.location-page .service-item {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.location-page .service-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.location-page .service-icon:hover {
    border-color: #00d9b6;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 217, 182, 0.2);
}

.location-page .service-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
}

.location-page .service-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* Operating Hours Section */
.location-page .hours-section {
    margin-top: 80px;
}

.location-page .hours-table-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.location-page .hours-table-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Location Page */
@media screen and (max-width: 1024px) {
    .location-page .container {
        padding: 60px 20px;
    }

    .location-page .section-title {
        font-size: 32px;
        margin-bottom: 50px;
    }

    .location-page .services-grid {
        gap: 25px;
    }

    .location-page .service-icon {
        width: 130px;
        height: 130px;
    }

    .location-page .service-label {
        font-size: 16px;
    }

    .location-page .hours-section {
        margin-top: 60px;
    }
}

@media screen and (max-width: 768px) {
    .location-page .container {
        padding: 60px 15px;
    }

    .location-page .section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .location-page .services-section {
        margin-bottom: 60px;
    }

    .location-page .services-grid {
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        gap: 20px;
    }

    .location-page .service-item {
        min-width: auto;
    }

    .location-page .service-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 15px;
    }

    .location-page .service-label {
        font-size: 14px;
    }

    .location-page .hours-section {
        margin-top: 50px;
    }
}

@media screen and (max-width: 480px) {
    .location-page .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .location-page .service-icon {
        width: 100px;
        height: 100px;
    }

    .location-page .service-label {
        font-size: 13px;
    }
}

/* Directions and Contact Section */
.location-page .directions-section {
    margin-top: 100px;
    padding-top: 60px;
}

.location-page .directions-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
}

.location-page .directions-divider {
    width: 90%;
    max-width: 800px;
    height: 2px;
    background-color: #333;
    margin: 0 auto 40px;
}

.location-page .directions-content {
    position: relative;
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-page .directions-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: #6b4c93;
    border-radius: 8px 0 0 8px;
}

.location-page .directions-info {
    text-align: center;
    padding-left: 30px;
}

.location-page .address-info {
    margin-bottom: 30px;
}

.location-page .address-main {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.location-page .address-sub {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.location-page .contact-info {
    margin-top: 25px;
}

.location-page .contact-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design for Directions Section */
@media screen and (max-width: 1024px) {
    .location-page .directions-section {
        margin-top: 80px;
        padding-top: 50px;
    }

    .location-page .directions-title {
        font-size: 32px;
    }

    .location-page .directions-content {
        padding: 35px 20px;
    }
}

@media screen and (max-width: 768px) {
    .location-page .directions-section {
        margin-top: 60px;
        padding-top: 40px;
    }

    .location-page .directions-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .location-page .directions-divider {
        width: 95%;
        margin-bottom: 30px;
    }

    .location-page .directions-content {
        padding: 30px 15px;
    }

    .location-page .directions-info {
        padding-left: 20px;
    }

    .location-page .address-main {
        font-size: 18px;
    }

    .location-page .address-sub {
        font-size: 14px;
    }

    .location-page .contact-text {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .location-page .directions-title {
        font-size: 22px;
    }

    .location-page .directions-content {
        padding: 25px 15px;
    }

    .location-page .directions-info {
        padding-left: 15px;
    }

    .location-page .address-main {
        font-size: 16px;
    }

    .location-page .address-sub {
        font-size: 13px;
    }

    .location-page .contact-text {
        font-size: 15px;
    }
}

/* ============================================
   Before & After Page Styles
   ============================================ */

.before-after-page {
    padding-top: 90px;
    min-height: 100vh;
    background: #f8f9fa;
}

/* Before & After Banner */
.before-after-banner {
    width: 100%;
    margin-bottom: 60px;
    position: relative;
}

.before-after-banner .banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.before-after-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-after-banner .banner-content {
    text-align: center;
    color: #333;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.before-after-banner .banner-subtitle {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #333;
}

.before-after-banner .banner-title-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
}

.before-after-banner .banner-title-box {
    display: inline-block;
    padding: 15px 40px;
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

.before-after-banner .banner-title-text {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-left: 10px;
}

.before-after-page .container {
    max-width: 1580px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
}

.before-after-page .wrapper {
    width: 100%;
}

/* Navigation Tabs */
.before-after-nav {
    margin-bottom: 50px;
    border-bottom: 2px solid #e0e0e0;
}

.before-after-nav .nav-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.before-after-nav .nav-tab {
    margin: 0;
}

.before-after-nav .nav-tab a {
    display: block;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.before-after-nav .nav-tab a:hover {
    color: #333;
}

.before-after-nav .nav-tab.active a {
    color: #00d9b6;
    border-bottom-color: #00d9b6;
}

/* Before & After Grid */
.before-after-section {
    width: 100%;
    display: none;
}

.before-after-section.active {
    display: block;
}

.before-after-page .ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.before-after-page .ba-item {
    width: 100%;
}

.before-after-page .ba-comparison {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.before-after-page .ba-image-wrapper {
    width: 100%;
    position: relative;
}

.before-after-page .ba-image-wrapper.ba-compact {
    margin-bottom: 10px;
}

.before-after-page .ba-image-wrapper.ba-compact:last-child {
    margin-bottom: 0;
}

.before-after-page .ba-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.before-after-page .ba-placeholder {
    padding: 60px 20px;
    text-align: center;
    font-size: 18px;
    color: #999;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Responsive Design for Before & After Page */
@media screen and (max-width: 1024px) {
    .before-after-page .container {
        padding: 50px 20px;
    }

    .before-after-nav .nav-tab a {
        padding: 15px 30px;
        font-size: 16px;
    }

    .before-after-page .ba-grid {
        gap: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .before-after-banner .banner-subtitle {
        font-size: 18px;
    }

    .before-after-banner .banner-title-text {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    .before-after-banner {
        margin-bottom: 40px;
    }

    .before-after-banner .banner-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .before-after-banner .banner-title-text {
        font-size: 28px;
    }

    .before-after-page .container {
        padding: 40px 15px;
    }

    .before-after-nav {
        margin-bottom: 40px;
    }

    .before-after-nav .nav-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .before-after-nav .nav-tab a {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .before-after-page .ba-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .before-after-page .ba-image-wrapper.ba-compact {
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 480px) {
    .before-after-banner .banner-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .before-after-banner .banner-title-group {
        flex-direction: column;
        gap: 10px;
    }

    .before-after-banner .banner-title-text {
        font-size: 24px;
        margin-left: 0;
    }

    .before-after-nav .nav-tab a {
        padding: 10px 15px;
        font-size: 13px;
    }

    .before-after-page .ba-placeholder {
        padding: 40px 15px;
        font-size: 16px;
    }
}

/* ============================================
   M Implant Page Styles
   ============================================ */

/* Header Banner */
#m_implant_header .container {
    padding: 0;
    max-width: 100%;
}

#m_implant_header .container .wrapper {
    width: 100%;
}

#m_implant_header .main-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#m_implant_header .main-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#m_implant_header .main-banner .txt {
    position: absolute;
    width: 100%;
    z-index: 10;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333;
}

#m_implant_header .main-banner .txt h3 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #666;
    text-transform: uppercase;
}

#m_implant_header .main-banner .txt h1 {
    font-family: "BMDOHYEON";
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

#m_implant_header .main-banner .txt h1 .highlight {
    color: #00d9b6;
}

/* Tab Navigation */
#m_implant_tabnav {
    background-color: #2a2a2a;
    width: 100%;
    border-top: none;
}

#m_implant_tabnav .container {
    padding: 0;
    max-width: 100%;
}

#m_implant_tabnav .tab-wrapper {
    width: 100%;
}

#m_implant_tabnav .tab-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

#m_implant_tabnav .tab-item {
    flex: 1;
    min-width: 0;
    border: none;
}

#m_implant_tabnav .tab-link {
    display: block;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background-color: transparent;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
}

#m_implant_tabnav .tab-item.active .tab-link {
    background-color: #e0e0e0;
    color: #000;
    border: 1px solid #999;
}

#m_implant_tabnav .tab-item:not(.active) .tab-link {
    color: #666;
}

#m_implant_tabnav .tab-item:not(.active) .tab-link:hover {
    color: #999;
}

/* Main Content Sections */
#m_implant_main {
    padding-top: 0;
}

.m-implant-section {
    padding: 80px 0;
}

.m-implant-section:nth-child(even) {
    background-color: #f7f7f7;
}

/* Section 1: 한 번의 임플란트, 평생의 약속 */
#m_implant_section_1 .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 30px;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto 60px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

#m_implant_section_1 .section-header h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0px 20px;
    width: 100%;
    max-width: 1540px;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    color: #000000;
    margin: 0;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

#m_implant_section_1 .section-header p {
    width: 100%;
    max-width: 1128px;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    color: #292929;
    margin: 0;
    flex: none;
    order: 1;
    flex-grow: 0;
}

#m_implant_section_1 .section-image {
    max-width: 1200px;
    margin: 0 auto;
}

#m_implant_section_1 .section-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* Section 2: 대표원장의 1:1 진료 */
#m_implant_section_2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 190px 50px;
    background: #EAEAEA;
}

#m_implant_section_2 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_2 .container .wrapper {
    padding: 0;
}

#m_implant_section_2 .split-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 90px 60px;
    gap: 10px;
    isolation: isolate;
    width: 100%;
    max-width: 1540px;
    background: url("../../assets/images/tooth-bg.jpg"), #019982;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#m_implant_section_2 .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 770px;
    z-index: 1;
    background: transparent;
}

#m_implant_section_2 .text-content h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    color: #FFFFFF;
    margin: 0;
}

#m_implant_section_2 .text-content p {
    width: 689px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #FFFFFF;
    margin: 0;
}

#m_implant_section_2 .image-content {
    position: absolute;
    width: 660px;
    height: 593px;
    right: 0;
    top: -13px;
    z-index: 1;
}

#m_implant_section_2 .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scaleX(-1);
}

/* Section 3: 완벽한 결과를 위한 세밀한 고민 */
#m_implant_section_3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 190px;
    background: #EAEAEA;
}

#m_implant_section_3 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_3 .container .wrapper {
    padding: 0;
}

#m_implant_section_3 .split-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 90px 60px;
    gap: 10px;
    isolation: isolate;
    width: 100%;
    max-width: 1540px;
    background: #FFFFFF;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#m_implant_section_3 .image-content {
    position: absolute;
    width: 660px;
    height: 593px;
    left: 0;
    top: -13px;
    z-index: 0;
}

#m_implant_section_3 .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#m_implant_section_3 .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 770px;
    z-index: 1;
    background: transparent;
}

#m_implant_section_3 .text-content h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    color: #393838;
    margin: 0;
}

#m_implant_section_3 .text-content p {
    width: 712px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #393838;
    margin: 0;
}

/* Section 4: 검증된 정품, 신뢰할 수 있는 재료만 */
#m_implant_section_4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 190px;
    background: #EAEAEA;
}

#m_implant_section_4 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_4 .container .wrapper {
    padding: 0;
}

#m_implant_section_4 .split-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 90px 60px;
    gap: 10px;
    isolation: isolate;
    width: 100%;
    max-width: 1540px;
    background: url("../../assets/images/tooth-bg.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#m_implant_section_4 .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 770px;
    z-index: 1;
    background: transparent;
}

#m_implant_section_4 .text-content h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    color: #FFFFFF;
    margin: 0;
}

#m_implant_section_4 .text-content p {
    width: 685px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #FFFFFF;
    margin: 0;
}

#m_implant_section_4 .image-content {
    position: absolute;
    width: 710px;
    height: 902px;
    right: 1px;
    top: -183px;
    z-index: 1;
}

#m_implant_section_4 .image-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Section 5: 시술이 끝나도, 관리의 시작은 엠치과에서 */
#m_implant_section_5 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 190px 90px;
    background: #EAEAEA;
}

#m_implant_section_5 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_5 .container .wrapper {
    padding: 0;
}

#m_implant_section_5 .split-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 90px 60px;
    gap: 10px;
    isolation: isolate;
    width: 100%;
    max-width: 1540px;
    background: #FFFFFF;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#m_implant_section_5 .image-content {
    position: absolute;
    width: 972px;
    height: 530px;
    left: -277px;
    top: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
}

#m_implant_section_5 .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#m_implant_section_5 .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 770px;
    z-index: 1;
    background: transparent;
}

#m_implant_section_5 .text-content h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    color: #393838;
    margin: 0;
}

#m_implant_section_5 .text-content p {
    width: 657px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #393838;
    margin: 0;
}

/* Section 6: 언제든 확인 가능한, 나만의 진료 관리 시스템 */
#m_implant_section_6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 90px 190px;
    gap: 30px;
    background: #FFFFFF;
}

#m_implant_section_6 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_6 .container .wrapper {
    padding: 0;
}

#m_implant_section_6 .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 30px;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
}

#m_implant_section_6 .section-header h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    text-align: center;
    color: #000000;
    margin: 0;
}

#m_implant_section_6 .section-header p {
    width: 100%;
    max-width: 1148px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    text-align: center;
    color: #292929;
    margin: 0;
}

#m_implant_section_6 .section-image {
    width: 100%;
    max-width: 1359px;
    margin: 0 auto;
    position: relative;
}

#m_implant_section_6 .section-image img {
    width: 100%;
    height: auto;
    padding-top: 50px;
    display: block;
}

/* Section 7: 당신의 안전을 지키는 깨끗한 약속 */
#m_implant_section_7 {
    background: #d8f2ef;
}

#m_implant_section_7 .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 20px;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto 60px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

#m_implant_section_7 .section-header h2 {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    color: #000000;
    margin: 0;
    padding: 0;
}

#m_implant_section_7 .section-header h3 {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
    text-align: center;
    color: #333333;
    margin: 0;
    padding: 0;
}

#m_implant_section_7 .section-header p {
    width: 100%;
    max-width: 1128px;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    color: #292929;
    margin: 0;
}

#m_implant_section_7 .section-image {
    max-width: 1200px;
    margin: 0 auto;
}

#m_implant_section_7 .section-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
}

/* Section 8: 임플란트만이 아니라, 구강 전체의 균형을 봅니다 */
#m_implant_section_8 {
    background: #f5f3f0;
}

#m_implant_section_8 .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 30px;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto 60px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

#m_implant_section_8 .section-header h2 {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    color: #000000;
    margin: 0;
    padding: 0;
}

#m_implant_section_8 .section-header p {
    width: 100%;
    max-width: 1128px;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    color: #292929;
    margin: 0;
}

#m_implant_section_8 .section-image {
    max-width: 1200px;
    margin: 0 auto;
}

#m_implant_section_8 .section-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
}

/* Section 9: 결과로 증명하는 엠치과의 자신감 */
#m_implant_section_9 {
    background-image: url('../../assets/images/m_implant /image copy 9.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#m_implant_section_9 .banner-overlay {
    position: relative;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.4); */
    padding: 80px 20px;
}

#m_implant_section_9 .banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

#m_implant_section_9 .banner-content h2 {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

#m_implant_section_9 .banner-content p {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    color: #ffffff;
    margin: 0;
    max-width: 1128px;
}

.m-implant-section .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.m-implant-subsection {
    margin-bottom: 100px;
}

.m-implant-subsection:last-child {
    margin-bottom: 0;
}

.m-implant-content-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
}

.m-implant-content-wrapper.reverse {
    flex-direction: row-reverse;
}

.m-implant-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.m-implant-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.m-implant-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    border-radius: 0 0 8px 8px;
}

.m-implant-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.m-implant-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.m-implant-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.m-implant-text ul li {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.m-implant-text ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00d9b6;
    font-weight: 700;
    font-size: 24px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    #m_implant_header .main-banner .txt h1 {
        font-size: 42px;
    }

    #m_implant_tabnav .tab-link {
        padding: 12px 15px;
        font-size: 14px;
    }

    .m-implant-text {
        padding: 30px 40px;
    }

    .m-implant-text h2 {
        font-size: 28px;
    }

    .m-implant-text p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    #m_implant_header .main-banner .txt h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    #m_implant_header .main-banner .txt h1 {
        font-size: 32px;
    }

    #m_implant_tabnav .tab-list {
        flex-wrap: wrap;
    }

    #m_implant_tabnav .tab-item {
        flex: 1 1 50%;
        min-width: 120px;
    }

    #m_implant_tabnav .tab-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .m-implant-section {
        padding: 60px 0;
    }

    .m-implant-subsection {
        margin-bottom: 60px;
    }

    .m-implant-text {
        padding: 25px 30px;
    }

    .m-implant-text h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .m-implant-text p {
        font-size: 15px;
    }

    .m-implant-text ul li {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    #m_implant_header .main-banner .txt h1 {
        font-size: 24px;
    }

    #m_implant_tabnav .tab-item {
        flex: 1 1 100%;
    }

    #m_implant_tabnav .tab-link {
        padding: 8px 10px;
        font-size: 12px;
    }

    .m-implant-section {
        padding: 40px 0;
    }

    .m-implant-subsection {
        margin-bottom: 40px;
    }

    .m-implant-text h2 {
        font-size: 20px;
    }
}

/* ============================================
   Full Implant Page Styles
   ============================================ */

#full_intro_title .container {
    max-width: 1580px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
}

#full_intro_title .wrapper {
    width: 100%;
}

#full_intro_title h1 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design for Full Intro Title */
@media screen and (max-width: 1024px) {
    #full_intro_title h1 {
        font-size: 38px;
    }
}

@media screen and (max-width: 768px) {
    #full_intro_title .container {
        padding: 50px 15px;
    }

    #full_intro_title h1 {
        font-size: 28px;
        font-weight: 700;
    }
}

@media screen and (max-width: 480px) {
    #full_intro_title h1 {
        font-size: 24px;
    }
}

/* ============================================
   Aesthetic Implant Page Styles
   ============================================ */

#aesthetic_implant_main {
    padding-top: 0;
}

.aesthetic-section {
    padding: 80px 0;
}

.aesthetic-section-gray {
    background-color: #f7f7f7;
}

.aesthetic-section-dark {
    background-color: #1a1a1a;
    color: #fff;
    position: relative;
}

.aesthetic-section .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section 1: Hero Section */
.aesthetic-hero {
    display: flex;
    align-items: center;
    gap: 60px;
}

.aesthetic-hero-image {
    flex: 1;
}

.aesthetic-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.aesthetic-hero-text {
    flex: 1;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* Section 2: Features */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

.aesthetic-features {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.aesthetic-feature-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffd700;
    border-radius: 50%;
    background-color: #fff;
    padding: 15px;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.feature-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Section 3: Split Panels */
.aesthetic-split {
    display: flex;
    gap: 30px;
}

.aesthetic-panel {
    flex: 1;
}

.aesthetic-panel img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Section 4: Final Section */
.aesthetic-final {
    display: flex;
    align-items: center;
    gap: 60px;
}

.aesthetic-final-image {
    flex: 1;
    position: relative;
}

.aesthetic-final-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    opacity: 0.9;
}

.aesthetic-final-text {
    flex: 1;
    z-index: 1;
}

.final-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.3;
}

.final-description {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .aesthetic-hero {
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .aesthetic-features {
        gap: 30px;
    }

    .aesthetic-split {
        flex-direction: column;
    }

    .aesthetic-final {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .aesthetic-section {
        padding: 60px 0;
    }

    .aesthetic-hero {
        flex-direction: column;
        gap: 30px;
    }

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

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .aesthetic-features {
        flex-direction: column;
        gap: 30px;
    }

    .aesthetic-feature-item {
        min-width: 100%;
    }

    .feature-icon {
        width: 100px;
        height: 100px;
    }

    .feature-text {
        font-size: 16px;
    }


    .final-title {
        font-size: 28px;
    }

    .final-description {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .aesthetic-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }


    .final-title {
        font-size: 24px;
    }
}

/* ============================================
   FAQ Section Styles
   ============================================ */

.faq-section {
    background: #fff;
    padding: 80px 0;
    min-height: 70vh;
}

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

/* FAQ Header with Search */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
    font-family: "BMDOHYEON", "Pretendard", sans-serif;
}

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

.faq-search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.faq-search-input {
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    min-width: 250px;
}

.faq-search-input::placeholder {
    color: #999;
}

.faq-search-btn {
    padding: 10px 15px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-search-btn:hover {
    color: #00bc9e;
}

.faq-search-btn .fa {
    font-size: 16px;
}

/* FAQ Accordion Container */
.faq-accordion-container {
    width: 100%;
}

/* FAQ Item */
.faq-item {
    margin-bottom: 15px;
    cursor: pointer;
}

.faq-item.hidden {
    display: none;
}

/* FAQ Question */
.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    padding: 15px 0;
    color: #333;
}

/* FAQ Question Number (using data-index) */
.faq-question::before {
    content: attr(data-index);
    font-size: 16px;
    font-weight: 600;
    color: #333;
    min-width: 25px;
    flex-shrink: 0;
}

/* FAQ Question Text */
.faq-question-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    flex-shrink: 0;
}

/* FAQ Question Line */
.faq-question-line {
    flex: 1;
    height: 1px;
    background-color: #333;
    margin: 0;
}

/* FAQ Icon */
.faq-icon {
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 20px 0 20px 40px;
}

.faq-answer-content {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    padding: 0;
}

/* Responsive Design for FAQ */
@media screen and (max-width: 768px) {
    .faq-question {
        padding: 12px 0;
        gap: 10px;
    }

    .faq-question::before {
        font-size: 14px;
        min-width: 20px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-icon {
        font-size: 12px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 0 15px 30px;
    }

    .faq-answer-content {
        font-size: 14px;
    }
}

/* News Grid Container */
.news-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* News Post Item */
.news-post-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news-post-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* News Post Image */
.news-post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

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

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

/* News Post Content */
.news-post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-post-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-post-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* News Write Button */
.news-write-button-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.news-write-button {
    padding: 12px 30px;
    background: #00bc9e;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-write-button:hover {
    background: #009d84;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 188, 158, 0.3);
}

/* Search Functionality - Hide items */
.news-post-item.hidden {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .news-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .faq-section {
        padding: 50px 0;
    }

    .faq-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-search-bar {
        width: 100%;
    }

    .faq-search-input {
        flex: 1;
        min-width: 0;
    }

    .news-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-post-image {
        height: 200px;
    }

    .news-post-title {
        font-size: 16px;
    }

    .news-post-description {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .faq-title {
        font-size: 24px;
    }

    .news-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-post-image {
        height: 180px;
    }

    .news-post-content {
        padding: 15px;
    }

    .news-post-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .news-post-description {
        font-size: 12px;
    }

    .news-write-button {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* 전체 임플란트 페이지 인트로 텍스트 */
.intro-title {
    font-size: 60px;
    font-weight: normal;
    text-align: center;
    margin: 40px auto;
}

.intro-text {
    font-size: 24px;
    font-weight: normal;
    text-align: center;
    margin: 0 auto 40px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .intro-title {
        font-size: 32px;
        margin: 30px auto;
    }

    .intro-text {
        font-size: 18px;
        margin: 0 auto 30px;
    }
}

/* ============================================
   Gum Disease Status Infographic Styles
   ============================================ */

.gum-status-infographic {
    max-width: 900px;
    margin: 0 auto;
}

.gum-status-title {
    background-color: #333333;
    border-radius: 12px;
    padding: 25px 40px;
    text-align: center;
    margin-bottom: 30px;
}

.gum-status-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

.gum-status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gum-status-item {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.gum-status-number {
    background-color: #8b7355;
    border-radius: 12px;
    padding: 20px 30px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.gum-status-description {
    background-color: #e0e0e0;
    border-radius: 12px;
    padding: 20px 30px;
    color: #000;
    font-size: 18px;
    line-height: 1.6;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Background with blurred teeth image effect - matching homepage color */
.m-implant-section:nth-child(2) {
    background: #EAEAEA;
    position: relative;
}

.m-implant-section:nth-child(3) {
    background: #EAEAEA;
}

.m-implant-section:nth-child(4) {
    background: #EAEAEA;
}

.m-implant-section:nth-child(5) {
    background: #EAEAEA;
}

.m-implant-section:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.m-implant-section:nth-child(2) .gum-status-infographic {
    position: relative;
    z-index: 1;
}

/* Responsive Design for Gum Status Infographic */
@media screen and (max-width: 1024px) {
    .gum-status-infographic {
        max-width: 100%;
    }

    .gum-status-title h2 {
        font-size: 24px;
    }

    .gum-status-number {
        min-width: 100px;
        padding: 18px 25px;
        font-size: 18px;
    }

    .gum-status-description {
        padding: 18px 25px;
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .gum-status-title {
        padding: 20px 30px;
    }

    .gum-status-title h2 {
        font-size: 22px;
    }

    .gum-status-list {
        gap: 10px;
    }

    .gum-status-item {
        gap: 10px;
    }

    .gum-status-number {
        min-width: 90px;
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 10px;
    }

    .gum-status-description {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
}

@media screen and (max-width: 480px) {
    .gum-status-title {
        padding: 18px 20px;
    }

    .gum-status-title h2 {
        font-size: 18px;
    }

    .gum-status-item {
        flex-direction: column;
        gap: 8px;
    }

    .gum-status-number {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 8px;
    }

    .gum-status-description {
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 8px;
    }
}

/* 자가치아 뼈이식 페이지 스타일 */
.alveolar-intro {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.alveolar-illustration {
    flex: 1;
    max-width: 50%;
}

.alveolar-illustration img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.alveolar-text-content {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

.m-implant-title-box {
    background-color: #808080;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

.m-implant-title-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: none;
}

.m-implant-description-box {
    background-color: #808080;
    color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.m-implant-description-box .description-main {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.m-implant-description-box .description-text {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
}

.process-title-box {
    background-color: #808080;
    color: #fff;
    padding: 25px 40px;
    border-radius: 8px;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.process-title-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* 5단계 프로세스 스타일 */
#m_implant_section_3 .container .wrapper .content {
    padding: 40px 0;
}

#m_implant_section_3 .container .wrapper .content ul.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step {
    flex: 1;
    min-width: calc(20% - 16px);
    max-width: calc(20% - 16px);
    text-align: center;
    padding: 20px;
    background-color: #808080;
    border-radius: 12px;
    position: relative;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step:after {
    position: absolute;
    content: "▶";
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    font-size: 24px;
    color: #808080;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step:last-child:after {
    content: "";
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step .title {
    background: #019982;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
    display: inline-block;
    min-width: 60px;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step .desc-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step .desc {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Autogenous Tooth Bone Grafting */
@media screen and (max-width: 1024px) {
    .alveolar-intro {
        flex-direction: column;
        gap: 30px;
    }

    .alveolar-illustration {
        max-width: 100%;
    }

    .alveolar-text-content {
        max-width: 100%;
    }

    .m-implant-title-box h2 {
        font-size: 28px;
    }

    .m-implant-description-box {
        padding: 20px 25px;
    }

    .m-implant-description-box .description-main {
        font-size: 22px;
    }

    .m-implant-description-box .description-text {
        font-size: 16px;
    }

    .process-title-box {
        padding: 20px 30px;
    }

    .process-title-box h2 {
        font-size: 28px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step {
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 40px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step:nth-child(2n):after {
        content: "";
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .title {
        font-size: 24px;
        padding: 12px 18px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .desc-title {
        font-size: 18px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .desc {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .alveolar-intro {
        gap: 25px;
    }

    .m-implant-title-box {
        padding: 15px 20px;
    }

    .m-implant-title-box h2 {
        font-size: 24px;
    }

    .m-implant-description-box {
        padding: 18px 20px;
    }

    .m-implant-description-box .description-main {
        font-size: 20px;
    }

    .m-implant-description-box .description-text {
        font-size: 15px;
    }

    .process-title-box {
        padding: 18px 25px;
    }

    .process-title-box h2 {
        font-size: 24px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step:after {
        content: "▼";
        right: auto;
        top: auto;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step:last-child:after {
        content: "";
    }
}

@media screen and (max-width: 480px) {
    .m-implant-title-box h2 {
        font-size: 20px;
    }

    .m-implant-description-box .description-main {
        font-size: 18px;
    }

    .m-implant-description-box .description-text {
        font-size: 14px;
    }

    .process-title-box h2 {
        font-size: 20px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step {
        padding: 15px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .title {
        font-size: 20px;
        padding: 10px 15px;
        min-width: 50px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .desc-title {
        font-size: 16px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .desc {
        font-size: 14px;
    }
}

/* 섹션 4: 자가치아 뼈이식의 장점 */
.alveolar-advantages {
    padding: 40px 0;
}

.advantages-title-box {
    background-color: #e0e0e0;
    border: 1px solid #333;
    border-bottom: 2px solid #333;
    padding: 25px 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.advantages-title-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.advantages-boxes {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.advantage-box {
    flex: 1;
    background-color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
}

.advantage-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.advantage-desc {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

/* 반응형 디자인 - 섹션 4 */
@media screen and (max-width: 1024px) {
    .advantages-title-box {
        padding: 20px 30px;
    }

    .advantages-title-box h2 {
        font-size: 28px;
    }

    .advantages-boxes {
        gap: 20px;
    }

    .advantage-box {
        padding: 25px 20px;
    }

    .advantage-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .advantage-desc {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .advantages-title-box {
        padding: 18px 25px;
    }

    .advantages-title-box h2 {
        font-size: 24px;
    }

    .advantages-boxes {
        flex-direction: column;
        gap: 20px;
    }

    .advantage-box {
        padding: 22px 20px;
    }

    .advantage-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .advantage-desc {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .advantages-title-box {
        padding: 15px 20px;
    }

    .advantages-title-box h2 {
        font-size: 20px;
    }

    .advantage-box {
        padding: 20px 18px;
    }

    .advantage-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .advantage-desc {
        font-size: 14px;
    }
}

/* 섹션 5: 전문가 손길과 첨단 장비 */
.expert-care,
.advanced-equipment {
    display: flex;
    align-items: center;
    gap: 40px;
}

.advanced-equipment {
    flex-direction: row-reverse;
}

.expert-care-image,
.advanced-equipment-image {
    flex: 1;
    max-width: 50%;
}

.expert-care-image img,
.advanced-equipment-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.expert-care-text,
.advanced-equipment-text {
    flex: 1;
    max-width: 50%;
}

.expert-care-title,
.advanced-equipment-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.expert-care-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path d="M0,5 Q25,0 50,5 T100,5" stroke="%23ff0000" stroke-width="2" fill="none"/></svg>') repeat-x;
    background-size: 50px 10px;
}

.expert-care-content,
.advanced-equipment-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.care-item,
.equipment-item {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.care-subtitle,
.equipment-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.care-description,
.equipment-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* 반응형 디자인 - 섹션 5 */
@media screen and (max-width: 1024px) {
    .expert-care,
    .advanced-equipment {
        gap: 30px;
    }

    .expert-care-title,
    .advanced-equipment-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .care-subtitle,
    .equipment-subtitle {
        font-size: 20px;
    }

    .care-description,
    .equipment-description {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .expert-care,
    .advanced-equipment {
        flex-direction: column;
        gap: 25px;
    }

    .advanced-equipment {
        flex-direction: column;
    }

    .expert-care-image,
    .advanced-equipment-image,
    .expert-care-text,
    .advanced-equipment-text {
        max-width: 100%;
    }

    .expert-care-title,
    .advanced-equipment-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .expert-care-content,
    .advanced-equipment-content {
        gap: 20px;
    }

    .care-item,
    .equipment-item {
        padding: 18px;
    }

    .care-subtitle,
    .equipment-subtitle {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .care-description,
    .equipment-description {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .expert-care-title,
    .advanced-equipment-title {
        font-size: 20px;
    }

    .care-subtitle,
    .equipment-subtitle {
        font-size: 16px;
    }

    .care-description,
    .equipment-description {
        font-size: 13px;
    }
}

/* 어린이치과 페이지 스타일 */
.child-care-banner {
    background-color: #e0e0e0;
    padding: 60px 40px;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 500px;
}

.child-image-left,
.child-image-right {
    flex: 0 0 auto;
    width: 250px;
}

.child-image-left img,
.child-image-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.child-text-boxes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
}

.child-text-box-main {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.child-text-box-desc {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.underline-wave {
    position: relative;
    display: inline-block;
}

.underline-wave::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path d="M0,5 Q25,0 50,5 T100,5" stroke="%23ff0000" stroke-width="2" fill="none"/></svg>') repeat-x;
    background-size: 50px 10px;
}

.child-doctor-name {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 반응형 디자인 - 어린이치과 */
@media screen and (max-width: 1024px) {
    .child-care-banner {
        padding: 50px 30px;
        min-height: 450px;
    }

    .child-image-left,
    .child-image-right {
        width: 200px;
    }

    .child-text-box-main {
        font-size: 24px;
        padding: 18px 25px;
    }

    .child-text-box-desc {
        font-size: 16px;
        padding: 22px 25px;
    }

    .child-doctor-name {
        bottom: 25px;
        right: 30px;
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .child-care-banner {
        flex-direction: column;
        padding: 40px 25px;
        min-height: auto;
        gap: 25px;
    }

    .child-image-left,
    .child-image-right {
        width: 180px;
    }

    .child-text-boxes {
        max-width: 100%;
        order: 3;
    }

    .child-image-left {
        order: 1;
    }

    .child-image-right {
        order: 2;
    }

    .child-text-box-main {
        font-size: 22px;
        padding: 15px 20px;
    }

    .child-text-box-desc {
        font-size: 15px;
        padding: 20px 22px;
    }

    .child-doctor-name {
        position: static;
        text-align: center;
        margin-top: 20px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .child-care-banner {
        padding: 30px 20px;
    }

    .child-image-left,
    .child-image-right {
        width: 150px;
    }

    .child-text-box-main {
        font-size: 20px;
        padding: 12px 18px;
    }

    .child-text-box-desc {
        font-size: 14px;
        padding: 18px 20px;
    }

    .child-doctor-name {
        font-size: 13px;
    }
}

/* 어린이치과 섹션 2-5 스타일 */
.child-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 60px 0;
}

.child-content-wrapper.child-reverse {
    flex-direction: row-reverse;
}

.child-text-box {
    flex: 1;
    background-color: #e0e0e0;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.child-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.4;
}

.child-section-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.child-image-box {
    flex: 1;
    max-width: 500px;
}

.child-image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* 섹션별 배경색 */
.child-kids-care {
    background-color: #ffe5e5;
}

.child-healthy-smile {
    background-color: #e8e8e8;
}

.child-sleep-treatment {
    background-color: #e5f0ff;
}

.child-caring-treatment {
    background-color: #e5f0ff;
}

/* 반응형 디자인 - 섹션 2-5 */
@media screen and (max-width: 1024px) {
    .child-content-wrapper {
        gap: 40px;
        padding: 50px 0;
    }

    .child-text-box {
        padding: 35px 40px;
    }

    .child-section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .child-section-text {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .child-content-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
    }

    .child-content-wrapper.child-reverse {
        flex-direction: column;
    }

    .child-text-box {
        padding: 30px 35px;
    }

    .child-section-title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .child-section-text {
        font-size: 15px;
    }

    .child-image-box {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .child-content-wrapper {
        padding: 30px 0;
        gap: 25px;
    }

    .child-text-box {
        padding: 25px 30px;
    }

    .child-section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .child-section-text {
        font-size: 14px;
    }
}

/* ============================================
   Notice Table Styles
   ============================================ */

#notice_main .container .wrapper .content {
    padding-top: 0 !important;
}

.notice-header-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    margin-bottom: 20px;
}

.notice-main-title {
    font-family: 'Pretendard', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 19px !important;
    margin: 0 !important;
    color: #000000 !important;
    text-transform: uppercase;
}

.notice-search-wrapper {
    position: relative;
    width: 220px;
    height: 34px;
}

.notice-search-input {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 8px 40px 8px 12px;
    border: 1px solid #E5E5E5;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #333;
}

.notice-search-input::placeholder {
    color: #999999;
}

.notice-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.notice-search-btn img {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.notice-search-btn:hover img {
    opacity: 1;
}

.notice-table-container {
    margin: 30px 0;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.notice-table thead {
    background: #00a79d;
    color: #fff;
}

.notice-table thead th {
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid #008c84;
    text-align: center;
}

.notice-table thead .col-num {
    width: 80px;
}

.notice-table thead .col-title {
    width: auto;
    text-align: left;
}

.notice-table thead .col-author {
    width: 150px;
}

.notice-table thead .col-date {
    width: 120px;
}

.notice-table thead .col-views,
.notice-table thead .col-likes {
    width: 100px;
}

.notice-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.notice-table tbody tr:hover {
    background-color: #f8f9fa;
}

.notice-table tbody td {
    padding: 15px 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.notice-table tbody .col-title {
    text-align: left;
}

.notice-table tbody .col-title a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.notice-table tbody .col-title a:hover {
    color: #00a79d;
}

.notice-table tbody .col-date,
.notice-table tbody .col-views,
.notice-table tbody .col-likes {
    color: #999;
}

/* Pagination */
.notice-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.pagination-btn:hover {
    background: #f0f0f0;
    border-color: #00a79d;
}

.pagination-btn.active {
    background: #00a79d;
    border-color: #00a79d;
    color: #fff;
}

/* Write Button */
.notice-write-btn-wrapper {
    text-align: right;
    margin-top: 20px;
}

.notice-write-btn {
    padding: 10px 20px;
    background: #666;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.notice-write-btn:hover {
    background: #555;
}

/* Responsive Design for Notice Table */
@media screen and (max-width: 768px) {
    .notice-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .notice-main-title {
        font-size: 30px;
    }

    .notice-search-input {
        width: 150px;
    }

    .notice-table-container {
        overflow-x: auto;
    }

    .notice-table {
        font-size: 12px;
    }

    .notice-table thead th {
        padding: 10px 5px;
        font-size: 12px;
    }

    .notice-table tbody td {
        padding: 10px 5px;
        font-size: 12px;
    }

    .notice-table thead .col-author,
    .notice-table thead .col-views,
    .notice-table thead .col-likes {
        display: none;
    }

    .notice-table tbody .col-author,
    .notice-table tbody .col-views,
    .notice-table tbody .col-likes {
        display: none;
    }

    .pagination-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .notice-write-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ============================================
   Location Page Styles
   ============================================ */

.location-page {
    padding-bottom: 0;
}

/* Services Section */
.location-page .services-section {
    padding: 80px 0;
    background: #fff;
}

.location-page .services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-page .services-section .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.location-page .services-section .section-title span {
    color: #00a79d;
}

.location-page .services-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.location-page .service-card {
    background: #F7F7F7;
    border: none;
    border-radius: 15px;
    padding: 20px 20px 0 20px;
    flex: 1;
    max-width: 200px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.location-page .service-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.location-page .service-card .card-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.location-page .service-card .card-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.location-page .service-card .card-image {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    height: 200px;
    overflow: hidden;
}

.location-page .service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hours Section */
.location-page .hours-section {
    padding: 80px 0;
    background: url('../../assets/images/tooth-bg.jpg') no-repeat center center;
    background-size: cover;
}

.location-page .hours-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-page .hours-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 50px;
}

.location-page .hours-table {
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
}

.location-page .hours-table table {
    width: 100%;
    border-collapse: collapse;
}

.location-page .hours-table thead {
    background: #fff;
}

.location-page .hours-table thead th {
    padding: 10px 20px;
    color: #00a79d;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.location-page .hours-table tbody td {
    padding: 20px 15px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    vertical-align: middle;
    background: transparent;
}

.location-page .hours-table .time-label td {
    background: transparent;
    font-weight: 600;
    color: #fff;
}

.location-page .hours-table .lunch-row td {
    background: transparent;
    color: #fff;
}

.location-page .hours-table .lunch-row td:first-child {
    font-weight: 600;
}

.location-page .hours-table .night-label td {
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.location-page .hours-table .night-time td {
    font-size: 15px;
    color: #fff;
}

.location-page .hours-table .friday-cell {
    background: transparent;
    font-weight: 600;
    line-height: 1.8;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .location-page .services-section .section-title {
        font-size: 28px;
    }

    .location-page .service-card {
        width: calc(50% - 10px);
    }

    .location-page .hours-title {
        font-size: 28px;
    }

    .location-page .hours-table thead th {
        padding: 15px 8px;
        font-size: 14px;
    }

    .location-page .hours-table tbody td {
        padding: 10px 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .location-page .service-card {
        width: 100%;
    }
}
