/*
Theme Name:   Hello Elementor Child
Description:  Global Doctor 自訂佈局（基於 Hello Elementor），更新不影響
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/

@import url("../hello-elementor/style.css");

:root {
    --edoctor-primary: #05274c;
    --edoctor-secondary: #00a3e0;
    --edoctor-accent: #ff6b35;
    --edoctor-bg: #f5f7fa;
    --edoctor-text: #2d3748;
    --edoctor-light: #ffffff;
    --edoctor-gray: #718096;
    --edoctor-border: #e2e8f0;
    --edoctor-dark: #1a202c;
    --edoctor-gradient: linear-gradient(135deg, #05274c 0%, #00a3e0 100%);
}

.edoctor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.edoctor-hero {
    background: var(--edoctor-gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.edoctor-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0,10 Q25,0 50,10 T100,10 L100,20 L0,20 Z" fill="rgba(255,255,255,0.15)"/></svg>') bottom center no-repeat;
    background-size: 100% 40px;
}

.edoctor-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

.edoctor-hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.edoctor-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.edoctor-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.edoctor-feature-circle {
    width: 16px;
    height: 16px;
    background: var(--edoctor-accent);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 5px rgba(255,107,53,0.3);
}

.edoctor-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.edoctor-section-header h2 {
    font-size: 2.1rem;
    color: var(--edoctor-dark);
    font-weight: 700;
    position: relative;
}

.edoctor-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 5px;
    background: var(--edoctor-accent);
    border-radius: 3px;
}

.edoctor-more-link {
    color: var(--edoctor-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.3rem;
    border: 2px solid var(--edoctor-primary);
    border-radius: 50px;
    transition: all 0.3s;
}

.edoctor-more-link:hover {
    background: var(--edoctor-primary);
    color: white;
}

.edoctor-featured,
.edoctor-categories,
.edoctor-latest-posts,
.edoctor-subscribe,
.edoctor-clinic {
    padding: 4.5rem 0;
}

.edoctor-row {
    display: flex;
    align-items: stretch;
    gap: 4rem;
    flex-wrap: wrap;
}

.edoctor-img-left {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.edoctor-img-left img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0,87,183,0.25);
    transition: all 0.4s;
}

.edoctor-img-left img:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,87,183,0.35);
}

.edoctor-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--edoctor-gradient);
    box-shadow: 0 20px 45px rgba(0,87,183,0.25);
}

.edoctor-img-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,0.15) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.15) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.15) 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
    opacity: 0.4;
}

.edoctor-img-placeholder span {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.edoctor-text-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.edoctor-text-right h2 {
    font-size: 2.1rem;
    color: var(--edoctor-primary);
    margin-bottom: 1.2rem;
}

.edoctor-text-right h3 {
    font-size: 1.6rem;
    color: var(--edoctor-dark);
    margin-bottom: 1rem;
}

.edoctor-text-right p {
    color: var(--edoctor-gray);
    margin-bottom: 1.8rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.edoctor-text-right ul {
    list-style: none;
    margin-bottom: 2.5rem;
    padding-left: 0;
}

.edoctor-text-right ul li {
    padding: 0.8rem 0 0.8rem 2.2rem;
    position: relative;
    color: var(--edoctor-text);
    font-weight: 500;
    font-size: 1.05rem;
}

.edoctor-text-right ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.2rem;
    width: 12px;
    height: 12px;
    background: var(--edoctor-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,107,53,0.3);
}

.edoctor-btn {
    display: inline-block;
    background: var(--edoctor-accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    align-self: flex-start;
    box-shadow: 0 10px 25px rgba(255,107,53,0.3);
    font-size: 1.05rem;
}

.edoctor-btn:hover {
    background: #e55a2b;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255,107,53,0.4);
}

.edoctor-categories-right {
    flex: 1;
    min-width: 300px;
}

.edoctor-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.edoctor-cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1.4rem 1.8rem;
    border-radius: 18px;
    text-decoration: none;
    color: var(--edoctor-text);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.edoctor-cat-item:hover {
    background: var(--edoctor-gradient);
    color: white;
    transform: translateY(-5px);
    border-color: var(--edoctor-accent);
    box-shadow: 0 15px 35px rgba(0,87,183,0.25);
}

.edoctor-cat-item:hover .edoctor-cat-count {
    color: rgba(255,255,255,0.9);
}

.edoctor-cat-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.edoctor-cat-count {
    font-size: 0.95rem;
    color: var(--edoctor-gray);
    font-weight: 600;
}

.edoctor-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.edoctor-post-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s;
    border: 1px solid var(--edoctor-border);
}

.edoctor-post-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,87,183,0.2);
    border-color: var(--edoctor-primary);
}

.edoctor-post-thumb {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.edoctor-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.edoctor-post-card:hover .edoctor-post-thumb img {
    transform: scale(1.15);
}

.edoctor-post-content {
    padding: 2rem;
}

.edoctor-post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.edoctor-post-content h3 a {
    color: var(--edoctor-text);
    text-decoration: none;
    font-weight: 700;
}

.edoctor-post-content h3 a:hover {
    color: var(--edoctor-primary);
}

.edoctor-post-meta {
    color: var(--edoctor-gray);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.edoctor-post-excerpt {
    color: var(--edoctor-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

.edoctor-subscribe {
    background: var(--edoctor-bg);
    position: relative;
}

.edoctor-subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--edoctor-gradient);
}

.edoctor-subscribe-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 3.5rem 3rem;
    background: white;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0,87,183,0.15);
    border: 3px solid var(--edoctor-border);
}

.edoctor-subscribe-box h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--edoctor-dark);
    font-weight: 700;
}

.edoctor-subscribe-form {
    display: flex;
    gap: 1rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.edoctor-subscribe-form input {
    flex: 1;
    min-width: 280px;
    padding: 1.1rem 1.8rem;
    border: 2px solid var(--edoctor-border);
    border-radius: 50px;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s;
    background: #fafcff;
}

.edoctor-subscribe-form input:focus {
    border-color: var(--edoctor-primary);
    box-shadow: 0 0 0 5px rgba(0,87,183,0.2);
    background: white;
}

.edoctor-subscribe-btn {
    background: var(--edoctor-accent);
    color: white;
    border: none;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(255,107,53,0.3);
    font-size: 1.1rem;
}

.edoctor-subscribe-btn:hover {
    background: #e55a2b;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255,107,53,0.4);
}

.edoctor-subscribe-thanks {
    color: var(--edoctor-primary);
    font-weight: 700;
    margin-top: 2rem;
    font-size: 1.2rem;
}

.edoctor-clinic {
    background: var(--edoctor-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.edoctor-clinic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.edoctor-clinic-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 3.5rem 1rem;
    position: relative;
    z-index: 1;
}

.edoctor-clinic-content h2 {
    font-size: 2.1rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.edoctor-clinic-content p {
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-size: 1.15rem;
}

.edoctor-clinic-btn {
    display: inline-block;
    background: white;
    color: var(--edoctor-primary);
    padding: 1.1rem 3.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    font-size: 1.15rem;
}

.edoctor-clinic-btn:hover {
    background: var(--edoctor-accent);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(255,107,53,0.35);
}

@media (max-width: 992px) {
    .edoctor-row {
        flex-direction: column;
        gap: 3rem;
    }
    .edoctor-img-left,
    .edoctor-text-right,
    .edoctor-categories-right {
        width: 100%;
    }
    .edoctor-img-placeholder {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .edoctor-hero h1 {
        font-size: 2.3rem;
    }
    .edoctor-features {
        gap: 2rem;
    }
    .edoctor-section-header h2 {
        font-size: 1.9rem;
    }
    .edoctor-section-header h2::after {
        width: 60px;
    }
    .edoctor-posts-grid {
        grid-template-columns: 1fr;
    }
    .edoctor-categories-grid {
        grid-template-columns: 1fr;
    }
    .edoctor-subscribe-form {
        flex-direction: column;
    }
    .edoctor-subscribe-form input,
    .edoctor-subscribe-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .edoctor-hero {
        padding: 3rem 0;
    }
    .edoctor-hero h1 {
        font-size: 2rem;
    }
    .edoctor-features {
        flex-direction: column;
        align-items: center;
        gap: 1.8rem;
    }
    .edoctor-featured,
    .edoctor-categories,
    .edoctor-latest-posts,
    .edoctor-subscribe,
    .edoctor-clinic {
        padding: 3.5rem 0;
    }
    .edoctor-img-placeholder {
        min-height: 240px;
    }
}

/* 新增至 edoctor-home.css 或獨立 edoctor-single.css */
.edoctor-single-hero {
    background: var(--edoctor-gradient);
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.edoctor-single-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, white 0%, transparent 100%);
}

.edoctor-single-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.9;
}

.edoctor-cat-badge {
    background: var(--edoctor-accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.edoctor-single-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.edoctor-single-wrap {
    display: flex;
    gap: 3.5rem;
    padding: 3.5rem 0 4rem;
    flex-wrap: wrap;
}

.edoctor-single-article {
    flex: 1;
    min-width: 300px;
}

.edoctor-single-thumb {
    margin-bottom: 2.5rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,87,183,0.25);
}

.edoctor-single-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.edoctor-single-thumb:hover img {
    transform: scale(1.05);
}

.edoctor-single-content {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--edoctor-text);
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border: 1px solid var(--edoctor-border);
}

.edoctor-single-content > *:first-child {
    margin-top: 0;
}

.edoctor-single-content h2,
.edoctor-single-content h3,
.edoctor-single-content h4 {
    color: var(--edoctor-dark);
    margin: 2.2rem 0 1.2rem;
    font-weight: 700;
    position: relative;
}

.edoctor-single-content h2 {
    font-size: 1.8rem;
    padding-bottom: 0.8rem;
}

.edoctor-single-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--edoctor-accent);
    border-radius: 3px;
}

.edoctor-single-content h3 {
    font-size: 1.5rem;
}

.edoctor-single-content p {
    margin-bottom: 1.5rem;
}

.edoctor-single-content ul,
.edoctor-single-content ol {
    margin: 1.5rem 0;
    padding-left: 1.8rem;
}

.edoctor-single-content li {
    margin-bottom: 0.8rem;
    position: relative;
}

.edoctor-single-content ul li::before {
    content: "";
    position: absolute;
    left: -1.8rem;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: var(--edoctor-accent);
    border-radius: 50%;
}

.edoctor-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 2rem 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.edoctor-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--edoctor-border);
}

.edoctor-tag {
    background: var(--edoctor-gradient);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,87,183,0.25);
}

.edoctor-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,87,183,0.35);
}

.edoctor-single-sidebar {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.edoctor-sidebar-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--edoctor-border);
}

.edoctor-sidebar-title {
    font-size: 1.6rem;
    color: var(--edoctor-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
}

.edoctor-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--edoctor-primary);
    border-radius: 2px;
}

.edoctor-hot-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.edoctor-hot-item {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.edoctor-hot-item:hover {
    background: var(--edoctor-bg);
    border-color: var(--edoctor-primary);
    transform: translateX(5px);
}

.edoctor-hot-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.edoctor-hot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edoctor-hot-info h4 {
    font-size: 1rem;
    color: var(--edoctor-text);
    margin: 0 0 0.4rem;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edoctor-hot-info span {
    font-size: 0.85rem;
    color: var(--edoctor-gray);
}

.edoctor-sidebar-cta {
    background: var(--edoctor-gradient);
    color: white;
    text-align: center;
}

.edoctor-sidebar-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.edoctor-sidebar-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.edoctor-cta-btn {
    display: inline-block;
    background: white;
    color: var(--edoctor-primary);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.edoctor-cta-btn:hover {
    background: var(--edoctor-accent);
    color: white;
    transform: translateY(-3px);
}

.edoctor-related-section {
    background: var(--edoctor-bg);
    padding: 4rem 0;
}

.edoctor-related-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--edoctor-dark);
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.edoctor-related-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--edoctor-accent);
    border-radius: 3px;
}

.edoctor-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.edoctor-related-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s;
    border: 1px solid var(--edoctor-border);
}

.edoctor-related-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,87,183,0.2);
    border-color: var(--edoctor-primary);
}

.edoctor-related-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.edoctor-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.edoctor-related-card:hover .edoctor-related-img img {
    transform: scale(1.12);
}

.edoctor-related-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.edoctor-related-cat {
    background: var(--edoctor-accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.edoctor-related-body {
    padding: 2rem;
}

.edoctor-related-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.edoctor-related-body h3 a {
    color: var(--edoctor-text);
    text-decoration: none;
    font-weight: 700;
}

.edoctor-related-body h3 a:hover {
    color: var(--edoctor-primary);
}

.edoctor-related-excerpt {
    color: var(--edoctor-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edoctor-related-body time {
    color: var(--edoctor-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .edoctor-single-wrap {
        flex-direction: column;
    }
    .edoctor-single-sidebar {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .edoctor-single-hero {
        padding: 3rem 0 2.5rem;
    }
    .edoctor-single-title {
        font-size: 2.3rem;
    }
    .edoctor-single-content {
        padding: 2rem;
        font-size: 1.1rem;
    }
    .edoctor-related-grid {
        grid-template-columns: 1fr;
    }
    .edoctor-hot-item {
        flex-direction: column;
    }
    .edoctor-hot-thumb {
        width: 100%;
        height: 160px;
    }
    .edoctor-hot-info {
        padding: 1rem 0 0;
    }
}

@media (max-width: 480px) {
    .edoctor-single-hero {
        padding: 2.5rem 0 2rem;
    }
    .edoctor-single-title {
        font-size: 2rem;
    }
    .edoctor-single-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    .edoctor-single-content {
        padding: 1.5rem;
    }
    .edoctor-related-title {
        font-size: 1.9rem;
    }
}

.site-logo img {
    height: 50px;
    width: auto;
    transition: .3s;
}
.site-logo img:hover {
    transform: scale(1.05);
}

.dd-search-btn{
	background: #15486f !important;
    color: #fff !important;
	
}

.menu a{
	 color: #15486f;
	
}
.header-inner .site-navigation .sub-menu{
    width: 240px;
    background: #fbfbfb;
    border-radius: 12px;
padding: 12px;}


/* 新增至 edoctor-home.css */
.edoctor-breadcrumb {
    background: var(--edoctor-bg);
    padding: 1.2rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--edoctor-border);
}

.edoctor-breadcrumb a,
.edoctor-breadcrumb span {
    color: var(--edoctor-gray);
    text-decoration: none;
    font-weight: 500;
}

.edoctor-breadcrumb a:hover {
    color: var(--edoctor-primary);
}

.edoctor-bcr-sep {
    margin: 0 0.8rem;
    color: #cbd5e0;
    font-weight: 300;
}

.edoctor-archive-hero {
    background: var(--edoctor-gradient);
    color: white;
    padding: 4rem 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.edoctor-archive-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--edoctor-bg) 0%, transparent 100%);
}

.edoctor-archive-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 1rem;
    text-shadow: 0 3px 12px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.edoctor-archive-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
    color: rgba(255,255,255,0.9);
}

.edoctor-archive-wrap {
    padding: 4rem 0 5rem;
}

.edoctor-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.8rem;
    margin-bottom: 3.5rem;
}

.edoctor-archive-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
    border: 1px solid var(--edoctor-border);
    display: flex;
    flex-direction: column;
}

.edoctor-archive-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(5,39,76,0.18);
    border-color: var(--edoctor-primary);
}

.edoctor-archive-thumb {
    height: 240px;
    overflow: hidden;
    position: relative;
    display: block;
}

.edoctor-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.edoctor-archive-card:hover .edoctor-archive-thumb img {
    transform: scale(1.15);
}

.edoctor-archive-body {
    padding: 2.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.edoctor-archive-h3 {
    font-size: 1.35rem;
    margin: 0 0 1rem;
    line-height: 1.5;
    font-weight: 700;
}

.edoctor-archive-h3 a {
    color: var(--edoctor-text);
    text-decoration: none;
    transition: color 0.3s;
}

.edoctor-archive-h3 a:hover {
    color: var(--edoctor-primary);
}

.edoctor-archive-excerpt {
    color: var(--edoctor-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edoctor-archive-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--edoctor-gray);
    font-weight: 500;
}

.edoctor-no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--edoctor-gray);
    font-size: 1.1rem;
}

.edoctor-no-posts p {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    display: inline-block;
}

.edoctor-pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.edoctor-pagination a,
.edoctor-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    background: white;
    color: var(--edoctor-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 2px solid var(--edoctor-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.edoctor-pagination a:hover,
.edoctor-pagination .current {
    background: var(--edoctor-primary);
    color: white;
    border-color: var(--edoctor-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5,39,76,0.25);
}

.edoctor-pagination .dots {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--edoctor-gray);
}

@media (max-width: 992px) {
    .edoctor-archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2.2rem;
    }
}

@media (max-width: 768px) {
    .edoctor-archive-hero {
        padding: 3.5rem 0 3rem;
    }
    .edoctor-archive-title {
        font-size: 2.4rem;
    }
    .edoctor-archive-desc {
        font-size: 1.05rem;
        padding: 0 1rem;
    }
    .edoctor-archive-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .edoctor-archive-card {
        border-radius: 24px;
    }
    .edoctor-archive-thumb {
        height: 200px;
    }
    .edoctor-archive-body {
        padding: 1.8rem;
    }
    .edoctor-pagination {
        flex-wrap: wrap;
    }
    .edoctor-pagination a,
    .edoctor-pagination span {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .edoctor-archive-hero {
        padding: 3rem 0 2.5rem;
    }
    .edoctor-archive-title {
        font-size: 2.1rem;
    }
    .edoctor-archive-wrap {
        padding: 3rem 0 4rem;
    }
    .edoctor-archive-body {
        padding: 1.5rem;
    }
    .edoctor-archive-h3 {
        font-size: 1.25rem;
    }
    .edoctor-archive-excerpt {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }
}

/* 新增至 edoctor-home.css */
.edoctor-page-hero {
    background: var(--edoctor-gradient);
    color: white;
    padding: 4.5rem 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.edoctor-page-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to top, var(--edoctor-bg) 0%, transparent 100%);
}

.edoctor-page-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 1.2rem;
    line-height: 1.25;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    letter-spacing: -0.8px;
}

.edoctor-page-excerpt {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    font-weight: 500;
}

.edoctor-page-wrap {
    padding: 4.5rem 0 5rem;
}

.edoctor-page-article {
    max-width: 900px;
    margin: 0 auto;
}

.edoctor-page-thumb {
    margin-bottom: 3.5rem;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(5,39,76,0.22);
    transition: all 0.6s ease;
}

.edoctor-page-thumb:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 80px rgba(5,39,76,0.3);
}

.edoctor-page-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.9s ease;
}

.edoctor-page-thumb:hover img {
    transform: scale(1.07);
}

.edoctor-page-content {
    background: white;
    padding: 4rem;
    border-radius: 32px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.09);
    border: 1px solid var(--edoctor-border);
    font-size: 1.2rem;
    line-height: 2.1;
    color: var(--edoctor-text);
}

.edoctor-page-content > *:first-child {
    margin-top: 0;
}

.edoctor-page-content > *:last-child {
    margin-bottom: 0;
}

.edoctor-page-content h2,
.edoctor-page-content h3,
.edoctor-page-content h4,
.edoctor-page-content h5,
.edoctor-page-content h6 {
    color: var(--edoctor-dark);
    margin: 2.8rem 0 1.5rem;
    font-weight: 700;
    position: relative;
}

.edoctor-page-content h2 {
    font-size: 2rem;
    padding-bottom: 1rem;
}

.edoctor-page-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 6px;
    background: var(--edoctor-accent);
    border-radius: 3px;
}

.edoctor-page-content h3 {
    font-size: 1.7rem;
}

.edoctor-page-content h4 {
    font-size: 1.4rem;
}

.edoctor-page-content p {
    margin-bottom: 1.8rem;
}

.edoctor-page-content ul,
.edoctor-page-content ol {
    margin: 2rem 0;
    padding-left: 2.2rem;
}

.edoctor-page-content li {
    margin-bottom: 1rem;
    position: relative;
}

.edoctor-page-content ul li::before {
    content: "";
    position: absolute;
    left: -2.2rem;
    top: 0.85rem;
    width: 11px;
    height: 11px;
    background: var(--edoctor-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,107,53,0.2);
}

.edoctor-page-content blockquote {
    background: #f8fafc;
    border-left: 6px solid var(--edoctor-primary);
    margin: 2.5rem 0;
    padding: 1.8rem 2.2rem;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--edoctor-dark);
    font-size: 1.15rem;
    line-height: 1.9;
}

.edoctor-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 2.8rem 0;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
    transition: all 0.4s;
}

.edoctor-page-content img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.edoctor-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.edoctor-page-content th,
.edoctor-page-content td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--edoctor-border);
}

.edoctor-page-content th {
    background: var(--edoctor-gradient);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
}

.edoctor-page-content tr:hover td {
    background: #f8fafc;
}

.edoctor-page-links {
    margin: 3rem 0;
    text-align: center;
    font-size: 1.1rem;
}

.edoctor-page-links-title {
    color: var(--edoctor-dark);
    font-weight: 600;
    margin-right: 1rem;
}

.edoctor-page-link {
    display: inline-block;
    background: white;
    color: var(--edoctor-text);
    padding: 0.6rem 1.2rem;
    margin: 0 0.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--edoctor-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.edoctor-page-link:hover,
.edoctor-page-link.current {
    background: var(--edoctor-primary);
    color: white;
    border-color: var(--edoctor-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5,39,76,0.25);
}

.edoctor-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 2px dashed var(--edoctor-border);
    justify-content: center;
}

.edoctor-page-comments {
    max-width: 900px;
    margin: 4rem auto 0;
    background: white;
    padding: 3rem;
    border-radius: 28px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--edoctor-border);
}

@media (max-width: 992px) {
    .edoctor-page-hero {
        padding: 4rem 0 3rem;
    }
    .edoctor-page-title {
        font-size: 2.8rem;
    }
    .edoctor-page-content {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .edoctor-page-hero {
        padding: 3.5rem 0 2.8rem;
    }
    .edoctor-page-title {
        font-size: 2.5rem;
    }
    .edoctor-page-excerpt {
        font-size: 1.15rem;
        padding: 0 1rem;
    }
    .edoctor-page-wrap {
        padding: 4rem 0;
    }
    .edoctor-page-content {
        padding: 2.5rem;
        font-size: 1.15rem;
        border-radius: 24px;
    }
    .edoctor-page-thumb {
        border-radius: 24px;
        margin-bottom: 2.5rem;
    }
    .edoctor-page-comments {
        padding: 2.5rem;
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .edoctor-page-hero {
        padding: 3rem 0 2.5rem;
    }
    .edoctor-page-title {
        font-size: 2.2rem;
    }
    .edoctor-page-content {
        padding: 2rem;
        font-size: 1.1rem;
        border-radius: 20px;
    }
    .edoctor-page-thumb {
        border-radius: 20px;
    }
    .edoctor-page-content h2 {
        font-size: 1.8rem;
    }
    .edoctor-page-content h3 {
        font-size: 1.5rem;
    }
    .edoctor-page-links {
        font-size: 1rem;
    }
    .edoctor-page-link {
        padding: 0.5rem 1rem;
        margin: 0.3rem;
        font-size: 0.9rem;
    }
}