/* TG Footer Suite – frontend styles. Widget-specific Elementor controls override these defaults. */

.tgfs-nav,
.tgfs-legal,
.tgfs-newsletter,
.tgfs-social,
.tgfs-bottom {
	box-sizing: border-box;
	min-width: 0;
}

.tgfs-nav *,
.tgfs-legal *,
.tgfs-newsletter *,
.tgfs-social *,
.tgfs-bottom * {
	box-sizing: border-box;
}

.tgfs-nav__heading,
.tgfs-legal__heading,
.tgfs-social__heading,
.tgfs-newsletter__title {
	margin: 0 0 14px;
}

.tgfs-nav__list,
.tgfs-nav__sub-menu,
.tgfs-bottom__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tgfs-nav__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px 24px;
}

.tgfs-nav__list .sub-menu {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 8px 0 0;
	padding: 0 0 0 14px;
}

.tgfs-nav a,
.tgfs-legal a,
.tgfs-social a,
.tgfs-bottom a {
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tgfs-nav__manual-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tgfs-nav__icon,
.tgfs-social__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.tgfs-nav__icon svg,
.tgfs-social__icon svg {
	display: block;
	width: 1em;
	height: 1em;
}

.tgfs-legal__list {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 16px;
}

.tgfs-legal__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.tgfs-legal__item--highlight {
	background: #2b2b2b;
	border: 2px solid #b7b7b7;
	border-radius: 999px;
	color: #cfcfcf;
	padding: 4px 10px;
}

.tgfs-legal__item--highlight:hover,
.tgfs-legal__item--highlight:focus-visible,
.tgfs-legal__item--highlight:focus-within {
	background: #3a3a3a;
	border-color: #e0e0e0;
	color: #f2f2f2;
}

.tgfs-legal__item--highlight > a,
.tgfs-legal__item--highlight .button,
.tgfs-legal__item--highlight button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit !important;
	height: auto !important;
	line-height: inherit !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	position: static !important;
	transform: none !important;
	vertical-align: middle !important;
}

.tgfs-legal__item--highlight > p,
.tgfs-legal__item--highlight > form,
.tgfs-legal__item--highlight > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: inherit;
	margin: 0 !important;
}

.tgfs-newsletter__eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.2;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.tgfs-newsletter__description > :first-child,
.tgfs-newsletter__privacy > :first-child {
	margin-top: 0;
}

.tgfs-newsletter__description > :last-child,
.tgfs-newsletter__privacy > :last-child {
	margin-bottom: 0;
}

.tgfs-newsletter__form {
	margin-top: 18px;
}

.tgfs-newsletter__privacy {
	font-size: 0.78rem;
	line-height: 1.5;
	margin-top: 12px;
}

.tgfs-newsletter input:not([type="checkbox"]):not([type="radio"]),
.tgfs-newsletter select,
.tgfs-newsletter textarea,
.tgfs-newsletter button,
.tgfs-newsletter input[type="submit"] {
	max-width: 100%;
}

.tgfs-social__list {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 10px;
}

.tgfs-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
}

.tgfs-social__link:hover {
	transform: translateY(-1px);
}

.tgfs-bottom {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.tgfs-bottom__copyright {
	min-width: 0;
}

.tgfs-bottom__links {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 14px;
}

.tgfs-editor-note {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 10px;
	border: 1px dashed currentColor;
	border-radius: 4px;
	font-size: 12px;
	opacity: 0.75;
}

.tgfs-nav a:focus-visible,
.tgfs-legal a:focus-visible,
.tgfs-social a:focus-visible,
.tgfs-bottom a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.tgfs-legal__list,
	.tgfs-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.tgfs-legal__item,
	.tgfs-legal__item--highlight {
		width: fit-content;
	}
}

/* Complete TG Footer Layout / Wrapper widget. */
.tgfs-layout {
	--tgfs-bg: #161616;
	--tgfs-text: #cfcfcf;
	--tgfs-heading: #f4f4f4;
	--tgfs-muted: #a9a9a9;
	--tgfs-accent: #e75925;
	--tgfs-line: rgba(255, 255, 255, 0.14);
	background: var(--tgfs-bg);
	color: var(--tgfs-text);
	width: 100%;
}

.tgfs-layout--light {
	--tgfs-bg: #f4f4f2;
	--tgfs-text: #363636;
	--tgfs-heading: #111111;
	--tgfs-muted: #666666;
	--tgfs-accent: #e75925;
	--tgfs-line: rgba(17, 17, 17, 0.16);
}

.tgfs-layout,
.tgfs-layout * {
	box-sizing: border-box;
}

.tgfs-layout__inner {
	margin: 0 auto;
	width: 100%;
}

.tgfs-layout a {
	color: inherit;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tgfs-layout a:hover,
.tgfs-layout a:focus-visible {
	color: var(--tgfs-accent);
}

.tgfs-layout a:focus-visible,
.tgfs-layout button:focus-visible,
.tgfs-layout input:focus-visible,
.tgfs-layout select:focus-visible,
.tgfs-layout textarea:focus-visible {
	outline: 2px solid var(--tgfs-accent);
	outline-offset: 3px;
}

.tgfs-layout__top {
	display: grid;
	grid-template-columns: minmax(260px, 1.15fr) minmax(360px, 1fr);
	align-items: start;
	padding-bottom: 34px;
	border-bottom: 1px solid var(--tgfs-line);
}

.tgfs-layout__brand {
	max-width: 590px;
	min-width: 0;
}

.tgfs-layout__brand-title {
	color: var(--tgfs-heading);
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.04;
	margin: 0 0 20px;
}

.tgfs-layout__brand-text,
.tgfs-layout__newsletter-text {
	color: var(--tgfs-text);
	line-height: 1.65;
}

.tgfs-layout__brand-text > :first-child,
.tgfs-layout__newsletter-text > :first-child,
.tgfs-layout__newsletter-privacy > :first-child {
	margin-top: 0;
}

.tgfs-layout__brand-text > :last-child,
.tgfs-layout__newsletter-text > :last-child,
.tgfs-layout__newsletter-privacy > :last-child {
	margin-bottom: 0;
}

.tgfs-layout__social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.tgfs-layout__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--tgfs-heading);
	color: var(--tgfs-bg) !important;
	border-radius: 999px;
	width: 42px;
	height: 42px;
	min-width: 42px;
}

.tgfs-layout__social-link:hover,
.tgfs-layout__social-link:focus-visible {
	background: var(--tgfs-accent);
	color: #ffffff !important;
	transform: translateY(-1px);
}

.tgfs-layout__social-link svg {
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.tgfs-layout__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(130px, 1fr));
	row-gap: 30px;
	min-width: 0;
}

.tgfs-layout__columns--3 {
	grid-template-columns: repeat(3, minmax(125px, 1fr));
}

.tgfs-layout__column {
	min-width: 0;
}

.tgfs-layout__column-title {
	color: var(--tgfs-heading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 14px;
}

.tgfs-layout__menu {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tgfs-layout__menu li {
	margin: 0;
	padding: 0;
}

.tgfs-layout__menu a {
	color: var(--tgfs-text);
	display: inline-flex;
	line-height: 1.45;
}

.tgfs-layout__newsletter-eyebrow {
	color: var(--tgfs-accent);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.2;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.tgfs-layout__newsletter-form {
	margin-top: 16px;
}

.tgfs-layout__newsletter-privacy {
	color: var(--tgfs-muted);
	font-size: 0.75rem;
	line-height: 1.5;
	margin-top: 10px;
}

.tgfs-layout__newsletter input:not([type="checkbox"]):not([type="radio"]),
.tgfs-layout__newsletter select,
.tgfs-layout__newsletter textarea {
	max-width: 100%;
}

.tgfs-layout__newsletter button,
.tgfs-layout__newsletter input[type="submit"],
.tgfs-layout__newsletter .ff-btn-submit {
	background: var(--tgfs-accent);
	border-color: var(--tgfs-accent);
	color: #ffffff;
}

.tgfs-layout__meta {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) auto;
	align-items: center;
	gap: 24px;
	padding: 20px 0 18px;
	border-bottom: 1px solid var(--tgfs-line);
}

.tgfs-layout__copyright {
	color: var(--tgfs-muted);
	font-size: 0.94rem;
	line-height: 1.5;
}

.tgfs-layout__legal {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px 18px;
}

.tgfs-layout__legal-item {
	color: var(--tgfs-text);
	font-size: 0.9rem;
	line-height: 1.4;
}

.tgfs-layout__legal-item--highlight {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #2b2b2b;
	border: 2px solid #b7b7b7;
	border-radius: 999px;
	color: #cfcfcf;
	padding: 4px 10px;
}

.tgfs-layout__legal-item--highlight:hover,
.tgfs-layout__legal-item--highlight:focus-visible,
.tgfs-layout__legal-item--highlight:focus-within {
	background: #3a3a3a;
	border-color: #e0e0e0;
	color: #f2f2f2;
}

.tgfs-layout__legal-item--highlight > a,
.tgfs-layout__legal-item--highlight .button,
.tgfs-layout__legal-item--highlight button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit !important;
	height: auto !important;
	line-height: inherit !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	position: static !important;
	transform: none !important;
	vertical-align: middle !important;
}

.tgfs-layout__legal-item--highlight > p,
.tgfs-layout__legal-item--highlight > form,
.tgfs-layout__legal-item--highlight > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: inherit;
	margin: 0 !important;
}

.tgfs-layout__privacy {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 34px;
	padding-top: 18px;
	color: var(--tgfs-muted);
	font-size: 0.72rem;
	line-height: 1.5;
}

.tgfs-layout__privacy-item,
.tgfs-layout__privacy-item a,
.tgfs-layout__privacy-item button {
	color: inherit;
	font: inherit;
}

.tgfs-layout__privacy-item button {
	background: transparent;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	padding: 0;
}

@media (max-width: 1024px) {
	.tgfs-layout__top {
		grid-template-columns: 1fr;
	}

	.tgfs-layout__brand {
		max-width: 700px;
	}

	.tgfs-layout__columns,
	.tgfs-layout__columns--3 {
		grid-template-columns: repeat(2, minmax(140px, 1fr));
	}

	.tgfs-layout__meta {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.tgfs-layout__legal,
	.tgfs-layout__privacy {
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	.tgfs-layout__brand-title {
		font-size: clamp(2rem, 10vw, 2.75rem);
	}

	.tgfs-layout__columns,
	.tgfs-layout__columns--3 {
		grid-template-columns: 1fr;
	}

	.tgfs-layout__legal,
	.tgfs-layout__privacy {
		align-items: flex-start;
		flex-direction: column;
	}

	.tgfs-layout__legal-item--highlight {
		width: fit-content;
	}
}
