/*
 * Minimal additions for CMS content rendering.
 * The website template stylesheets remain the primary source of design.
 */

/* Keep editor-provided images responsive without overriding explicit width attributes. */
/* .row-preview-content img,
.content-rendered img {
    max-width: 100%;
    height: auto;
} */

/* Match the existing category-list icon treatment for typed arrow/file links. */
a[data-link-type="arrow"] > i.fa-long-arrow-right,
a[data-link-type="file"] > i.fa-long-arrow-right {
    margin-right: 5px;
    color: var(--theme-color2);
}


/* File link arrow icon */
a[data-link-type="file"] > i.linkarrow {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    background: var(--theme-color);
    text-align: center;
    color: var(--theme-color2);
    margin-right: 5px;
    vertical-align: middle;
}

/* Preserve the smaller icon size when the link uses linkarrow sizing */
a[data-link-type="file"] > i.linkarrow.linkarrow {
    width: 30px !important;
    height: 30px !important;
    line-height: 32px !important;
}


a[data-link-type="file"] > i,
a[data-link-type="arrow"] > i {
    color: var(--theme-color2);
}


/* Same hover effect for both link types */
a[data-link-type="file"]:hover,
a[data-link-type="arrow"]:hover {
    padding-left: 10px;
    color: var(--theme-color2);
}

a[data-link-type="file"],
a[data-link-type="arrow"] {
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
}



/* Default CMS list design */
/* .row-preview-content ul.cms-default-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

.row-preview-content ul.cms-default-list > li.cms-default-list-item {
    list-style: none !important;
    margin-bottom: 5px;
}

.row-preview-content ul.cms-default-list > li.cms-default-list-item  {
    align-items: center;
    gap: 5px;
    color: var(--theme-color2) !important;
    text-decoration: none !important;
    transition: var(--transition);
}

.row-preview-content ul.cms-default-list > li.cms-default-list-item > i.fa-caret-right {
    flex-shrink: 0;
}

.row-preview-content ul.cms-default-list > li.cms-default-list-item :hover {
    color: var(--theme-color) !important;
}

.row-preview-content ul.cms-default-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.row-preview-content .cms-default-list-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.row-preview-content .cms-default-list-item > i.fa-caret-right {
    flex-shrink: 0;
} */

/* Fix ordered-list numbering on frontend */
/* body ol {
    list-style: decimal !important;
    padding-left: 40px !important;
    margin-left: 0 !important;
}

body ol > li {
    display: list-item !important;
    list-style-type: decimal !important;
}

body ol > li::marker {
    content: counter(list-item) ". ";
} */



