@charset "UTF-8";

#page-ortho_case .archive-ortho-case .ortho-case-categories {
    margin: 4px 0 28px;
}
#page-ortho_case .ortho-case-filter-label {
    margin: 0 0 10px;
    color: #403321;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
}
#page-ortho_case .ortho-case-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#page-ortho_case .ortho-case-categories ul li {
    padding: 0;
}
#page-ortho_case .ortho-case-categories ul li a,
#page-ortho_case .ortho-case-categories ul li a:link,
#page-ortho_case .ortho-case-categories ul li a:visited {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #f39800;
    border-radius: 999px;
    background: #fff;
    color: #403321;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
}
#page-ortho_case .ortho-case-categories ul li a:hover {
    background: #fff6ea;
    color: #f06000;
}
#page-ortho_case .ortho-case-categories ul li.current a,
#page-ortho_case .ortho-case-categories ul li.current a:link,
#page-ortho_case .ortho-case-categories ul li.current a:visited,
#page-ortho_case .ortho-case-categories ul li.current a:hover {
    background: #f06000;
    border-color: #f06000;
    color: #fff;
}

#page-ortho_case .ortho-case-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
#page-ortho_case .ortho-case-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #403321;
    height: 100%;
}
#page-ortho_case .ortho-case-card:hover {
    border-color: #f39800;
}
#page-ortho_case .ortho-case-card-photo {
    aspect-ratio: 4 / 3;
    background: #f4f4f4;
    overflow: hidden;
}
#page-ortho_case .ortho-case-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
#page-ortho_case .ortho-case-card-body {
    padding: 14px 16px 16px;
}
#page-ortho_case .ortho-case-card-cat {
    color: #f06000;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
    min-height: 1.4em;
}
#page-ortho_case .ortho-case-card h2 {
    font-size: 1.7rem;
    line-height: 1.4;
    margin: 6px 0;
    color: #403321;
}
#page-ortho_case .ortho-case-card h2:after {
    content: none;
}
#page-ortho_case .ortho-case-card-span {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}
#page-ortho_case .ortho-case-card-more {
    margin: 12px 0 0;
    color: #f06000;
    font-size: 13px;
    font-weight: bold;
}
#page-ortho_case .no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}
#page-ortho_case .pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
#page-ortho_case .pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
#page-ortho_case .pagination .page-numbers.current {
    color: #fff;
    font-weight: bold;
    background-color: #f39800;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}
#page-ortho_case .pagination a.page-numbers {
    padding: 10px 20px;
    background-color: #fff;
    color: #f39800;
    border: 1px solid #f39800;
    border-radius: 5px;
    text-decoration: none;
}

#page-ortho_case .ortho-case-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 4px 0 16px;
    color: #666;
    font-size: 14px;
}
#page-ortho_case .ortho-case-single-cat a {
    color: #f06000;
    font-weight: bold;
    text-decoration: none;
}
#page-ortho_case .ortho-case-photo {
    margin: 0 0 20px;
}
#page-ortho_case .ortho-case-photo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
#page-ortho_case .ortho-case-pending,
#page-ortho_case .ortho-case-note {
    margin: 16px 0;
    line-height: 1.7;
    font-size: 14px;
}
#page-ortho_case .ortho-case-pending {
    padding: 14px 16px;
    background: #fffaf3;
    border: 1px solid #f39800;
}
#page-ortho_case .ortho-case-note {
    color: #666;
}
#page-ortho_case .ortho-case-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}
#page-ortho_case .ortho-case-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
#page-ortho_case .nav-next {
    text-align: right;
}
#page-ortho_case .back-to-archive {
    text-align: center;
}
#page-ortho_case .back-to-archive a,
.ortho-case-more a,
.ortho-case-more a:link,
.ortho-case-more a:visited,
.ortho-case-more a:hover {
    display: inline-block;
    padding: 12px 24px;
    background-color: #f06000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.ortho-case-more {
    margin: 36px 0 12px;
    padding: 22px 16px;
    border: 2px solid #f39800;
    border-radius: 8px;
    background: #fffaf3;
    text-align: center;
}
.ortho-case-more p {
    margin: 0 0 14px;
}

@media screen and (max-width: 750px) {
    #page-ortho_case .ortho-case-list {
        grid-template-columns: 1fr;
    }
    #page-ortho_case .ortho-case-card h2 {
        font-size: 1.5rem;
    }
}
