/*
 * INPRAFUN inner pages and single posts (everything except the front page).
 * Header and footer are untouched; this styles the content area only.
 */

body:not(.home) {
	--ip-ink: #1f2a37;
	--ip-text: #3c4858;
	--ip-muted: #556577;
	--ip-sky: #86bbdf;
	--ip-sky-deep: #4b8fbf;
	--ip-link: #23628e;
	--ip-link-hover: #164a6e;
	--ip-wash: #f2f7fb;
	--ip-line: #dbe6ef;
	--ip-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.home) .main ::selection {
	background: rgba(134, 187, 223, 0.45);
	color: var(--ip-ink);
}

/* ================= Reading column ================= */

body:not(.home) .blog-post .section-text {
	padding-top: 64px;
	padding-bottom: 72px;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) {
	color: var(--ip-text);
	font-family: Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	font-weight: 300;
	line-height: 1.75;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) p {
	margin: 0 0 1.1em;
	color: var(--ip-text);
	font-size: 17px;
	line-height: 1.75;
	text-wrap: pretty;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) :is(strong, b) {
	color: var(--ip-ink);
	font-weight: 700;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) :is(h2, h3, h4) {
	margin: 2.4em 0 0.8em;
	color: var(--ip-ink);
	font-family: Roboto, Helvetica, Arial, sans-serif;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.005em;
	text-align: left;
	text-wrap: balance;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) h2 {
	font-size: 28px;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) h3 {
	font-size: 23px;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) h4 {
	font-size: 20px;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) > :first-child {
	margin-top: 0;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .wp-block-spacer {
	height: 12px !important;
}

/* Links in running text (the global theme turns link hover white). */
body:not(.home) :is(.page-content-wrap, .single-post-wrap) :is(p, li) a,
body:not(.home) :is(.page-content-wrap, .single-post-wrap) :is(p, li) a:hover,
body:not(.home) :is(.page-content-wrap, .single-post-wrap) :is(p, li) a:focus {
	color: var(--ip-link) !important;
	opacity: 1 !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(35, 98, 142, 0.35);
	text-underline-offset: 4px;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) :is(p, li) a:hover {
	color: var(--ip-link-hover) !important;
	text-decoration-color: currentColor;
}

body:not(.home) .main a:focus-visible {
	outline: 2px solid var(--ip-sky-deep);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Lists */
body:not(.home) :is(.page-content-wrap, .single-post-wrap) :is(ul, ol).wp-block-list {
	margin: 1em 0 1.6em;
	padding-left: 1.3em;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .wp-block-list li {
	margin-bottom: 0.45em;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .wp-block-list li::marker {
	color: var(--ip-sky-deep);
	font-weight: 700;
}

/* Images, galleries, separators */
body:not(.home) :is(.page-content-wrap, .single-post-wrap) :is(.wp-block-image, .wp-block-gallery, .wp-block-post-featured-image) {
	margin: 2em 0;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) :is(.wp-block-image, .wp-block-post-featured-image) img {
	height: auto;
	border-radius: 6px;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .wp-block-gallery.has-nested-images {
	gap: 12px;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .wp-block-gallery.has-nested-images figure.wp-block-image img {
	border-radius: 6px;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) figcaption {
	margin-top: 10px;
	color: var(--ip-muted);
	font-size: 14px;
	text-align: left;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) hr.wp-block-separator {
	margin: 2.4em 0;
	border: 0;
	border-top: 1px solid var(--ip-line);
	opacity: 1;
}

/* ================= Single post ================= */

/* Header meta: show the date only (hide the account name). */
.single-post .page-header h4.author {
	font-size: 0;
}

.single-post .page-header h4.author a.vcard {
	display: none;
}

.single-post .page-header h4.author time.entry-date.published {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.02em;
}

/* The sidebar only held a search box and empty widgets: use one centred column. */
.single-post .blog-sidebar-wrapper {
	display: none;
}

.single-post .single-post-container {
	float: none;
	width: 100%;
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
}

/* Below the post: no category label, share buttons or comments. */
.single-post .section-blog-info,
.single-post .section-comments,
.single-post #comments {
	display: none;
}

/* Hestia's own "Related Posts" (English, no images) is replaced by .ip-related. */
.single-post .related-posts {
	display: none;
}

/* ================= List pages: Query Loop entries ================= */

body:not(.home) .page-content-wrap .wp-block-query .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

body:not(.home) .page-content-wrap .wp-block-query .wp-block-post {
	margin: 0;
	padding: 32px 0;
	border-top: 1px solid var(--ip-line);
}

body:not(.home) .page-content-wrap .wp-block-query .wp-block-post:first-child {
	padding-top: 0;
	border-top: 0;
}

/* The entry prints its own date (some list templates have none). */
body:not(.home) .page-content-wrap .wp-block-query .wp-block-post:has(.ip-entry) .wp-block-post-date {
	display: none;
}

.ip-entry {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.ip-entry.has-image {
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.ip-entry-media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ip-wash);
	border-radius: 6px;
}

.ip-entry-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ip-ease);
}

.ip-entry:hover .ip-entry-media img {
	transform: scale(1.03);
}

body:not(.home) .ip-entry .ip-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	margin: 0 0 6px;
	color: var(--ip-muted);
	font-size: 13px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

.ip-entry-meta time {
	font-weight: 700;
}

.ip-entry-cat {
	color: var(--ip-link);
	font-weight: 700;
}

body:not(.home) .page-content-wrap .ip-entry-title {
	margin: 0 0 10px;
	font-size: 21px;
	line-height: 1.35;
}

body:not(.home) .page-content-wrap .ip-entry-title a {
	color: var(--ip-ink) !important;
	text-decoration: none;
	opacity: 1 !important;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.4s var(--ip-ease), color 0.25s var(--ip-ease);
}

body:not(.home) .page-content-wrap .ip-entry-title a:hover,
body:not(.home) .page-content-wrap .ip-entry-title a:focus {
	color: var(--ip-link) !important;
	background-size: 100% 1px;
}

body:not(.home) .ip-entry .ip-entry-excerpt {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.65;
}

/* "Pročitaj više" / "Sve objave" links */
body:not(.home) .ip-more,
body:not(.home) .ip-more:hover,
body:not(.home) .ip-more:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ip-link) !important;
	font-size: 15px;
	font-weight: 700;
	opacity: 1 !important;
	text-decoration: underline;
	text-decoration-color: rgba(35, 98, 142, 0.35);
	text-underline-offset: 5px;
}

body:not(.home) .ip-more:hover {
	color: var(--ip-link-hover) !important;
	text-decoration-color: currentColor;
}

body:not(.home) .ip-more svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s var(--ip-ease);
}

body:not(.home) .ip-more:hover svg {
	transform: translateX(4px);
}

/* ================= Projektni tim ================= */

body:not(.home) .page-content-wrap:has(.info-link) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 40px;
	align-content: start;
}

body:not(.home) .page-content-wrap:has(.info-link) > :not(p.ip-person) {
	grid-column: 1 / -1;
}

body:not(.home) .page-content-wrap p.ip-person {
	position: relative;
	margin: 0;
	padding: 24px 0 24px 68px;
	border-top: 1px solid var(--ip-line);
	font-size: 15px;
	line-height: 1.6;
}

body:not(.home) .page-content-wrap p.ip-person > .ip-initials + br {
	display: none;
}

.ip-initials {
	position: absolute;
	top: 24px;
	left: 0;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	background: var(--ip-wash);
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--ip-line);
	color: var(--ip-link);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* Name opens the bio dialog. */
body:not(.home) .page-content-wrap p.ip-person a.info-link,
body:not(.home) .page-content-wrap p.ip-person a.info-link:hover,
body:not(.home) .page-content-wrap p.ip-person a.info-link:focus {
	color: var(--ip-ink) !important;
	text-decoration: none;
	border-bottom: 0;
}

body:not(.home) .page-content-wrap p.ip-person a.info-link strong,
body:not(.home) .page-content-wrap p.ip-person strong a.info-link {
	font-size: 17px;
	line-height: 1.4;
}

body:not(.home) .page-content-wrap p.ip-person a.info-link::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 6px;
	vertical-align: -2px;
	background: var(--ip-sky-deep);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.3s var(--ip-ease);
}

body:not(.home) .page-content-wrap p.ip-person a.info-link:hover {
	color: var(--ip-link) !important;
}

body:not(.home) .page-content-wrap p.ip-person a.info-link:hover::after {
	transform: scale(1.15);
}

body:not(.home) .page-content-wrap p.ip-person a[href^="mailto:"],
body:not(.home) .page-content-wrap p.ip-person a[href*="croris"] {
	font-size: 14px;
}

/* ================= O projektu ================= */

/* Opening paragraph reads as the lead. */
body:not(.home) .page-content-wrap:has(.ip-sheet) > p:first-child {
	margin-bottom: 1.2em;
	color: var(--ip-ink);
	font-family: "Roboto Slab", "Times New Roman", serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.65;
}

body:not(.home) .page-content-wrap:has(.ip-sheet) > p:first-child strong {
	font-weight: 700;
}

/* Facts + timeline sheet. */
.ip-sheet {
	margin: 56px 0 64px;
	padding: 28px 32px 12px;
	background: var(--ip-wash);
	border-radius: 6px;
	font-family: Roboto, Helvetica, Arial, sans-serif;
}

body:not(.home) .page-content-wrap .ip-sheet-title {
	margin: 0 0 20px;
	font-size: 22px;
	line-height: 1.3;
}

.ip-time {
	margin-bottom: 8px;
}

body:not(.home) .page-content-wrap .ip-time-status {
	margin: 0 0 16px;
	color: var(--ip-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
}

.ip-track {
	position: relative;
	height: 10px;
	margin-bottom: 30px;
	background: #d6e5f0;
	border-radius: 5px;
}

.ip-track-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--ip-progress, 0%);
	background: linear-gradient(90deg, var(--ip-sky), var(--ip-sky-deep));
	border-radius: 5px;
	animation: ip-fill 1.6s var(--ip-ease) 0.2s both;
}

.ip-time--running .ip-track-fill::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -7px;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background: #fff;
	border: 3px solid var(--ip-sky-deep);
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(31, 42, 55, 0.18);
}

@keyframes ip-fill {
	from {
		width: 0;
	}
}

.ip-tick {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(255, 255, 255, 0.85);
}

.ip-tick span {
	position: absolute;
	top: 16px;
	left: 0;
	transform: translateX(-50%);
	color: var(--ip-muted);
	font-size: 12px;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

body:not(.home) .page-content-wrap .ip-time-range {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 12px;
	color: var(--ip-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

.ip-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	margin: 0;
}

.ip-facts > div {
	padding: 14px 0;
	border-top: 1px solid var(--ip-line);
}

.ip-facts dt {
	margin: 0 0 3px;
	color: var(--ip-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.ip-facts dd {
	margin: 0;
	color: var(--ip-ink);
	font-size: 15px;
	line-height: 1.5;
}

/* "ISTRAŽIVAČKE TEME:" label becomes a section heading. */
body:not(.home) .page-content-wrap:has(.hestia-features) > p.has-text-align-center:has(> strong:only-child) {
	margin: 0 0 16px;
	text-align: left;
}

body:not(.home) .page-content-wrap:has(.hestia-features) > p.has-text-align-center:has(> strong:only-child) strong {
	display: inline-block;
	color: var(--ip-ink);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: lowercase;
}

body:not(.home) .page-content-wrap:has(.hestia-features) > p.has-text-align-center:has(> strong:only-child) strong::first-letter {
	text-transform: uppercase;
}

/* Theme boxes inside the content become rows with an arrow. */
body:not(.home) .page-content-wrap .hestia-features {
	padding: 0 !important;
}

body:not(.home) .page-content-wrap .hestia-features,
body:not(.home) .page-content-wrap .hestia-features .container,
body:not(.home) .page-content-wrap .hestia-features .hestia-features-content {
	width: auto;
	max-width: none;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

body:not(.home) .page-content-wrap .hestia-features .row {
	display: block;
	margin: 0;
	border-bottom: 1px solid var(--ip-line);
}

body:not(.home) .page-content-wrap .hestia-features .row::before,
body:not(.home) .page-content-wrap .hestia-features .row::after {
	display: none;
}

body:not(.home) .page-content-wrap .hestia-features .feature-box {
	float: none !important;
	width: 100% !important;
	max-width: none;
	margin: 0 !important;
	padding: 0;
}

body:not(.home) .page-content-wrap .hestia-features .hestia-info {
	display: block !important;
	height: auto;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-top: 1px solid var(--ip-line);
	border-radius: 0;
	background: transparent;
	text-align: left;
	transition: background-color 0.3s var(--ip-ease);
}

body:not(.home) .page-content-wrap .hestia-features .hestia-info:hover {
	background: var(--ip-wash);
}

body:not(.home) .page-content-wrap .hestia-features .hestia-info > a {
	position: relative;
	display: block;
	padding: 22px 60px 22px 10px;
	opacity: 1 !important;
}

body:not(.home) .page-content-wrap .hestia-features .hestia-info > a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	background: var(--ip-sky-deep);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.35s var(--ip-ease);
}

body:not(.home) .page-content-wrap .hestia-features .hestia-info:hover > a::after {
	transform: translateX(6px);
}

body:not(.home) .page-content-wrap .hestia-features .info-title {
	margin: 0;
	color: var(--ip-ink);
	font-family: "Roboto Slab", "Times New Roman", serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
}

body:not(.home) .page-content-wrap .hestia-features .hestia-info:hover .info-title {
	color: var(--ip-link);
}

/* ================= Related block (inc/pages.php) ================= */

.ip-related {
	margin-top: 72px;
	font-family: Roboto, Helvetica, Arial, sans-serif;
}

.ip-rel-sec + .ip-rel-sec {
	margin-top: 56px;
}

.ip-rel-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ip-sky);
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-rel-head h2 {
	margin: 0;
	font-size: 22px;
	line-height: 1.3;
}

/* Row links with an arrow (other research themes). */
.ip-rows {
	margin: -20px 0 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--ip-line);
}

.ip-rows li {
	border-top: 1px solid var(--ip-line);
	transition: background-color 0.3s var(--ip-ease);
}

.ip-rows li:first-child {
	border-top: 0;
}

.ip-rows li:hover {
	background: var(--ip-wash);
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-rows a {
	position: relative;
	display: block;
	padding: 18px 60px 18px 10px;
	color: var(--ip-ink) !important;
	font-family: "Roboto Slab", "Times New Roman", serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
	text-decoration: none;
	opacity: 1 !important;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-rows a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: var(--ip-sky-deep);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.35s var(--ip-ease);
}

.ip-rows li:hover a::after {
	transform: translateX(5px);
}

/* Latest posts. */
.ip-latest {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ip-latest li {
	margin: 0;
}

.ip-latest-media {
	display: block;
	aspect-ratio: 4 / 3;
	margin-bottom: 12px;
	overflow: hidden;
	background: var(--ip-wash);
	border-radius: 6px;
}

.ip-latest-media img,
.ip-latest-noimg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ip-ease);
}

.ip-latest li:hover .ip-latest-media img {
	transform: scale(1.03);
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-latest-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	margin: 0 0 6px;
	color: var(--ip-muted);
	font-size: 13px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

.ip-latest-meta time {
	font-weight: 700;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-latest h3 {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-latest h3 a {
	color: var(--ip-ink) !important;
	text-decoration: none;
	opacity: 1 !important;
}

body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-latest h3 a:hover {
	color: var(--ip-link) !important;
}

/* ================= Responsive ================= */

@media (max-width: 991px) {
	body:not(.home) .blog-post .section-text {
		padding-top: 40px;
	}
}

@media (max-width: 767px) {
	.ip-entry.has-image {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	body:not(.home) .page-content-wrap:has(.info-link) {
		grid-template-columns: minmax(0, 1fr);
	}

	.ip-latest {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.ip-latest li {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		column-gap: 16px;
		align-items: start;
	}

	.ip-latest-media {
		grid-row: span 2;
		margin-bottom: 0;
	}
}

@media (max-width: 600px) {
	body:not(.home) :is(.page-content-wrap, .single-post-wrap),
	body:not(.home) :is(.page-content-wrap, .single-post-wrap) p {
		font-size: 16px;
	}

	body:not(.home) .page-content-wrap .ip-entry-title {
		font-size: 19px;
	}

	body:not(.home) .page-content-wrap:has(.ip-sheet) > p:first-child {
		font-size: 18px;
	}

	.ip-sheet {
		padding: 22px 20px 8px;
	}

	.ip-facts {
		grid-template-columns: minmax(0, 1fr);
	}

	body:not(.home) .page-content-wrap .hestia-features .hestia-info > a {
		padding-right: 44px;
	}

	body:not(.home) .page-content-wrap .hestia-features .hestia-info > a::after {
		right: 6px;
	}

	body:not(.home) .page-content-wrap .hestia-features .info-title {
		font-size: 17px;
	}

	body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-rows a {
		padding-right: 44px;
		font-size: 16px;
	}

	body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-rows a::after {
		right: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ip-track-fill {
		animation: none;
	}

	.ip-entry-media img,
	.ip-latest-media img,
	.ip-rows li,
	body:not(.home) :is(.page-content-wrap, .single-post-wrap) .ip-rows a::after,
	body:not(.home) .ip-more svg {
		transition: none;
	}
}
