/*
Theme Name: Main Tech Specs
Theme URI:  https://example.com/fancy-tech-classic
Author:     Your Name
Author URI: https://example.com
Description: A classic, fancy, and tech-style WordPress theme with multisite page template.
Version:    1.0
License:    GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fancy-tech-classic
Tags: classic, tech, fancy, multisite
*/

/* --- General Layout --- */
body {
  background-color: #f9f9f9;
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

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

h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 40px;
  font-weight: 600;
}

/* --- Subsite Title Block --- */
.subsite-block {
  background-color: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.subsite-block h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #2c3e50;
  font-weight: 600;
}

.subsite-block h2 a {
  color: #2c3e50;
  text-decoration: none;
}

.subsite-block h2 a:hover {
  text-decoration: underline;
}

/* --- Latest Posts Grid --- */
.latest-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

/* --- Post Item --- */
.latest-posts li {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover effect ONLY on post cards */
.latest-posts li:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

/* Featured Image */
.latest-posts li img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  display: block;
	margin-bottom: 10px;
}

/* Post Title */
.latest-posts li a {
  display: block;
  padding: 14px 16px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
}

.latest-posts li a:hover {
  color: #0073aa;
}

/* --- Footer (Optional) --- */
.site-footer {
  text-align: center;
  padding: 40px 0;
  font-size: 0.9rem;
  color: #888;
}
