/*
Theme Name: TrustKite
Theme URI: https://example.com/
Author: TrustKite
Description: The theme for the TrustKite review platform: header, footer, homepage, blog and content pages. Use it together with the TrustKite Core plugin, which provides businesses, reviews, accounts and the business dashboard.
Version: 1.1.5
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trustkite-theme
*/

:root {
	--brs-ink: #24135F;
	--brs-bg: #F6F3FF;
	--brs-card: #FFFFFF;
	--brs-line: #E4DEF5;
	--brs-line-soft: #EFEBFA;
	--brs-chip: #EDE9F8;
	--brs-body: #3A3354;
	--brs-muted: #5D5776;
	--brs-teal: #6C4CF1;
	--brs-teal-dark: #4F31D1;
	--brs-teal-soft: #ECE7FF;
	--brs-star: #B8F03A;
	--brs-gold: #B8F03A;
	--brs-lime: #B8F03A;
	--brs-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
	--brs-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--brs-gutter: clamp(16px, 4vw, 40px);
}

/* Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--brs-ink); font-family: var(--brs-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--brs-teal); }
a:hover { color: var(--brs-teal-dark); }
h1, h2, h3, h4 { line-height: 1.2; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--brs-teal); outline-offset: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .home-hero :focus-visible, .home-biz :focus-visible { outline-color: var(--brs-gold); }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 1000; background: #fff; color: var(--brs-ink); padding: 10px 14px; border-radius: 8px; }
.site-main { display: block; min-height: 50vh; }
.brs-wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--brs-gutter); padding-right: var(--brs-gutter); }

/* Header ----------------------------------------------------------- */
.site-header { background: var(--brs-ink); color: #F6F3FF; position: relative; z-index: 40; }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.site-logo, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; color: #F6F3FF; text-decoration: none; flex: 0 0 auto; }
.site-logo:hover { color: #fff; }
.site-logo img { display: block; height: 38px; width: auto; }
.custom-logo { max-height: 44px; width: auto; }
.site-header__search { flex: 1 1 240px; max-width: 380px; min-width: 0; }
.site-header__search .brs-search { margin: 0; padding: 4px 4px 4px 12px; border-radius: 12px; border-color: transparent; }
.site-header__search .brs-search input[type="search"] { font-size: 15px; padding: 7px 4px; }
.site-header__search .brs-btn { display: none; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.site-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.site-nav__menu a, .site-nav__link { white-space: nowrap; color: #F6F3FF; text-decoration: none; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.site-nav__menu a:hover, .site-nav__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-nav__actions { display: flex; align-items: center; gap: 18px; }
.site-nav__account .brs-avatar { background: var(--brs-lime); color: var(--brs-ink); }
.site-nav__cta { border-radius: 999px !important; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid #4A3A8E; border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 11px; right: 11px; height: 2px; background: #F6F3FF; border-radius: 2px; content: ""; transition: transform .2s, top .2s, opacity .2s; }
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { left: 0; right: 0; top: -7px; }
.nav-toggle__bars::after { left: 0; right: 0; top: 7px; }
.is-open .nav-toggle__bars { background: transparent; }
.is-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.is-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1140px) {
	.site-header__inner { flex-wrap: wrap; }
	.nav-toggle { display: inline-block; }
	.site-header__search { order: 3; flex: 1 1 100%; max-width: none; }
	.site-nav { display: none; order: 4; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; padding: 8px 0 12px; border-top: 1px solid #3A2A7A; }
	.is-open .site-nav { display: flex; }
	.site-nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__menu a { padding: 6px 0; }
	.site-nav__actions { flex-direction: column; align-items: stretch; gap: 6px; }
	.site-nav__cta { margin-top: 6px; }
}

/* Footer ----------------------------------------------------------- */
.site-footer { background: var(--brs-ink); color: #D6CFF5; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.site-footer__brand p { margin: 14px 0 0; font-size: 14px; line-height: 1.6; max-width: 320px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__col h2 { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #F6F3FF; font-family: var(--brs-sans); }
.site-footer a { color: #D6CFF5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__extra { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid #3A2A7A; font-size: 13px; color: #B3AAD9; }
.site-footer__legal { display: flex; gap: 18px; }
@media (max-width: 860px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

/* Homepage --------------------------------------------------------- */
.home-hero { position: relative; overflow: hidden; background: #F7F5FF; }
.home-hero__shape { position: absolute; display: block; pointer-events: none; }
.home-hero__shape--tr { width: 440px; height: 330px; right: -110px; top: -150px; }
.home-hero__shape--bl { width: 300px; height: 420px; left: -110px; bottom: -40px; }
.home-hero__shape--br { width: 430px; height: 230px; right: -40px; bottom: -70px; }
.home-hero__inner { position: relative; padding-top: 120px; padding-bottom: 128px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.home-hero .brs-eyebrow { margin: 0; color: var(--brs-teal); }
.home-hero__title { margin: 0; font-family: var(--brs-display); font-weight: 700; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -2px; max-width: 1000px; color: var(--brs-ink); }
.home-hero__lead { margin: 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--brs-body); max-width: 640px; }
.home-hero__search { width: 100%; max-width: 680px; margin-top: 14px; }
.home-hero__learn { margin: 0; font-size: 14px; color: var(--brs-body); }
.home-hero__learn a { font-weight: 600; }
@media (max-width: 760px) {
	.home-hero__shape--tr { width: 220px; height: 165px; right: -100px; top: -70px; }
	.home-hero__shape--bl { width: 150px; height: 210px; left: -80px; bottom: -30px; }
	.home-hero__shape--br { width: 220px; height: 118px; right: -60px; bottom: -40px; }
	.home-hero__inner { padding-top: 84px; padding-bottom: 96px; }
	.home-hero__title { letter-spacing: -1px; }
	.home-prompt__chip { font-size: 14px; padding: 10px 16px; }
	.home-prompt__chip span { display: inline-block; }
	.brs-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.brs-tile { padding: 14px; border-radius: 14px; }
	.brs-tile__logo { width: 60px; height: 60px; }
	.brs-tile__name { font-size: 15px; }
	.brs-tile__sub { font-size: 13px; }
}

.home-prompt { position: relative; display: flex; justify-content: center; }
.home-prompt::before { content: ""; position: absolute; left: var(--brs-gutter); right: var(--brs-gutter); top: 50%; height: 1px; background: var(--brs-line); }
.home-prompt__chip { position: relative; transform: translateY(-50%); background: #fff; border: 1px solid #DCD4F5; border-radius: 999px; padding: 12px 22px; font-size: 15px; color: var(--brs-ink); text-decoration: none; text-align: center; }
.home-prompt__chip span { color: var(--brs-teal); font-weight: 700; margin-left: 4px; }
.home-prompt__chip:hover { color: var(--brs-ink); border-color: var(--brs-teal); }

.home-section { padding-top: 56px; }
.home-section--first { padding-top: 32px; }
.home-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.home-h2 { margin: 0; font-family: var(--brs-display); font-size: clamp(24px, 2.6vw, 28px); letter-spacing: -0.6px; color: var(--brs-ink); }
.home-h2--center { text-align: center; font-size: clamp(28px, 3vw, 34px); }
.home-sub { margin: 8px auto 32px; text-align: center; font-size: 17px; color: var(--brs-muted); max-width: 560px; }
.home-section__tools { display: flex; align-items: center; gap: 10px; }
.home-pill { display: inline-flex; align-items: center; min-height: 40px; box-sizing: border-box; border: 1.5px solid var(--brs-teal); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--brs-teal); }
.home-pill:hover { background: var(--brs-teal); color: #fff; }
.home-arrow { width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--brs-teal); background: #fff; color: var(--brs-teal); font-size: 20px; line-height: 1; cursor: pointer; }
.home-arrow:hover { background: var(--brs-teal); color: #fff; }
.home-arrow:disabled { border-color: #DCD4F5; color: #B3AAD9; background: #F6F3FF; cursor: default; }

.home-cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(124px, 1fr); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.home-cats::-webkit-scrollbar { display: none; }
.home-cat { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 8px; border-radius: 16px; color: var(--brs-ink); text-decoration: none; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.3; }
.home-cat:hover { background: #F6F3FF; color: var(--brs-ink); }
.home-cat__icon { width: 60px; height: 60px; border-radius: 18px; background: #F1EDFF; color: var(--brs-teal); display: flex; align-items: center; justify-content: center; transition: background-color .15s, color .15s; }
.home-cat:hover .home-cat__icon { background: var(--brs-teal); color: #fff; }

.home-add-tile { border-style: dashed; border-color: #CFC6EE; background: #FBFAFF; }
.home-add-tile__plus { width: 76px; height: 76px; border-radius: 14px; background: #F1EDFF; color: var(--brs-teal); display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 300; margin-bottom: 10px; }

.home-growth { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: #EEFBD0; border-radius: 24px; padding: 36px 40px; }
.home-growth__text { max-width: 560px; }
.home-growth h2 { margin: 0 0 6px; font-family: var(--brs-display); font-size: 26px; letter-spacing: -0.5px; color: var(--brs-ink); }
.home-growth p { margin: 0; font-size: 17px; color: var(--brs-body); }
.home-growth__action { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; }
.home-btn-ink { display: inline-flex; align-items: center; min-height: 48px; box-sizing: border-box; background: var(--brs-ink); color: #fff; text-decoration: none; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.home-btn-ink:hover { background: #3A2A7A; color: #fff; }
@media (max-width: 640px) { .home-growth { padding: 28px 24px; } .home-growth__art { display: none; } }

.home-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.home-reviews .brs-review { border-radius: 18px; padding: 20px; }
.home-reviews .brs-review__head { border-bottom: 0; padding-bottom: 0; }
.home-reviews .brs-review__title { font-size: 16px; }
.home-reviews .brs-reply { display: none; }
.home-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; background: #F7F5FF; border-radius: 22px; padding: 28px 32px; }
.home-empty > div { flex: 1 1 320px; }
.home-empty h3 { margin: 0 0 6px; font-family: var(--brs-display); font-size: 20px; color: var(--brs-ink); }
.home-empty p { margin: 0; color: var(--brs-body); }

.home-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.home-step { background: #F7F5FF; border-radius: 22px; padding: 28px; }
.home-step h3 { margin: 16px 0 8px; font-size: 19px; color: var(--brs-ink); }
.home-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--brs-body); }

.home-trustband { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; background: var(--brs-ink); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 56px); padding-right: clamp(28px, 18vw, 260px); }
.home-trustband__art { position: absolute; right: -40px; top: -40px; width: 260px; height: 300px; }
.home-trustband__text { position: relative; max-width: 620px; }
.home-trustband h2 { margin: 0 0 12px; font-family: var(--brs-display); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -1px; line-height: 1.1; }
.home-trustband p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--brs-muted-on-dark, #D6CFF5); }
.home-btn-white { position: relative; display: inline-flex; align-items: center; min-height: 48px; box-sizing: border-box; background: #fff; color: var(--brs-ink); text-decoration: none; padding: 14px 24px; border-radius: 999px; font-weight: 700; }
.home-btn-white:hover { background: var(--brs-lime); color: var(--brs-ink); }
@media (max-width: 760px) { .home-trustband { padding-right: 28px; } .home-trustband__art { width: 130px; height: 150px; right: -30px; top: -30px; opacity: .5; } }

.home-section:last-of-type { padding-bottom: 8px; }
.home-bottom-ad { padding-bottom: 72px; }
.home-bottom-ad:empty { padding-bottom: 72px; }


/* Older homepage markup (kept so cached copies of the previous homepage still look right) */
.home-hero__popular { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 14px; }
.home-hero__popular span { color: var(--brs-muted); }
.home-hero__popular a { color: var(--brs-ink); }
.home-section__more { font-weight: 700; }
.home-section .brs-cat-grid .brs-cat-card { min-height: 128px; }
.home-section .brs-biz-grid { margin-top: 0; }
.home-trust { display: flex; flex-wrap: wrap; gap: 40px; padding: clamp(26px, 4vw, 56px); }
.home-trust__intro { flex: 1 1 300px; }
.home-trust__intro p { font-size: 17px; color: var(--brs-body); }
.home-trust__grid { flex: 2 1 460px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 26px; }
.home-trust__grid .brs-icon { color: var(--brs-teal); }
.home-trust__grid h3 { margin: 8px 0 6px; font-size: 17px; }
.home-trust__grid p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--brs-muted); }
.home-biz { background: var(--brs-teal); color: #fff; margin-top: 72px; }
.home-biz__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.home-biz__text { flex: 1 1 480px; }
.home-biz .brs-eyebrow { color: var(--brs-gold); }
.home-biz h2 { margin: 0 0 14px; font-family: var(--brs-display); font-size: clamp(30px, 4vw, 46px); letter-spacing: -1px; line-height: 1.08; }
.home-biz p { margin: 0; font-size: 17px; line-height: 1.6; color: #E7E1FF; max-width: 640px; }
.home-section__head .brs-h2 { margin: 0; }

/* Blog ------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.post-card { background: #fff; border: 1px solid var(--brs-line); border-radius: 14px; overflow: hidden; }
.post-card__link { display: flex; flex-direction: column; height: 100%; color: var(--brs-ink); text-decoration: none; }
.post-card__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.post-card__cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #3D2C8D; }
.post-card__title { margin: 0; font-size: 19px; line-height: 1.3; font-family: var(--brs-display); letter-spacing: -0.3px; }
.post-card__link:hover .post-card__title { text-decoration: underline; }
.post-card__excerpt { font-size: 15px; color: var(--brs-muted); line-height: 1.55; }
.post-card__meta { margin-top: auto; font-size: 13px; color: var(--brs-muted); }
.entry-header { background: #fff; border-bottom: 1px solid var(--brs-line); padding: 44px 0 36px; }
.entry-title { margin: 0; font-family: var(--brs-display); font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -1.4px; }
.entry-lead { margin: 14px 0 0; font-size: 19px; line-height: 1.55; color: var(--brs-body); }
.entry-meta { margin: 16px 0 0; font-size: 14px; color: var(--brs-muted); }
.entry-hero-img { margin-top: 28px; }
.entry-hero-img img { display: block; width: 100%; border-radius: 16px; }
.entry-content { font-size: 18px; line-height: 1.75; color: var(--brs-body); padding: 28px 0 8px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-family: var(--brs-display); font-size: 30px; letter-spacing: -0.6px; color: var(--brs-ink); margin: 40px 0 12px; }
.entry-content h3 { font-size: 22px; color: var(--brs-ink); margin: 32px 0 10px; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 20px; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brs-star); font-size: 20px; color: var(--brs-ink); }
.entry-content img { border-radius: 12px; }
.entry-content figure { margin: 28px 0; }
.entry-content figcaption { font-size: 14px; color: var(--brs-muted); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--brs-line); padding: 10px 12px; text-align: left; }
.entry-content .brs-lead { font-size: 20px; color: var(--brs-ink); }
.entry-content .brs-form { font-size: 16px; line-height: 1.5; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin: 32px 0 56px; padding: 20px; background: #fff; border: 1px solid var(--brs-line); border-radius: 14px; }
.author-box__img { border-radius: 999px; }
.author-box p { margin: 0 0 6px; font-size: 15px; color: var(--brs-body); }
.author-box__name { font-weight: 700; color: var(--brs-ink) !important; }

/* WordPress core bits --------------------------------------------- */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.wp-block-button__link { background: var(--brs-teal); color: #fff; border-radius: 12px; padding: 12px 20px; text-decoration: none; font-weight: 700; }
.brs-pages .nav-links { display: flex; flex-wrap: wrap; justify-content: center; }
