/*
Theme Name: Twenty Seventeen Child
Theme URI: https://wordpress.org/themes/twentyseventeen/
Description: Twenty Seventeen Child Theme
Author: 写代码的低调
Author URI: https://example.com
Template: twentyseventeen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyseventeen-child
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* 在这里添加您的自定义样式 */

/* 摘要“更多”链接样式 */
.more-link {
    color: #0073aa; /* 链接蓝色 */
    text-decoration: none;
    border-bottom: 1px solid currentColor; /* 下边框与链接颜色一致 */
    padding-bottom: 2px;
}
.more-link:hover,
.more-link:focus {
    color: #00a0d2; /* 悬停更亮的蓝色 */
    border-bottom-color: currentColor; /* 跟随悬停颜色变化 */
}
a {
    color: #1a73e8;
}
.entry-title a {
    color: #1a73e8;
}

/* Games page styles */
.games-page {
    padding: 20px;
}
.games-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.games-page h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.game-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.game-image {
    height: 180px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}
.game-info {
    padding: 15px;
}
.game-title {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
}
.game-description {
    color: #666;
    margin-bottom: 15px;
}
.play-button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.play-button:hover {
    background-color: #2980b9;
}
.games-footer {
    text-align: center;
    margin-top: 30px;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Make home header image height same as archive/category pages (desktop only) */
@media screen and (min-width: 783px) {
  .twentyseventeen-front-page.has-header-image .custom-header-media,
  .twentyseventeen-front-page.has-header-video .custom-header-media,
  .home.blog.has-header-image .custom-header-media,
  .home.blog.has-header-video .custom-header-media {
      height: 200px;
      max-height: 200px;
  }

  /* Adjust branding spacing for smaller header */
  .twentyseventeen-front-page.has-header-image .site-branding,
  .twentyseventeen-front-page.has-header-video .site-branding,
  .home.blog.has-header-image .site-branding,
  .home.blog.has-header-video .site-branding {
      margin-bottom: 20px;
  }
}

/* 手机端适配 */
@media screen and (max-width: 782px) {
    .twentyseventeen-front-page.has-header-image .custom-header,
    .twentyseventeen-front-page.has-header-video .custom-header,
    .home.blog.has-header-image .custom-header,
    .home.blog.has-header-video .custom-header {
        height: 60px;
        max-height: 60px;
    }
}
