:root {
    --primary-color: #3498db;
    --text-color: #2c3e50;
    --bg-color: #ffffff;
    --header-bg: #ffffff;
    --border-color: #eaeaea;
    --link-color: #3498db;
    --link-hover-color: #2980b9;
    --sidebar-bg: #f8f9fa;
    --card-bg: #ffffff;
    --card-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

[data-theme="dark"] {
    --primary-color: #3498db;
    --text-color: #f8f9fa;
    --bg-color: #1a1a1a;
    --header-bg: #1a1a1a;
    --border-color: #2d2d2d;
    --link-color: #63b3ed;
    --link-hover-color: #90cdf4;
    --sidebar-bg: #242424;
    --card-bg: #242424;
    --card-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

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

/* Header Styles */
.header {
    background-color: var(--header-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    text-align: left;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.site-title a {
    color: var(--text-color);
    text-decoration: none;
}

.site-subtitle {
    font-size: 14px;
    color: #666;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-item {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: var(--link-hover-color);
    background-color: var(--sidebar-bg);
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
.main {
    min-width: 0;
}

/* Main Layout Container */
.main-layout {
    display: flex;
    max-width: 1200px;
    margin: 30px auto 0 auto;
    gap: 30px;
    align-items: flex-start;
    padding: 0 20px;
}

/* Main Content Area */
.main-content {
    flex: 1;
    min-width: 0; /* Prevent content overflow */
}

/* Sidebar */
.sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 0;
}

@media (max-width: 1000px) {
    .main-layout {
        flex-direction: column;
        gap: 0;
    }
    .sidebar {
        width: 100%;
        margin-top: 24px;
    }
}

.widget {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 24px 20px 20px 20px;
    margin-bottom: 0;
    border: 1px solid #f0f0f0;
    width: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.2s;
}
.widget:not(:last-child) {
    margin-bottom: 0;
}

/* 让侧边栏内容居中且不拉伸 */
.widget-profile, .widget-stats, .widget-calendar, .widget-recent, .widget-hot, .widget-tags {
    width: 100%;
    box-sizing: border-box;
}

/* 让侧边栏在主内容区右侧紧凑排列 */
.main-layout {
    display: flex;
    max-width: 1200px;
    margin: 30px auto 0 auto;
    gap: 30px;
    align-items: flex-start;
    padding: 0 20px;
}
@media (max-width: 1000px) {
    .main-layout {
        flex-direction: column;
        gap: 0;
    }
}

/* 让侧边栏在移动端下移到底部 */
@media (max-width: 800px) {
    .main-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        margin-top: 24px;
    }
}

/* Profile Widget */
.widget-profile {
    padding: 0 0 24px 0;
    overflow: visible;
    position: relative;
    text-align: center;
}

.profile-bg {
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: #eaf3fb;
    position: relative;
}

.profile-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-wrap {
    position: absolute;
    left: 50%;
    top: 60px;
    transform: translateX(-50%);
    z-index: 2;
    width: 96px;
    height: 96px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
    background: #fff;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    margin-top: 56px;
}

.profile-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 4px;
}

.profile-desc {
    font-size: 15px;
    color: #888;
    margin-bottom: 12px;
}

.profile-social {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    background: #3498db;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
}

.profile-btn.btn-blue { background: #3498db; }
.profile-btn.btn-green { background: #2ecc71; }
.profile-btn.btn-red { background: #e74c3c; }
.profile-btn:hover {
    transform: scale(1.12);
    filter: brightness(1.1);
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 0 0;
    padding: 0 18px;
    gap: 0;
}

.profile-stat {
    flex: 1 1 0;
    text-align: center;
}

.stat-num {
    font-size: 20px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 13px;
    color: #888;
}

/* Stats Widget */
.stats-list {
    list-style: none;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stats-item i {
    color: var(--primary-color);
}

/* Tag Cloud Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 10px;
    background-color: var(--sidebar-bg);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    color: var(--link-hover-color);
    background-color: var(--primary-color);
    color: white;
}

/* Recent Posts Widget */
.recent-list {
    list-style: none;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-color);
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-title {
    flex: 1;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-date {
    font-size: 12px;
    color: #666;
}

/* Post List Styles */
.post-list {
    margin: 0;
}

.post-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.post-item:hover {
    transform: translateY(-2px);
}

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

.post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--link-hover-color);
}

.post-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 15px;
}

.post-excerpt {
    margin-bottom: 15px;
}

.post-more {
    text-align: right;
    margin-top: 15px;
}

.read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
} 

.read-more:hover {
    background-color: var(--link-hover-color);
}

/* Post Content Styles */
.post {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.post-content {
    margin-top: 30px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 1.5em 0 0.5em;
}

.post-content p {
    margin-bottom: 1em;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.post-content pre {
    background-color: #f6f8fa;
    padding: 16px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1em 0;
}

.post-content code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 14px;
}

/* TOC Styles */
.post-toc {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 260px;
    background-color: var(--bg-color);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
}

.toc-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.post-toc ol {
    list-style: none;
    padding-left: 15px;
}

.post-toc a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-toc a:hover {
    color: var(--link-hover-color);
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--text-color);
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--link-hover-color);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#theme-toggle-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

#theme-toggle-btn:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sidebar {
        position: static;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
    }
}

/* 首页推荐区整体贴左对齐 */
.home-featured-hot {
    display: flex;
    gap: 20px;
    margin: 16px auto 0 0;
    margin-right: auto;
    align-items: stretch;
    justify-content: flex-start;
    max-width: 900px;
    padding: 0 32px 0 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(52,152,219,0.06);
}

/* 推荐卡片主推美化 */
.featured-card-single {
    width: 480px;
    height: 300px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(52,152,219,0.10);
    overflow: hidden;
    position: relative;
    border: 1px solid #e0e8f0;
    margin: 0;
}
.featured-card-single a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.featured-card-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    left: 0; top: 0;
    z-index: 1;
}
.featured-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg,rgba(0,0,0,0.00) 0%,rgba(0,0,0,0.75) 100%);
    color: #fff;
    font-size: 1.15em;
    font-weight: bold;
    padding: 18px 24px 14px 24px;
    box-sizing: border-box;
    border-radius: 0 0 16px 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
    z-index: 2;
}
.featured-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: #1677ff;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 14px;
    border-radius: 6px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    letter-spacing: 2px;
    border: none;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f5f6fa;
    border: 2px solid #e0e8f0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    box-shadow: 0 1px 4px rgba(52,152,219,0.10);
    cursor: pointer;
    z-index: 30;
    transition: background 0.2s, box-shadow 0.2s, border 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-arrow.left { left: 10px; }
.carousel-arrow.right { right: 10px; }
.carousel-arrow:hover {
    background: #eaf3fb;
    box-shadow: 0 4px 16px rgba(52,152,219,0.18);
}

/* 热门区美化，图片占满区域 */
.hot-list-vertical {
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(52,152,219,0.08);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: flex-start;
    margin-top: 0;
}
.hot-title {
    font-weight: bold;
    color: #ff4d4f;
    margin-bottom: 10px;
    font-size: 16px;
}
.hot-list-vertical ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hot-list-vertical li {
    display: flex;
    align-items: flex-end;
    margin-bottom: 12px;
    position: relative;
    min-height: 110px;
    height: 110px;
    overflow: hidden;
}
.hot-list-vertical a {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}
.hot-thumb {
    width: 320px;
    height: 110px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
    background: #f5f5f5;
    display: block;
    position: relative;
}
.hot-text {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    padding: 14px 18px 10px 18px;
    background: linear-gradient(180deg,rgba(0,0,0,0.00) 0%,rgba(0,0,0,0.65) 100%);
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    border-radius: 0 0 12px 12px;
    z-index: 2;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .home-featured-hot {
        flex-direction: column;
        gap: 10px;
        max-width: 100vw;
        padding: 0 4px;
    }
    .featured-card-single {
        width: 98vw;
        height: 140px;
        min-width: 0;
        max-width: 100vw;
        border-radius: 12px;
    }
    .hot-list-vertical {
        width: 100%;
        min-width: 0;
        border-radius: 10px;
    }
    .hot-thumb {
        width: 100%;
        height: 100%;
        border-radius: 7px;
    }
    .hot-list-vertical li {
        min-height: 100px;
        height: 100px;
    }
    .featured-title {
        font-size: 1em;
        padding: 10px 10px 8px 10px;
        border-radius: 0 0 12px 12px;
    }
    .featured-badge {
        font-size: 12px;
        padding: 3px 10px;
        bottom: 8px;
        left: 8px;
        border-radius: 8px;
    }
}

/* 文章卡片完善 */
.post-card {
    position: relative;
}
.post-card .post-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #ff9800;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 10px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.post-card .post-cover img {
    width: 250px;
    height: auto;
    object-fit: cover; /* 如果想裁剪保持比例 */
    border-radius: 8px; /* 可选：添加圆角 */
    max-height: 100px;  /* 可控制封面图最大高度 */
  }
  
.post-excerpt {
    color: #444;
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.7;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.post-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

/* 热门文章区块 */
.widget-hot .hot-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    position: relative;
}
.widget-hot .hot-list li::before {
    content: attr(data-rank);
    display: inline-block;
    min-width: 50px;
    height: 22px;
    background: #eaf3fb;
    color: #3498db;
    border-radius: 11px;
    text-align: center;
    line-height: 22px;
    font-size: 13px;
    font-weight: bold;
    margin-right: 6px;
    padding: 0 8px;
}
.widget-hot .hot-list li:nth-child(1)::before { background: #ff4d4f; color: #fff; }
.widget-hot .hot-list li:nth-child(2)::before { background: #ff9800; color: #fff; }
.widget-hot .hot-list li:nth-child(3)::before { background: #ffc107; color: #fff; }
.widget-hot .hot-list a {
    color: #222;
    text-decoration: none;
    font-size: 15px;
    flex: 1;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.widget-hot .hot-list a:hover {
    color: #3498db;
}

/* 日历区块 */
.widget-calendar {
    padding-bottom: 10px;
}
.widget-calendar .widget-title {
    margin-bottom: 10px;
}
.widget-calendar .calendar-placeholder {
    text-align: center;
    color: #bbb;
    font-size: 14px;
    padding: 18px 0;
}
.widget-calendar table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0 auto;
}
.widget-calendar th, .widget-calendar td {
    text-align: center;
    padding: 4px 0;
}
.widget-calendar th {
    color: #3498db;
    font-weight: bold;
}
.widget-calendar td {
    color: #444;
}
.widget-calendar td.today {
    background: #3498db;
    color: #fff;
    border-radius: 50%;
}

/* 顶部导航栏优化 */
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0 32px;
    justify-content: space-between;
}
.nav-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.logo img {
    height: 48px;
    display: block;
}
.nav-center {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
}
.search-box {
    width: 340px;
    background: #f5f6fa;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(52,152,219,0.06);
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 40px;
}
.search-box input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 16px;
    padding: 0 8px;
}
.search-box button {
    border: none;
    background: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
}
.nav-menu {
    flex: 0 0 auto;
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-menu a {
    color: #222;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.nav-menu a:hover {
    background: #f0f0f0;
    color: #3498db;
}

@media (max-width: 600px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  *, *::before, *::after {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  .main-content, .post, .post-content, .post-list, .post-card, .post-card-content, .container, .home-featured-hot, .featured-card-single, .hot-list-vertical, .sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .read-more {
    width: auto !important;
    min-width: 120px !important;
    max-width: 90vw !important;
    padding: 10px 28px !important;
    font-size: 1em !important;
    display: inline-block !important;
    margin: 12px auto 18px auto !important;
    text-align: center !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .post-more {
    text-align: center !important;
  }
  .post-card .post-cover img,
  .post-content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 12px auto !important;
  }
  pre, code {
    max-width: 100% !important;
    overflow-x: auto !important;
    word-break: break-all !important;
  }
  .featured-card-single {
    height: 100px !important;
  }
  .post-card, .post-card .post-cover, .post-card .post-cover img {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .post-card-content {
    padding: 0 6px !important;
  }
  .featured-title, .hot-text {
    font-size: 1em !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .nav-hide-mobile {
    display: none !important;
  }
  .search-box {
    width: 70vw !important;
    max-width: 70vw !important;
    margin: 0 auto 0 auto !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    box-sizing: border-box !important;
  }
  .search-box button {
    margin-right: 4px !important;
  }
} 

/* No Cover Styles - For dark background instead of default image */
.no-cover {
        background: radial-gradient(circle at center, #635252, #050000);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 200px;
  width: 100%;
}

.centered-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  padding: 0 20px;
  width: 90%;
  z-index: 5;
}

.post-cover-placeholder {
        background: radial-gradient(circle at center, #635252, #050000);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 250px;
  position: relative;
}

.post-cover-placeholder span {
  color: #ffffff;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hot-thumb.no-cover {
        background: radial-gradient(circle at center, #635252, #050000);
  min-height: 70px;
  width: 300px;
  border-radius: 5px;
}

/* Adjust featured card with no cover */
#featured-card.no-cover {
  border-radius: 10px;
  overflow: hidden;
  height: 300px;
}

/* Ensuring post cards maintain proper height without cover image */
.post-card .post-cover {
  display: block;
  overflow: hidden;
  position: relative;
}

/* Media queries adjustments for mobile */
@media (max-width: 768px) {
  .post-cover-placeholder,
  #featured-card.no-cover {
    height: 180px;
  }
  
  .centered-title {
    font-size: 1.2rem;
  }
  
  .hot-thumb.no-cover {
    min-height: 60px;
    width: 80px;
  }
} 