
/* === wordkey skin - Deep Purple === */
:root {
    --wordkey-primary: #7C3AED;
    --wordkey-accent: #DDD6FE;
    --wordkey-dark: #4C1D95;
}
.skin-wordkey {
    background-color: #faf5ff;
    font-family: 'Lato', sans-serif;
    color: #1a1a1a;
}
.skin-wordkey .main-header {
    background: #ffffff;
    color: #4C1D95;
    border-bottom: 2px solid #7C3AED;
    box-shadow: 0 2px 8px rgba(76,29,149,0.06);
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}
.skin-wordkey .main-header a {
    color: #4C1D95;
}
.skin-wordkey .main-header .brand-logo a {
    color: #7C3AED;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}
.skin-wordkey .main-header nav ul li a:hover {
    color: #7C3AED;
}
.skin-wordkey h1, .skin-wordkey h2, .skin-wordkey h3, .skin-wordkey h4 {
    font-family: 'Lato', sans-serif;
    color: #4C1D95;
}
.skin-wordkey a { color: inherit; text-decoration: none; }
.skin-wordkey .section-label {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #7C3AED;
    color: #4C1D95;
    letter-spacing: -0.5px;
}
.skin-wordkey .post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.skin-wordkey .post-card {
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.skin-wordkey .post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(124,58,237,0.12);
    border-color: #DDD6FE;
}
.skin-wordkey .post-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.skin-wordkey .post-content { padding: 16px; }
.skin-wordkey .post-category {
    display: inline-block;
    background: #7C3AED;
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 8px;
}
.skin-wordkey .post-content h3 {
    font-size: 1.05rem;
    margin: 6px 0 10px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.skin-wordkey .post-excerpt {
    font-size: 0.85rem;
    color: #555;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.skin-wordkey .post-card time { font-size: 0.8rem; color: #888; }

/* Post detail */
.skin-wordkey .post-detail {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}
.skin-wordkey .post-detail h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin: 15px 0;
    color: #4C1D95;
}
.skin-wordkey .post-thumb-full {
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 30px;
}
.skin-wordkey .post-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2a2a2a;
}
.skin-wordkey .post-body h2 { margin: 30px 0 15px; font-size: 1.5rem; color: #7C3AED; }
.skin-wordkey .post-body h3 { margin: 25px 0 12px; font-size: 1.2rem; }
.skin-wordkey .post-body p { margin-bottom: 18px; }
.skin-wordkey .post-body a { color: #7C3AED; text-decoration: underline; }
.skin-wordkey .post-body img { max-width: 100%; border-radius: 8px; margin: 15px 0; }
.skin-wordkey .related-content { max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.skin-wordkey .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.skin-wordkey .related-card { background: #f5f3ff; border-radius: 8px; overflow: hidden; }
.skin-wordkey .related-thumb { height: 140px; background-size: cover; background-position: center; }
.skin-wordkey .related-info { padding: 12px; }
.skin-wordkey .related-info h4 { font-size: 0.95rem; margin: 5px 0; }
.skin-wordkey .related-cat { font-size: 0.7rem; color: #7C3AED; text-transform: uppercase; }

/* Category header */
.skin-wordkey .category-header {
    padding: 60px 20px 30px;
    text-align: center;
    background: linear-gradient(135deg, #7C3AED15, #DDD6FE40);
    margin-bottom: 40px;
    border-radius: 0 0 16px 16px;
}
.skin-wordkey .category-header h1 {
    font-size: 2.2rem;
    color: #4C1D95;
    margin: 0;
}
.skin-wordkey .category-sub { margin-top: 10px; color: #5b21b6; font-style: italic; }

.skin-wordkey .pagination a,
.skin-wordkey .pagination span {
    border: 1px solid #DDD6FE;
    color: #4C1D95;
}
.skin-wordkey .pagination .current,
.skin-wordkey .pagination a:hover {
    background: #7C3AED;
    color: #fff;
    border-color: #7C3AED;
}

footer { background: #4C1D95; color: #fff; padding: 30px 0; text-align: center; margin-top: 60px; }
footer a { color: #DDD6FE; }

.skin-wordkey .magazine-banner {
    padding: 60px 20px 30px;
    text-align: center;
    border-bottom: 4px double #7C3AED;
    margin-bottom: 40px;
}
.skin-wordkey .magazine-title {
    font-size: 3rem;
    color: #4C1D95;
    font-weight: 900;
    letter-spacing: -1.5px;
}
.skin-wordkey .dual-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
.skin-wordkey .dual-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e9d5ff; }
.skin-wordkey .dual-thumb { height: 260px; background-size: cover; background-position: center; }
.skin-wordkey .dual-info { padding: 20px; }
.skin-wordkey .dual-info h3 { font-size: 1.4rem; margin: 8px 0; }
.skin-wordkey .dual-info p { font-size: 0.9rem; color: #666; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin: 10px 0; }
.skin-wordkey .dual-cat { background: #7C3AED; color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; }
.skin-wordkey .editors-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
.skin-wordkey .editors-main { position: relative; height: 420px; border-radius: 12px; overflow: hidden; }
.skin-wordkey .editors-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; }
.skin-wordkey .editors-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%); }
.skin-wordkey .editors-info { position: absolute; bottom: 25px; left: 25px; right: 25px; color: #fff; z-index: 1; }
.skin-wordkey .editors-info h3 { color: #fff; font-size: 1.6rem; }
.skin-wordkey .editors-info span { background: #DDD6FE; color: #4C1D95; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; }
.skin-wordkey .editors-side { display: flex; gap: 12px; margin-bottom: 20px; }
.skin-wordkey .editors-side-thumb { width: 100px; height: 100px; background-size: cover; background-position: center; border-radius: 8px; flex-shrink: 0; }
.skin-wordkey .editors-side-info h4 { font-size: 1rem; margin: 5px 0; }
.skin-wordkey .editors-side-info span { color: #7C3AED; font-size: 0.75rem; text-transform: uppercase; }
@media (max-width: 768px) {
    .skin-wordkey .dual-top, .skin-wordkey .editors-layout { grid-template-columns: 1fr; }
    .skin-wordkey .magazine-title { font-size: 2rem; }
    .skin-wordkey .post-grid { grid-template-columns: 1fr; }
}
