/* Small additions on top of the original SafalSchool theme (main.css / app.css).
   Uses the same colours: teal #2fb2ae, ink #0E0E0E, body #3C3C3C, borders #EAEDF0. */
html { overflow-x: hidden; }
body { overflow-x: clip; }
/* status / channel badges */
.sf-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.sf-badge { display: inline-block; padding: 3px 12px; border-radius: 30px; font-size: 12px; font-weight: 600; line-height: 1.6; background: #EAEDF0; color: #3C3C3C; }
.sf-badge.live { background: rgba(47, 178, 174, .16); color: #0f766e; }
.sf-badge.planned { background: #fdeede; color: #b45309; }
/* feature filters */
.sf-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 16px; }
.sf-chip { border: 1px solid #DBDBDB; background: #fff; color: #0E0E0E; padding: 8px 18px; border-radius: 30px; font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; }
.sf-chip:hover { border-color: #2fb2ae; color: #0f766e; }
.sf-chip.active { background: #0E0E0E; border-color: #0E0E0E; color: #fff; }
.sf-search { max-width: 560px; margin: 0 auto 24px; position: relative; }
.sf-search input { width: 100%; height: 54px; border: 1px solid #DBDBDB; border-radius: 30px; padding: 0 22px 0 50px; font-size: 16px; outline: none; }
.sf-search input:focus { border-color: #2fb2ae; }
.sf-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #747474; }
.sf-count { text-align: center; color: #747474; margin-bottom: 20px; }
.sf-hidden { display: none !important; }
.sf-empty { text-align: center; padding: 40px 0; color: #747474; }
/* feature cards: keep the original card look but allow a footer link */
.sf-card-link { margin-top: 10px; display: inline-block; font-weight: 600; color: #0f766e; }
.sf-card-link:hover { color: #0E0E0E; }
.sf-col { margin-bottom: 24px; }
.sf-col .sofax-service-iconbox-wrap { height: 100%; }
.sf-cat-title { display: flex; align-items: center; gap: 14px; margin: 40px 0 22px; }
.sf-cat-title img { width: 44px; height: 44px; }
.sf-cat-title h3 { margin: 0; }
.sf-cat-title p { margin: 2px 0 0; color: #747474; font-size: 15px; }
/* detail pages */
.sf-note { background: rgba(47, 178, 174, .1); border-left: 4px solid #2fb2ae; padding: 14px 18px; border-radius: 6px; margin: 22px 0; }
.sf-note.planned { background: #fdeede; border-left-color: #ee8a3c; }
.sf-sublist { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 0 0 20px; }
.sf-sublist li { break-inside: avoid; padding: 6px 0 6px 24px; position: relative; }
.sf-sublist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 9px; height: 9px; border-radius: 2px; background: #ee8a3c; }
@media (max-width: 640px) { .sf-sublist { columns: 1; } }
.sf-panel { border: 1px solid #EAEDF0; border-radius: 10px; padding: 24px; margin-bottom: 20px; background: #fff; }
.sf-panel h4 { margin-bottom: 12px; }
.sf-panel ul { list-style: none; padding: 0; margin: 0; }
.sf-panel li { padding: 8px 0; border-bottom: 1px dashed #EAEDF0; }
.sf-panel li:last-child { border: 0; }
.sf-panel a { color: #0E0E0E; font-weight: 500; }
.sf-panel a:hover { color: #0f766e; }
.sf-tick { list-style: none; padding: 0; margin: 14px 0 22px; }
.sf-tick li { position: relative; padding: 6px 0 6px 30px; }
.sf-tick li::before { content: "\2713"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: #2fb2ae; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
/* compare table */
.sf-table-wrap { overflow-x: auto; border: 1px solid #EAEDF0; border-radius: 10px; background: #fff; }
.sf-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.sf-table th, .sf-table td { padding: 14px 18px; border-bottom: 1px solid #EAEDF0; text-align: left; }
.sf-table th { background: #F9F9FA; color: #0E0E0E; }
.sf-table td:not(:first-child), .sf-table th:not(:first-child) { text-align: center; }
.sf-yes { color: #0f766e; font-weight: 800; }
.sf-no { color: #c0c5cf; }
/* simple stacked content blocks */
.sf-block { margin-bottom: 70px; }
.sf-center-btn { text-align: center; margin-top: 36px; }
.sf-legal .sofax-default-content { max-width: 880px; margin: 0 auto; }
.sf-legal h2 { margin-bottom: 20px; }
.sf-legal h3, .sf-legal h4 { margin-top: 28px; }
.sf-legal ul, .sf-legal ol { padding-left: 22px; margin-bottom: 16px; }
.sf-img-round { border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .12); }
.sf-gallery { display: flex; gap: 30px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.sf-gallery img { max-height: 520px; width: auto; mix-blend-mode: multiply; }
.sf-hp { position: absolute; left: -9999px; opacity: 0; }
select.sf-select { width: 100%; height: 60px; border: 1px solid #EAEDF0; border-radius: 6px; padding: 0 20px; background: #fff; color: #3C3C3C; }

.sofax-iconbox-data2 p a { color: #0f766e; font-weight: 600; }
.sofax-iconbox-data2 p a:hover { color: #0E0E0E; }

/* the breadcrumb markup already has its own arrow image; avoids a request for a file missing from the original theme */
.breadcrumbs ul li:before { content: none !important; background-image: none !important; }

/* hero heading is an <h1> (SEO) but must look exactly like the original <h2> */
.sofax-hero-content h1.h2 { font-size: 50px !important; line-height: 65px; margin: 0; }
@media (max-width: 991px) { .sofax-hero-content h1.h2 { font-size: 30px !important; font-weight: 600; letter-spacing: -.64px; line-height: 1.3; } }
