/* =========================================================================
   Site polish - Sita Grammar School
   Refines the existing theme (same colours, fonts and layout) so the site
   looks finished and consistent: spacing rhythm, card depth, hover states,
   tidy header, readable text, nicer slider controls, accessible focus.
   Loaded after custom.css. Part 1 is generic theme polish (reusable on other
   Class ON sites); part 2 targets this site's homepage sections by id.
   ========================================================================= */

:root {
    --sgs-maroon: #650504;
    --sgs-crimson: #9e0a2f;
    --sgs-red: #d01e24;
    --sgs-gold: #ffce54;
    --sgs-ink: #1f1a1a;
    --sgs-muted: #5c5352;
    --sgs-radius: 16px;
    --sgs-radius-sm: 10px;
    --sgs-shadow: 0 6px 22px rgba(60, 10, 10, .08);
    --sgs-shadow-hover: 0 16px 36px rgba(60, 10, 10, .16);
    --sgs-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 1. Base: text that reads well ------------------------------- */
html { scroll-behavior: smooth; }
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--sgs-ink);
}
p { line-height: 1.75; }
h1, h2, h3, h4 { text-wrap: balance; letter-spacing: -.01em; }
img { max-width: 100%; }
::selection { background: var(--sgs-gold); color: var(--sgs-ink); }

/* Text pasted from Word kept its own font ("Calibri 14pt"): use the site font */
[style*="font-family:'Calibri'"], [style*="font-family: 'Calibri'"],
[style*="font-family:Calibri"], [style*="font-family: Calibri"] {
    font-family: inherit !important;
    font-size: inherit !important;
}

/* Justified text leaves big gaps between words on smaller screens */
section p[style*="justify"] { text-align: left !important; }

/* Keyboard users can see where they are */
a:focus-visible, button:focus-visible, .btn:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--sgs-gold);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- 2. Header ----------------------------------------------------- */
/* Contact strip: email and phone stay on one line instead of breaking mid-word */
#header-top .contact-list a { white-space: nowrap; }
@media (max-width: 1199.98px) {
    /* narrower desktops: a little smaller so the e-mail still fits on one line */
    #header-top .contact-list p, #header-top .contact-list a { font-size: 13px !important; }
    #header-top .contact-info ul { gap: 10px; }
}
#header-top .contact-info ul { gap: 18px; }
#header-top .contact-info ul li { min-width: 0; }
#header-top .contact-list a { color: inherit; text-decoration: none; transition: opacity .2s; }
#header-top .contact-list a:hover { opacity: .8; }
/* Contact icons in the school's gold so they stand out on the red bar */
#header-top .header-top-view .contact-info .contact-icon i,
#header-top .contact-icon i { color: var(--sgs-gold) !important; }

/* Main menu: no "|" separators; spacing + animated underline instead */
.navbar-main li.nav-item { border-right: 0 !important; }
.navbar-main .navbar-nav { gap: 2px; align-items: center; }
.navbar-main a.nav-link {
    position: relative;
    white-space: nowrap;
    padding: 8px 10px !important;
    border-radius: 8px;
    transition: color .2s, background-color .2s;
}
.navbar-main a.nav-link::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--sgs-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--sgs-ease);
}
.navbar-main .nav-item:hover > a.nav-link::before,
.navbar-main a.nav-link.active::before { transform: scaleX(1); }

/* Drop-down menus: soft card instead of a flat box */
.tf__droap_menu {
    border-radius: 12px !important;
    box-shadow: 0 18px 40px rgba(30, 10, 10, .14) !important;
    overflow: hidden;
    border: 0 !important;
}
.tf__droap_menu li a { transition: background-color .15s, padding-left .2s, color .15s; }
.tf__droap_menu li a:hover { background: #fff6f0; padding-left: 26px !important; }

/* Sticky header gets a subtle shadow so it separates from the page */
.main_menu.menu_fix, .navbar-main.menu_fix, header.menu_fix, .menu_fix {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

/* ---------- 3. Buttons -------------------------------------------------- */
.common_btn, .common_btn_2, .read-more-btn .btn, .read-more-btn-1 .btn,
.read-box-btn a, .read-btn-new a, .tf__team_page3 .item a,
.tf__video .common_btn, .tf__video a.btn {
    border-radius: 999px !important;
    font-weight: 600 !important;
    letter-spacing: .01em;
    transition: transform .2s var(--sgs-ease), box-shadow .2s, filter .2s !important;
}
.common_btn:hover, .common_btn_2:hover, .read-more-btn .btn:hover, .read-more-btn-1 .btn:hover,
.read-box-btn a:hover, .read-btn-new a:hover, .tf__team_page3 .item a:hover,
.tf__video .common_btn:hover, .tf__video a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(101, 5, 4, .22);
    filter: brightness(1.05);
}

/* ---------- 4. Cards: one radius, soft depth, gentle lift on hover ------ */
.tf__activities_card_top,
.tf__team_page3 .item,
.tf__single_event,
.tf_topper3 .slick-slide > div > div,
.main-box, .main-box-img img {
    border-radius: var(--sgs-radius) !important;
}
.tf__team_page3 .item,
.tf__single_event {
    box-shadow: var(--sgs-shadow);
    transition: transform .3s var(--sgs-ease), box-shadow .3s var(--sgs-ease);
    overflow: hidden;
}
.tf__team_page3 .item:hover,
.tf__single_event:hover {
    transform: translateY(-6px);
    box-shadow: var(--sgs-shadow-hover);
}
/* Photos inside cards zoom a little on hover */
.tf__single_event_img, .tf__team_page3 .item { overflow: hidden; }
.tf__single_event_img img, .tf__team_page3 .item img {
    transition: transform .6s var(--sgs-ease);
}
.tf__single_event:hover .tf__single_event_img img,
.tf__team_page3 .item:hover img { transform: scale(1.05); }
.tf__team_page3 .item img { border-radius: calc(var(--sgs-radius) - 6px); }

/* Gallery / video cards: equal height, photo in one shape, clean title */
.tf__event_page .row > [class*="col-"] { display: flex; }
.tf__event_page .row > [class*="col-"] > .tf__single_event { flex: 1; display: flex; flex-direction: column; }
.tf__single_event_img img { object-fit: cover; width: 100%; height: 100% !important; }
.tf__single_event_footer {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.tf__single_event_footer span:last-child { white-space: nowrap; }
/* Section headings of the gallery/video blocks centred on the page, not on a half column */
.tf__event_page .row > .m-auto:has(> .tf__heading_area) { flex: 0 0 100%; max-width: 100%; }
.tf__event_page .tf__heading_area, .tf__event_page .tf__heading_area h2 { text-align: center !important; }
.tf__single_event_text { flex: 1; display: flex; flex-direction: column; }
.tf__single_event_text .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
/* The 20-letter excerpt ("An informative sessi...Read more") only repeated the title */
.tf__event_page .tf__single_event_text > p { display: none; }
.tf__single_event_footer { margin-top: auto; }
/* A single video card should sit in the middle, not alone on the left */
.tf__event_page .row:has(> [class*="col-"]:only-child) { justify-content: center; }

/* ---------- 5. Slider arrows: round school-colour buttons ---------------- */
.carousel_active-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    position: relative;
    top: 0 !important;                 /* theme pushed it 55px down, over the next section */
    z-index: 2;
}
.carousel_active-nav .btn { margin: 0 !important; }
.carousel_active-nav .btn {
    width: 46px;
    height: 46px;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 2px solid var(--sgs-crimson) !important;
    background: #fff !important;
    color: var(--sgs-crimson) !important;
    font-size: 0 !important;           /* the words Prev / Next stay for screen readers */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sgs-shadow);
    transition: background-color .2s, color .2s, transform .2s;
}
.carousel_active-nav .btn::before {
    font: 900 16px/1 "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome 5 Free";
    content: "\f053";
}
.carousel_active-nav .next-btn::before { content: "\f054"; }
.carousel_active-nav .btn:hover {
    background: var(--sgs-crimson) !important;
    color: #fff !important;
    transform: translateY(-2px);
}
/* site-polish.js hides the arrows when every slide is already on screen */
.carousel_active-nav.is-hidden { display: none !important; }

/* ---------- 6. FAQ ------------------------------------------------------ */
.tf__faq3 .accordion-item {
    border: 1px solid #f0e3e1 !important;
    border-radius: var(--sgs-radius-sm) !important;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s;
}
.tf__faq3 .accordion-item:hover { box-shadow: var(--sgs-shadow); }
.tf__faq3 .accordion-button {
    font-weight: 600;
    font-size: 16px !important;
    padding: 18px 20px !important;
    color: var(--sgs-ink);
    background: #fff !important;
}
.tf__faq3 .accordion-button:not(.collapsed) { color: var(--sgs-crimson) !important; box-shadow: none !important; }
.tf__faq3 .accordion-body { padding: 0 20px 18px !important; color: var(--sgs-muted); line-height: 1.7; }

/* ---------- 7. Go-to-top: small round arrow, no rotated label ------------ */
.tf__scroll_btn {
    transform: none !important;
    -webkit-transform: none !important;
    animation: none !important;
    width: 46px;
    height: 46px;
    padding: 0 !important;
    border-radius: 50% !important;
    right: 24px !important;
    left: auto !important;
    bottom: 96px !important;
    font-size: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.tf__scroll_btn::before {
    font: 900 16px/1 "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome 5 Free";
    content: "\f062";
    color: #fff;
}

/* ---------- 8. Footer --------------------------------------------------- */
.tf__footer_2 .ss-media { flex-wrap: nowrap !important; gap: 8px; }
.tf__footer_2 .ss-media img { transition: transform .2s; }
.tf__footer_2 .ss-media a:hover img { transform: translateY(-2px) scale(1.06); }
.tf__footer_2 a { transition: color .2s, opacity .2s; }
.tf__footer_2 .google_map iframe { border-radius: var(--sgs-radius-sm); }
/* On phones the columns stack: the 40px indent of "Useful Links" no longer lines up */
@media (max-width: 767.98px) {
    .tf__footer_2 .footer-menu.p-l-50 { padding-left: 0 !important; }
}

/* ---------- 9. Motion: respect "reduce motion" ---------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* =========================================================================
   Part 2 - Sita Grammar School homepage sections (ids from the page builder)
   ========================================================================= */

/* Even vertical rhythm between sections that had no spacing of their own */
#section-1766815797603 { padding-top: 10px; }                 /* Sports activities (after the 100px of Academic Wings) */
#section-1766815797603 .activities p, #section-1766815797603 .activities p span { font-size: 16px !important; color: var(--sgs-muted) !important; }
#section-1777965030612 { margin-top: 0 !important; padding-top: 90px; }   /* Student leadership */
#section-1786608838147 { padding: 30px 0 20px; }              /* Clubs */
#section-1766814910358, #section-1767430232803 { padding-top: 30px; }      /* Co-scholastic / co-curricular */

/* Long paragraphs kept to a readable width and centred */
#section-1766815797603 .activities p,
#section-1766811560174 .about-text p,
#section-1777965030612 .leadership-title h5 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
#section-1777965030612 .leadership-title h5 { font-weight: 400; line-height: 1.6; color: var(--sgs-muted); }

/* JEE/NEET ticker pill: a touch of depth */
.school-list-title:has(.sgs-ticker) { box-shadow: var(--sgs-shadow); }
.school-list-title:has(.sgs-ticker) strong { color: var(--sgs-crimson); }

/* Mission / Ethos / Leadership cards (the theme already gives them one height) */
/* The card and its button lift together (lifting only the card put it on top of the
   button, which overlaps the card's bottom edge). */
#section-1766813793187 .tf__activities_card_top {
    box-shadow: var(--sgs-shadow);
    transition: box-shadow .3s var(--sgs-ease);
}
#section-1766813793187 .tf__activities_card_bottom { position: relative; z-index: 2; }
#section-1766813793187 .tf__activities_card_top + .tf__activities_card_bottom,
#section-1766813793187 [class*="col-"]:has(> .tf__activities_card_top) {
    transition: transform .3s var(--sgs-ease);
}
#section-1766813793187 [class*="col-"]:has(> .tf__activities_card_top):hover { transform: translateY(-6px); }
#section-1766813793187 [class*="col-"]:has(> .tf__activities_card_top):hover .tf__activities_card_top { box-shadow: var(--sgs-shadow-hover); }
/* slick clips its track; leave room so the lifted card is not cut off at the top */
#section-1766813793187 .slick-list { padding-top: 8px !important; }

/* Student leadership photo: rounded with depth */
#section-1777965030612 img { border-radius: var(--sgs-radius); box-shadow: var(--sgs-shadow); }

/* Clubs: icons lift on hover, names readable */
#section-1786608838147 .icon-feature img { transition: transform .3s var(--sgs-ease), box-shadow .3s; border-radius: 50%; }
#section-1786608838147 .icon-feature a:hover img { transform: translateY(-6px); box-shadow: var(--sgs-shadow-hover); }
#section-1786608838147 h5 a { color: var(--sgs-ink); font-weight: 600; text-decoration: none; }
#section-1786608838147 h5 a:hover { color: var(--sgs-crimson); }

/* House banners: gentle swing on hover */
#section-1767615243266 .house-img img { transition: transform .4s var(--sgs-ease); transform-origin: top center; }
#section-1767615243266 .house-img a:hover img { transform: rotate(-2deg) translateY(-4px); }

/* Notice board card */
#section-1767615243266 .tf__noticeboard_3_text, #section-1767615243266 [class*="notice"] a { text-decoration: none; }

/* =========================================================================
   Part 3 - Page text typed in the editor (inner pages)
   tidy_content() turns hand-made bold "headings" into <h2 class="content-heading">
   and removes pasted fonts/sizes/justify; these rules give the text one clean,
   readable style. Only inside .sgs-content (never on the home page blocks).
   ========================================================================= */
.sgs-content { color: var(--sgs-ink); font-size: 17px; line-height: 1.8; }
.sgs-content p, .sgs-content li, .sgs-content span { font-size: 17px; line-height: 1.8; }
.sgs-content td span, .sgs-content th span, .sgs-content td p, .sgs-content th p { font-size: inherit; line-height: inherit; }
.sgs-content p { margin: 0 0 1.1em; color: #3a3332; }
.sgs-content p:empty, .sgs-content p:has(> br:only-child) { display: none; }

.sgs-content h2, .sgs-content h3, .sgs-content h4 {
    font-family: var(--headingFont, "Montserrat", sans-serif);
    color: var(--sgs-crimson);
    line-height: 1.3;
    text-align: left;
    margin: 1.6em 0 .7em;
}
.sgs-content h2 { font-size: clamp(22px, 2.1vw, 28px); font-weight: 700; }
.sgs-content h3 { font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; }
.sgs-content h4 { font-size: 19px; font-weight: 600; color: var(--sgs-ink); }
.sgs-content h2.content-heading { position: relative; padding-bottom: .45em; }
.sgs-content h2.content-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 3px;
    background: var(--sgs-gold);
}
/* first heading of a block sits at the top of it */
.sgs-content > h2:first-child, .sgs-content > h3:first-child,
.sgs-content [class*="col-"] > h2:first-child, .sgs-content [class*="col-"] > h3:first-child { margin-top: 0; }

.sgs-content a:not(.btn):not([class*="common_btn"]) {
    color: var(--sgs-crimson);
    text-decoration: underline;
    text-decoration-color: rgba(158, 10, 47, .35);
    text-underline-offset: 3px;
    font-weight: 500;
}
.sgs-content a:not(.btn):not([class*="common_btn"]):hover { text-decoration-color: currentColor; }

.sgs-content ul, .sgs-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.sgs-content ul li { list-style: disc; margin-bottom: .45em; }
.sgs-content ol li { list-style: decimal; margin-bottom: .45em; }
.sgs-content li::marker { color: var(--sgs-red); }
.sgs-content strong, .sgs-content b { color: inherit; font-weight: 700; }

.sgs-content img { max-width: 100%; height: auto; border-radius: var(--sgs-radius); }
.sgs-content figure { margin: 0 0 1.4em; }

/* Text + photo rows: photo lines up with the text, rows get breathing room */
.sgs-content .row { align-items: center; row-gap: 24px; }
.sgs-content .row + .row, .sgs-content .row + p, .sgs-content p + .row { margin-top: 40px; }
.sgs-content .row img { box-shadow: var(--sgs-shadow); }

/* Plain text pages: readable line length */
.sgs-content.ck-content > p, .sgs-content.ck-content > h2, .sgs-content.ck-content > h3,
.sgs-content.ck-content > ul, .sgs-content.ck-content > ol {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* Tables (fee structure, disclosure, results) */
.sgs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.6em;
    font-size: 15px;
    background: #fff;
    border-radius: var(--sgs-radius-sm);
    overflow: hidden;
    box-shadow: 0 0 0 1px #eadcd9;
}
.sgs-content th, .sgs-content td {
    padding: 10px 14px !important;
    border: 1px solid #eadcd9 !important;
    vertical-align: top;
    line-height: 1.55;
}
/* Only the table's first row is the coloured header (some tables put every row in <thead>/<th>) */
.sgs-content th { background: #f7efed !important; color: var(--sgs-ink) !important; font-weight: 600; }
.sgs-content table > :first-child > tr:first-child > th,
.sgs-content table > tr:first-child > th {
    background: var(--sgs-maroon) !important;
    color: #fff !important;
}
.sgs-content table > :first-child > tr:first-child > th *,
.sgs-content table > tr:first-child > th * { color: #fff !important; }
.sgs-content td p, .sgs-content th p { margin: 0; }
.sgs-content tbody tr:nth-child(even) td { background: #fbf6f5; }
.sgs-content figure.table { margin: 0 0 1.6em; overflow-x: auto; }
@media (max-width: 767.98px) {
    .sgs-content { font-size: 16px; }
    .sgs-content p, .sgs-content li, .sgs-content span { font-size: 16px; }
    .sgs-content table { display: block; overflow-x: auto; white-space: normal; }
    .sgs-content .row + .row { margin-top: 28px; }
}
/* Editor size classes: keep emphasis, but in proportion with the page */
.sgs-content .text-huge { font-size: 1.35em !important; }
.sgs-content .text-big { font-size: 1.15em !important; }
.sgs-content .text-small, .sgs-content .text-tiny { font-size: .9em !important; }

/* The footer's "Enroll your child" card is pulled 140px up into the page. Inner pages
   (the ones with a page banner) only left 50px, so the card covered the last lines. */
body:has(.tf__breadcrumb) .tf__footer_2 { margin-top: 190px !important; }
@media (max-width: 767.98px) { body:has(.tf__breadcrumb) .tf__footer_2 { margin-top: 170px !important; } }
/* Pages that are only text (no photo rows, tables or images): comfortable line length */
.sgs-content.ck-content:not(:has(.row, table, figure, img)) { max-width: 900px; margin-left: auto; margin-right: auto; }

/* Tables used as photo grids (achievements pages): look like a gallery, not a spreadsheet */
.sgs-content table:has(img) { box-shadow: none; background: transparent; table-layout: fixed; }
.sgs-content table:has(img) td, .sgs-content table:has(img) th {
    border: 0 !important;
    background: transparent !important;
    padding: 10px !important;
    text-align: center;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.45;
}
.sgs-content table:has(img) tbody tr:nth-child(even) td { background: transparent; }
.sgs-content table:has(img) img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--sgs-shadow);
    margin-bottom: 8px;
    transition: transform .3s var(--sgs-ease);
}
.sgs-content table:has(img) img:hover { transform: translateY(-3px); }
.sgs-content table:has(img) td p, .sgs-content table:has(img) td span { font-size: 14px !important; text-align: center; }
@media (max-width: 767.98px) {
    .sgs-content table:has(img), .sgs-content table:has(img) tbody, .sgs-content table:has(img) tr { display: block; width: 100%; }
    .sgs-content table:has(img) tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sgs-content table:has(img) td { display: block; width: auto !important; }
}
.sgs-content table:has(img) figure, .sgs-content table:has(img) .image { width: 100% !important; max-width: 100% !important; margin: 0 0 6px !important; float: none !important; }
.sgs-content table:has(img) tr, .sgs-content table:has(img) tbody, .sgs-content table:has(img) thead { border: 0 !important; }
.sgs-content table:has(img) figcaption { font-size: 13px; color: var(--sgs-muted); background: transparent; }
.sgs-content table:has(img) col, .sgs-content table:has(img) colgroup { width: auto !important; }
.sgs-content table:has(img) td { width: auto !important; }
.sgs-content figure.table:has(img) { width: 100% !important; }

/* Red title boxes typed in the editor ("OUR MISSION", "OUR ETHOS", "OUR VISION"...):
   school yellow on red, like the site's other highlighted titles */
.sgs-content :is(td, th, div, p)[style*="#d01e24" i],
.sgs-content :is(td, th, div, p)[style*="#d1302b" i],
.sgs-content :is(td, th, div, p)[style*="rgb(208, 30, 36)" i],
.sgs-content :is(td, th, div, p)[style*="rgb(212, 35, 30)" i],
.sgs-content :is(td, th, div, p)[style*="rgb(212,35,30)" i] {
    background-color: var(--sgs-red) !important;
    color: var(--sgs-gold) !important;
    border: 0 !important;
    border-radius: var(--sgs-radius-sm);
    padding: 18px 24px !important;
    text-align: center;
}
.sgs-content :is(td, th, div, p)[style*="#d01e24" i] *,
.sgs-content :is(td, th, div, p)[style*="#d1302b" i] *,
.sgs-content :is(td, th, div, p)[style*="rgb(208, 30, 36)" i] *,
.sgs-content :is(td, th, div, p)[style*="rgb(212, 35, 30)" i] *,
.sgs-content :is(td, th, div, p)[style*="rgb(212,35,30)" i] * {
    color: var(--sgs-gold) !important;
    margin: 0 !important;
    text-align: center;
    letter-spacing: .04em;
}
/* the table around such a title box: no grid lines or shadow */
.sgs-content table:has(> tbody > tr > td[style*="#d01e24" i]:only-child),
.sgs-content table:has(> tbody > tr > td[style*="rgb(208, 30, 36)" i]:only-child) { box-shadow: none; background: transparent; }

/* Editor "to-do" lists (ticked checkboxes) shown as a clean checkmark list */
.sgs-content ul.todo-list { list-style: none; padding-left: 0; }
.sgs-content ul.todo-list li { list-style: none; position: relative; padding-left: 34px; margin-bottom: .7em; }
.sgs-content ul.todo-list li::marker { content: none; }
.sgs-content ul.todo-list input[type="checkbox"] { display: none; }
.sgs-content ul.todo-list li::before {
    content: "\f00c";
    font: 900 12px/1 "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome 5 Free";
    position: absolute;
    left: 0;
    top: .35em;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sgs-gold);
    color: var(--sgs-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sgs-content ul.todo-list label { display: inline; margin: 0; font-weight: inherit; }
.sgs-content ul.todo-list i, .sgs-content blockquote i { font-style: normal; }

/* Quote blocks: one calm style instead of the editor's grey bar per line */
.sgs-content blockquote {
    border-left: 3px solid var(--sgs-gold);
    background: #fffaf0;
    border-radius: 0 var(--sgs-radius-sm) var(--sgs-radius-sm) 0;
    padding: 14px 20px;
    margin: 0 0 14px;
    font-style: normal;
    overflow: visible;
}
.sgs-content blockquote > :last-child { margin-bottom: 0; }
