/*
Theme Name: Echos Education Blog
Theme URI: https://echosedu.com
Author: Echos Education
Author URI: https://echosedu.com
Description: A custom WordPress theme for Echos Education blog.
Version: 1.0.0
Text Domain: echos-blog
*/

/* WordPress specific styles only - main styles loaded from css/style.css */

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: .3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #021d49;
  color: #fff;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 25px;
}

.blog-card-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #6c757d;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.blog-card-title a {
  color: #181d38;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #021d49;
}

.blog-card-excerpt {
  color: #6c757d;
  margin-bottom: 20px;
}

.blog-card-link {
  color: #021d49;
  font-weight: 600;
  text-decoration: none;
}

.blog-card-link:hover {
  color: #043071;
}

/* Single Post */
.single-post-content {
  max-width: 900px;
}

.post-featured-image {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
  color: #6c757d;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.post-tags a {
  display: inline-block;
  background: #F0FBFC;
  padding: 5px 15px;
  margin: 5px;
  font-size: 14px;
  text-decoration: none;
  color: #181d38;
}

.post-tags a:hover {
  background: #021d49;
  color: #fff;
}

/* Sidebar */
.sidebar .widget {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  padding: 25px;
  margin-bottom: 30px;
}

.sidebar .widget-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #021d49;
}

.sidebar .search-form {
  display: flex;
}

.sidebar .search-form input[type="search"] {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #dee2e6;
  border-right: none;
}

.sidebar .search-form button {
  padding: 12px 20px;
  background: #021d49;
  color: #fff;
  border: none;
}

.sidebar .widget-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .widget-categories li {
  border-bottom: 1px solid #dee2e6;
}

.sidebar .widget-categories a {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  color: #181d38;
  text-decoration: none;
}

.sidebar .widget-categories a:hover {
  color: #021d49;
}

.sidebar .widget-recent-post {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #dee2e6;
}

.sidebar .widget-recent-post:last-child {
  border-bottom: none;
}

.sidebar .widget-recent-post-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 5px;
  overflow: hidden;
}

.sidebar .widget-recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar .widget-tags a {
  display: inline-block;
  background: #F0FBFC;
  padding: 8px 15px;
  margin: 3px;
  font-size: 14px;
  text-decoration: none;
  color: #181d38;
}

.sidebar .widget-tags a:hover {
  background: #021d49;
  color: #fff;
}

/* Comments */
.comments-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #dee2e6;
}

/* 404 */
.error-404 {
  text-align: center;
  padding: 80px 20px;
}

.error-404 h1 {
  font-size: 8rem;
  color: #021d49;
}

/* Download All Button */
.download-all-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #06BBCC;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 5px;
  transition: all 0.3s;
  margin: 20px 0;
}

.download-all-btn:hover {
  background-color: #059aa8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.download-all-btn i {
  margin-right: 8px;
}

.btn-center {
  text-align: center;
  margin: 30px 0;
}
