@charset "UTF-8";

/* Block Editor Styles for Travelers Hospital */

/* --- Single Post Layout --- */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-post__header {
    margin-bottom: 40px;
    text-align: center;
}

.single-post__date {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.single-post__title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    color: #1b1c1b;
}

.single-post__thumbnail {
    margin-bottom: 40px;
    text-align: center;
}

.single-post__thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- Entry Content --- */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #1b1c1b;
}

.entry-content h2 {
    font-size: 26px;
    font-weight: 600;
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1eb1de;
}

.entry-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 20px;
    padding-left: 16px;
    border-left: 4px solid #1eb1de;
}

.entry-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 16px;
}

.entry-content p {
    margin: 0 0 24px;
}

.entry-content a {
    color: #4279b8;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #1eb1de;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

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

.entry-content ul li {
    list-style-type: disc;
}

.entry-content ol li {
    list-style-type: decimal;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.entry-content figure {
    margin: 32px 0;
}

.entry-content figcaption {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 8px;
}

.entry-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background-color: #F6FFFF;
    border-left: 4px solid #1eb1de;
    font-style: italic;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.entry-content th,
.entry-content td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    text-align: left;
}

.entry-content th {
    background-color: #1eb1de;
    color: #fff;
    font-weight: 600;
}

.wp-block-button__link {
    display: inline-block;
    padding: 12px 32px;
    background-color: #1eb1de;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
}

.wp-block-button__link:hover {
    background-color: #4279b8;
}

/* --- Column List (Archive) --- */
.column-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.column-list__item {
    border-bottom: 1px solid #ddd;
    padding: 24px 0;
}

.column-list__item:first-child {
    padding-top: 0;
}

.column-list__link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.column-list__link:hover {
    opacity: 0.7;
}

.column-list__date {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.column-list__title {
    font-size: 20px;
    font-weight: 600;
    color: #1b1c1b;
    margin: 0 0 12px;
    line-height: 1.4;
}

.column-list__excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.column-list__empty {
    text-align: center;
    color: #666;
    padding: 60px 0;
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.nav-links a,
.nav-links span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #1b1c1b;
}

.nav-links a:hover {
    background-color: #1eb1de;
    border-color: #1eb1de;
    color: #fff;
}

.nav-links .current {
    background-color: #1eb1de;
    border-color: #1eb1de;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .single-post__title {
        font-size: 24px;
    }
    .entry-content h2 {
        font-size: 22px;
    }
    .entry-content h3 {
        font-size: 18px;
    }
    .entry-content {
        font-size: 15px;
    }
    .column-list__title {
        font-size: 18px;
    }
}
