/**
 * Single Post Content Styles (WYSIWYG)
 * Styles for .single-content class
 */

.single-content {
	/* Base typography */
	font-family: 'Bambino New', sans-serif;
	font-size: 18px;
	line-height: 30px;
}

/* Headings */
.single-content h1 {
	font-family: 'Bambino New', sans-serif;
	font-weight: 600;
	font-size: 48px;
	line-height: 1.35;
	margin-top: 2em;
	margin-bottom: 1em;
}

.single-content h2 {
	font-family: 'Bambino New', sans-serif;
	font-weight: 600;
	font-size: 32px;
	line-height: 135%;
	margin-top: 2.5em;
	margin-bottom: 1em;
}

.single-content h3 {
	font-family: 'Bambino New', sans-serif;
	font-weight: 400;
	font-size: 28px;
	line-height: 1.35;
	margin-top: 2em;
	margin-bottom: 0.75em;
}

.single-content h4 {
	font-family: 'Bambino New', sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.35;
	margin-top: 1.5em;
	margin-bottom: 0.75em;
}

.single-content h5 {
	font-family: 'Bambino New', sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.35;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

.single-content h6 {
	font-family: 'Bambino New', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.35;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

/* Paragraphs */
.single-content p {
	font-family: 'Bambino New', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 30px;
	margin-bottom: 1.5em;
}

/* Links */
.single-content a {
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
	transition: color 0.3s ease;
}

.single-content a:hover {
	color: #8B7E6A;
}

/* Strong/Bold */
.single-content strong,
.single-content b {
	font-weight: 600;
}

/* Emphasis/Italic */
.single-content em,
.single-content i {
	font-style: italic;
}

/* Underline */
.single-content u {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Strikethrough */
.single-content s,
.single-content del,
.single-content strike {
	text-decoration: line-through;
}

/* Mark/Highlight */
.single-content mark {
	background-color: #FFF4CC;
	padding: 2px 4px;
}

/* Code */
.single-content code {
	font-family: 'Courier New', Courier, monospace;
	font-size: 16px;
	background-color: #F5F3F0;
	padding: 2px 6px;
	border-radius: 3px;
}

.single-content pre {
	font-family: 'Courier New', Courier, monospace;
	font-size: 14px;
	background-color: #F5F3F0;
	padding: 1.5em;
	border-radius: 6px;
	overflow-x: auto;
	margin-bottom: 1.5em;
}

.single-content pre code {
	background-color: transparent;
	padding: 0;
}

/* Blockquotes */
.single-content blockquote {
	font-family: 'Bambino New', sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 135%;
	color: #000000;
	border-left: 4px solid #B2A288;
	padding-left: 1.5em;
	margin: 2em 0;
	font-style: italic;
}

.single-content blockquote p {
	font-size: inherit;
	line-height: inherit;
}

.single-content blockquote cite {
	display: block;
	font-size: 16px;
	margin-top: 1em;
	font-style: normal;
	color: #666666;
}

/* Lists */
.single-content ul,
.single-content ol {
	margin-bottom: 1.5em;
	padding-left: 2em;
}

.single-content ul {
	list-style-type: disc;
}

.single-content ol {
	list-style-type: decimal;
}

.single-content li {
	font-family: 'Bambino New', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 30px;
	margin-bottom: 0.5em;
}

.single-content ul ul,
.single-content ol ol,
.single-content ul ol,
.single-content ol ul {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.single-content ul ul {
	list-style-type: circle;
}

.single-content ul ul ul {
	list-style-type: square;
}

/* Definition Lists */
.single-content dl {
	margin-bottom: 1.5em;
}

.single-content dt {
	font-weight: 600;
	margin-top: 1em;
}

.single-content dd {
	margin-left: 2em;
	margin-bottom: 0.5em;
}

/* Tables */
.single-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
	font-size: 16px;
}

.single-content thead {
	background-color: #F5F3F0;
}

.single-content th {
	font-weight: 600;
	text-align: left;
	padding: 12px 16px;
	border-bottom: 2px solid #B2A288;
}

.single-content td {
	padding: 12px 16px;
	border-bottom: 1px solid #E5E5E5;
}

.single-content tbody tr:hover {
	background-color: #FAFAFA;
}

/* Images */
.single-content img {
	max-width: 100%;
	height: auto;
	margin: 1.5em 0;
}

.single-content figure {
	margin: 2em 0;
}

.single-content figcaption {
	font-size: 14px;
	color: #666666;
	text-align: center;
	margin-top: 0.75em;
	font-style: italic;
}

/* WordPress Alignments */
.single-content .alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
}

.single-content .alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1em;
}

.single-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.single-content .alignwide {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.single-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* Horizontal Rule */
.single-content hr {
	border: none;
	border-top: 1px solid #E5E5E5;
	margin: 3em 0;
}

/* Subscript and Superscript */
.single-content sub,
.single-content sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

.single-content sup {
	top: -0.5em;
}

.single-content sub {
	bottom: -0.25em;
}

/* Abbreviation */
.single-content abbr,
.single-content acronym {
	border-bottom: 1px dotted #666666;
	cursor: help;
}

/* Address */
.single-content address {
	font-style: italic;
	margin-bottom: 1.5em;
}

/* Small text */
.single-content small {
	font-size: 85%;
}

/* Keyboard input */
.single-content kbd {
	font-family: 'Courier New', Courier, monospace;
	font-size: 14px;
	background-color: #F5F3F0;
	border: 1px solid #CCC;
	border-radius: 3px;
	padding: 2px 6px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* Variable */
.single-content var {
	font-style: italic;
}

/* Sample output */
.single-content samp {
	font-family: 'Courier New', Courier, monospace;
}

/* WordPress Gallery */
.single-content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1em;
	margin-bottom: 1.5em;
}

.single-content .gallery-item {
	margin: 0;
}

/* WordPress Captions */
.single-content .wp-caption {
	max-width: 100%;
}

.single-content .wp-caption-text {
	font-size: 14px;
	color: #666666;
	text-align: center;
	margin-top: 0.75em;
	font-style: italic;
}

/* Buttons (if added via WYSIWYG) */
.single-content .button,
.single-content .btn {
	display: inline-block;
	padding: 12px 24px;
	background-color: #B2A288;
	color: #FFFFFF;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
	font-weight: 600;
}

.single-content .button:hover,
.single-content .btn:hover {
	background-color: #8B7E6A;
	color: #FFFFFF;
}

/* Video embeds */
.single-content iframe,
.single-content video {
	max-width: 100%;
	margin: 1.5em 0;
	border-radius: 8px;
}

/* Responsive video wrapper */
.single-content .video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	/* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	margin-bottom: 1.5em;
}

.single-content .video-wrapper iframe,
.single-content .video-wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
}

/* First paragraph styling (optional drop cap or larger text) */
.single-content>p:first-of-type {
	/* Uncomment for drop cap effect */
	/* font-size: 20px; */
}

/* Clear floats */
.single-content::after {
	content: "";
	display: table;
	clear: both;
}

/* Print styles */
@media print {
	.single-content {
		font-size: 12pt;
		line-height: 1.5;
		color: #000000;
	}

	.single-content a {
		text-decoration: underline;
		color: #000000;
	}

	.single-content a[href]::after {
		content: " (" attr(href) ")";
		font-size: 90%;
	}
}