/**
 * Shared article/news typography for front-end and block editor.
 * Keep selectors for .entry-content / .page-content and .editor-styles-wrapper in sync.
 */

.entry-content,
.page-content,
.editor-styles-wrapper {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.05rem;
	line-height: 1.8;
	color: #3f4547;
	overflow-wrap: break-word;
	word-wrap: break-word;
	text-align: left;
	word-spacing: normal;
	letter-spacing: normal;
}

.entry-content > *:last-child,
.page-content > *:last-child {
	margin-bottom: 0;
}

/* Headings */
.entry-content h1,
.page-content h1,
.entry-content h2,
.page-content h2,
.entry-content h3,
.page-content h3,
.entry-content h4,
.page-content h4,
.entry-content h5,
.page-content h5,
.entry-content h6,
.page-content h6,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
	font-family: "Lora", Georgia, "Times New Roman", serif;
	color: #005950;
	font-weight: 600;
	line-height: 1.3;
	margin: 1.5rem 0 0.75rem;
	text-indent: 0;
}

.entry-content h1,
.page-content h1,
.editor-styles-wrapper h1 {
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	letter-spacing: 0.02em;
}

.entry-content h2,
.page-content h2,
.editor-styles-wrapper h2 {
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.entry-content h3,
.page-content h3,
.editor-styles-wrapper h3 {
	font-size: 1.25rem;
}

.entry-content h4,
.page-content h4,
.editor-styles-wrapper h4 {
	font-size: 1.1rem;
}

/* Paragraphs */
.entry-content > p,
.page-content > p,
.entry-content .wp-block-paragraph,
.page-content .wp-block-paragraph,
.editor-styles-wrapper p,
.editor-styles-wrapper .wp-block-paragraph {
	margin-top: 0;
	margin-bottom: 0.85rem;
	text-indent: 1.35em;
	line-height: 1.8;
	text-align: left;
	word-spacing: normal;
	letter-spacing: normal;
}

.entry-content > p:last-child,
.page-content > p:last-child,
.entry-content .wp-block-paragraph:last-child,
.page-content .wp-block-paragraph:last-child {
	margin-bottom: 0;
}

/* Inline */
.entry-content em,
.page-content em,
.entry-content i,
.page-content i,
.editor-styles-wrapper em,
.editor-styles-wrapper i {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-style: italic;
	font-synthesis: none;
}

.entry-content strong,
.page-content strong,
.entry-content b,
.page-content b,
.editor-styles-wrapper strong,
.editor-styles-wrapper b {
	font-weight: 700;
}

.entry-content a,
.page-content a,
.editor-styles-wrapper a {
	color: #005950;
	text-decoration: none;
}

.entry-content a:hover,
.page-content a:hover,
.entry-content a:focus,
.page-content a:focus,
.editor-styles-wrapper a:hover,
.editor-styles-wrapper a:focus {
	color: #d2b470;
}

/* Lists */
.entry-content ul,
.page-content ul,
.entry-content ol,
.page-content ol,
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
	margin: 0 0 1.15rem;
	padding-left: 1.35em;
	line-height: 1.8;
	text-indent: 0;
}

.entry-content li,
.page-content li,
.editor-styles-wrapper li {
	margin-bottom: 0.35rem;
	text-indent: 0;
}

.entry-content li > ul,
.page-content li > ul,
.entry-content li > ol,
.page-content li > ol,
.editor-styles-wrapper li > ul,
.editor-styles-wrapper li > ol {
	margin-top: 0.35rem;
	margin-bottom: 0.35rem;
}

/* Quote */
.entry-content .wp-block-quote,
.page-content .wp-block-quote,
.editor-styles-wrapper .wp-block-quote {
	margin: 1.25rem 0;
	padding: 0.35rem 0 0.35rem 1.15rem !important;
	border: 0 !important;
	border-left: 3px solid #d2b470 !important;
	box-shadow: none !important;
	color: #3f4547;
	quotes: none;
	background: transparent;
}

.entry-content .wp-block-quote::before,
.page-content .wp-block-quote::before,
.editor-styles-wrapper .wp-block-quote::before,
.entry-content .wp-block-quote::after,
.page-content .wp-block-quote::after,
.editor-styles-wrapper .wp-block-quote::after {
	content: none !important;
}

.entry-content .wp-block-quote p,
.page-content .wp-block-quote p,
.entry-content .wp-block-quote .wp-block-paragraph,
.page-content .wp-block-quote .wp-block-paragraph,
.editor-styles-wrapper .wp-block-quote p,
.editor-styles-wrapper .wp-block-quote .wp-block-paragraph {
	margin-bottom: 0.65rem;
	padding: 0;
	text-indent: 0 !important;
	font-style: italic;
	line-height: 1.8;
	text-align: left;
	word-spacing: normal;
	letter-spacing: normal;
}

.entry-content .wp-block-quote p:last-child,
.page-content .wp-block-quote p:last-child,
.editor-styles-wrapper .wp-block-quote p:last-child {
	margin-bottom: 0;
}

.entry-content .wp-block-quote cite,
.page-content .wp-block-quote cite,
.entry-content .wp-block-quote .wp-block-quote__citation,
.page-content .wp-block-quote .wp-block-quote__citation,
.editor-styles-wrapper .wp-block-quote cite,
.editor-styles-wrapper .wp-block-quote .wp-block-quote__citation {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.92rem;
	font-style: normal;
	color: #8c8f91;
	text-indent: 0;
}

/* Pullquote */
.entry-content .wp-block-pullquote,
.page-content .wp-block-pullquote,
.editor-styles-wrapper .wp-block-pullquote {
	margin: 1.5rem 0;
	padding: 1rem 0;
	border-top: 3px solid #d2b470;
	border-bottom: 3px solid #d2b470;
	text-align: center;
}

.entry-content .wp-block-pullquote p,
.page-content .wp-block-pullquote p,
.editor-styles-wrapper .wp-block-pullquote p {
	text-indent: 0 !important;
	font-style: italic;
}

/* Source line */
.entry-content .article-source,
.page-content .article-source,
.entry-content .article-source.wp-block-paragraph,
.page-content .article-source.wp-block-paragraph,
.editor-styles-wrapper .article-source,
.editor-styles-wrapper .article-source.wp-block-paragraph {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #dfe4e3;
	text-indent: 0 !important;
	font-size: 0.92rem;
	line-height: 1.6;
	color: #8c8f91;
	font-style: normal;
}

.entry-content .article-source em,
.page-content .article-source em,
.editor-styles-wrapper .article-source em {
	font-style: normal;
}

/* Images / figures */
.entry-content .wp-block-image,
.page-content .wp-block-image,
.entry-content figure,
.page-content figure,
.editor-styles-wrapper .wp-block-image,
.editor-styles-wrapper figure {
	margin: 1.25rem 0;
	text-indent: 0;
}

.entry-content .wp-block-image img,
.page-content .wp-block-image img,
.entry-content figure img,
.page-content figure img,
.editor-styles-wrapper .wp-block-image img,
.editor-styles-wrapper figure img {
	max-width: 100%;
	height: auto;
	display: block;
}

.entry-content .wp-block-image.aligncenter,
.page-content .wp-block-image.aligncenter,
.entry-content .aligncenter,
.page-content .aligncenter,
.editor-styles-wrapper .wp-block-image.aligncenter,
.editor-styles-wrapper .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.entry-content .wp-block-image figcaption,
.page-content .wp-block-image figcaption,
.entry-content figcaption,
.page-content figcaption,
.editor-styles-wrapper .wp-block-image figcaption,
.editor-styles-wrapper figcaption {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #8c8f91;
	text-align: center;
	text-indent: 0;
}

/* Separator / HR */
.entry-content hr,
.page-content hr,
.entry-content .wp-block-separator,
.page-content .wp-block-separator,
.editor-styles-wrapper hr,
.editor-styles-wrapper .wp-block-separator {
	margin: 1.5rem 0;
	border: 0;
	border-top: 1px solid #dfe4e3;
	background: transparent;
	height: 0;
}

.entry-content .wp-block-separator.is-style-wide,
.page-content .wp-block-separator.is-style-wide,
.editor-styles-wrapper .wp-block-separator.is-style-wide {
	border-top-width: 1px;
}

/* Code */
.entry-content code,
.page-content code,
.editor-styles-wrapper code {
	font-size: 0.92em;
	padding: 0.1em 0.35em;
	background: #eaecec;
	border-radius: 2px;
	text-indent: 0;
}

.entry-content pre,
.page-content pre,
.editor-styles-wrapper pre,
.entry-content .wp-block-code,
.page-content .wp-block-code,
.editor-styles-wrapper .wp-block-code {
	margin: 1.15rem 0;
	padding: 1rem 1.15rem;
	overflow-x: auto;
	background: #eaecec;
	border-radius: 2px;
	font-size: 0.92rem;
	line-height: 1.6;
	text-indent: 0;
}

/* Reset indent for non-body blocks */
.entry-content .wp-block-quote,
.page-content .wp-block-quote,
.entry-content .wp-block-pullquote,
.page-content .wp-block-pullquote,
.entry-content .wp-block-image,
.page-content .wp-block-image,
.entry-content .wp-block-gallery,
.page-content .wp-block-gallery,
.entry-content .wp-block-table,
.page-content .wp-block-table,
.entry-content .wp-block-separator,
.page-content .wp-block-separator,
.home-news__item .entry-summary p,
.dog-card p,
.hero-panel p {
	text-indent: 0;
}
