/*
 Theme Name:   Rafter Forge Default Theme
 Theme URI:    https://rafterforge.com
 Description:  A GeneratePress child theme
 Author:       Krystal Acker
 Author URI:   https://rootsroostandrafter.com
 Template:     generatepress
 Version:      0.1
*/

/* =========================
   FONT STYLING
========================= */

/*Swap Fonts*/
.rf-no-text-transform {
	text-transform: none;
}

/* =========================
   GENERAL PAGE STYLING
========================= */

/* Apply Negative Margin on pages ONLY to non-blog pages */
body:not(.blog):not(.archive):not(.single-post) #site-navigation {
	margin-bottom: -80px;
}

/* Hide titles on pages ONLY */
.page .entry-title {
	display: none;
}

/*Add spacing below content on blog page only*/
.blog .site-content {
	padding-bottom: 80px;
}

/* =========================
   BLOG CARD BASE
========================= */

.blog .post {
	text-align: center;
	padding: 25px;
	border-radius: 10px;
	background: #EDECE8;
	margin-bottom: 60px;
}

/* =========================
   REORDER ELEMENTS
========================= */
.blog .inside-article {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Title */
.blog .entry-header {
	order: 1;
}

/* Image */
.blog .post-image,
.blog .featured-image {
	order: 2;
	margin: 15px 0;
}

/* Excerpt */
.blog .entry-summary {
	order: 3;
	margin-bottom: 10px;
}

/* Meta */
.blog .entry-meta {
	order: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

/* Categories */
.blog .cat-links {
	order: 1;
	font-weight: 600;
}

/* Date + author */
.blog .posted-on,
.blog .byline {
	order: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* =========================
   TITLE
========================= */

.blog .entry-title {
	margin-bottom: 5px;
}

/* =========================
   META STYLING
========================= */

/* Remove "Leave a comment" */
.blog .comments-link {
	display: none;
}

/* Stack meta nicely */
.blog .entry-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	font-size: 14px;
}

/* Categories */
.blog .cat-links {
	order: 1;
	font-weight: 600;
}

/* Date + Author row */
.blog .posted-on,
.blog .byline {
	order: 2;
}


/* Put date + author inline */
.blog .entry-meta .posted-on,
.blog .entry-meta .byline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}


/* =========================
   AUTHOR AVATAR
========================= */

/* Show avatar nicely */
.blog .entry-meta img.avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	margin-right: 5px;
}

/* =========================
   READ MORE BUTTON
========================= */

.blog .custom-read-more {
	display: inline-block;
	background: #0D5C63;
	color: #fff;
	padding: 10px 18px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
}

.blog .custom-read-more:hover {
	background: #B0A89D;
	color: #fff;
}

/* =========================
   BLOG SIDEBAR
========================= */

/* Target sidebar widget */
.sidebar .widget {
	text-align: center;
}

/* Center the profile image */
.sidebar .widget img {
	display: block;
	margin: 0 auto 10px auto;
}