/*
Theme Name: MarkPlante Magazine
Author: Mark Plante
Description: Modern magazine theme for markplante.com
Version: 1.0
*/
/* -----------------------------------
GLOBAL RESET
----------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

body {
  font-family: "Source Sans Pro", sans-serif;
  background: #f6f8f7;
  color: #222;
  line-height: 1.6; }

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px; }

/* -----------------------------------
LINKS
----------------------------------- */
a {
  color: #2f6f4f;
  text-decoration: none;
  transition: .2s; }

a:hover {
  color: #2a5f45; }

/* -----------------------------------
HEADER
----------------------------------- */
.site-header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; }

.logo img {
  height: 50px; }

.main-nav ul {
  display: flex;
  gap: 25px;
  list-style: none; }

.main-nav a {
  font-weight: 600;
  font-size: 16px; }

/* -----------------------------------
HERO SLIDER
----------------------------------- */
.featured-slider {
  position: relative;
  margin-bottom: 60px; }

.slide {
  display: none;
  position: relative; }

.slide img {
  width: 100%;
  border-radius: 12px; }

.slide-content {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  padding: 18px 22px;
  border-radius: 6px;
  max-width: 500px; }

.slide-content h2 {
  font-size: 26px;
  margin-bottom: 8px; }

.slide-content p {
  font-size: 16px; }

/* -----------------------------------
SECTION TITLES
----------------------------------- */
.section-title {
  font-size: 28px;
  margin: 40px 0 20px; }

/* -----------------------------------
POST GRID
----------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px; }

/* -----------------------------------
POST CARD
----------------------------------- */
.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease; }

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

.card-image img {
  width: 100%;
  height: auto;
  display: block; }

.card-content {
  padding: 20px; }

.category {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: #5fa87c; }

.card h3 {
  font-size: 20px;
  margin: 10px 0; }

.card p {
  color: #555;
  font-size: 15px; }

/* -----------------------------------
CONTENT LAYOUT
----------------------------------- */
.content-layout {
  display: flex;
  gap: 40px;
  margin-top: 40px; }

main {
  flex: 3; }

.sidebar {
  flex: 1; }

/* -----------------------------------
ARTICLE TYPOGRAPHY
----------------------------------- */
article h1 {
  font-size: 42px;
  margin-bottom: 20px; }

article h2 {
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 10px; }

article p {
  font-size: 18px;
  margin-bottom: 20px; }

article img {
  max-width: 100%;
  border-radius: 10px;
  margin: 20px 0; }

article blockquote {
  border-left: 4px solid #2f6f4f;
  padding-left: 15px;
  color: #555;
  font-style: italic;
  margin: 20px 0; }

/* -----------------------------------
SIDEBAR
----------------------------------- */
.sidebar {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: fit-content; }

.sidebar h2 {
  font-size: 20px;
  margin-bottom: 10px; }

/* -----------------------------------
FOOTER
----------------------------------- */
.site-footer {
  background: #222;
  color: white;
  padding: 40px 0;
  margin-top: 60px;
  text-align: center; }

/* -----------------------------------
MOBILE NAV
----------------------------------- */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer; }

/* -----------------------------------
RESPONSIVE DESIGN
----------------------------------- */
@media (max-width: 1000px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr); }
  .content-layout {
    flex-direction: column; } }

@media (max-width: 700px) {
  .post-grid {
    grid-template-columns: 1fr; }
  .main-nav ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); }
  .main-nav.active ul {
    display: flex; }
  .menu-toggle {
    display: block; }
  .slide-content {
    left: 20px;
    right: 20px;
    bottom: 20px; }
  .slide-content h2 {
    font-size: 26px; } }

/* -----------------------------
MAIN MENU
----------------------------- */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0; }

.main-nav li {
  position: relative; }

/* top level links */
.main-nav > ul > li > a {
  font-weight: 600;
  font-size: 16px;
  padding: 10px 5px;
  display: block; }

/* -----------------------------
SUBMENU
----------------------------- */
.main-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  flex-direction: column;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 999; }

/* submenu links */
.main-nav ul ul li a {
  padding: 10px 20px;
  display: block;
  font-size: 14px;
  color: #222; }

/* hover state */
.main-nav ul ul li a:hover {
  background: #f3f5f4; }

/* show dropdown */
.main-nav li:hover > ul {
  display: block; }

@media (max-width: 700px) {
  .main-nav ul {
    flex-direction: column; }
  .main-nav ul ul {
    position: relative;
    box-shadow: none;
    padding-left: 20px; }
  .main-nav li:hover > ul {
    display: block; } }

/* SLIDER SIZE FIX */
.featured-slider {
  position: relative;
  margin-bottom: 40px;
  max-height: 420px;
  overflow: hidden; }

.slide {
  display: none;
  position: relative;
  height: 420px; }

.slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px; }

.slider-dots {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  gap: 8px; }

.slider-dot {
  width: 10px;
  height: 10px;
  background: white;
  opacity: .5;
  border-radius: 50%;
  cursor: pointer; }

.slider-dot.active {
  opacity: 1; }

/*# sourceMappingURL=style.map */