/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Layout Box Model Reset */
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* Base Wrapper */
.container {
  max-width: 900px;
  margin: 20px auto;
  border: 2px solid #000;
}

/* Header & Navigation */
.top-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  border-bottom: 2px solid #000;
}

.header {
  text-align: center;
  padding: 40px;
  border-bottom: 2px solid #000;
}

.sub-nav {
  display: flex;
  border-bottom: 2px solid #000;
}

.sub-nav-item {
  flex: 1;
  padding: 15px;
  text-align: center;
  border-right: 1px solid #000;
}

.sub-nav-item:last-child {
  border-right: none;
}

/* Main Content Split */
.main-grid {
  display: flex;
}

.content-area {
  flex: 2;
  padding: 20px;
  border-right: 2px solid #000;
}

.sidebar {
  flex: 1;
  padding: 20px;
}

/* Blog Post Components */
.blog-post {
  margin-bottom: 30px;
}

.post-title {
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.post-content {
  display: flex;
  gap: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #000;
  flex-shrink: 0;
}

.read-more-btn {
  float: right;
  margin-top: 10px;
  padding: 3px 8px;
  border: 1px solid #000;
  background: none;
}

/* Sidebar Widgets */
.widget {
  border: 1px solid #000;
  padding: 15px;
  margin-bottom: 20px;
}

/* Footer Section */
.footer {
  border-top: 2px solid #000;
  padding: 20px;
}

.footer-columns {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-col {
  flex: 1;
  border-left: 1px solid #000;
  padding-left: 10px;
}

.footer-col:first-child {
  border-left: none;
}

