/*
Theme Name: Worldtechly
Theme URI: https://worldtechly.com
Author: Worldtechly
Description: Minimal, modern, fast WordPress theme for content-focused sites.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: worldtechly
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@600&display=swap');

:root {
  --primary: #1E90FF;
  --text: #0a0a0a;
  --bg: #ffffff;
  --light-gray: #e5e5e5;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background-color: var(--bg);
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav a {
  font-weight: 500;
  color: var(--text);
}

main {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 15px;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

article {
  border: 1px solid var(--light-gray);
  padding: 20px;
  border-radius: 8px;
  background-color: #fff;
}

article h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  margin-top: 0;
}

footer {
  background-color: var(--bg);
  border-top: 1px solid var(--light-gray);
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  header .container {
    flex-direction: column;
    gap: 10px;
  }
}

