/*
Theme Name: Custom Theme
Theme URI: https://icons8.com
Description: A custom theme matching the main website design
Version: 1.0
Author: Icons8
Author URI: https://icons8.com
*/

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body, html {
  font-size: 16px;
  overflow-x: hidden;
  margin: 0;
  font-family: HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", "Open Sans Local", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  background: #fff;
  color: #9b9b9b;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  font-style: normal;
}

h1, h2, h3 {
  font-family: Sanchez, Arial, serif;
  color: #32c24d;
}

h1 {
  margin: 0.67em 0;
  font-size: 32px;
}

h2 {
  font-size: 42px;
}

h3 {
  color: #000;
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 16px;
}

p {
  font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', 'Open Sans Local', Arial, sans-serif;
}

a {
  background: 0 0;
  color: #4a90e2;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  border: 0;
}

/* Container */
.c-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 480px) {
  .c-container {
    padding: 0 16px;
  }
}

/* Menu */
.c-menu {
  position: relative;
  z-index: 10002;
  background: #32c24d;
  color: #fff;
  height: 48px;
  line-height: 40px;
  padding: 4px 0;
  font-size: 18px;
}

.c-menu a {
  color: inherit;
  display: inline-block;
  text-decoration: none;
}

.c-menu .b-logo {
  float: left;
  height: 40px;
}

.c-menu .b-logo svg {
  float: left;
  height: 40px;
  fill: #fff;
  margin-right: 12px;
}

.c-menu .b-menu {
  list-style: none;
  position: absolute;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  height: 40px;
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  font-weight: 300;
  padding: 0;
  text-align: center;
}

.c-menu .b-menu-item {
  display: inline-block;
  padding: 0 1rem;
  vertical-align: top;
  cursor: pointer;
}

.c-menu .b-login-item {
  float: right;
  margin-left: 1rem;
  font-weight: 300;
}

/* Header */
.c-header {
  background: #32c24d;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

@media (max-width: 480px) {
  .c-header {
    padding: 1rem 0;
  }
}

.c-header .b-title {
  color: inherit;
  margin: 2rem auto 0.5rem;
  font-size: 28px;
  max-width: 540px;
}

@media (max-width: 480px) {
  .c-header .b-title {
    margin: 1rem auto 0.5rem;
    font-size: 20px;
    max-width: 320px;
  }
}

.c-header .b-subtitle {
  font-size: 20px;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

/* Content Section */
.c-landing {
  padding: 2rem 0 3rem;
  font-size: 20px;
  font-weight: 300;
  text-align: center;
}

@media (max-width: 800px) {
  .c-landing {
    font-size: 18px;
    padding: 1.5rem 0 3rem;
  }
}

@media (max-width: 480px) {
  .c-landing {
    font-size: 18px;
    padding: 1rem 0 2rem;
  }
}

.c-landing h2 {
  margin-bottom: 1rem;
  position: relative;
}

.c-landing a {
  color: #4a90e2;
}

/* Blog Posts */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.blog-post {
  background: #fff;
  border: 1px solid #d8d8d8;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.blog-post:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-post h3 {
  font-size: 24px;
  margin: 0 0 1rem;
}

.blog-post h3 a {
  color: #32c24d;
  text-decoration: none;
}

.blog-post h3 a:hover {
  text-decoration: underline;
}

.blog-post .post-meta {
  font-size: 14px;
  color: #9b9b9b;
  margin-bottom: 1rem;
}

.blog-post .post-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
}

.blog-post .read-more {
  display: inline-block;
  margin-top: 1rem;
  color: #4a90e2;
  text-decoration: none;
  font-weight: 400;
}

.blog-post .read-more:hover {
  text-decoration: underline;
}

/* Single Post */
.single-post {
  max-width: 800px;
  margin: 3rem auto;
  background: #fff;
  padding: 2rem;
}

.single-post h1 {
  color: #32c24d;
  font-size: 42px;
  margin-bottom: 1rem;
}

.single-post .post-meta {
  font-size: 16px;
  color: #9b9b9b;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d8d8d8;
}

.single-post .post-content {
  font-size: 18px;
  line-height: 1.8;
  color: #4a4a4a;
}

.single-post .post-content h2,
.single-post .post-content h3 {
  color: #32c24d;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.single-post .post-content p {
  margin-bottom: 1.5rem;
}

/* Pagination */
.pagination {
  text-align: center;
  margin: 3rem 0;
  font-size: 18px;
}

.pagination a {
  display: inline-block;
  margin: 0 1rem;
  padding: 0.5rem 1.5rem;
  background: #32c24d;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.pagination a:hover {
  background: #2ba842;
}

/* Footer */
.c-footer {
  background: #f6f6f6;
  padding: 2rem 0;
  text-align: center;
  font-size: 16px;
  color: #9b9b9b;
  border-top: 1px solid #d8d8d8;
}

.c-footer a {
  color: #4a90e2;
  text-decoration: none;
}

.c-footer a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .c-menu .b-menu {
    left: 0;
    transform: none;
    text-align: left;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  h1, h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  .blog-posts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
