/* GS Site Design – Affiliate terms page. Builds on home.css, plugins.css, blog.css and legal.css. */
.gsh-afftermspage .site-header .entry-header, .gsh-afftermspage .breadcrumb, .gsh-afftermspage .post-edit-link { display: none !important; }
.gsh-athero { padding-bottom: 150px; }
.gsh-athero .gsh-crumbs a { color: #b9c2d6; }

/* Key facts, overlapping the hero */
.gsh-atfacts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -96px; }
.gsh-atfact { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -40px rgba(15, 26, 51, .45); }
.gsh-atfact__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.gsh-atfact__icon .gsh-i { width: 22px; height: 22px; }
.gsh .gsh-atfact strong { color: var(--ink); font-family: var(--head); font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.gsh .gsh-atfact > span:last-child { color: var(--text); font-size: 14.5px; line-height: 1.5; }

/* You can / Not allowed */
.gsh-atrules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 44px; }
.gsh-atrule { padding: 26px 28px; border: 1px solid var(--mint-line); border-radius: 22px; background: linear-gradient(160deg, #effbf5, #fff 70%); }
.gsh-atrule--dont { border-color: #f6d0d0; background: linear-gradient(160deg, #fff3f3, #fff 70%); }
.gsh .gsh-atrule h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--ink); font-size: 19px; text-align: left; }
.gsh-atrule h2 > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--mint); color: var(--navy); }
.gsh-atrule--dont h2 > span { background: #f25c5c; color: #fff; }
.gsh .gsh-atrule ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gsh .gsh-atrule li { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: #3d4759; font-size: 15.5px; line-height: 1.5; }
.gsh-atrule li svg { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-ink); }
.gsh-atrule--dont li svg { padding: 5px; background: #fde4e4; color: #d93b3b; }
.gsh .gsh-atrule p { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed #f0c9c9; color: #8a4b4b; font-size: 14px; line-height: 1.55; }

/* Layout: contents + topic cards */
.gsh-atlayout { margin-top: 0; }
.gsh .gsh-attoc a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gsh .gsh-attoc a small { flex: none; min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--soft); color: #8a93a6; font-size: 11.5px; font-weight: 800; text-align: center; }
.gsh .gsh-attoc a.is-on { background: var(--mint-soft); color: var(--mint-ink) !important; }
.gsh .gsh-attoc a.is-on small { background: #fff; color: var(--mint-ink); }

.gsh-atgroups { display: grid; gap: 22px; min-width: 0; }
.gsh-atgroup { padding: 34px 40px 18px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -44px rgba(15, 26, 51, .45); scroll-margin-top: 90px; }
.gsh .gsh-atgroup__title { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; color: var(--ink); font-size: 23px; text-align: left; }
.gsh-atgroup__icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint-soft); color: var(--mint-ink); }
.gsh-atgroup__icon .gsh-i { width: 21px; height: 21px; }
.gsh-atgroup--rules .gsh-atgroup__icon, .gsh-atgroup--legal .gsh-atgroup__icon { background: #fff1e0; color: #b45309; }
.gsh-atgroup--pay .gsh-atgroup__icon { background: #eef0ff; color: #4f46e5; }

.gsh-atq { padding: 22px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.gsh-atgroup__title + .gsh-atq { margin-top: 14px; }
.gsh .gsh-atq h3 { margin: 0 0 10px; color: var(--ink); font-size: 18px; line-height: 1.4; text-align: left; }
.gsh .gsh-atq__a { color: #3d4759; font-size: 16px; line-height: 1.8; }
.gsh .gsh-atq__a p { margin: 0 0 14px; }
.gsh .gsh-atq__a a { color: var(--mint-ink) !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.gsh .gsh-atq__a strong, .gsh .gsh-atq__a b { color: var(--ink); }
.gsh .gsh-atq__a ul { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; border: 0; }
.gsh .gsh-atq__a li { position: relative; margin: 0; padding: 12px 14px 12px 46px; border: 0; border-radius: 12px; background: var(--soft); line-height: 1.6; }
.gsh .gsh-atq__a li::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-atgroup--legal .gsh-atq__a li { background: #fff6f6; }
.gsh .gsh-atgroup--legal .gsh-atq__a li::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"); }

.gsh-afftermspage .gsh-lbody > .gsh-wrap > .gsh-llayout + .gsh-athelp { max-width: none; margin-left: 306px; margin-right: 0; }

@media (max-width: 1080px) {
	.gsh-atfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.gsh-afftermspage .gsh-lbody > .gsh-wrap > .gsh-llayout + .gsh-athelp { margin-left: 0; }
}
@media (max-width: 780px) {
	.gsh-atrules { grid-template-columns: 1fr; margin-bottom: 28px; }
	.gsh-atgroup { padding: 26px 20px 10px; border-radius: 20px; }
	.gsh .gsh-atgroup__title { font-size: 20px; }
}
@media (max-width: 520px) {
	.gsh-atfacts { gap: 10px; }
	.gsh-atfact { padding: 16px; border-radius: 18px; }
	.gsh .gsh-atfact strong { font-size: 24px; }
	.gsh .gsh-atfact > span:last-child { font-size: 13.5px; }
	.gsh-atrule { padding: 22px 18px; }
}
