/*
Theme Name:   Sith Gym
Theme URI:    https://github.com/keithgoode/Sith-Gym
Description:  Custom GeneratePress child theme for the Sith Gym website.
Author:       Keith Goode
Author URI:   https://github.com/keithgoode
Template:     generatepress
Version:      0.2.1
Requires at least: 6.0
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  sith-gym
*/

/* ==========================================================================
   Sith Gym — Base Styling
   Dark identity system: colors, typography, spacing, component overrides.
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. Font Import
   --------------------------------------------------------------------------
   Bebas Neue: headline/display face — bold, geometric, all-caps authority.
   System sans-serif stack: body copy — maximum legibility, zero loading cost.
   Font is loaded via wp_enqueue_style in functions.php (see sith_gym_enqueue_fonts).
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Backgrounds */
	--sg-bg-primary:   #0B0B0C;
	--sg-bg-secondary: #141416;

	/* Text */
	--sg-text-primary:   #E5E5E5;
	--sg-text-secondary: #6B6B6E;

	/* Accent */
	--sg-accent:       #A11212;
	--sg-accent-hover: #C41616;

	/* Borders */
	--sg-border: #222225;

	/* Typography */
	--sg-font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
	                   Helvetica, Arial, sans-serif;
	--sg-font-heading: 'Bebas Neue', -apple-system, BlinkMacSystemFont, sans-serif;

	/* Spacing scale (8px base) */
	--sg-space-xs:  0.25rem;
	--sg-space-sm:  0.5rem;
	--sg-space-md:  1rem;
	--sg-space-lg:  2rem;
	--sg-space-xl:  3rem;
	--sg-space-2xl: 4.5rem;
}


/* --------------------------------------------------------------------------
   2. Base Elements
   -------------------------------------------------------------------------- */

body {
	background-color: var(--sg-bg-primary);
	color: var(--sg-text-primary);
	font-family: var(--sg-font-body);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sg-font-heading);
	color: var(--sg-text-primary);
	font-weight: 400; /* Bebas Neue is single-weight — 400 is correct */
	line-height: 1.15;
	letter-spacing: 0.02em;
}

h1 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin-top: 0;
	margin-bottom: var(--sg-space-lg);
}

h2 {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	margin-top: var(--sg-space-2xl);
	margin-bottom: var(--sg-space-md);
}

h3 {
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
	margin-top: var(--sg-space-xl);
	margin-bottom: var(--sg-space-sm);
}

h4 {
	font-size: 1.15rem;
	margin-top: var(--sg-space-lg);
	margin-bottom: var(--sg-space-sm);
}

h5 {
	font-size: 1rem;
	letter-spacing: 0.08em;
	color: var(--sg-text-secondary);
	margin-top: var(--sg-space-lg);
	margin-bottom: var(--sg-space-xs);
}

h6 {
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	color: var(--sg-text-secondary);
	margin-top: var(--sg-space-lg);
	margin-bottom: var(--sg-space-xs);
}

p {
	margin-top: 0;
	margin-bottom: var(--sg-space-md);
	font-family: var(--sg-font-body);
}

.text-muted,
.entry-meta,
.posted-on,
.byline,
.cat-links,
.tags-links,
.comments-link {
	color: var(--sg-text-secondary);
	font-size: 0.875rem;
	font-family: var(--sg-font-body);
}

blockquote {
	border-left: 3px solid var(--sg-accent);
	margin: var(--sg-space-lg) 0;
	padding: var(--sg-space-md) var(--sg-space-lg);
	background-color: var(--sg-bg-secondary);
	color: var(--sg-text-primary);
	font-style: italic;
	font-family: var(--sg-font-body);
}

blockquote p:last-child {
	margin-bottom: 0;
}

hr {
	border: none;
	border-top: 1px solid var(--sg-border);
	margin: var(--sg-space-xl) 0;
}

code,
pre {
	background-color: var(--sg-bg-secondary);
	border: 1px solid var(--sg-border);
	color: var(--sg-text-primary);
	font-size: 0.875em;
	border-radius: 3px;
}

code {
	padding: 0.15em 0.4em;
}

pre {
	padding: var(--sg-space-md);
	overflow-x: auto;
	line-height: 1.5;
}

pre code {
	background: none;
	border: none;
	padding: 0;
}


/* --------------------------------------------------------------------------
   4. Links
   -------------------------------------------------------------------------- */

a {
	color: var(--sg-accent);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover,
a:focus {
	color: var(--sg-accent-hover);
	text-decoration: underline;
}

a:focus-visible {
	outline: 2px solid var(--sg-accent);
	outline-offset: 2px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
}

h1 a:hover, h2 a:hover, h3 a:hover,
h4 a:hover, h5 a:hover, h6 a:hover {
	color: var(--sg-accent);
	text-decoration: none;
}


/* --------------------------------------------------------------------------
   5. Lists
   -------------------------------------------------------------------------- */

ul, ol {
	margin-top: 0;
	margin-bottom: var(--sg-space-md);
	padding-left: var(--sg-space-lg);
	font-family: var(--sg-font-body);
}

li {
	margin-bottom: var(--sg-space-xs);
}

li::marker {
	color: var(--sg-text-secondary);
}


/* --------------------------------------------------------------------------
   6. Images & Media
   -------------------------------------------------------------------------- */

img {
	max-width: 100%;
	height: auto;
}

figure {
	margin: var(--sg-space-lg) 0;
}

figcaption {
	color: var(--sg-text-secondary);
	font-size: 0.85rem;
	margin-top: var(--sg-space-sm);
	font-family: var(--sg-font-body);
}


/* --------------------------------------------------------------------------
   7. Tables
   -------------------------------------------------------------------------- */

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: var(--sg-space-lg);
	font-family: var(--sg-font-body);
}

th, td {
	padding: var(--sg-space-sm) var(--sg-space-md);
	text-align: left;
	border-bottom: 1px solid var(--sg-border);
}

th {
	font-weight: 600;
	color: var(--sg-text-primary);
	border-bottom-width: 2px;
}

td {
	color: var(--sg-text-primary);
}

tr:hover td {
	background-color: var(--sg-bg-secondary);
}


/* --------------------------------------------------------------------------
   8. Buttons & Form Elements
   -------------------------------------------------------------------------- */

button,
input[type="submit"],
input[type="button"],
.button,
.wp-block-button__link {
	background-color: var(--sg-accent);
	color: #fff;
	border: none;
	padding: 0.7em 1.6em;
	font-size: 0.95rem;
	font-family: var(--sg-font-heading);
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover,
.wp-block-button__link:hover {
	background-color: var(--sg-accent-hover);
	color: #fff;
	text-decoration: none;
}

button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
.button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 2px solid var(--sg-accent);
	outline-offset: 2px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	background-color: var(--sg-bg-secondary);
	color: var(--sg-text-primary);
	border: 1px solid var(--sg-border);
	padding: 0.6em 0.8em;
	font-size: 1rem;
	font-family: var(--sg-font-body);
	border-radius: 0;
	width: 100%;
	transition: border-color 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--sg-accent);
	outline: none;
}

::placeholder {
	color: var(--sg-text-secondary);
	opacity: 1;
}


/* --------------------------------------------------------------------------
   9. GeneratePress Structure Overrides
   -------------------------------------------------------------------------- */

/* --- Header --- */
.site-header {
	background-color: var(--sg-bg-secondary);
	border-bottom: 1px solid var(--sg-border);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.site-branding {
	max-width: 200px;
}

.site-branding,
.main-title a,
.site-description {
	color: var(--sg-text-primary);
}

.site-logo img,
.custom-logo,
.header-image.is-logo-image {
	max-width: 200px;
	height: auto;
	display: block;
}

.main-title a {
	font-family: var(--sg-font-heading);
	letter-spacing: 0.04em;
}

.main-title a:hover {
	color: var(--sg-accent);
}

.site-description {
	color: var(--sg-text-secondary);
	font-family: var(--sg-font-body);
}

/* --- Navigation --- */
.main-navigation,
.main-navigation .main-nav ul li a,
.menu-toggle {
	color: var(--sg-text-primary);
}

.main-navigation {
	background-color: var(--sg-bg-secondary);
}

.main-navigation .main-nav ul li a {
	font-family: var(--sg-font-heading);
	letter-spacing: 0.08em;
	font-size: 1rem;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item a {
	color: var(--sg-accent);
}

.main-navigation ul ul {
	background-color: var(--sg-bg-secondary);
	border: 1px solid var(--sg-border);
}

.main-navigation ul ul li a {
	color: var(--sg-text-primary);
}

.main-navigation ul ul li a:hover {
	color: var(--sg-accent);
	background-color: var(--sg-bg-primary);
}

/* --- Content Area --- */
.site-content {
	background-color: var(--sg-bg-primary);
}

.inside-article {
	background-color: transparent;
	padding-top: var(--sg-space-xl);
	padding-bottom: var(--sg-space-xl);
}

.entry-title {
	margin-bottom: var(--sg-space-md);
	font-family: var(--sg-font-heading);
}

.entry-title a {
	color: var(--sg-text-primary);
}

.entry-title a:hover {
	color: var(--sg-accent);
	text-decoration: none;
}

.entry-meta {
	margin-bottom: var(--sg-space-lg);
	padding-bottom: var(--sg-space-md);
	border-bottom: 1px solid var(--sg-border);
	font-family: var(--sg-font-body);
}

.blog .inside-article,
.archive .inside-article,
.search-results .inside-article {
	border-bottom: 1px solid var(--sg-border);
}

/* --- Sidebar --- */
.sidebar .inside-right-sidebar,
.sidebar .inside-left-sidebar {
	color: var(--sg-text-primary);
}

.sidebar .widget {
	background-color: var(--sg-bg-secondary);
	padding: var(--sg-space-lg);
	border: 1px solid var(--sg-border);
	margin-bottom: var(--sg-space-lg);
}

.sidebar .widget-title {
	font-family: var(--sg-font-heading);
	font-size: 1rem;
	letter-spacing: 0.1em;
	color: var(--sg-text-secondary);
	margin-bottom: var(--sg-space-md);
	padding-bottom: var(--sg-space-sm);
	border-bottom: 1px solid var(--sg-border);
}

/* --- Footer --- */
.site-footer {
	background-color: var(--sg-bg-secondary);
	border-top: 1px solid var(--sg-border);
	color: var(--sg-text-secondary);
	font-size: 0.875rem;
	font-family: var(--sg-font-body);
}

.site-footer a {
	color: var(--sg-text-secondary);
}

.site-footer a:hover {
	color: var(--sg-accent);
}

.site-info {
	color: var(--sg-text-secondary);
	font-family: var(--sg-font-body);
}

/* --- Pagination --- */
.nav-links a,
.page-numbers {
	color: var(--sg-text-secondary);
	border: 1px solid var(--sg-border);
	padding: 0.4em 0.8em;
}

.nav-links a:hover,
a.page-numbers:hover {
	color: var(--sg-accent);
	border-color: var(--sg-accent);
	text-decoration: none;
}

.nav-links .current,
.page-numbers.current {
	background-color: var(--sg-accent);
	color: #fff;
	border-color: var(--sg-accent);
}

/* --- Comments --- */
.comment-body {
	background-color: var(--sg-bg-secondary);
	padding: var(--sg-space-lg);
	border: 1px solid var(--sg-border);
	margin-bottom: var(--sg-space-md);
}

.comment-meta,
.comment-metadata {
	color: var(--sg-text-secondary);
	font-size: 0.85rem;
	font-family: var(--sg-font-body);
}

.comment-author .fn {
	color: var(--sg-text-primary);
	font-weight: 600;
	font-family: var(--sg-font-body);
}


/* --------------------------------------------------------------------------
   10. WordPress Block Editor Overrides
   -------------------------------------------------------------------------- */

.wp-block-separator {
	border-color: var(--sg-border);
}

.wp-block-quote {
	border-left-color: var(--sg-accent);
	background-color: var(--sg-bg-secondary);
	padding: var(--sg-space-md) var(--sg-space-lg);
}

.wp-block-quote cite {
	color: var(--sg-text-secondary);
	font-size: 0.85rem;
	font-family: var(--sg-font-body);
}

.wp-block-code {
	background-color: var(--sg-bg-secondary);
	border: 1px solid var(--sg-border);
	color: var(--sg-text-primary);
}

.wp-block-table table {
	border-color: var(--sg-border);
}

.wp-block-group.has-background {
	padding: var(--sg-space-lg);
}

.wp-block-pullquote {
	border-top-color: var(--sg-accent);
	border-bottom-color: var(--sg-accent);
	color: var(--sg-text-primary);
}

.wp-block-pullquote cite {
	color: var(--sg-text-secondary);
	font-family: var(--sg-font-body);
}


/* --------------------------------------------------------------------------
   11. Selection & Scrollbar
   -------------------------------------------------------------------------- */

::selection {
	background-color: var(--sg-accent);
	color: #fff;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--sg-bg-primary);
}

::-webkit-scrollbar-thumb {
	background: var(--sg-border);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--sg-text-secondary);
}


/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	:root {
		--sg-space-xl:  2rem;
		--sg-space-2xl: 3rem;
	}

	body {
		font-size: 0.95rem;
	}

	h2 {
		margin-top: var(--sg-space-xl);
	}

	h3 {
		margin-top: var(--sg-space-lg);
	}

	.inside-article {
		padding-top: var(--sg-space-lg);
		padding-bottom: var(--sg-space-lg);
	}

	.sidebar .widget {
		padding: var(--sg-space-md);
	}

	blockquote {
		padding: var(--sg-space-sm) var(--sg-space-md);
		margin: var(--sg-space-md) 0;
	}
}


/* ==========================================================================
   HOMEPAGE (front-page.php)
   ========================================================================== */


/* --------------------------------------------------------------------------
   13. Homepage — Shared Utilities
   -------------------------------------------------------------------------- */

.sg-container {
	max-width: 70rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sg-space-lg);
	padding-right: var(--sg-space-lg);
}

.sg-front-page {
	overflow-x: hidden;
}

body.sg-front-page .site-content {
	padding: 0;
}

body.sg-front-page .inside-article {
	padding: 0;
}

.sg-section-title {
	font-family: var(--sg-font-heading);
	font-size: 0.9rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	color: var(--sg-text-secondary);
	margin-top: 0;
	margin-bottom: var(--sg-space-xl);
}


/* --------------------------------------------------------------------------
   14. Homepage — Hero
   -------------------------------------------------------------------------- */

.sg-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80vh;
	padding: var(--sg-space-2xl) 0;
	background-color: var(--sg-bg-primary);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
}

.sg-hero--has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(11, 11, 12, 0.75);
	z-index: 1;
}

.sg-hero__inner {
	position: relative;
	z-index: 2;
}

.sg-hero__title {
	font-family: var(--sg-font-heading);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.02em;
	margin-bottom: var(--sg-space-lg);
	color: var(--sg-text-primary);
}

.sg-hero__subtitle {
	font-family: var(--sg-font-body);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.6;
	color: var(--sg-text-secondary);
	max-width: 38em;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: var(--sg-space-xl);
}

.sg-hero__cta {
	display: inline-block;
	padding: 0.85em 2.2em;
	font-family: var(--sg-font-heading);
	font-size: 1.1rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background-color: var(--sg-accent);
	border: none;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.sg-hero__cta:hover {
	background-color: var(--sg-accent-hover);
	color: #fff;
	text-decoration: none;
}


/* --------------------------------------------------------------------------
   15. Homepage — Brand Positioning
   -------------------------------------------------------------------------- */

.sg-positioning {
	background-color: var(--sg-bg-secondary);
	border-top: 1px solid var(--sg-border);
	border-bottom: 1px solid var(--sg-border);
	padding: var(--sg-space-2xl) 0;
}

.sg-positioning__inner {
	max-width: 50rem;
}

.sg-positioning__content {
	font-family: var(--sg-font-body);
	font-size: 1.05rem;
	line-height: 1.8;
}

.sg-positioning__content > *:last-child {
	margin-bottom: 0;
}

.sg-positioning__content h2,
.sg-positioning__content h3 {
	text-align: center;
	margin-top: var(--sg-space-xl);
}

.sg-positioning__content h2:first-child,
.sg-positioning__content h3:first-child {
	margin-top: 0;
}


/* --------------------------------------------------------------------------
   16. Homepage — Latest Content
   -------------------------------------------------------------------------- */

.sg-latest {
	padding: var(--sg-space-2xl) 0;
	background-color: var(--sg-bg-primary);
}

.sg-latest__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--sg-space-lg);
}

.sg-post-card {
	background-color: var(--sg-bg-secondary);
	border: 1px solid var(--sg-border);
	overflow: hidden;
	transition: border-color 0.15s ease;
}

.sg-post-card:hover {
	border-color: var(--sg-accent);
}

.sg-post-card__image {
	display: block;
	line-height: 0;
	overflow: hidden;
}

.sg-post-card__image img {
	width: 100%;
	height: 12rem;
	object-fit: cover;
	display: block;
	transition: opacity 0.15s ease;
}

.sg-post-card:hover .sg-post-card__image img {
	opacity: 0.85;
}

.sg-post-card__body {
	padding: var(--sg-space-md) var(--sg-space-lg) var(--sg-space-lg);
}

.sg-post-card__date {
	display: block;
	font-family: var(--sg-font-body);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sg-text-secondary);
	margin-bottom: var(--sg-space-sm);
}

.sg-post-card__title {
	font-family: var(--sg-font-heading);
	font-size: 1.3rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: var(--sg-space-sm);
}

.sg-post-card__title a {
	color: var(--sg-text-primary);
	text-decoration: none;
}

.sg-post-card__title a:hover {
	color: var(--sg-accent);
}

.sg-post-card__excerpt {
	font-family: var(--sg-font-body);
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--sg-text-secondary);
	margin: 0;
}

.sg-latest__more {
	text-align: center;
	margin-top: var(--sg-space-xl);
}

.sg-latest__more a {
	font-family: var(--sg-font-body);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sg-text-secondary);
	text-decoration: none;
	transition: color 0.15s ease;
}

.sg-latest__more a:hover {
	color: var(--sg-accent);
}


/* --------------------------------------------------------------------------
   17. Homepage — Closing CTA
   -------------------------------------------------------------------------- */

.sg-cta {
	padding: var(--sg-space-2xl) 0;
	text-align: center;
	background-color: var(--sg-bg-secondary);
	border-top: 1px solid var(--sg-border);
}

.sg-cta__text {
	font-family: var(--sg-font-heading);
	font-size: clamp(1.5rem, 3.5vw, 2.2rem);
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--sg-text-primary);
	margin: 0;
}

.sg-cta__text::after {
	content: "";
	display: block;
	width: 3rem;
	height: 2px;
	background-color: var(--sg-accent);
	margin: var(--sg-space-lg) auto 0;
}


/* --------------------------------------------------------------------------
   18. Homepage — Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.sg-hero {
		min-height: 70vh;
		padding: var(--sg-space-xl) 0;
	}

	.sg-latest__grid {
		grid-template-columns: 1fr;
		gap: var(--sg-space-md);
	}

	.sg-post-card__image img {
		height: 10rem;
	}

	.sg-positioning,
	.sg-latest,
	.sg-cta {
		padding: var(--sg-space-xl) 0;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.sg-latest__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* ==========================================================================
   SINGLE ARTICLE (.single-post)
   ========================================================================== */


/* --------------------------------------------------------------------------
   19. Article — Reading Width
   -------------------------------------------------------------------------- */

.single-post .inside-article {
	max-width: 50rem;
	margin-left: auto;
	margin-right: auto;
	padding-top: var(--sg-space-2xl);
	padding-bottom: var(--sg-space-2xl);
}


/* --------------------------------------------------------------------------
   20. Article — Entry Header
   -------------------------------------------------------------------------- */

.single-post .entry-header {
	margin-bottom: var(--sg-space-xl);
}

.single-post .entry-title {
	font-family: var(--sg-font-heading);
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.02em;
	margin-bottom: var(--sg-space-md);
}

.single-post .entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sg-space-sm) var(--sg-space-md);
	color: var(--sg-text-secondary);
	font-size: 0.85rem;
	font-family: var(--sg-font-body);
	margin-bottom: 0;
	padding-bottom: var(--sg-space-lg);
	border-bottom: 1px solid var(--sg-border);
}

.single-post .entry-header .entry-meta > span:not(:last-child)::after {
	content: "·";
	margin-left: var(--sg-space-md);
	color: var(--sg-border);
}

.single-post .entry-meta a {
	color: var(--sg-text-secondary);
}

.single-post .entry-meta a:hover {
	color: var(--sg-accent);
}


/* --------------------------------------------------------------------------
   21. Article — Featured Image
   -------------------------------------------------------------------------- */

.single-post .post-image {
	margin-bottom: var(--sg-space-xl);
}

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


/* --------------------------------------------------------------------------
   22. Article — Body Content
   -------------------------------------------------------------------------- */

.single-post .entry-content {
	font-family: var(--sg-font-body);
	font-size: 1.05rem;
	line-height: 1.8;
}

.single-post .entry-content > *:first-child {
	margin-top: 0;
}

.single-post .entry-content > *:last-child {
	margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   23. Article — Entry Footer
   -------------------------------------------------------------------------- */

.single-post footer.entry-meta {
	margin-top: var(--sg-space-xl);
	padding-top: var(--sg-space-lg);
	padding-bottom: 0;
	border-top: 1px solid var(--sg-border);
	border-bottom: none;
	font-family: var(--sg-font-body);
}

.single-post footer.entry-meta .cat-links,
.single-post footer.entry-meta .tags-links {
	display: block;
	margin-bottom: var(--sg-space-xs);
}


/* --------------------------------------------------------------------------
   24. Article — Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.single-post .inside-article {
		padding-top: var(--sg-space-xl);
		padding-bottom: var(--sg-space-xl);
	}

	.single-post .entry-header {
		margin-bottom: var(--sg-space-lg);
	}

	.single-post .post-image {
		margin-bottom: var(--sg-space-lg);
	}

	.single-post .entry-content {
		font-size: 1rem;
	}
}
