/* Light of Care Aus — blog listing and article styles */

/* Allow the sticky article sidebar: the theme's main wrapper uses overflow:hidden */
.single-post main.site-main { overflow: visible !important; overflow-x: clip !important; }

.loc-cat-nav { scrollbar-width: none; }
.loc-cat-nav::-webkit-scrollbar { display: none; }

/* Pagination */
.loc-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 48px; height: 48px; padding: 0 1rem;
	border: 1px solid #e2e8f0; border-radius: 999px; background: #fff;
	color: #1C2452; font-size: 13px; font-weight: 800; text-decoration: none;
	box-shadow: 0 8px 20px rgba(28,36,82,.05);
	transition: all .25s ease;
}
.loc-pagination a.page-numbers:hover { border-color: #1D8787; color: #1D8787; transform: translateY(-2px); }
.loc-pagination .page-numbers.current { border-color: #1C2452; background: #1C2452; color: #fff; }
.loc-pagination .page-numbers.dots { border: 0; background: none; box-shadow: none; }

/* Share buttons */
.loc-share {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border: 1px solid #e2e8f0; border-radius: 999px;
	background: #fff; color: #1C2452; font-size: 13px; cursor: pointer;
	transition: all .25s ease;
}
.loc-share:hover { border-color: #1D8787; background: #1D8787; color: #fff; transform: translateY(-2px); }
.loc-share-sm { width: 34px; height: 34px; font-size: 11px; }
.loc-share.is-copied { border-color: #F1AC34; background: #F1AC34; color: #1C2452; }

/* TOC */
.loc-toc-link.is-active { border-left-color: #1D8787; background: #fff; color: #1C2452; box-shadow: 0 6px 16px rgba(28,36,82,.06); }
.loc-toc-mobile[open] summary .fa-chevron-down { transform: rotate(180deg); }
.loc-toc-mobile summary::-webkit-details-marker { display: none; }

/* Article typography */
.loc-prose { color: #334155; font-size: 1.0625rem; line-height: 1.9; }
.loc-prose > *:first-child { margin-top: 0; }
.loc-prose p { margin: 0 0 1.45rem; }
.loc-prose > p:first-of-type { font-size: 1.2rem; line-height: 1.85; color: #1f2a44; }
.loc-prose span[style] { font-weight: inherit !important; }
.loc-prose strong, .loc-prose b { color: #1C2452; font-weight: 800; }

.loc-prose h2, .loc-prose h3, .loc-prose h4 { color: #1C2452; font-weight: 800; letter-spacing: -.03em; scroll-margin-top: 190px; }
.loc-prose h2 { position: relative; margin: 3.4rem 0 1.25rem; padding-top: 1.4rem; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.2; }
.loc-prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #F1AC34, #1D8787); }
.loc-prose h3 { margin: 2.4rem 0 .9rem; font-size: 1.35rem; line-height: 1.3; }
.loc-prose h4 { margin: 2rem 0 .75rem; font-size: 1.1rem; }
.loc-prose h2 b, .loc-prose h3 b { font-weight: inherit; }

.loc-prose a { color: #1D8787; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(29,135,135,.35); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: all .2s ease; }
.loc-prose a:hover { color: #1C2452; text-decoration-color: #F1AC34; }

.loc-prose ul, .loc-prose ol { margin: 0 0 1.6rem; padding: 0; list-style: none; }
.loc-prose li { position: relative; margin: 0 0 .7rem; padding-left: 2rem; }
.loc-prose ul > li::before { content: ""; position: absolute; top: .72em; left: .35rem; width: 8px; height: 8px; border-radius: 50%; background: #1D8787; box-shadow: 0 0 0 4px rgba(29,135,135,.12); }
.loc-prose ol { counter-reset: loc; }
.loc-prose ol > li { counter-increment: loc; padding-left: 2.6rem; }
.loc-prose ol > li::before { content: counter(loc); position: absolute; top: .25em; left: 0; display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #1C2452; color: #FAC25C; font-size: .75rem; font-weight: 800; line-height: 1; }
.loc-prose li > ul, .loc-prose li > ol { margin: .7rem 0 0; }

.loc-prose blockquote { position: relative; margin: 2.4rem 0; padding: 1.8rem 1.8rem 1.8rem 4.4rem; border: 1px solid rgba(29,135,135,.12); border-radius: 1.6rem; background: linear-gradient(110deg, rgba(29,135,135,.07), rgba(241,172,52,.07)); color: #1C2452; font-size: 1.15rem; font-weight: 700; line-height: 1.75; }
.loc-prose blockquote::before { content: "\f10d"; position: absolute; top: 1.8rem; left: 1.5rem; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #F1AC34; font-size: 1.4rem; }
.loc-prose blockquote p:last-child { margin-bottom: 0; }

.loc-prose img { max-width: 100%; height: auto; border-radius: 1.4rem; }
.loc-prose figure, .loc-prose .wp-caption { max-width: 100% !important; margin: 2.2rem 0; }
.loc-prose figcaption, .loc-prose .wp-caption-text { margin-top: .7rem; color: #94a3b8; font-size: .85rem; text-align: center; }
.loc-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.loc-prose hr { margin: 3rem 0; border: 0; height: 1px; background: linear-gradient(90deg, transparent, #e2e8f0, transparent); }

/* Tables — override inline editor styles for a clean, branded look */
.loc-table-wrap { margin: 2.2rem 0; overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 1.4rem; background: #fff; box-shadow: 0 16px 40px rgba(28,36,82,.06); -webkit-overflow-scrolling: touch; }
.loc-prose table { width: 100% !important; min-width: 560px; margin: 0 !important; border: 0 !important; border-collapse: separate !important; border-spacing: 0; font-family: inherit !important; font-size: .95rem !important; color: #334155 !important; line-height: 1.6; }
.loc-prose thead th, .loc-prose table tr:first-child th { background: #1C2452 !important; color: #fff !important; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.loc-prose th, .loc-prose td { padding: 1rem 1.15rem !important; border: 0 !important; border-bottom: 1px solid #eef2f6 !important; text-align: left !important; vertical-align: top !important; }
.loc-prose tbody tr:nth-child(even) td { background: #f8fbfb; }
.loc-prose tbody tr:last-child td { border-bottom: 0 !important; }
.loc-prose tbody td:first-child { color: #1C2452; font-weight: 700; }

@media (max-width: 640px) {
	.loc-prose { font-size: 1rem; }
	.loc-prose > p:first-of-type { font-size: 1.08rem; }
	.loc-prose blockquote { padding: 1.5rem 1.4rem 1.5rem 3.6rem; font-size: 1.05rem; }
	.loc-prose blockquote::before { left: 1.2rem; top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.loc-card, .loc-card *, .loc-share { transition: none !important; }
}
