/* GS Site Design – policy pages (Refund Policy). Builds on home.css + plugins.css. */
.gsh-inner .content > .gsh { flex: 0 0 100%; width: 100%; max-width: 100%; }
.gsh-legalpage .site-header .entry-header, .gsh-legalpage .site-header .breadcrumb, .gsh-legalpage .post-edit-link { display: none !important; }

.gsh-lhero { padding-bottom: 140px; }
.gsh-lhero .gsh-dir-hero__stats { list-style: none; padding: 0; }
.gsh-lhero .gsh-dir-hero__stats .gsh-i { width: 16px; height: 16px; color: var(--mint); }

.gsh-lbody { display: flow-root; padding: 0 0 120px; background: var(--soft); }
.gsh-lbody > .gsh-wrap { max-width: 1040px; }
.gsh-legal { position: relative; z-index: 2; margin-top: -88px; }

/* Generic content (other policy pages) */
.gsh-legal:not(.gsh-legal--refund) { padding: 44px 48px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -40px rgba(15, 26, 51, .45); color: #3d4759; font-size: 17px; line-height: 1.8; }
.gsh .gsh-legal h2, .gsh .gsh-legal h3 { margin: 1.6em 0 .6em; text-align: left; }
.gsh .gsh-legal h2:first-child, .gsh .gsh-legal h3:first-child { margin-top: 0; }
.gsh .gsh-legal p { margin: 0 0 1.1em; }
.gsh .gsh-legal a { color: var(--mint-ink) !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- Refund policy markup (theme's Bootstrap rows/cards) ---------- */
.gsh-legal--refund .refund-policy { display: grid; gap: 22px; }
.gsh-legal--refund .row { display: contents; }
.gsh-legal--refund p:empty { display: none !important; }
.gsh-legal--refund [class*="col-"] { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; flex: none !important; }
.gsh .gsh-legal--refund .wp-block-paragraph, .gsh .gsh-legal--refund p { margin: 0; }

/* Intro sentence → mint banner */
.gsh-legal--refund .refund-policy > .row:first-child > div {
	position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 !important; padding: 22px 28px 22px 84px; border: 1px solid var(--mint-line); border-radius: 22px;
	background: linear-gradient(120deg, #effbf5, #f4f8ff); box-shadow: 0 30px 60px -40px rgba(15, 26, 51, .45); text-align: left !important;
}
.gsh-legal--refund .refund-policy > .row:first-child > div::before {
	content: ""; position: absolute; left: 24px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 14px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l7.5 3v6c0 4.6-3.2 8.1-7.5 9.4-4.3-1.3-7.5-4.8-7.5-9.4v-6z' fill='none' stroke='%2306291c' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='M8.5 12.2l2.5 2.5 4.5-5' fill='none' stroke='%2306291c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.gsh .gsh-legal--refund .refund-policy > .row:first-child p { color: var(--ink); font-family: var(--head); font-size: 18px; font-weight: 700; line-height: 1.5; }
.gsh-legal--refund .refund-policy > .row:first-child br { display: none; }

/* The two cards side by side */
.gsh-legal--refund .refund-policy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gsh-legal--refund .refund-policy > .row:first-child > div, .gsh-legal--refund .refund-policy > .row:nth-child(n+3) > div { grid-column: 1 / -1; }
.gsh-legal--refund .box-shadow { height: 100%; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(15, 26, 51, .04), 0 18px 40px -30px rgba(15, 26, 51, .4) !important; }
.gsh-legal--refund .card-body { padding: 28px 30px 30px !important; }
.gsh .gsh-legal--refund h4 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px !important; color: var(--ink); font-family: var(--head); font-size: 20px; font-weight: 800; letter-spacing: -.01em; text-align: left; }
.gsh .gsh-legal--refund h4::before { content: ""; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%2311734b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.gsh .gsh-legal--refund .refund-policy > .row:nth-child(2) > div:nth-child(2) h4::before { background-color: #fdeeee; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23d93b3b' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.gsh .gsh-legal--refund .notes h4::before { background-color: #fff4e0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8v5m0 3.5v.5' fill='none' stroke='%23b45309' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23b45309' stroke-width='2'/%3E%3C/svg%3E"); }

/* Lists */
.gsh .gsh-legal--refund .list-group { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; border: 0; }
.gsh .gsh-legal--refund .list-group-item {
	position: relative; margin: 0; padding: 12px 14px 12px 46px; border: 0 !important; border-radius: 12px; background: var(--soft); color: #3d4759; font-size: 15.5px; line-height: 1.6;
}
.gsh-legal--refund .list-group-item > span[class^="gs-"] { display: none; }
.gsh .gsh-legal--refund .list-group-item::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l3.8 3.8L18 8' fill='none' stroke='%2306291c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.gsh .gsh-legal--refund .refund-policy > .row:nth-child(2) > div:nth-child(2) .list-group-item::before { background-color: #f25c5c; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Important considerations */
.gsh-legal--refund .notes { border-color: #f6dfb4 !important; background: linear-gradient(180deg, #fffaf0, #fff) !important; }
.gsh .gsh-legal--refund .notes .list-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gsh .gsh-legal--refund .notes .list-group-item { background: #fff5e3; color: #5b4a2a; font-weight: 600; }
.gsh .gsh-legal--refund .notes .list-group-item::before { background-color: #f5b335; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v6m0 3.5v.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.gsh .gsh-legal--refund .more-note { margin-top: 18px; padding-top: 18px; border-top: 1px dashed #ecd9b3; color: #3d4759; font-size: 15.5px; line-height: 1.7; }
.gsh .gsh-legal--refund .more-note a { color: var(--mint-ink) !important; font-weight: 800; text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- Help box ---------- */
.gsh-lhelp {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; margin-top: 28px; padding: 32px 36px; border-radius: 24px;
	background: radial-gradient(420px 260px at 100% 0%, rgba(79, 224, 165, .22), transparent 70%), linear-gradient(140deg, #172447 0%, var(--navy) 70%); color: #b9c2d6;
}
.gsh-lhelp__copy { display: flex; flex: 1 1 420px; align-items: flex-start; gap: 18px; }
.gsh-lhelp__icon { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--navy); }
.gsh-lhelp__icon .gsh-i { width: 24px; height: 24px; }
.gsh .gsh-lhelp h2 { color: #fff; font-size: 22px; text-align: left; }
.gsh .gsh-lhelp p { margin-top: 8px; color: #b9c2d6; font-size: 15.5px; line-height: 1.65; }
.gsh-lhelp__btns { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 780px) {
	.gsh-legal--refund .refund-policy, .gsh .gsh-legal--refund .notes .list-group { grid-template-columns: 1fr; }
	.gsh-legal--refund .card-body { padding: 22px !important; }
	.gsh-legal--refund .refund-policy > .row:first-child > div { padding: 18px 18px 18px 74px; }
	.gsh-legal--refund .refund-policy > .row:first-child > div::before { left: 18px; }
	.gsh-legal:not(.gsh-legal--refund) { padding: 26px 22px; }
	.gsh-lhelp { padding: 26px 22px; }
	.gsh-lbody { padding-bottom: 72px; }
}
.gsh-legal--refund .box-shadow { margin: 0 !important; padding: 0 !important; }
.gsh-legal--refund .refund-policy > .row > div { margin: 0 !important; }
.gsh .gsh-legal--refund .list-group-item { width: auto; }

/* ---------- Long policies (Privacy Policy): contents + white card ---------- */
.gsh-legalpage .gsh-lbody > .gsh-wrap { max-width: 1200px; }
.gsh-legalpage .gsh-lbody > .gsh-wrap > .gsh-legal--refund, .gsh-legalpage .gsh-lbody > .gsh-wrap > .gsh-lhelp { max-width: 992px; margin-left: auto; margin-right: auto; }
.gsh-llayout { position: relative; z-index: 2; display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; gap: 36px; margin-top: -88px; }
.gsh-llayout .gsh-legal { margin-top: 0; }
.gsh-llayout + .gsh-lhelp { margin-left: 306px; }
.gsh-ltoc { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 24px); }
.gsh-ltoc .gsh-toc { max-height: calc(100vh - 60px); overflow-y: auto; padding: 22px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -40px rgba(15, 26, 51, .45); scrollbar-width: thin; }
.gsh .gsh-ltoc .gsh-toc__title { margin-bottom: 10px; color: var(--ink); font-family: var(--head); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gsh .gsh-ltoc ol { margin: 0; padding: 0; list-style: none; counter-reset: ltoc; }
.gsh .gsh-ltoc li { margin: 0; counter-increment: ltoc; }
.gsh .gsh-ltoc a { position: relative; display: block; padding: 7px 10px 7px 34px; border-radius: 9px; color: var(--text) !important; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background-color .15s ease, color .15s ease; }
.gsh .gsh-ltoc a::before { content: counter(ltoc, decimal-leading-zero); position: absolute; left: 9px; top: 8px; color: #a5adbd; font-size: 11.5px; font-weight: 800; }
.gsh .gsh-ltoc a:hover { background: var(--mint-soft); color: var(--mint-ink) !important; }

/* Privacy policy markup */
.gsh-legal .privacy-header, .gsh-legal .privacy-divider { display: none !important; }
.gsh .gsh-legal--doc { padding: 44px 52px; font-size: 16.5px; }
.gsh .gsh-legal--doc .privacy-lead { margin: 0 0 8px; padding: 0 0 26px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; line-height: 1.75; }
.gsh-legal--doc .privacy-policy-container { counter-reset: psec; }
.gsh .gsh-legal--doc .privacy-section { margin: 0; padding: 30px 0 4px; border: 0; border-bottom: 1px solid var(--line); background: none; counter-increment: psec; }
.gsh .gsh-legal--doc .privacy-section:last-child { border-bottom: 0; }
.gsh .gsh-legal--doc h2 { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; color: var(--ink); font-size: 22px; line-height: 1.3; scroll-margin-top: 90px; }
.gsh .gsh-legal--doc h2::before { content: counter(psec, decimal-leading-zero); flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -2px; border-radius: 10px; background: var(--mint-soft); color: var(--mint-ink); font-size: 13px; font-weight: 800; }
.gsh .gsh-legal--doc h3 { margin: 18px 0 8px; font-size: 18px; }
.gsh .gsh-legal--doc p { color: #3d4759; }
.gsh .gsh-legal--doc ul { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.gsh .gsh-legal--doc li { position: relative; margin: 0; padding: 0 0 0 26px; color: #3d4759; line-height: 1.7; }
.gsh .gsh-legal--doc li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.gsh .gsh-legal--doc li::marker { content: none; }
.gsh .gsh-legal--doc strong, .gsh .gsh-legal--doc b { color: var(--ink); }
.gsh .gsh-legal--doc .highlight-box { margin: 26px 0 0; padding: 26px 28px 10px; border: 1px solid var(--mint-line) !important; border-left: 4px solid var(--mint) !important; border-radius: 0 18px 18px 0; background: linear-gradient(120deg, #effbf5, #f6f9ff) !important; }
.gsh .gsh-legal--doc .highlight-box + .privacy-section { border-top: 0; }
.gsh .gsh-legal--doc .privacy-contact { margin-top: 26px; padding: 26px 28px 12px; border: 1px solid var(--line) !important; border-radius: 18px; background: var(--soft) !important; }

@media (max-width: 960px) {
	.gsh-llayout { grid-template-columns: 1fr; }
	.gsh-ltoc { display: none; }
	.gsh-llayout + .gsh-lhelp { margin-left: 0; }
}
@media (max-width: 680px) {
	.gsh .gsh-legal--doc { padding: 26px 20px; }
	.gsh .gsh-legal--doc h2 { font-size: 19px; }
	.gsh .gsh-legal--doc .highlight-box, .gsh .gsh-legal--doc .privacy-contact { padding: 20px 18px 6px; }
}
.gsh-legalpage .gsh-lbody > .gsh-wrap > .gsh-llayout + .gsh-lhelp { max-width: none; margin-left: 306px; margin-right: 0; }
@media (max-width: 960px) { .gsh-legalpage .gsh-lbody > .gsh-wrap > .gsh-llayout + .gsh-lhelp { margin-left: 0; } }

/* Lead: one line under the intro paragraphs, not between them */
.gsh .gsh-legal--doc .privacy-lead { margin-bottom: 14px; padding-bottom: 0; border-bottom: 0; }
.gsh .gsh-legal--doc .privacy-policy-container > .privacy-section:first-of-type { margin-top: 22px; border-top: 1px solid var(--line); }

/* ---------- GDPR page ---------- */
.gsh .gsh-legal--gdpr { counter-reset: psec; }
.gsh .gsh-legal--gdpr h2 { counter-increment: psec; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.gsh .gsh-legal--gdpr > p:first-child { color: var(--ink); font-size: 18px; line-height: 1.75; }
/* "We will be referring to the following" → checklist cards */
.gsh .gsh-legal--gdpr > ul:first-of-type { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 8px; }
.gsh .gsh-legal--gdpr > ul:first-of-type li { padding: 13px 14px 13px 46px; border: 1px solid var(--mint-line); border-radius: 14px; background: linear-gradient(120deg, #effbf5, #f8fbff); color: var(--ink); font-weight: 600; line-height: 1.45; }
.gsh .gsh-legal--gdpr > ul:first-of-type li::before { left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; box-shadow: none; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l3.8 3.8L18 8' fill='none' stroke='%2306291c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
/* Other lists: soft cards */
.gsh .gsh-legal--gdpr > ul:not(:first-of-type) li { padding: 14px 16px 14px 44px; border-radius: 14px; background: var(--soft); }
.gsh .gsh-legal--gdpr > ul:not(:first-of-type) li::before { left: 18px; top: 1.45em; }
@media (max-width: 680px) { .gsh .gsh-legal--gdpr > ul:first-of-type { grid-template-columns: 1fr; } }

/* Copyright page: three summary cards above the text. */
.gsh-lsum { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: -88px 0 28px; }
.gsh-lsum + .gsh-llayout, .gsh-lsum + .gsh-legal { margin-top: 0; }
.gsh-lsum__card { padding: 24px 24px 22px; border: 1px solid var(--line); border-top: 3px solid var(--sc); border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -38px rgba(15, 26, 51, .5); }
.gsh-lsum__ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: color-mix(in srgb, var(--sc) 12%, #fff); color: var(--sc); }
.gsh-lsum__ico svg { width: 20px; height: 20px; }
.gsh .gsh-lsum__card h3 { margin: 0 0 6px; color: var(--ink); font-size: 17px; }
.gsh .gsh-lsum__card p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 860px) { .gsh-lsum { grid-template-columns: 1fr; } }
.gsh .gsh-legal--copyright-information { counter-reset: psec; }
.gsh .gsh-legal--copyright-information h2 { counter-increment: psec; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.gsh .gsh-legal--copyright-information h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
