/*
Theme Name: dear_lottery_theme
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: Custom WordPress theme based on dearlotterysambad.net
Version: 1.0
*/

/* ✅ 通用容器宽度和居中 */
.container,
.header-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* ✅ 顶部标题区域样式 */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 2px solid #26a632;
}

/* ✅ 网站标题样式 */
.site-title {
    font-size: 2.6em;
    font-weight: 700;
    color: #1e2a38;
    margin: 0;
}
.site-title a {
    text-decoration: none;
    color: #1e2a38;
}

/* ✅ 主导航菜单样式 */
.main-navigation {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}
.main-navigation a {
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    color: #000;
}

/* ✅ 文章标题样式 */
.entry-title {
    text-align: center;
    font-size: 1.9em;
    font-weight: bold;
    color: #1e2a38;
    margin: 40px 0 25px;
}

/* ✅ 正文内容样式 */
.entry-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    color: #222;
    padding: 0 20px 50px;
}

/* ✅ 页脚样式 */
.site-footer {
    background-color: #fff; /* 底部背景白色 */
    color: #222;
    padding: 40px 0 20px;
    text-align: center;
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-menu li {
    display: inline;
    margin: 0;
}
.footer-menu li + li::before {
    content: " · ";
    color: #222; /* 分隔点颜色深色 */
    font-weight: bold;
    padding: 0 8px;
}
.footer-menu li a {
    color: #222; /* 链接颜色深色 */
    text-decoration: none;
    font-weight: 500;
}
.footer-menu li a:hover {
    text-decoration: underline;
}
.footer-copyright {
    font-size: 14px;
    color: #444;
}

/* ✅ 响应式支持 */
@media screen and (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .main-navigation {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 10px;
    }
    .site-title {
        font-size: 2em;
    }
}

@media screen and (max-width: 768px) {

  body {
    font-size: 16px;
    padding: 0 10px;
  }

  .site-header,
  .header-menu,
  .menu-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .menu-list li {
    margin-bottom: 8px;
  }

  .logo {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .site-content {
    padding: 10px;
  }

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

  table {
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  .table-wrapper {
    overflow-x: auto;
    display: block;
  }

  .card,
  .post,
  .post-card {
    width: 100% !important;
  }
}

/* 响应式调整 */
@media (max-width: 600px) {
    .exact-share-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .exact-data-table {
        font-size: 14px;
    }
    
    .exact-date {
        font-size: 20px;
    }
}

/* 悬停效果 */
.exact-share-box:hover {
    background-color: #f0f0f0 !important;
    cursor: pointer;
}

.exact-data-table tr:hover td:not(.row-label) {
    background-color: #f9f9f9;
}
