/**
 * CoinGape-style site footer.
 * Layout/spacing handled by Bootstrap utilities; this file holds visuals only.
 */

.sn-footer {
	background: var(--snf-bg);
	color: var(--snf-text);
	line-height: 1.5;
	width: 100%;
}

.sn-footer input,
.sn-footer button,
.sn-footer a {
	font-family: inherit;
}

/* Bootstrap container width tuned to the design */
.sn-footer .container-xxl {
	max-width: var(--snf-max);
	padding-left: 24px;
	padding-right: 24px;
}

/* Brand column */
.sn-footer__brand-col {
	display: flex;
	flex-direction: column;
	gap: 28px;
	justify-content: space-between;
}

.sn-footer__brand-main {
	display: flex;
	flex-direction: column;
}

.sn-footer__brand-follow {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: 8px;
}

.sn-footer__logo {
	gap: 12px;
	text-decoration: none;
}

.sn-footer__logo--image {
	gap: 0;
}

.sn-footer__logo-img {
	display: block;
	width: auto;
	max-width: 220px;
	height: 44px;
	object-fit: contain;
}

.sn-footer__logo-text {
	font-size: 30px;
	font-weight: 700;
	color: var(--snf-title);
	letter-spacing: -0.02em;
}

.sn-footer__lang-links {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.sn-footer__lang-links a {
	color: var(--snf-text);
	text-decoration: none;
	font-size: 14px;
}

.sn-footer__lang-links a:hover {
	color: var(--snf-link-hover);
}

.sn-footer__newsletter-title {
	color: var(--snf-heading);
	font-size: 22px;
	font-weight: 700;
}

.sn-footer__newsletter-text {
	font-size: 14px;
	color: var(--snf-text);
}

.sn-footer__newsletter {
	max-width: 100%;
	border: 1px solid var(--snf-border);
	border-radius: 36px;
	overflow: hidden;
}

.sn-footer__newsletter-input {
	min-width: 0;
	background: transparent;
	border: none;
	color: var(--snf-text);
	font-size: 14px;
	padding: 12px 14px;
	outline: none;
}

.sn-footer__newsletter-input::placeholder {
	color: var(--snf-muted);
}

.sn-footer__newsletter-btn {
	gap: 6px;
	background: var(--snf-brand);
	color: var(--snf-on-accent);
	border: none;
	font-size: 13px;
	font-weight: 700;
	padding: 0 18px;
	cursor: pointer;
	letter-spacing: 0.03em;
	transition: background 0.2s;
	border-radius: 36px;
}

.sn-footer__newsletter-btn:hover {
	background: var(--snf-brand-hover);
}

/* Follow us — CoinGape-style divider + icon row */
.sn-footer__follow {
	position: relative;
	width: 100%;
	margin: 0 0 22px;
	padding: 0 72px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--snf-title);
	text-align: center;
	letter-spacing: 0.01em;
}

.sn-footer__follow::before,
.sn-footer__follow::after {
	content: "";
	position: absolute;
	top: 50%;
	width: calc(50% - 58px);
	height: 1px;
	background: var(--snf-border);
	transform: translateY(-50%);
}

.sn-footer__follow::before {
	left: 0;
}

.sn-footer__follow::after {
	right: 0;
}

.sn-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 340px;
	margin: 0 auto 24px;
}

.sn-footer__social a,
.sn-footer__social .sn-footer__social-link {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--snf-footer-social-bg);
	border: 1px solid var(--snf-footer-social-border);
	color: var(--snf-footer-social-icon);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sn-footer__social a .sn-social-svg,
.sn-footer__social .sn-footer__social-link .sn-social-svg {
	display: block;
	width: 18px;
	height: 18px;
}

.sn-footer__social a:hover,
.sn-footer__social .sn-footer__social-link:hover {
	background: var(--snf-footer-social-bg-hover);
	border-color: rgba(255, 255, 255, 0.14);
	color: var(--snf-white);
	transform: translateY(-1px);
}

.sn-footer__advertise {
	background: #be206b;
    color: var(--white);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	padding: 14px;
	border-radius: 8px;
	letter-spacing: 0.03em;
	transition: opacity 0.2s;
	width: 100%;
	outline: 0;
}

.sn-footer__advertise:hover {
	opacity: 0.9;
	color: var(--white);
	outline: none;
}

/* Link columns */
.sn-footer__heading {
	color: var(--snf-heading);
	font-size: 17px;
	font-weight: 700;
}

.sn-footer__col li {
    margin-bottom: 6px;
    display: flex;
}

.sn-footer__col a {
	color: var(--snf-text);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s;
	font-weight: 500;
}

.sn-footer__col a:hover {
	color: var(--snf-blue);
}

/* Our brands */
.sn-footer__brands {
	gap: 32px;
	background: var(--snf-heading);
    border: 1px solid var(--snf-border);
	border-radius: 14px;
}

.sn-footer__brands-label {
	font-size: 26px;
	font-weight: 700;
	color: var(--snf-title);
	flex-shrink: 0;
}

.sn-footer__brands-list {
	gap: 12px;
}

.sn-footer__brand {
	color: var(--snf-text);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.sn-footer__brand small {
	font-size: 11px;
	color: var(--snf-muted);
}

.sn-footer__brand--serif {
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0.08em;
}

.sn-footer__brand--bold {
	font-weight: 800;
	font-size: 22px;
}

.sn-footer__brand i {
	color: var(--snf-heading);
}

.sn-footer__brand-img {
	display: block;
	max-height: 32px;
	width: auto;
}

.sn-footer__brand-link {
	color: inherit;
	text-decoration: none;
}

.sn-footer__brand-link:hover {
	opacity: 0.85;
}

/* Bottom */
.sn-footer__bottom {
	
}

.sn-footer__disclosure {
	font-size: 12px;
	color: var(--snf-muted);
	line-height: 1.7;
	font-weight: 500;
}

.sn-footer__disclosure strong {
	color: var(--snf-muted);
}

.sn-footer__disclosure a {
	color: var(--snf-blue);
	text-decoration: none;
}

.sn-footer__disclosure a:hover {
	text-decoration: underline;
}

.sn-footer__stats {
	gap: 16px 32px;
}

.sn-footer__stat {
	gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--snf-text);
    border-radius: 5px;
    overflow: hidden;
}

.sn-footer__stat-icon {
	display: inline-flex;
	flex-shrink: 0;
}

.sn-footer__stat-img {
	display: block;
	width: auto;
	max-width: 160px;
	height: 24px;
	object-fit: contain;
	flex-shrink: 0;
}

.sn-footer__stat--image-only .sn-footer__stat-img {
	max-width: 220px;
	height: auto;
	max-height: 40px;
	border-radius: 11px;
}

.sn-footer__copyright {
	font-size: 13px;
	color: var(--snf-muted);
}

/* Light theme */
html.sn-theme-light .sn-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}


html.sn-theme-light .sn-footer__social a,
html.sn-theme-light .sn-footer__social .sn-footer__social-link {
	background: var(--snf-footer-social-bg);
	border-color: var(--snf-footer-social-border);
	color: var(--snf-footer-social-icon);
}

html.sn-theme-light .sn-footer__social a:hover,
html.sn-theme-light .sn-footer__social .sn-footer__social-link:hover {
	background: var(--snf-footer-social-bg-hover);
	color: var(--snf-brand);
	border-color: rgba(159, 25, 89, 0.28);
	transform: translateY(-1px);
}

html.sn-theme-light .sn-footer__disclosure strong {
	color: var(--snf-muted);
}

/* Responsive */
@media (max-width: 991px) {
	.sn-footer__brands {
		gap: 24px;
	}

	.sn-footer__brands-list {
		gap: 24px;
		justify-content: flex-start !important;
	}
}

@media (max-width: 600px) {
	.sn-footer__brand {
		font-size: 16px;
	}

	.sn-footer__brands-label {
		font-size: 22px;
	}
}

/* Reset block-theme wrapper spacing around custom footer */
.wp-site-blocks > .wp-block-template-part:has(.sn-footer),
.wp-block-template-part[data-area="footer"],
.wp-block-template-part:has(.sn-footer),
.wp-block-template-part:has(.sn-footer) > *,
.wp-block-html:has(.sn-footer),
.wp-block-satoshinama-site-footer,
.wp-block-satoshinama-site-footer > * {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.wp-site-blocks > .wp-block-template-part:has(.sn-footer) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.wp-block-satoshinama-site-footer .sn-footer {
	display: block;
	width: 100%;
	background: var(--snf-bg);
}

/* Consistent top divider before footer on all pages */
.sn-footer__top hr {
	border: 0;
	border-top: 1px solid var(--snf-border);
	opacity: 1;
	margin: 0;
}

.sn-footer__brands-wrap hr {
	border: 0;
	border-top: 1px solid var(--snf-border);
	opacity: 1;
	margin: 0;
}

