/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.mw-section {
	padding: 4rem 2rem 5rem;
}

.mw-section.black {
	background: #000000;
}

.mw-section.dark {
	background: #0a0a0a;	
}

.mw-section.light {
	background: #ffffff;
}

.mw-section.light .mw-section-intro h2 {
	color:#000;
}

.mw-section.light .mw-section-intro p {
	color:#000;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Inner container */
.mw-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Section intro container */
.mw-section-intro {
	max-width: 1000px;
	margin: 0 auto 3rem;
	text-align: center;
}

/* Heading inside */
.mw-section-intro h2 {
	margin-bottom: 1rem;
}

/* Subtext */
.mw-section-intro p {
	color: #fff;
	font-size: 1.0rem;
	line-height: 1.6;
	border-bottom: 1px solid rgba(255,255,255,0.05);
	padding-bottom: 2.5rem;
}

/* ========== Services Section ========== */

/* Services Card */
.mw-card {
	background: #111;
  	border: 1px solid rgba(255,255,255,0.05);
 	border-radius: 0.75rem;
  	padding: 1.875rem;
  	transition: all 0.3s ease;
	color: #fff;
}

/* Hover effect */
.mw-card:hover {
 	 transform: translateY(-5px); /* keep px here */
 	 border-color: rgba(163, 214, 92, 0.35);
  	box-shadow: 0 10px 30px rgba(163, 214, 92, 0.08);
}

/* ========== Work Section ========== */

/* Work Grid */

.mw-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.875rem; /* 30px */
}

.mw-work-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem; /* 16px */
  overflow: hidden;
  transition: all 0.3s ease;
}

.mw-work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(163, 214, 92, 0.35);
  box-shadow: 0 10px 30px rgba(163, 214, 92, 0.08);
}

.mw-work-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mw-work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; /* 👈 THIS is key */
  display: block;
}

.mw-work-card-content {
  padding: 1.5rem; /* 24px */
}

.mw-work-card-content span {
  display: inline-block;
  font-size: 0.8125rem; /* 13px */
  color: #A3D65C;
  margin-bottom: 0.625rem; /* 10px */
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mw-work-card-content h3 {
  	margin-bottom: 0.75rem; /* 12px */
}

.mw-work-card-content p {
 	color: #aaa;
  	line-height: 1.6;
	font-size: 0.9rem;
}

.mw-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.875rem;
}

@media (max-width: 1024px) {
  .mw-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mw-grid-3 {
    grid-template-columns: 1fr;
  }
}


.mw-section-cta {
  padding: 3rem 1.25rem;
  background: #000;
  text-align: center;
}

.mw-section-cta.mw-container {
  max-width: 1000px; /* 800px */
}

.mw-cta-text {
  color: #aaa;
  margin-bottom: 2rem;
}

.mw-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.mw-section-cta .mw-section-intro {
	margin:0 auto; 
}	

.mw-section-cta .mw-section-intro p {
	color: #fff;
	font-size: 1.0rem;
	line-height: 1.6;
	border-bottom: 0;
	padding-bottom: 0rem;
}



.mw-eyebrow {
	display: inline-block;
  	font-size: 0.85rem; /* 12px */
  	font-weight: 500;
  	text-transform: uppercase;
  	letter-spacing: 0.08em;
  	color: #A3D65C;
  	margin-bottom: 0.625rem; /* 10px */
}

.mw-button-primary {
  	background: #A3D65C;
  	color: #000;
	text-decoration:none;
  	border: none;
  	border-radius: 0.3rem;
  	padding: 1rem 2rem;
  	font-weight: 500;
  	transition: all 0.3s ease;
}

.mw-button-primary:hover {
  background: #8fc94a; /* slightly darker */
  transform: translateY(-2px);
	color:#000;
  box-shadow: 0 8px 20px rgba(163, 214, 92, 0.25);
}

.mw-button-secondary {
  	background: transparent;
  	color: #fff;
	text-decoration:none;
  	border: 1px solid rgba(255,255,255,0.3);
  	border-radius: 0.3rem;
  	padding: 1rem 2rem;
  	font-weight: 500;
  	transition: all 0.3s ease;
}

.mw-button-secondary:hover {
  /* border-color: #A3D65C; 
  color: #A3D65C;*/
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(163, 214, 92, 0.15);
}

.mw-muted {}


.blog #page, .single-post #page, .archive #page {
	padding: 7rem 0 2rem;
}

#right-sidebar {
	background:#111;
	margin-top:1em;
	padding:0 1rem;
	border-radius:.2em;
}
.sidebar .widget {
	background-color:#050505;
	color:#fff;
	border-radius:.2em
}

.sidebar .widget h2 {
	font-size: 1.3rem;
	font-weight:600;
	text-transform:uppercase;
	margin-bottom:1rem;
}

.sidebar .widget a {
	font-size:0.9rem;
	text-decoration:none;
}

.single-post #page h1 {
	font-weight:600;
	font-size: 2.5rem
}

.single-post #page h2 {
	background:#151515;
	color:#eee;
	font-weight:600;
	font-size: 1.5rem;
	padding: 0.6rem 1rem;
	margin-top:2rem;
	border-radius:.2em;
}

.blog .inside-article h2 {
	font-size:1.5rem;
}
