/* ==========================================================================
   The Capital — Newsletter + Footer
   ========================================================================== */

/* ------------------------------------------------------------------
   0. Footer wrapper gradient
   ------------------------------------------------------------------ */
footer {
	background: linear-gradient(to top, #000000 0%, #1A1A1A 100%);
}

/* ------------------------------------------------------------------
   1. Newsletter Section
   ------------------------------------------------------------------ */
.tc-newsletter {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tc-newsletter-inner,
.tc-footer-inner,
.tc-footer-bottom-inner {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

/* Vertical-centre both columns */
.tc-newsletter-inner > .elementor-column-wrap,
.tc-newsletter-inner > .elementor-widget-wrap,
.tc-newsletter-inner .elementor-column > .elementor-widget-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tc-newsletter-title,
.tc-newsletter-heading {
	margin-bottom: 0 !important;
}

.tc-newsletter-title .elementor-heading-title,
.tc-newsletter-heading .elementor-heading-title {
	font-family: 'DM Sans', var(--tc-font-body), sans-serif !important;
	font-size: 27px !important;
	font-weight: 500 !important;
	line-height: 1.3;
}

.tc-newsletter-subtitle,
.tc-newsletter-subheading {
	margin-bottom: 0 !important;
}

.tc-newsletter-subtitle p,
.tc-newsletter-subheading p,
.tc-newsletter-subheading .elementor-widget-container {
	font-size: 16px !important;
	margin: 4px 0 0;
	line-height: 1.5;
}

.tc-newsletter-subheading p strong {
	font-weight: 400 !important;
}

.tc-newsletter-form-col .elementor-widget-wrap {
	justify-content: flex-end !important;
}

/* ---- Newsletter form (HTML widget) ---- */
.tc-newsletter-form {
	display: flex;
	gap: 10px;
	align-items: stretch;
	width: 100%;
}

.tc-newsletter-input {
	flex: 1;
	min-width: 0;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 0;
	color: #fff;
	font-family: var(--tc-font-body);
	font-size: 14px;
	font-weight: 300;
	outline: none;
	transition: border-color 0.25s ease;
	-webkit-appearance: none;
}

.tc-newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.tc-newsletter-input:focus {
	border-color: var(--tc-gold);
}

.tc-newsletter-btn {
	padding: 11px 34px;
	background: transparent;
	border: 1px solid var(--tc-gold);
	color: var(--tc-white);
	font-family: var(--tc-font-body);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.25s ease, color 0.25s ease;
	-webkit-appearance: none;
}

.tc-newsletter-btn:hover {
	background: var(--tc-gold);
	color: #000;
}

/* ------------------------------------------------------------------
   2. Footer Main
   ------------------------------------------------------------------ */

/* ---- Brand column ---- */
.tc-footer-brand-col .tc-footer-logo {
	margin-bottom: 28px !important;
}

.tc-footer-brand-col .tc-footer-logo img {
	width: 200px;
	height: auto;
}

.tc-footer-brand-col-logo {
	text-align: left !important;
}

/* Social icons */
.tc-footer-social .elementor-social-icons-wrapper {
	gap: 8px;
}

.tc-footer-social .elementor-social-icon {
	background: #1A1A1A !important;
	border-radius: 5px !important;
	width: 38px !important;
	height: 38px !important;
	line-height: 38px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background 0.25s ease;
}

.tc-footer-social .elementor-social-icon:hover {
	background: #2A2A2A !important;
}

.tc-footer-social .elementor-social-icon i {
	color: #fff !important;
	font-size: 15px !important;
}

.tc-footer-social .elementor-social-icon svg {
	fill: #fff !important;
	width: 15px !important;
	height: 15px !important;
}

/* ---- Link column headings ---- */
.tc-footer-col-heading,
.tc-footer-toggle {
	margin-bottom: 8px !important;
	justify-content: space-between !important;
}

.tc-footer-col-heading .elementor-heading-title,
.tc-footer-toggle .elementor-heading-title,
.tc-footer-links-col h5 {
	font-weight: 600 !important;
	font-size: 20px !important;
	line-height: 1.2;
}

/* ---- Link lists (Text Editor <ul>) ---- */
.tc-footer-links,
.tc-footer-menu {
	margin-top: 0 !important;
}

.tc-footer-links ul,
.tc-footer-menu ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.tc-footer-links ul li,
.tc-footer-menu ul li {
	list-style: none !important;
	margin-bottom: 0;
	padding: 4.5px 0;
}

.tc-footer-links ul li::before,
.tc-footer-links ul li::marker,
.tc-footer-menu ul li::before,
.tc-footer-menu ul li::marker {
	display: none !important;
	content: none !important;
}

.tc-footer-links ul li a,
.tc-footer-menu ul li a,
.tc-footer-menu a {
	color: #FFFFFF;
	text-decoration: none;
	font-family: 'DM Sans', var(--tc-font-body), sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	transition: color 0.2s ease;
}

.tc-footer-links ul li a:hover,
.tc-footer-menu ul li a:hover,
.tc-footer-menu a:hover {
	color: var(--tc-gold);
}

/* ---- Nav Menu widget in footer columns ---- */
.tc-footer-links-col .elementor-widget-nav-menu {
	margin-top: 0 !important;
}

.tc-footer-links-col .elementor-nav-menu {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.tc-footer-links-col .elementor-nav-menu li {
	list-style: none !important;
	margin-bottom: 0;
	padding: 4.5px 0;
}

.tc-footer-links-col .elementor-nav-menu li::before,
.tc-footer-links-col .elementor-nav-menu li::marker {
	display: none !important;
	content: none !important;
}

.tc-footer-links-col .elementor-nav-menu a {
	color: #FFFFFF !important;
	text-decoration: none !important;
	font-family: 'DM Sans', var(--tc-font-body), sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
	padding: 0 !important;
	background: transparent !important;
	transition: color 0.2s ease;
}

.tc-footer-links-col .elementor-nav-menu a:hover,
.tc-footer-links-col .elementor-nav-menu a:focus {
	color: var(--tc-gold) !important;
	background: transparent !important;

	&::after {
		display: none;
	}
}

/* Remove Elementor nav menu indicator arrows / submenu icons */
.tc-footer-links-col .elementor-nav-menu .sub-arrow,
.tc-footer-links-col .elementor-nav-menu--indicator,
.tc-footer-links-col .elementor-nav-menu-icon {
	display: none !important;
}

/* Reset any nav-menu layout wrapper styles */
.tc-footer-links-col .elementor-nav-menu--layout-vertical .elementor-nav-menu {
	display: block !important;
}

.tc-footer-links-col .elementor-nav-menu__container {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

/* ---- Nav Menu widget in footer bottom (.tc-footer-copyright-menu) ---- */
.tc-footer-copyright-menu .elementor-nav-menu {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	flex-wrap: wrap;
	gap: 0;
}

.tc-footer-copyright-menu .elementor-nav-menu li {
	list-style: none !important;
	margin-bottom: 0;
	padding: 0;
}

/* .tc-footer-copyright-menu .elementor-nav-menu li::before,
.tc-footer-copyright-menu .elementor-nav-menu li::marker {
	display: none !important;
	content: none !important;
} */

.tc-footer-copyright-menu .elementor-nav-menu a {
	text-decoration: none !important;
	font-family: 'DM Sans', var(--tc-font-body), sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.8 !important;
	padding: 0 !important;
	background: transparent !important;
	transition: color 0.2s ease;
}

.tc-footer-copyright-menu .elementor-nav-menu a:hover,
.tc-footer-copyright-menu .elementor-nav-menu a:focus {
	color: var(--tc-gold) !important;
	background: transparent !important;

	&::after {
		display: none;
	}
}

/* Dot separators between items */
.tc-footer-copyright-menu .elementor-nav-menu li + li::before {
	color: var(--tc-white);
    margin: 0 6px;
    font-size: 18px;
    content: '•';
    opacity: 1;
    display: flex !important;
	align-items: center;
    position: static;
    width: auto;
}

/* Remove Elementor nav menu indicator arrows / submenu icons */
.tc-footer-copyright-menu .elementor-nav-menu .sub-arrow,
.tc-footer-copyright-menu .elementor-nav-menu--indicator,
.tc-footer-copyright-menu .elementor-nav-menu-icon {
	display: none !important;
}

.tc-footer-copyright-menu .elementor-nav-menu__container {
	padding: 0 !important;
	margin: 0 !important;
	margin-left: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.tc-footer-copyright-menu .elementor-nav-menu__container .elementor-nav-menu {
	justify-content: flex-start !important;
}

/* ------------------------------------------------------------------
   3. Footer Bottom
   ------------------------------------------------------------------ */
.tc-footer-bottom a {
	color: var(--tc-white);
}

.tc-footer-bottom a:hover {
	color: var(--tc-gold);
}
.tc-footer-bottom .elementor-widget {
	margin-bottom: 0 !important;
}

.tc-footer-copyright p {
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}

.tc-footer-legal p {
	margin: 0;
	line-height: 1.8;
	font-size: 12px;
}

.tc-footer-legal a {
	color: rgba(255, 255, 255, 0.4);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tc-footer-legal a:hover {
	color: var(--tc-gold);
}

.tc-footer-legal span {
	color: rgba(255, 255, 255, 0.2);
	margin: 0 3px;
	font-size: 10px;
}

.tc-footer-chevron {
	display: none;
}

.tc-footer-bottom-inner-col-1 p {
	line-height: 27px;
	margin: 0;
}

.fancybox__backdrop {
	background: rgba(30, 30, 30, 0.95) !important;
}

.fancybox__content {
	background: transparent !important;
	padding: 0 !important;
}

/* ------------------------------------------------------------------
   4. Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.tc-newsletter-subheading {
		margin-bottom: 24px !important;
	}

	.tc-newsletter-form {
		flex-wrap: wrap;
	}

	.tc-newsletter-input {
		flex: 1 1 calc(50% - 5px);
	}

	.tc-newsletter-btn {
		flex: 1 1 100%;
	}
}

@media (min-width: 767px) {
	.tc-footer-copyright-menu .elementor-nav-menu__container {
		width: 100% !important;
		margin-left: 0px !important;
	}

	.tc-newsletter-text .elementor-widget-wrap,
	.tc-footer-brand-col .elementor-widget-wrap,
	.tc-footer-bottom-inner-col-1 .elementor-widget-wrap {
		padding-left: 0 !important;
	}

	.tc-newsletter-form-col .elementor-widget-wrap,
	.tc-footer-links-col:last-child .elementor-widget-wrap,
	.tc-footer-bottom-inner-col-2 .elementor-widget-wrap {
		padding-right: 0 !important;
	}
}

@media (max-width: 767px) {
	.tc-newsletter-form-col .elementor-widget-wrap {
		justify-content: center !important;
		flex-direction: column !important;
		align-content: center !important;
	}
	/* Newsletter stacks */
	.tc-newsletter-inner .elementor-column {
		width: 100% !important;
	}

	.tc-newsletter-text {
		text-align: center;
		margin-bottom: 0px;
	}

	.tc-newsletter-heading .elementor-widget-container,
	.tc-newsletter-subheading .elementor-widget-container {
		text-align: center !important;
	}

	.tc-newsletter-form {
		flex-direction: column;
	}

	.tc-newsletter-input,
	.tc-newsletter-btn {
		flex: 1 1 100%;
	}

	/* Footer columns stack */
	.tc-footer-inner .elementor-column {
		width: 100% !important;
		margin-bottom: 0;
	}

	.tc-footer-brand-col {
		text-align: center;
		margin-bottom: 32px !important;
	}

	.tc-footer-brand-col-logo {
		text-align: center !important;
	}

	.tc-footer-brand-col .elementor-social-icons-wrapper {
		text-align: center;
	}

	.tc-footer-social .elementor-social-icons-wrapper {
		justify-content: center;
	}

	/* ---- Mobile accordion for link columns ---- */
	.tc-footer-links-col {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		padding: 0 !important;
	}

	.tc-footer-links-col:last-child {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.tc-footer-accordion-trigger {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 10px 0;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.tc-footer-chevron {
		display: flex;
		align-items: center;
		transition: transform 0.3s ease;
	}

	.tc-footer-chevron svg {
		width: 18px;
		height: auto;
	}

	.tc-footer-links-col.is-open .tc-footer-chevron {
		transform: rotate(180deg);
	}

	.tc-footer-accordion-body {
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		            opacity 0.3s ease;
	}

	.tc-footer-links-col.is-open .tc-footer-accordion-body {
		opacity: 1;
	}

	/* Stagger each link item */
	.tc-footer-accordion-body li {
		opacity: 0;
		transform: translateY(-6px);
		transition: opacity 0.25s ease, transform 0.25s ease;
	}

	.tc-footer-links-col.is-open .tc-footer-accordion-body li {
		opacity: 1;
		transform: translateY(0);
	}

	.tc-footer-links-col.is-open .tc-footer-accordion-body li:nth-child(1) { transition-delay: 0.05s; }
	.tc-footer-links-col.is-open .tc-footer-accordion-body li:nth-child(2) { transition-delay: 0.08s; }
	.tc-footer-links-col.is-open .tc-footer-accordion-body li:nth-child(3) { transition-delay: 0.11s; }
	.tc-footer-links-col.is-open .tc-footer-accordion-body li:nth-child(4) { transition-delay: 0.14s; }
	.tc-footer-links-col.is-open .tc-footer-accordion-body li:nth-child(5) { transition-delay: 0.17s; }
	.tc-footer-links-col.is-open .tc-footer-accordion-body li:nth-child(6) { transition-delay: 0.20s; }
	.tc-footer-links-col.is-open .tc-footer-accordion-body li:nth-child(7) { transition-delay: 0.23s; }
	.tc-footer-links-col.is-open .tc-footer-accordion-body li:nth-child(8) { transition-delay: 0.26s; }

	.tc-footer-accordion-body ul,
	.tc-footer-accordion-body .elementor-nav-menu {
		padding-bottom: 16px !important;
	}

	/* Hide heading widget bottom margin on mobile */
	.tc-footer-links-col .tc-footer-col-heading,
	.tc-footer-links-col .tc-footer-toggle,
	.tc-footer-links-col .elementor-widget-heading {
		margin-bottom: 0 !important;
	}

	/* Footer bottom stacks */
	.tc-footer-bottom-inner .elementor-column {
		width: 100% !important;
		text-align: center !important;
	}

	.tc-footer-legal .elementor-widget-container {
		text-align: center !important;
	}

	.tc-footer-copyright {
		margin-bottom: 12px !important;
	}

	.tc-footer-bottom-inner-col-2 {
		order: 1 !important;
	}

	.tc-footer-bottom-inner-col-1 {
		order: 2 !important;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.tc-footer-bottom-inner-col-1 p {
		margin-bottom: 0;
		margin-top: 10px;
	}

	.tc-footer-copyright-menu .elementor-nav-menu {
		width: 100% !important;
		flex-wrap: nowrap !important;
	}

	.tc-footer-copyright-menu .elementor-nav-menu li {
		width: auto !important;
		padding-right: 15px;
		word-break: break-all;
		margin-bottom: 10px;
	}

	.tc-footer-copyright-menu .elementor-nav-menu__container .elementor-nav-menu {
		flex-direction: column !important;
	}

	.tc-footer-copyright-menu .elementor-nav-menu li + li::before {
		display: none !important;
	}

	.tc-footer-copyright-menu .elementor-nav-menu a {
		word-break: auto-phrase;
		text-align: left;
		white-space: normal !important;
	}

	.tc-newsletter-heading .elementor-heading-title span,
	.tc-newsletter-subheading p strong {
		display: block;
	}
}
