/*
Theme Name: Shecares Theme
Template: blankslate
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    margin: 0;
	min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

html{
	min-height: 100vh;
}

*{
    box-sizing: border-box;
}

img{
    display: block;
	max-width: 100%;
}

:root{
    --main-color: #ab945c;
    --sub-color: #787878;
}

.g-wrap{
    max-width: 1440px;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
    
}

h1, h2, h3, h4, h5, p{
    margin: 0;
}

h1, h2{
    line-height: 1.4;
    font-family: "Playfair Display", sans-serif;
    font-weight: 500;
    letter-spacing: 0;
}

h1{
    font-size: 36px;
}

h2{
    font-size: 30px;
}

h3{
    font-size: 24px;
}

p, a{
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

strong{
	font-weight: bold;
}


.g-cta-wrap{
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 40px;
}

.g-cta-wrap a{
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    border-radius: 50px;
    transition: 0.1s ease-out;

    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.g-cta-wrap svg{
    width: 25px;
}

.g-cta-wrap a:hover{
    background: var(--main-color);
    color: #fff;
}



.page-wrapper{
	min-height: calc(100vh - 150px);
}

.page-wrapper h1{
	text-align: center;
}


/* BLOG POST */

.single-post-wrapper {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
}


.single-post {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


.post-header {
	margin-bottom: 40px;
}


.post-meta {
	font-size: 14px;
	color: #777;
	margin-bottom: 10px;
}


.post-title {
	font-size: 42px;
	line-height: 1.2;
}

.post-thumbnail{
	position: relative;
    padding-top: 50%;
	margin-bottom: 20px;
}

.post-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	height: 100%;
	width: 100%;
	margin: 0;
}


.post-content {
	font-size: 18px;
	line-height: 1.8;
}


.post-content h2,
.post-content h3 {
	margin-top: 40px;
	margin-bottom: 20px;
}


.post-content p {
	margin-bottom: 24px;
	font-size: 18px;
}


.post-tags a {
	display: inline-block;
	margin-right: 10px;
	font-size: 14px;
	color: #555;
}


.post-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 80px;
	font-size: 16px;
}


@media (max-width: 768px) {
	.post-title {
		font-size: 32px;
	}
}







/* BLOG TEMPLATE */
.blog-page {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.blog-header {
    margin-bottom: 50px;
}

.blog-title {
    font-size: 42px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-title {
    margin-bottom: 12px;
	line-height: 1;
}

.blog-card-title a{
	font-size: 24px;
	line-height: 28px;
	text-decoration: none;
	color: #000;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 600;
	color: #000;
}

.blog-pagination {
    margin-top: 80px;
}

@media (max-width: 768px) {
  .blog-page {
    max-width: 100%;
    padding: 0;
	margin: 20px auto;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0 16px; /* 👈 MOBILE SPACING */
    gap: 24px;
  }
}





main.page-wrapper article{
	max-width: 1200px;
	margin: 0 auto;
}

.page-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
}

.page-body p, .page-body ul li{
	font-weight: 300;
	font-size: 18px;
	color: var(--sub-color);
}

.page-body ul{
	padding: 0 0 0 20px;
}

.page-body ul li{
	line-height: 1.6;
	list-style-type: disc;
	list-style-position: outside;
}

.page-body h2{
	font-size: 28px;
	line-height: 1.4;
	font-weight: 400;
	font-family: "Poppins";
	color: var(--main-color);
	text-align: left;
}

.page-body h3{
	font-weight: 500;
	color: var(--main-color);
	font-size: 18px;
}

.page-featured-image{
	height: 600px;
	width: 100%;
}

.page-featured-image img{
	object-fit: cover;
	height: 100%;
	width: 100%;
	object-position: center;
}

header.page-header{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}

header.page-header::before{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	content: "";
	background: #ab945c80;
}

header.page-header h1{
	position: absolute;
	color: #fff;
    font-size: 4rem;
}