/* Design review fixes, 22 Nov 2026. Remove the enqueue in functions.php to undo. */


/* No lone card on the last row: it spans the row instead. */
@media (min-width: 1000px) {
	.wp-block-post-template.sts-card-grid > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
	.wp-block-post-template.sts-card-grid > li:last-child:nth-child(3n+1) .sts-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: start; }
}
@media (min-width: 600px) and (max-width: 999px) {
	.wp-block-post-template.sts-card-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Topic page: Start here */
.sts-start-here { max-width: 1200px; margin: 0 auto 2.5rem; }
.sts-start-label { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sts-teal); margin: 0 0 0.75rem; }
.sts-card.sts-card--start { background: var(--wp--preset--color--gold-soft); border: 2px solid var(--sts-gold); position: relative; }
.sts-card--start .sts-card-title { font-size: 1.5rem; }
.sts-card--start p:last-child { max-width: 70ch; }
.sts-more-guides-h { max-width: 1200px; margin: 0 auto 1rem !important; font-size: 1.35rem; }

/* Cards get a light tint so card-heavy sections are not all white. */
.sts-card { background: #FFFDF8; }
.sts-band.has-white-background-color .sts-card { background: var(--sts-cream); }

/* Trust line in the guide header */
.sts-trust a { color: var(--sts-teal); }

/* Phones: shorter-looking guide titles, so "At a glance" comes sooner. */
@media (max-width: 600px) {
	.sts-guide-title { font-size: 1.7rem !important; line-height: 1.18 !important; }
	.sts-guide-summary { font-size: 1.05rem; }
	.sts-guide-hero { margin-top: 1rem !important; }
}

/* Homepage hero with an annotated example */
.sts-hero-cols { gap: 3rem !important; align-items: center !important; max-width: 1200px; }
.sts-hero-cols > .wp-block-column:first-child > * { margin-left: 0 !important; }
.sts-hero-example { margin: 0; }
.sts-hero-example .sts-phone-mock { max-width: 320px; }
.sts-hero-example .sts-bubble { font-size: 0.98rem; }
.sts-hero-flags { list-style: none; margin: 1rem auto 0; padding: 0; max-width: 340px; display: grid; gap: 0.45rem; color: var(--sts-cream); font-size: 1rem; }
.sts-hero-flags li { display: flex; gap: 0.6rem; align-items: flex-start; }
.sts-hero-flags .sts-callout { flex: none; }
.sts-hero-caption { max-width: 340px; margin: 0.8rem auto 0 !important; font-size: 0.95rem; color: #D9DCE3; }
.sts-hero-caption a { color: var(--sts-gold); }
@media (max-width: 781px) {
	.sts-hero-cols { gap: 2rem !important; }
	.sts-hero-example .sts-phone-mock { max-width: 300px; }
}

/* Scam-specific guide pictures: show the whole scene on phones (no side crop). */
@media (max-width: 640px) { .sts-guide-hero img { height: auto !important; object-fit: contain; } }

/* ---------- Scam check and warning-signs meter ---------- */
.sts-check { display: grid; gap: 1.5rem; }
.sts-check fieldset { border: 1px solid var(--sts-border, #E7E2D8); border-radius: 14px; background: #fff; padding: 1.25rem 1.25rem 0.5rem; margin: 0; }
.sts-check legend { font-weight: 700; font-size: 1.25rem; padding: 0 0.4rem; color: var(--sts-navy); }
.sts-check-list { list-style: none; margin: 0; padding: 0; }
.sts-check-list > li { border-top: 1px solid #EFEAE0; padding: 0.85rem 0; }
.sts-check-list > li:first-child { border-top: 0; }
.sts-check-list input { width: 1.4rem; height: 1.4rem; margin: 0.15rem 0.75rem 0 0; accent-color: var(--sts-navy); flex: none; vertical-align: top; cursor: pointer; }
.sts-check-list label { display: inline; font-size: 1.08rem; line-height: 1.5; cursor: pointer; }
.sts-check-list > li { display: grid; grid-template-columns: auto 1fr; }
.sts-check-why { grid-column: 2; margin-top: 0.5rem; background: var(--wp--preset--color--gold-soft); border-left: 4px solid var(--sts-gold); border-radius: 6px; padding: 0.6rem 0.8rem; font-size: 0.98rem; }
.sts-check-why p { margin: 0; }
.sts-check-why p + p { margin-top: 0.35rem; }
.sts-check.is-ready .sts-check-why[hidden] { display: none; }
.sts-check-read a { font-weight: 700; }
.sts-check-note { font-size: 0.95rem; color: var(--sts-gray); margin: 0; }
.sts-meter-wrap { background: var(--sts-navy); color: var(--sts-cream); border-radius: 14px; padding: 1.25rem; }
.sts-meter-bar { height: 18px; border-radius: 9px; background: rgba(251, 246, 236, 0.18); overflow: hidden; }
.sts-meter-fill { display: block; height: 100%; border-radius: 9px; background: #9FB7C9; transition: width .25s ease; }
.sts-meter[data-level="1"] .sts-meter-fill { background: #F0C463; }
.sts-meter[data-level="2"] .sts-meter-fill { background: #E8963A; }
.sts-meter[data-level="3"] .sts-meter-fill { background: #E0604A; }
.sts-meter-scale { list-style: none; display: flex; justify-content: space-between; margin: 0.45rem 0 0; padding: 0; font-size: 0.85rem; color: #D9DCE3; gap: 0.5rem; }
.sts-meter-title { font-weight: 700; font-size: 1.25rem; margin: 1rem 0 0.35rem; color: #fff; }
.sts-meter-text { margin: 0; }
.sts-check-next { background: var(--wp--preset--color--teal-soft); border-left: 6px solid var(--sts-teal); border-radius: 10px; padding: 1.1rem 1.25rem; }
.sts-check-next h2 { margin-top: 0; font-size: 1.35rem; }
.sts-check-next h3 { font-size: 1.1rem; margin-top: 1rem; }
.sts-check-actions { margin: 0; display: flex; gap: 0.6rem; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .sts-meter-fill { transition: none; } }
@media (min-width: 1000px) {
	.sts-check { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
	.sts-check-form, .sts-check-note, .sts-check-next, .sts-check-actions { grid-column: 1; }
	.sts-meter-wrap { grid-column: 2; grid-row: 1; position: sticky; top: 1.5rem; }
}
@media print {
	.sts-meter-wrap { background: #fff !important; color: #000 !important; border: 1.5pt solid #000; }
	.sts-meter-title, .sts-meter-scale { color: #000 !important; }
	.sts-meter-bar { border: 1pt solid #000; }
	.sts-meter-fill { background: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.sts-check-actions { display: none; }
	.sts-check-why { border-left: 2pt solid #000; background: #fff !important; }
}

/* Links to the check */
.sts-hero-check { margin-top: 1.25rem !important; color: var(--sts-cream); }
.sts-hero-check a { color: var(--sts-gold); font-weight: 700; }
.sts-check-callout { background: var(--wp--preset--color--gold-soft); border: 2px solid var(--sts-gold); border-radius: 12px; padding: 1rem 1.25rem; }
.sts-check-callout a { font-weight: 700; }
/* Phones and tablets: the meter stays in view at the bottom while you tick. */
@media (max-width: 999px) {
	.sts-meter-wrap { position: sticky; bottom: 0; z-index: 5; border-radius: 14px 14px 0 0; padding: 0.8rem 1rem calc(0.9rem + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 18px rgba(31, 42, 68, 0.18); }
	.sts-meter-title { margin-top: 0.6rem; font-size: 1.1rem; }
	.sts-meter-text { font-size: 0.95rem; line-height: 1.45; }
	.sts-meter-scale { font-size: 0.78rem; }
}
@media print { .sts-meter-wrap { position: static !important; box-shadow: none !important; } }

/* ---------- Richer visual style (22 Nov 2026, later) ---------- */
/* Homepage hero: layered shapes, waves, dots and stars behind the content. */
.sts-hero { background: var(--sts-navy) url("../img/hero-layers.svg") center bottom / cover no-repeat; position: relative; overflow: hidden; }
/* The example phone: gold rim, soft shadow, slight tilt. */
.sts-hero-example .sts-phone-mock { border: 4px solid var(--sts-navy); outline: 6px solid var(--sts-gold); outline-offset: -1px; box-shadow: 14px 16px 0 rgba(10, 16, 32, 0.35); transform: rotate(-4deg); }
.sts-hero-flags { position: relative; }
@media (prefers-reduced-motion: no-preference) { .sts-hero-example .sts-phone-mock { transition: transform .3s ease; } .sts-hero-example:hover .sts-phone-mock { transform: rotate(-2deg); } }
@media (max-width: 781px) { .sts-hero-example .sts-phone-mock { transform: rotate(-3deg); } }
/* Scam check page banner */
.sts-check-banner { margin: 0 0 1.5rem; }
.sts-check-banner img { display: block; width: 100%; height: auto; border-radius: 20px; }
@media print { .sts-check-banner { display: none; } }

/* ---------- Visuals v2 (closer to Khalid's example) ---------- */
.sts-guide-hero--v2 { max-width: 1000px !important; }
.sts-guide-hero--v2 svg { display: block; width: 100%; height: auto; border-radius: 22px; }
@media (max-width: 640px) {
	.sts-guide-hero--v2 .b-sub { display: none; }
}
/* Homepage hero phone, v2: portrait cream phone with gold rim, status bar and a strong tilt. */
.sts-hero-example .sts-phone-mock { background: #FBF6EC; border: 3px solid #E8B23A; outline: 7px solid #F7E9C8; outline-offset: 0; border-radius: 34px; box-shadow: 0 0 0 10px #E8B23A, 18px 20px 0 10px rgba(10, 16, 32, 0.45); transform: rotate(8deg); padding: 0.9rem 0.9rem 1.4rem; max-width: 300px; }
.sts-hero-example .sts-phone-mock::before { display: none; }
.sts-phone-status { display: flex; justify-content: space-between; align-items: center; background: #2A3858; border-radius: 14px; padding: 0.45rem 0.8rem; margin-bottom: 0.8rem !important; }
.sts-phone-status span { display: inline-block; height: 10px; border-radius: 3px; }
.sts-phone-status .s-bars { width: 22px; background: linear-gradient(90deg, #8FC1BD 0 5px, transparent 5px 8px, #8FC1BD 8px 13px, transparent 13px 16px, #8FC1BD 16px 21px); }
.sts-phone-status .s-batt { width: 26px; border: 2px solid #F3CC6B; background: #8FC1BD; background-clip: content-box; padding: 1px; }
.sts-hero-example .sts-phone-from { color: #336F6C; font-weight: 700; }
.sts-hero-example .sts-bubble { background: #F7E9C8; border: 2px solid #336F6C; border-radius: 16px; font-weight: 700; color: #1F2A44; }
.sts-hero-flags { margin-top: 2.2rem; }
@media (max-width: 781px) { .sts-hero-example .sts-phone-mock { transform: rotate(5deg); max-width: 280px; } }
.sts-phone-reply { background: #fff; border: 2px solid #8FC1BD; border-radius: 999px; padding: 0.45rem 0.9rem; color: #6B7280; font-size: 0.9rem; margin-top: 1.4rem !important; }

/* ---------- Logo A (23 Nov 2026) ---------- */
.sts-logo { display: inline-flex; align-items: center; line-height: 0; flex: none; }
.sts-logo img { display: block; width: 230px; height: auto; }
.sts-footer-name img { display: block; width: 240px; max-width: 100%; height: auto; }
@media (max-width: 781px) { .sts-logo img { width: 180px; } }
@media (max-width: 380px) { .sts-logo img { width: 160px; } }
@media print { .sts-logo img { width: 200px; } }

/* ---------- Homepage example rotator ---------- */
.sts-rot { position: relative; }
.sts-rot-track { display: grid; }
.sts-rot-track > .sts-slide { grid-area: 1 / 1; }
.sts-rot:not(.is-js) .sts-slide:not(:first-child) { display: none; }
.sts-rot.is-js .sts-slide { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.sts-rot.is-js .sts-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .sts-rot.is-js .sts-slide, .sts-rot.is-js .sts-slide.is-active { transition: none; } }
.sts-call-buttons { display: flex; gap: 0.6rem; justify-content: space-between; margin-top: 1.2rem !important; }
.sts-call-buttons span { flex: 1; text-align: center; border-radius: 999px; padding: 0.45rem 0; font-weight: 700; font-size: 0.95rem; }
.sts-call-buttons .b-decline { background: #3F7F7C; color: #FBF6EC; }
.sts-call-buttons .b-answer { background: #E8B23A; color: #1F2A44; }
.sts-rot-controls { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.sts-rot-controls[hidden] { display: none; }
.sts-rot-controls button { font: inherit; cursor: pointer; border: 2px solid rgba(251, 246, 236, 0.55); background: transparent; color: #FBF6EC; border-radius: 999px; min-width: 36px; height: 36px; padding: 0 0.7rem; font-weight: 700; }
.sts-rot-controls button:hover { border-color: #E8B23A; color: #F3CC6B; }
.sts-rot-controls button:focus-visible { outline: 3px solid #E8B23A; outline-offset: 2px; }
.sts-rot-dots { display: inline-flex; gap: 0.25rem; }
.sts-rot-controls .sts-rot-dot { min-width: 0; width: 24px; height: 24px; padding: 0; border: none; position: relative; }
.sts-rot-controls .sts-rot-dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(251, 246, 236, 0.45); }
.sts-rot-controls .sts-rot-dot[aria-current="true"]::after { background: #E8B23A; inset: 5px; }
.sts-rot-controls .sts-rot-prev, .sts-rot-controls .sts-rot-next { font-size: 1.4rem; line-height: 1; padding: 0; width: 36px; }
.sts-hero { padding-bottom: 5rem !important; }
@media (max-width: 640px) { .sts-hero { padding-bottom: 3.5rem !important; } }

/* Fix list 23 Nov: each card shows its own first topic icon. */
.wp-block-post-template .sts-primary-phone-text .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3Cpath d='M9 7.5h6M9 10.5h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3Cpath d='M9 7.5h6M9 10.5h4'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-email-phishing .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6 8.5 7 8.5-7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6 8.5 7 8.5-7'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-shopping .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.2a1.5 1.5 0 0 1-1.5 1.3H7.7a1.5 1.5 0 0 1-1.5-1.3Z'/%3E%3Cpath d='M9 10V6.5a3 3 0 0 1 6 0V10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.2a1.5 1.5 0 0 1-1.5 1.3H7.7a1.5 1.5 0 0 1-1.5-1.3Z'/%3E%3Cpath d='M9 10V6.5a3 3 0 0 1 6 0V10'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-financial .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M6 9.5v5M18 9.5v5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M6 9.5v5M18 9.5v5'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-identity-theft .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='11' r='2.2'/%3E%3Cpath d='M5.5 16.2c.6-1.6 1.7-2.4 3-2.4s2.4.8 3 2.4'/%3E%3Cpath d='M14 10h4.5M14 13.5h3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='11' r='2.2'/%3E%3Cpath d='M5.5 16.2c.6-1.6 1.7-2.4 3-2.4s2.4.8 3 2.4'/%3E%3Cpath d='M14 10h4.5M14 13.5h3'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-social-media .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h11a1.5 1.5 0 0 1 1.5 1.5v6A1.5 1.5 0 0 1 15 14H9l-3.5 3v-3H4a1.5 1.5 0 0 1-1.5-1.5v-6A1.5 1.5 0 0 1 4 5Z'/%3E%3Cpath d='M19.5 9h.5A1.5 1.5 0 0 1 21.5 10.5v6A1.5 1.5 0 0 1 20 18h-1v2.5L16 18h-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h11a1.5 1.5 0 0 1 1.5 1.5v6A1.5 1.5 0 0 1 15 14H9l-3.5 3v-3H4a1.5 1.5 0 0 1-1.5-1.5v-6A1.5 1.5 0 0 1 4 5Z'/%3E%3Cpath d='M19.5 9h.5A1.5 1.5 0 0 1 21.5 10.5v6A1.5 1.5 0 0 1 20 18h-1v2.5L16 18h-4'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-family-relationships .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.3-7.5-10A4.2 4.2 0 0 1 12 7.4 4.2 4.2 0 0 1 19.5 10c0 5.7-7.5 10-7.5 10Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.3-7.5-10A4.2 4.2 0 0 1 12 7.4 4.2 4.2 0 0 1 19.5 10c0 5.7-7.5 10-7.5 10Z'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-business .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5h17'/%3E%3Cpath d='M5 20.5V9l7-5 7 5v11.5'/%3E%3Cpath d='M10 20.5v-5h4v5'/%3E%3Cpath d='M8.5 11h1.5M14 11h1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5h17'/%3E%3Cpath d='M5 20.5V9l7-5 7 5v11.5'/%3E%3Cpath d='M10 20.5v-5h4v5'/%3E%3Cpath d='M8.5 11h1.5M14 11h1.5'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-jobs .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7.5' width='18' height='12.5' rx='2'/%3E%3Cpath d='M8.5 7.5V5.5A1.5 1.5 0 0 1 10 4h4a1.5 1.5 0 0 1 1.5 1.5v2'/%3E%3Cpath d='M3 13h18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7.5' width='18' height='12.5' rx='2'/%3E%3Cpath d='M8.5 7.5V5.5A1.5 1.5 0 0 1 10 4h4a1.5 1.5 0 0 1 1.5 1.5v2'/%3E%3Cpath d='M3 13h18'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-emerging-threats .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17.5 9 11.5l4 4 8-8'/%3E%3Cpath d='M15.5 7.5H21V13'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17.5 9 11.5l4 4 8-8'/%3E%3Cpath d='M15.5 7.5H21V13'/%3E%3C/svg%3E"); }
.wp-block-post-template .sts-primary-home-everyday .sts-card::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11 12 4l8.5 7'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3Cpath d='M15.5 6.5V4.5h2v3.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11 12 4l8.5 7'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3Cpath d='M15.5 6.5V4.5h2v3.6'/%3E%3C/svg%3E"); }

/* Topic grids: 10 topics without an orphan row (5 + 5 on wide screens, 2 per row on phones and tablets). */
.sts-cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
@media (max-width: 1099px) { .sts-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.sts-topic-count { margin-top: 0.5rem !important; font-weight: 700; color: var(--sts-teal); }

/* Guide header: short title and a tighter layout so "At a glance" shows on the first screen. */
@media (min-width: 1000px) {
	.sts-guide-head { padding-top: 1.75rem !important; padding-bottom: 1.5rem !important; }
	.sts-guide-head > * { max-width: 1100px !important; }
	.sts-guide-head .sts-guide-title { font-size: 2.4rem !important; margin-top: 0.4rem !important; }
	.sts-guide-head .sts-guide-summary { margin-top: 0.6rem !important; }
	.sts-guide-hero--v2 { max-width: 720px !important; margin-top: 1rem !important; }
	.sts-guide-body { padding-top: 1.5rem !important; }
}
@media (max-width: 640px) {
	.sts-guide-head { padding-top: 1.25rem !important; padding-bottom: 1rem !important; }
	.sts-guide-title { font-size: 1.55rem !important; }
	.sts-guide-summary { font-size: 1rem !important; line-height: 1.5 !important; }
	.sts-guide-info { font-size: 0.85rem !important; line-height: 1.45 !important; }
	.sts-guide-body { padding-top: 1rem !important; }
}

/* Static search results: same card look as the rest of the site. */
.sts-search-head { background: #fff; border-bottom: 1px solid var(--sts-border, #E7E2D8); padding: 3rem 24px 2rem; }
.sts-search-body { padding: 2rem 24px 4rem; }
.sts-search-inner { max-width: 1200px; margin: 0 auto; }
.sts-search-count { font-weight: 700; }
.sts-search-grid { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.sts-search-grid .sts-card { height: 100%; box-sizing: border-box; }


/* ---------- Follow us page ---------- */
.sts-follow-grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .sts-follow-grid { grid-template-columns: 1fr; } }
.sts-follow-card { background: #fff; border: 1px solid var(--sts-border, #E7E2D8); border-top: 6px solid var(--sts-gold); border-radius: 16px; padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; box-shadow: 0 4px 0 rgba(31, 42, 68, 0.06); }
.sts-follow--youtube { border-top-color: #C8553D; }
.sts-follow--tiktok { border-top-color: #1F2A44; }
.sts-follow--instagram { border-top-color: #3F7F7C; }
.sts-follow--facebook { border-top-color: #1E5FA8; }
.sts-follow-icon svg { display: block; }
.sts-follow-name { margin: 0.5rem 0 0 !important; font-size: 1.4rem !important; }
.sts-follow-handle { margin: 0 !important; font-weight: 700; color: var(--sts-teal); }
.sts-follow-what { margin: 0.4rem 0 0.6rem !important; }
.sts-follow-btn-wrap { margin: auto 0 0 !important; }
.sts-follow-btn { display: inline-block; background: var(--sts-navy); color: #FBF6EC !important; text-decoration: none; font-weight: 700; padding: 0.7rem 1.2rem; border-radius: 10px; }
.sts-follow-btn:hover { background: #2A3858; text-decoration: underline; }
.sts-follow-btn:focus-visible { outline: 3px solid var(--sts-gold); outline-offset: 2px; }
.sts-follow-note { font-size: 0.95rem; color: var(--sts-gray); }

/* Legal and compliance update (24 Nov 2026) */
.sts-verify { background: #FFF1B8; color: #5A3B00; border: 1px dashed #B07A00; border-radius: 4px; padding: 0 .3em; font-size: .9em; font-weight: 600; }
.sts-guide-note { border-left: 4px solid var(--sts-border, #D8D2C4); padding: .5rem 0 .5rem 1rem; font-size: .95rem; color: inherit; }
.sts-recovery { margin-block: 1.5rem; }
.sts-recovery .sts-box-title { font-size: 1.15rem; }
