/* Extracted minimal styles from mobilocredit v21 for single post layout */

.bg-gray-3 {
    background-color: #f9f5ec;
}

.main-container {
    width: 100%;
    max-width: 1296px;
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
    line-height: 20px;
}

.container-large {
    width: 100%;
}

.container-large.wide {
    max-width: 823px;
    margin-right: auto;
    margin-left: auto;
}

.container-large.wide.align-center {
    position: relative;
}

.container-large.align-center {
    margin-right: auto;
    margin-left: auto;
}

.align-center {
    text-align: center;
}

.section {
    padding-top: 96px;
    padding-bottom: 96px;
}

.section.pb-0 {
    padding-bottom: 0;
}

.section.pt-0 {
    padding-top: 0;
}

.blog-main-image {
    display: block;
    width: 100%;
    max-width: 1036px;
    margin-top: 96px;
    margin-right: auto;
    margin-left: auto;
    /* Keep single-post main image consistent with blog hero ratio */
    aspect-ratio: 1036 / 647;
    overflow: hidden;
    border-radius: 20px;
}

.blog-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.main-container.align-center {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.breadcrumb-section {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 14px;
    line-height: 22px;
}

.breadcrumbs {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

ul.breadcrumbs {
    list-style: none;
    display: block;
    margin: 0 0 10px;
    padding: 0;
}

ul.breadcrumbs li {
    display: inline;
}

ul.breadcrumbs li::after {
    display: inline-block;
    content: "»";
    margin: 0 10px;
}

ul.breadcrumbs li:last-child::after {
    content: none;
}

.blog-categories-breadcrumbs {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.blog-category-breadcrumb-link {
    margin-left: 24px;
}

/* Breadcrumb links styling to match mobilocredit */
.breadcrumbs a,
.blog-category-breadcrumb-link {
    font-family: Lato, sans-serif;
    color: #5ea3da;
    font-weight: 700;
    text-decoration: none;
}

/* Global link style on single article pages */
a {
    font-family: Lato, sans-serif;
    color: #5ea3da;
    font-weight: 700;
    text-decoration: none;
}

.display-heading-2 {
    margin-bottom: 24px;
    font-family: 'Open Sans', sans-serif;
    color: #0a1f44;
    font-size: 54px;
    line-height: 60px;
}

.text-large {
    font-family: Lato, sans-serif;
    font-size: 20px;
    line-height: 30px;
    text-align: left;
}

.text-large.article-subtitle {
    margin-bottom: 36px;
}

.article-meta {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.badge.article-meta-badge {
    margin-right: 18px;
}

.w-inline-block {
    display: inline-block;
}

/* .blog-main-image defined above */
.rounded-large {
    display: block;
    border-radius: 10px;
}

.shadow-large {
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1);
}

.boxed {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 36px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background-color: #fff;
    color: #4e5d78;
}

.boxed.articles-small {
    margin-top: 72px;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    background-color: #fbfaf8;
}

.articles-small-heading {
    margin-bottom: 24px;
}

.container-large {
    width: 100%;
    max-width: 612px;
    direction: ltr;
}

.articles-small-grid {
    display: -ms-grid;
    display: grid;
    grid-auto-columns: 1fr;
    grid-column-gap: 16px;
    grid-row-gap: 12px;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

.w-dyn-item {
    display: block;
}

.article-small {
    display: flex;
	align-items: stretch;
    overflow: hidden;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 6px 0 transparent;
    transition: box-shadow 200ms ease, color 200ms ease;
    color: #4e5d78;
}

.article-small:hover {
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.1);
}

.article-small-image-wrapper {
    position: relative;
	min-height: 96px;
	height: auto; /* stretch to match .article-small-body height */
    min-width: 144px;
}

.article-small-image {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px 0 0 5px;
    object-fit: cover;
}

.article-small-body {
    display: flex;
    padding: 24px;
    align-items: center;
    flex: 1;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 0, 0, 0.08);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #fff;
    font-size: 14px;
    line-height: 22px;
    color: #4e5d78;
}

/* Article content spacing */
.article h3 {
    margin-top: 36px;
    margin-bottom: 24px;
}

.article h4 {
    margin-bottom: 24px;
}

.article ul {
    display: -ms-grid;
    display: grid;
    margin-top: 36px;
    margin-bottom: 36px;
    padding-left: 24px;
    grid-auto-columns: 1fr;
    grid-column-gap: 16px;
    grid-row-gap: 12px;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
}

.article ol {
    margin-top: 36px;
    margin-bottom: 36px;
    padding-left: 24px;
    list-style-type: decimal;
}

.article figure {
    margin-top: 48px;
    margin-bottom: 48px;
}

/* Rich text (Webflow-like) essentials */
.w-richtext:before, .w-richtext:after {
    content: " ";
    display: table;
}

.w-richtext:after {
    clear: both;
}

.w-richtext figure {
    position: relative;
    max-width: 60%;
}

.w-richtext figure img {
    width: 100%;
}

.w-richtext figure.w-richtext-align-center {
    margin-right: auto;
    margin-left: auto;
    clear: both;
}

.w-richtext figure.w-richtext-align-fullwidth {
    width: 100%;
    max-width: 100%;
}

.w-richtext figure.w-richtext-align-floatleft {
    float: left;
    margin-right: 15px;
    clear: none;
}

.w-richtext figure.w-richtext-align-floatright {
    float: right;
    margin-left: 15px;
    clear: none;
}

/* Paragraph spacing */
.article p {
    margin-bottom: 24px;
}

p {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Base headings to match Webflow defaults */
h1 {
    margin-top: 0;
    margin-bottom: 24px;
    font-family: 'Open Sans', sans-serif;
    color: #0a1f44;
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
}

h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-family: 'Open Sans', sans-serif;
    color: #0a1f44;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
}

/* Badge basics */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 20px;
    background-color: #f55219;
    color: #fff;
    text-decoration: none;
}

/* Breadcrumb heading and bold text */
.text-bold {
    font-weight: 700;
}

.breadcrumb-heading {
    margin-bottom: 0;
    font-size: 14px;
}

/* Minimal utility classes to match usage in single.php */
.d-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.mt-2 {
    margin-top: .5rem;
}

.mx-2 {
    margin-right: .5rem;
    margin-left: .5rem;
}

.mt-0 {
    margin-top: 0 !important;
}

.p-0 {
    padding: 0 !important;
}

/* Base image defaults */
img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
    border: 0;
}

.articles-small-heading {
	margin-bottom: 24px;
}
h2 {
	margin-top: 0px;
	margin-bottom: 24px;
	font-family: 'Open Sans', sans-serif;
	color: #0a1f44;
	font-size: 32px;
	line-height: 38px;
	font-weight: 700;
}
h5 {
	margin-top: 0px;
	margin-bottom: 18px;
	font-family: 'Open Sans', sans-serif;
	color: #0a1f44;
	font-size: 20px;
	line-height: 24px;
	font-weight: 700;
}

/* News carousel (reusable) */
.mb-50 { margin-bottom: 50px; }
.cards-wrapper {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 24px;
}
.card {
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	width: 355px;
}
.card img {
	display: block;
	width: 100%;
	height: 245px;
	-o-object-fit: cover;
	object-fit: cover;
}
.card-body {
	padding: 16px;
}
.card-title {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	color: #0a1f44;
	font-size: 18px;
	line-height: 26px;
	font-weight: 700;
}
@media (max-width: 991.98px) {
	.cards-wrapper { gap: 16px; }
	.card { width: 300px; }
	.card img { height: 245px; }
}

