.frontend-edit-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
}


.frontend-edit-toggle button {
    background: #1f2937;
    color: #fff;
    border: 1px solid #0f172a;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.frontend-edit-toggle[data-enabled='1'] button {
    /*background: #16a34a;
    border-color: #14532d;*/
    background: #f97316;
    border-color: #c2410c;
}

.frontend-edit-toggle button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.frontend-section {
    position: relative;
}

.frontend-section::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px dashed rgba(22, 163, 74, 0.35);
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.frontend-section-highlight::before {
    opacity: 1;
}

.frontend-section-controls {
    display: none;
    gap: 10px;
    align-items: center;
    padding: 10px 0 4px;
    flex-wrap: wrap;
}

.frontend-section-status {
    min-height: 20px;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #047857;
}

.frontend-section-status-error {
    color: #b91c1c;
}

.frontend-section-width-group {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.frontend-section-width-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111827;
}

.frontend-section-width-select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    background: #fff;
}

.frontend-editable {
    position: relative;
}

.frontend-editable::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px dashed rgba(59, 130, 246, 0.35);
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.frontend-editable:hover::before,
.frontend-editing::before {
    opacity: 1;
}

.frontend-edit-modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.frontend-edit-modal__dialog {
    width: min(900px, 96vw);
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    padding: 12px;
}

.frontend-advanced-launcher__dialog {
    width: min(760px, 96vw);
    padding: 16px;
}

.frontend-advanced-launcher__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.frontend-advanced-launcher__note {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 14px;
    line-height: 1.4;
}

.frontend-advanced-launcher__choices {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.frontend-advanced-launcher__tool {
    min-height: 38px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #111827;
    border-radius: 5px;
    padding: 6px;
}

.frontend-advanced-launcher__tool:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.frontend-advanced-launcher__tool:active {
    background: #eef2f7;
}

.frontend-advanced-launcher__tool-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.frontend-advanced-launcher__tool-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.frontend-advanced-toolbar {
    position: fixed;
    z-index: 13060;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.frontend-advanced-toolbar__toggle {
    position: fixed;
    z-index: 13061;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.frontend-advanced-toolbar__toggle:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.frontend-advanced-toolbar__toggle:active {
    background: #eef2f7;
}

.frontend-advanced-toolbar__toggle.is-collapsed {
    background: #f1f5f9;
}

.frontend-advanced-toolbar__toggle-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}

.frontend-advanced-toolbar__toggle-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.frontend-advanced-toolbar__tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
}

.frontend-advanced-toolbar__tool:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.frontend-advanced-toolbar__tool:active {
    background: #eef2f7;
}

.frontend-advanced-toolbar__tool:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: #d1d5db;
    background: #f9fafb;
}

.frontend-advanced-toolbar__icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
}

.frontend-advanced-toolbar__icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.frontend-advanced-toolbar__icon-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1;
}

.frontend-advanced-launcher__choices .button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: #d1d5db;
    background: #f9fafb;
}

.tox-tinymce-aux {
    z-index: 13050 !important;
}

.tox-tinymce-aux .tox-dialog-wrap {
    position: fixed !important;
    inset: 0 !important;
}

@media (max-width: 640px) {
    .frontend-advanced-launcher__choices {
        grid-template-columns: 1fr;
    }
}

.frontend-edit-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.frontend-editing .tox-tinymce,
.frontend-edit-modal .tox-tinymce {
    border-radius: 8px !important;
    box-shadow: none !important;
}

.frontend-editing .tox .tox-toolbar__group,
.frontend-edit-modal .tox .tox-toolbar__group {
    padding: 0 2px;
}

.frontend-editing .tox .tox-toolbar,
.frontend-edit-modal .tox .tox-toolbar {
    padding: 2px 0;
}

#frontend-inline-toolbar-container {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 11000;
    display: none;
    pointer-events: auto;
    padding: 6px 10px 6px 22px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

body.frontend-native-dialog-open #frontend-inline-toolbar-container,
body.frontend-advanced-launcher-open #frontend-inline-toolbar-container {
    display: none !important;
}

.fie-toolbar-drag-handle {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    color: #9ca3af;
    user-select: none;
    z-index: 1;
}

.fie-toolbar-drag-handle:hover {
    color: #6b7280;
}

body.fie-toolbar-dragging,
body.fie-toolbar-dragging * {
    cursor: grabbing !important;
    user-select: none;
}
#frontend-inline-toolbar-container .tox,
#frontend-inline-toolbar-container .tox-editor-header,
#frontend-inline-toolbar-container .tox-toolbar-overlord,
#frontend-inline-toolbar-container .tox-toolbar__primary {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.frontend-editable-active {
    outline: 2px solid rgba(59, 130, 246, 0.45);
    outline-offset: 2px;
}

.frontend-editing .tox-tinymce,
.frontend-editing .tox .tox-editor-container,
.frontend-editing .tox .tox-edit-area,
.frontend-editing .tox .tox-toolbar {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.frontend-editing .tox .tox-editor-container {
    box-shadow: none !important;
}

/* ==================== FRONTEND SIDEBAR EDITING ==================== */

.frontend-sidebar {
    position: relative;
    transition: outline-color 0.2s ease, background-color 0.2s ease;
}

.frontend-sidebar::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px dashed rgba(22, 163, 74, 0.35);
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.frontend-sidebar-highlight::before {
    opacity: 1;
}

.frontend-sidebar-highlight {
    cursor: pointer;
    background-color: rgba(22, 163, 74, 0.05);
}

.frontend-sidebar .frontend-sidebar-content {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
}

/* ==================== END FRONTEND SIDEBAR EDITING ==================== */

/* Keep TinyMCE popups (image/link dialogs, menus, etc) above everything */
.tox-tinymce-aux,
.tox-dialog-wrap,
.tox-notifications-container,
.tox .tox-menu,
.tox .tox-collection--list {
    z-index: 10050 !important;
}

/*********************** STANDARD ELEMENTS RESET ****************************/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    font-weight: 300;
}

/* HTML5 display-role reset for older browsers */
/* article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
} */


html,
body {
    font-size: 16px;
}

body {
    font-family: var(--site-font);
    font-style: normal;
    text-align: left;
    background: white;
    line-height: 1.45rem;
    min-width: var(--min-screen-width);
    position: relative;
}


/* TABLE FORMATTING Start*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 2rem;
}

td {
    padding: 0.8rem;
}

tr:nth-child(even) {
    /* background-color: #FFFFFF; */
}

th {
    font-weight: 600;
    vertical-align: middle;
}

tr:nth-child(odd) {
    background-color: #EFEFEF;
}

tr:last-child {
    border-bottom: solid 1px #efefef;
}

/* TABLE FORMATTING End*/



/* GENERAL FORMATTING */
hr {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: .5;
}

a,
a:visited {
    text-decoration: none;
    color: var(--brand-a-hover);
    font-weight: 600;
    transition: color 1s ease;
}

a:hover,
a:active {
    color: var(--brand-b);
    transition: color 1s ease;
}

button {
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
}

strong {
    font-weight: 700;
}

em {
    font-weight: unset;
}

/* Headings */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--heading-font);
    line-height: 1.35em;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

h1,
.h1 {
    margin-bottom: 1.5rem;
    color: var(--brand-b);
    font-size: 2.2rem;
}

h2,
.h2 {
    font-size: 1.8rem;
    color: var(--brand-a-hover);
}

h3,
.h3 {
    color: var(--brand-b);
    font-size: 1.4rem;
}

img,
embed,
object,
video {
    max-width: 100%;
    border: 0 none;
}

#content a img {
    transition: all .5s;
}

#content a img:hover {
    opacity: .8;
    transition: all .5s;
}

p {
    color: var(--brand-b);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 1.5rem;
}

ul,
ol {
    margin: 1rem 0 1rem 2.5rem;
    /* list-style-type: none; */
    /* list-style-image: url(ngn/views/uploads/content/check_ul-li.png); */
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.5rem;
    /* text-indent: .9rem; */
}

#content {
    margin: 2rem 0;
}


/* tinyMCE classes for Blocks START */

.standard-width,
.width--standard {
    max-width: var(--standard-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5em;
    box-sizing: border-box;
}

.half-width,
.width--half {
    width: 50%;
    max-width: calc(var(--standard-width) * 0.5);
    margin: 0 auto;
    padding: 0 1em;
}

.inset-width,
.width--inset {
    width: 75%;
    max-width: calc(var(--standard-width) * 0.75);
    margin: 0 auto;
    padding: 0 1em;
}

.full-width,
.width--full {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 1em;
    box-sizing: border-box;
}

#content > .full-width,
#content > .width--full {
    padding: 0;
}

.half-width,
.inset-width,
.standard-width,
.full-width,
.width--half,
.width--inset,
.width--standard,
.width--full {
    clear: both;
}

#content .half-width,
#content #content.inset-width,
#content .standard-width,
#content .full-width,
#content .width--half,
#content .width--inset,
#content .width--standard,
#content .width--full {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media(max-width: 600px) {

    .half-width,
    .width--half {
        width: unset;
        max-width: unset;
    }

    .inset-width,
    .width--inset {
        width: unset;
        max-width: unset;
    }
}

/* tinyMCE classes for blocks END */

/** FORMS START **/

form {
    background: unset;
}

.fmFormContainer p.form_title,
.fmFormContainer p.form_intro_text {
    margin-bottom: 15px;
}

.fmFormContainer p.form_title {
    font-size: 1.2rem;
    font-weight: 600;
}

form.cms-form label .fmrequire,
.fmrequire {
    color: red;
    margin-left: 3px;
}

form.cms-form {
    padding: 10px 0;
}

form.cms-form input[type="submit"] {
    padding: 3px;
}

#fmMessage {
    padding: 1em;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    display: none;
}

#fmMessage.fmError {
    background: #fc6c6c;
}

#fmMessage.fmSuccess {
    background: #7cff8c;
}

form.cms-form div.fmCheckboxRow,
form.cms-form div.fmRadioRow {
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    margin-bottom: 1rem;
}

form.cms-form div.fmCheckboxRow label,
form.cms-form div.fmRadioRow label {
    margin-left: 0;
}

form.cms-form div.plainText {
    margin: 0 0 1rem 0;
}

form.cms-form input[type="text"],
form.cms-form input[type="email"],
form.cms-form input[type="password"],
form.cms-form input[type="date"],
form.cms-form .uploader-fake-file-wrap,
form.cms-form select,
form.cms-form textarea {
    width: 100%;
    background: #ffffff;
    padding: 0.5rem;
    margin: 0 0 1rem 0;
    vertical-align: middle;
    border: 1px solid #c0c0c0;
    font-style: normal;
    font-size: 15px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}

form.cms-form .selectType {
    width: 100%;
    padding: 1rem;
    margin: 0 0 1rem 0;
    vertical-align: middle;
    border: 1px solid #c0c0c0;
    color: var(--brand-form-color);
    font-style: normal;
    font-size: 15px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 1.8em;
}

form.cms-form .selectType select,
form.cms-form select {
    color: var(--brand-form-color);
    padding: 0.5em;
    margin-bottom: 1rem;
}

form.cms-form textarea {
    margin-bottom: 1rem;
    min-height: 12em;
}

form.cms-form #form-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: -0.5rem;
}

form.cms-form #form-bottom>div {
    margin: .5rem;
}

form.cms-form #captchaContainer {
    display: block;
    max-width: 330px;
}

form.cms-form #captcha-image-box {
    display: block;
    max-width: 300px;
    flex: 1 1 auto;
}

form.cms-form img#captcha {
    width: 100%;
}

form.cms-form #captcha-code {
    margin: 0;
}

form.cms-form #captcha-button-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 1em;
}

form.cms-form input[type="submit"],
form.cms-form input#button {
    padding: 0.7rem 1.5rem;
    text-transform: uppercase;
    font-size: 1.15em;
    border: 1px solid transparent;
    background: var(--brand-a-hover);
    color: white;
    font-weight: 400;
    /* letter-spacing: 0.12rem; */
    font-family: inherit;
    transition: color 1s ease, background 1s ease;
}

form.cms-form input[type="submit"]:hover,
form.cms-form input#button:hover,
form.cms-form input[type="submit"]:active,
form.cms-form input#button:active {
    background: #ebeae8;
    color: var(--brand-a-hover);
    cursor: pointer;
    border: 1px solid var(--brand-a-hover);
    transition: color 1s ease, background 1s ease;
}

/** FORMS END **/


/** CMS BUTTONS STYLE Start **/
.cms-button-a,
.cms-button-b,
.cms-button-cancel,
.cms-button-a:visited,
.cms-button-b:visited,
.cms-button-cancel:visited {
    padding: 0.5rem 1.25rem;
    box-sizing: border-box;
    border: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    display: inline-block;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    /* border-radius: 5px; */
}

.cms-button-a,
.cms-button-a:visited,
.cms-button-a span a {
    /* main button style for all content */
    background: var(--brand-a);
    color: var(--brand-a-color);
    border: 1px solid var(--brand-a);
    transition: color 1s ease, background 1s ease, border 1s ease;
}

.cms-button-a:hover {
    background: var(--brand-a-hover);
    border-color: var(--brand-a-hover);
    color: var(--brand-a-hover-color);
    transition: color 1s ease, background 1s ease, border 1s ease;
}

.cms-button-b,
.cms-button-b:visited {
    /* not used in core cms, placeholder for sites that want an alternate button style for use in custom content. Note, more buttons can be added, but additional work will need to be undertaken to support them in tinymce */
    background: var(--brand-b);
    border: 2px solid var(--brand-b);
    color: var(--brand-b-color);
}

.cms-button-b:hover {
    background: var(--brand-b-hover);
    border-color: var(--brand-b-hover);
    color: var(--brand-b-hover-color);
}

/** CMS BUTTONS STYLE End **/

/** SIDEBAR STYLE Start **/

#content:has(.sidebar-layout) {
    padding: 0;
}

.sidebar-layout {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--sidebar-gap, 1.5rem);
    flex-wrap: nowrap;
}

.sidebar-layout > .main-content {
    flex: 1 1 auto;
    min-width: 0;
}

.sidebar-layout > .sidebar {
    flex: 0 0 auto;
}

.left-sidebar .sidebar {
    order: 1;
    max-width: var(--sidebar-default-width, 20%);
    min-width: var(--sidebar-min-width, 250px);
    width: var(--sidebar-default-width, 20%);
}

.left-sidebar .main-content {
    order: 2;
    width: calc(100% - var(--sidebar-default-width, 20%) - var(--sidebar-gap, 1.5rem));
}

.right-sidebar .sidebar {
    order: 2;
    max-width: var(--sidebar-default-width, 20%);
    min-width: var(--sidebar-min-width, 250px);
    width: var(--sidebar-default-width, 20%);
}

.right-sidebar .main-content {
    order: 1;
    width: calc(100% - var(--sidebar-default-width, 20%) - var(--sidebar-gap, 1.5rem));
}

.both-sides .left-sidebar {
    order: 1;
    width: var(--sidebar-default-width, 20%);
    min-width: var(--sidebar-min-width, 200px);
}

.both-sides .main-content {
    order: 2;
    width: calc(100% - var(--sidebar-default-width, 20%) - 15% - calc(var(--sidebar-gap, 1.5rem) * 2));
}

.both-sides .right-sidebar {
    order: 3;
    width: 15%;
    min-width: var(--sidebar-min-width, 200px);
}

.sidebar {
    padding: var(--sidebar-padding, 10px);
    background-color: transparent;
    display: flex;
    flex-direction: column;
}

.main-content {
    padding: var(--sidebar-padding, 10px);
}

.container {
    display: flex;
}

.content-left {
    flex: 3;
    padding: 20px;
}

.sidebar-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar-top,
.sidebar-bottom {
    padding: 20px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

/* Responsive sidebar rules are output dynamically by
   Templates module renderSettings() to support configurable breakpoints - views/templates/styles/modules/templates_frontend.css */

.width--full:has(.sidebar-layout.left-sidebar) {
    padding-left: 0;
}

.width--full:has(.sidebar-layout.right-sidebar) {
    padding-right: 0;
}

.width--full:has(.sidebar-layout.both-sides) {
    padding: 0;
}

/** SIDEBAR STYLE End **/

/* Save and Cancel buttons in frontend edit modal */
.frontend-edit-modal__save,
.button.frontend-edit-modal__save,
.frontend-editable-save.button {
    background: #16a34a;
    color: #fff;
    border: 1px solid #14532d;
    border-radius: 6px;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s, border 0.15s;
}

.frontend-edit-modal__save:hover,
.button.frontend-edit-modal__save:hover,
.frontend-editable-save.button:hover {
    background: #15803d;
    border-color: #166534;
}

.frontend-editable-save.button {
    margin-right: 10px;
}

.frontend-edit-modal__cancel,
.button.frontend-edit-modal__cancel,
.frontend-editable-cancel.button {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s, border 0.15s;
}

.frontend-edit-modal__cancel:hover,
.button.frontend-edit-modal__cancel:hover,
.frontend-editable-cancel.button:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

/* Save/Cancel button styles for all editors */
.frontend-editing .tox .tox-toolbar__primary .tox-tbtn[title="Save"],
.button.frontend-edit-modal__save,
.frontend-editing .tox .tox-toolbar__primary .tox-tbtn[aria-label="Save"],
.button.frontend-edit-modal__save {
    background: #16a34a !important;
    color: #fff !important;
    border: 1px solid #14532d !important;
    border-radius: 6px !important;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s, border 0.15s;
}

.frontend-editing .tox .tox-toolbar__primary .tox-tbtn[title="Save"]:hover,
.frontend-editing .tox .tox-toolbar__primary .tox-tbtn[aria-label="Save"]:hover,
.button.frontend-edit-modal__save:hover {
    background: #15803d !important;
    border-color: #166534 !important;
}

.frontend-editing .tox .tox-toolbar__primary .tox-tbtn[title="Cancel"],
.button.frontend-edit-modal__cancel,
.frontend-editing .tox .tox-toolbar__primary .tox-tbtn[aria-label="Cancel"],
.button.frontend-edit-modal__cancel {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s, border 0.15s;
}

.frontend-editing .tox .tox-toolbar__primary .tox-tbtn[title="Cancel"]:hover,
.frontend-editing .tox .tox-toolbar__primary .tox-tbtn[aria-label="Cancel"]:hover,
.button.frontend-edit-modal__cancel:hover {
    background: #e5e7eb !important;
    border-color: #9ca3af !important;
}

/* ======================== */
/* Claued code start */
/* ======================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--warm-white);
	color: var(--brand-b);
	font-family: var(--site-font);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; border-radius: 4px; }

h1, .h1, h2, .h2, h3, .h3 {
	font-family: var(--heading-font);
	font-weight: 400;
	color: var(--brand-b);
	text-wrap: balance;
	margin: 0;
    padding-bottom: 0.5rem;
}
h1, .h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.12; letter-spacing: -0.01em; }
h2, .h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; margin-bottom: 0.5rem; }
h3, .h3 { font-size: 1.15rem; line-height: 1.35; }
p { font-weight: 300; }

.eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--oak);
}

.width--standard {
	max-width: var(--standard-width);
	width: 100%;
	margin: 0 auto;
	padding: 0 1.5em;
}

/* Buttons: City Hall .cms-button-a, restyled as pills */
.cms-button-a, .cms-button-a:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--brand-a);
	background: var(--brand-a);
	color: var(--brand-a-color);
	font-family: var(--site-font);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.cms-button-a:hover { text-decoration: none; background: var(--brand-a-hover); border-color: var(--brand-a-hover); color: var(--brand-a-hover-color); }
/* Only two button styles: dark green (default) and cream (.is-cream, for dark backgrounds) */
.cms-button-a.is-cream, .cms-button-a.is-cream:visited { background: var(--cream); border-color: var(--cream); color: var(--brand-a); }
.cms-button-a.is-cream:hover { background: var(--stone-deep); border-color: var(--stone-deep); color: var(--brand-a); }
.cms-button-a.is-small { padding: 0.6rem 1.3rem; font-size: 0.88rem; }

/* Mockup note */
.mockup-note {
	background: var(--stone);
	color: var(--muted);
	font-size: 0.8rem;
	text-align: center;
	padding: 0.45rem 1rem;
}

/* Top bar */
.top-bar { background: var(--brand-a-bg); color: var(--stone); font-size: 0.85rem; }
.top-bar .width--standard { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 1.75rem; padding-block: 0.3rem; }
.top-bar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 1.75rem; }
.top-bar a, .top-bar span { color: var(--stone); text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; }
.top-bar a:hover { color: #fff; }
.top-bar svg { width: 14px; height: 14px; fill: var(--sage-tint); flex: none; }

/* Header */
.site-header {
	position: sticky;
	top: env(safe-area-inset-top, 0px);
	z-index: 20;
	background: rgba(251, 249, 245, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(217, 208, 196, 0.7);
}
.site-header .width--standard { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.75rem; }
.header-logo img { height: 60px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; }
.main-nav a:not(.cms-button-a) { color: var(--brand-b); text-decoration: none; font-size: 0.95rem; }
.main-nav a:not(.cms-button-a):hover { color: var(--brand-a); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-toggle { display: none; }
.header-call { display: none; }

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 0.5rem;
		background: var(--brand-a); border: 1px solid var(--brand-a); border-radius: 999px;
		padding: 0.5rem 1.2rem; font: inherit; font-size: 0.9rem; font-weight: 700; color: var(--brand-a-color); cursor: pointer;
	}
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--warm-white); border-bottom: 1px solid var(--border-color); }
	.main-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5em 1.5rem; }
	.main-nav:not(.is-open) { display: none; }
	.header-logo img { height: 46px; }
	/* mobile: drop the top bar, keep a one-tap call button beside Menu */
	.top-bar { display: none; }
	.header-call {
		display: grid; place-items: center; flex: none;
		width: 36px; height: 36px; margin-left: auto; margin-right: -0.75rem;
		border-radius: 50%; border: 1.5px solid var(--brand-a); background: transparent; transition: background 0.3s;
	}
	.header-call:hover { background: var(--stone); }
	.header-call svg { width: 11px; height: 17px; fill: var(--brand-a); }
}

/* Hero */
.hero {
	position: relative;
	isolation: isolate;
	/* fill the rest of the first screen below the note, top bar and header (--chrome-h set by script) */
	min-height: min(calc(100vh - var(--chrome-h, 170px)), 900px);
	min-height: min(calc(100svh - var(--chrome-h, 170px)), 900px);
	display: flex;
	align-items: center;
	color: var(--warm-white);
	background: #6d6a63 url("ngn/views/uploads/content/hero-patient-relaxing.jpg") 70% 30% / cover no-repeat;
}
.hero::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(28, 32, 29, 0.78) 0%, rgba(28, 32, 29, 0.55) 38%, rgba(28, 32, 29, 0.08) 70%, rgba(28, 32, 29, 0) 100%);
}
.hero .width--standard { padding-block: clamp(2.5rem, 7vh, 5rem) clamp(4.5rem, 11vh, 7.5rem); }
.hero-content { max-width: 36rem; display: grid; gap: 1.4rem; }
.hero .eyebrow { color: var(--sage-tint); }
.hero h1 { color: var(--warm-white); }
.hero-lede { font-size: 1.15rem; line-height: 1.65; color: rgba(251, 249, 245, 0.92); max-width: 31rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 0.5rem; }
.hero-phone { color: var(--warm-white); text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1.3; }
.hero-phone small { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-tint); }
.hero-phone strong { font-family: var(--heading-font); font-weight: 400; font-size: 1.35rem; }
.hero-phone:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
/* call-to-action phone uses the banner format in the section's charcoal text color */
.cta-actions .hero-phone { color: var(--brand-b); text-align: left; }
.cta-actions .hero-phone small { color: var(--brand-b); }
.photo-credit {
	position: absolute; right: 1rem; bottom: 5.5rem;
	font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(251, 249, 245, 0.85);
	background: rgba(28, 32, 29, 0.35); padding: 0.2rem 0.6rem; border-radius: 999px;
}

@media (max-width: 900px) {
	/* mobile banner: shorter, no intro line, content centred above the ridge */
	.hero-lede { display: none; }
	.hero { min-height: clamp(340px, 58vh, 540px); min-height: clamp(340px, 58svh, 540px); }
	.hero .width--standard { padding-block: 2.5rem calc(2.5rem + clamp(40px, 6vw, 84px)); }
	.photo-credit { top: 1rem; bottom: auto; }
}
@media (min-width: 601px) and (max-width: 900px) {
	/* tablet: heading sits on one or two lines, so a shorter banner is enough */
	.hero { min-height: clamp(300px, 40vh, 420px); min-height: clamp(300px, 40svh, 420px); }
}

/* Dolomites ridgeline divider */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 84px); width: 100%; display: block; pointer-events: none; }
.ridge path.fill { fill: var(--warm-white); }
.ridge path.line { fill: none; stroke: var(--oak); stroke-width: 1.2; opacity: 0.55; vector-effect: non-scaling-stroke; }

/* Sections */
#homepage .section { padding-block: clamp(1.5rem, 5vw, 4.5rem); }
.section-head { display: grid; gap: 0.9rem; }
.section-head.is-centered { margin: 0 auto; text-align: center; justify-items: center; }
.section-head p:not(.eyebrow) { color: var(--brand-b); }

.section.cta { padding-block: 1px; }
.section.patient-info { padding-block: clamp(1.5rem, 5vw, 4.5rem); }

/* Introduction */
.intro .width--standard { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.intro-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.intro-photos figure { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: var(--stone); }
.intro-photos img { width: 100%; height: 100%; object-fit: cover; }
.intro-photos .is-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: 6px 6px 6px 120px; }
.intro-photos .is-small { aspect-ratio: 4 / 3; }
.intro-photos figcaption {
	position: absolute; left: 0.7rem; bottom: 0.7rem;
	font-size: 0.72rem; color: var(--brand-b);
	background: rgba(251, 249, 245, 0.9); padding: 0.2rem 0.65rem; border-radius: 999px;
}
.intro-photos .is-main figcaption { left: auto; right: 0.7rem; }
.intro-copy { display: grid;}
.intro-copy > p { color: var(--brand-b); max-width: 34rem; }
.check-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 1.35rem; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 0.95rem; align-items: start; }
.check-list svg { width: 28px; height: 28px; margin-top: 0.1rem; }
.check-list h3 { margin-bottom: 0.2rem; }
.check-list p { color: var(--brand-b); font-size: 0.98rem; }
.icon-check circle { fill: none; stroke: var(--brand-a); stroke-width: 1.3; }
.icon-check path { fill: none; stroke: var(--brand-a); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.intro-actions { margin-top: 0.5rem; }
.associations-wrap { max-width: var(--standard-width); margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding: 0 1.5em; }
.associations { display: grid; justify-items: center; gap: 1.1rem; text-align: center; border-top: 1px solid var(--border-color); padding-block: clamp(2.75rem, 5.5vw, 4rem); }
.section.intro { padding-bottom: 0; } /* associations band sets its own equal top/bottom space */
.associations .eyebrow { font-family: var(--heading-font); line-height: 1.2; }
.associations ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 3.5rem; }
.associations img { height: clamp(40px, 5vw, 54px); width: auto; filter: grayscale(1) contrast(1.05); opacity: 0.78; transition: opacity 0.3s, filter 0.3s; }
.associations li:nth-child(1) img { height: clamp(46px, 5.8vw, 62px); }
.associations li:hover img { filter: none; opacity: 1; }
@media (max-width: 600px) { .associations ul { gap: 1.25rem 1.5rem; } } /* CDA + BCCOHP share a row on phones */

@media (max-width: 900px) {
	.intro .width--standard { grid-template-columns: 1fr; }
}

/* Services */
.services { background: var(--ivory);  padding: 1rem 0;}
.services .width--standard { display: grid; gap: 3.25rem; }
.services-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
@media (min-width: 1000px) { .services-top .section-head { max-width: none; } .services-top h2 { white-space: nowrap; } }
.service-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--border-color);
	border-left: 1px solid var(--border-color);
}
.service-grid li { border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.service-card {
	display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.8rem;
	height: 100%; padding: 2rem 1.75rem;
	color: inherit; text-decoration: none;
	transition: background 0.3s;
}
.service-card:hover { background: var(--warm-white); }
.service-icon {
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--stone); display: grid; place-items: center;
	transition: background 0.3s;
}
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--brand-a); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { background: var(--stone-deep); }
.service-card p { color: var(--brand-b); font-size: 0.95rem; line-height: 1.6; }
.service-more { font-size: 0.85rem; font-weight: 500; color: var(--brand-a); display: inline-flex; align-items: center; gap: 0.4rem; }
.service-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.3s; }
.service-card:hover .service-more svg { transform: translateX(3px); }

@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } .service-card { padding: 1.6rem 1.25rem; } }

/* Full-width photo band */
.photo-band { background: var(--stone); }
.photo-band img { width: 100%; height: clamp(220px, 32vw, 460px); object-fit: cover; object-position: 60% 15%; }

/* Testimonials */
.testimonials { background: var(--stone); text-align: center; }
.testimonial-wrap { max-width: 840px; margin: 0 auto; display: grid; justify-items: center; gap: 1.5rem; }
.quote-mark { width: 38px; height: 30px; fill: var(--oak); opacity: 0.7; }
.testimonial-track { display: grid; width: 100%; }
.testimonial { grid-area: 1 / 1; margin: 0; display: grid; gap: 1.6rem; opacity: 1; transition: opacity 0.6s ease; }
.testimonial[aria-hidden="true"] { opacity: 0; visibility: hidden; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--heading-font); font-size: clamp(1.2rem, 2.3vw, 1.55rem); line-height: 1.6; color: var(--brand-b); }
.testimonial figcaption { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.testimonial-dots { display: flex; gap: 0.35rem; }
.testimonial-dots button {
	width: 32px; height: 32px; padding: 0; border: none; background: none; cursor: pointer;
	display: grid; place-items: center; border-radius: 50%;
}
.testimonial-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #cfc4b6; transition: background 0.3s, transform 0.3s; }
.testimonial-dots button[aria-current="true"]::before { background: var(--oak); transform: scale(1.15); }
.sample-note { font-size: 0.78rem; color: var(--muted); font-style: italic; }

/* Patient information */
.patient-info {
	position: relative; isolation: isolate;
	color: var(--warm-white);
	background: var(--brand-a) url("/ngn/views/uploads/content/treatment-chairs-soft.jpg") center / cover no-repeat;
}
.patient-info::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(27, 51, 34, 0.95) 0%, rgba(27, 51, 34, 0.88) 50%, rgba(27, 51, 34, 0.72) 100%); }
.patient-info .width--standard { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(4.5rem, 9vw, 7.5rem) clamp(2.5rem, 6vw, 5rem); align-items: center; /* row gap matches section padding so the intro block sits centered when stacked */ }
.patient-info .eyebrow { color: var(--sage-tint); }
.patient-info h2 { color: var(--warm-white); }
.patient-info .section-head p:not(.eyebrow) { color: rgba(251, 249, 245, 0.85); }
.patient-info .section-head .cms-button-a { justify-self: start; margin-top: 0.75rem; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.info-list li { border-top: 1px solid rgba(234, 228, 221, 0.3); text-indent: 0; }
.info-list li:last-child { border-bottom: 1px solid rgba(234, 228, 221, 0.3); }
.info-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 1.1rem; align-items: center; padding: 1.5rem 0.25rem; color: var(--warm-white); text-decoration: none; transition: background 0.3s, padding 0.3s; }
.info-item:hover { background: rgba(251, 249, 245, 0.06); padding-inline: 1rem; }
.info-item svg.lead { width: 36px; height: 36px; fill: none; stroke: var(--sage-tint); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.info-item h3 { color: var(--warm-white); margin-bottom: 0.2rem; }
.info-item p { color: rgba(251, 249, 245, 0.78); font-size: 0.95rem; line-height: 1.55; }
.info-item .go { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-tint); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.4rem; }
.info-item .go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }

@media (max-width: 900px) { .patient-info .width--standard { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .info-item { grid-template-columns: 36px 1fr; } .info-item .go { grid-column: 2; } }

/* Call to action */
.cta { position: relative; text-align: center; background: var(--warm-white); padding-bottom: clamp(6.5rem, 12vw, 10rem); }
.cta-inner { max-width: 44rem; margin: 0 auto; display: grid; justify-items: center; gap: 1.4rem; }
.cta-mark { width: 64px; height: auto; opacity: 0.9; }
.cta-inner > p:not(.eyebrow) { color: var(--brand-b); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; }
.cta-actions a:not(.cms-button-a) { color: var(--brand-b); }
@media (max-width: 600px) {
	.cta-actions { flex-direction: column; }
	.cta-actions .hero-phone { text-align: center; align-items: center; }
}
.cta .ridge path.fill { fill: var(--forest-deep); }
.cta .ridge path.line { stroke: var(--sage-tint); opacity: 0.3; }

/* Footer */
.site-footer { background: var(--forest-deep); color: rgba(251, 249, 245, 0.8); font-size: 0.95rem; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 2.5rem; padding-block: 3.5rem 3rem; }
.footer-brand { display: grid; gap: 2rem; align-content: start; justify-items: start; }
.footer-brand img { height: 84px; width: auto; }
.site-footer h2 { font-family: var(--site-font); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-tint); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(251, 249, 245, 0.85); text-decoration: none; }
.site-footer a:not(.cms-button-a):hover { color: var(--oak-light); }
.site-footer .footer-hours { gap: 0.5rem; }
.footer-hours li { display: grid; gap: 0.1rem; font-variant-numeric: tabular-nums; }
.footer-hours li span:first-child { color: #fff; font-weight: 600; }
.footer-contact li { display: grid; grid-template-columns: 16px 1fr; gap: 0.7rem; align-items: start; }
.footer-contact svg { width: 14px; height: 14px; fill: var(--sage-tint); margin-top: 0.4rem; }
.site-footer .social { display: flex; gap: 0.6rem; flex-wrap: wrap; } /* beats .site-footer ul grid */
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(234, 228, 221, 0.4); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.social a:hover { background: rgba(251, 249, 245, 0.1); border-color: var(--sage-tint); }
.social svg { width: 18px; height: 18px; fill: var(--warm-white); }
.footer-bottom { border-top: 1px solid rgba(234, 228, 221, 0.2); }
.footer-bottom .width--standard { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1.25rem; font-size: 0.82rem; color: rgba(251, 249, 245, 0.6); }
.footer-bottom a { color: rgba(251, 249, 245, 0.75); }
.footer-sep { margin-inline: 0.5rem; opacity: 0.5; }

@media (max-width: 1000px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
	/* mobile: centre the whole footer */
	.footer-main { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.footer-brand { justify-items: center; }
	/* .footer-contact li { display: flex; justify-content: center; gap: 0.6rem; } */
	.site-footer .social { justify-content: center; }
	.footer-bottom .width--standard { flex-direction: column; align-items: center; text-align: center; }
}

/* Accordion */
/* ---------- Accordion (expanding panels) ---------- */
.accordion {border-top: 1px solid var(--border-color); }
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-heading { margin: 0; font-size: inherit; }

.accordion-toggle {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding: 1.5rem 0.25rem;
	background: none; border: 0; cursor: pointer; text-align: left;
	font-family: var(--heading-font); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.4; color: var(--brand-b);
	transition: color 0.3s;
}
.accordion-toggle:hover, .accordion-toggle[aria-expanded="true"] { color: var(--brand-a); }

/* circle + / circle − icon: the vertical stroke folds away when open */
.accordion-icon { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--brand-a); stroke-linecap: round; }
.accordion-icon circle { stroke-width: 1.3; transition: fill 0.3s; }
.accordion-icon path { stroke-width: 1.5; }
.accordion-icon .v { transform-origin: 14px 14px; transition: transform 0.35s ease; }
.accordion-toggle[aria-expanded="true"] .accordion-icon .v { transform: scaleY(0); }
.accordion-toggle:hover .accordion-icon circle { fill: var(--stone); }

/* smooth open/close; closed content is hidden from keyboard and screen readers */
.accordion-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.4s ease, visibility 0s linear 0.4s; }
.accordion-panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.4s ease, visibility 0s; }
.accordion-panel > div { overflow: hidden; }
.accordion-body { display: grid; gap: 0; padding: 0 3.5rem 1.75rem 0.25rem; }

/* tinymce accordion */
details.mce-accordion {
    overflow: hidden;
    border-bottom: 1px solid #d8d8d8;
}

details.mce-accordion > *:not(summary) {
    opacity: 0;
    transition: opacity 0.5s ease;
}

details.mce-accordion[open] > *:not(summary) {
    opacity: 1;
}

details.mce-accordion > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    font-family: var(--heading-font);
    line-height: 1.35em;
    font-weight: 500;
    color: var(--brand-b);
    font-size: 1.4rem;
    cursor: pointer;
    list-style: none;
}

details.mce-accordion > summary::-webkit-details-marker {
    display: none;
}

details.mce-accordion > summary::after {
    content: "";
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    background: currentColor;
    -webkit-mask: url("../../images/open.svg") center / contain no-repeat;
    mask: url("../../images/open.svg") center / contain no-repeat;
}

details.mce-accordion[open] > summary::after {
    -webkit-mask-image: url("../../images/close.svg");
    mask-image: url("../../images/close.svg");
}

details.mce-accordion > :not(summary) {
    padding: 0 0 1rem;
}
/* end tinymce accordion */

/* circle-check list, same as the introduction */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; align-items: start; font-weight: 300; }
.check-list svg { width: 22px; height: 22px; margin-top: 0.15rem; fill: none; stroke: var(--brand-a); stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) { .accordion-panel, .accordion-icon .v { transition: none !important; } }
@media (max-width: 600px) { .accordion-body { padding-right: 0.25rem; } }


/* ======================== */
/* Claued code end */
/* ======================== */

.two-in-row {
    display: flex;
    gap: 5rem;
}

.two-in-row > div {
    flex: 50%;
}

@media (max-width: 640px) {
    .two-in-row {
        flex-direction: column;
    }

    .two-in-row > div {
        flex: 100%;
    }
}

#content ul li {
    list-style: none;
}

#content ul li::before {
  content: "";
  display: inline-block;
  height: 25px;
  width: 25px;
  background-image: url(/ngn/views/uploads/content/bullet.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: -15px;
  margin-right: 8px;
  vertical-align: middle;
}

#content ul.check-list li::before,
#content .associations ul li::before,
#content ul.service-grid li::before,
#content ul.info-list li::before{
    display: none;
}

img.round-corners {
    border-radius: 10px;
}

img.round-lb-corner {
    border-radius: 0 0 0 20%;
}

.top-bar li {
    text-indent: 0;
    margin: 0;
}

.phone-container {
    display: none!important;
}


/* Testimonials slider start */

#reviews.testimonials .slider-container {
    width: 100%;
    margin: 0 auto;
}

#reviews.testimonials .slider-arrow.slider-prev,
#reviews.testimonials .slider-arrow.slider-next {
    display: none;
}

#reviews.testimonials .slider-nav {
    gap: 30px;
    margin-top: .8rem;
}

#reviews.testimonials .slider-dot {
    background: #cfc4b6;
    border: unset;
}

#reviews.testimonials .slider-dot.active {
    background-color: var(--oak);
}

@media (max-width: 640px) {
    #reviews.testimonials .slider-wrapper {
    margin: 0;
    }  

}

/* Testimonials slider end */