/**
 * Tricomo Footer Widgets — style stopki
 *
 * Responsywny grid: 3 kolumny na desktop, 2 na tablet, 1 na mobile.
 * Brak zależności od frameworka — działa z Hello MobiliWP i każdym innym motywem.
 */

/* =========================================================
   Wrapper zewnętrzny
   ========================================================= */
.tricomo-footer-widgets-area {
	width: 100%;
	background-color: var(--tricomo-footer-bg, #1a1a1a);
	color: var(--tricomo-footer-color, #cccccc);
	padding: 48px 0 32px;
	box-sizing: border-box;
}

/* =========================================================
   Kontener wewnętrzny — ogranicza szerokość i centruje
   ========================================================= */
.tricomo-footer-widgets-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* =========================================================
   Kolumna
   ========================================================= */
.tricomo-footer-column {
	min-width: 0; /* Zapobiega overflow w grid */
}

/* =========================================================
   Tytuł widgetu
   ========================================================= */
.tricomo-footer-widget__title {
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--tricomo-footer-title-color, #ffffff);
	margin: 0 0 16px;
	padding: 0 0 10px;
	border-bottom: 2px solid var(--tricomo-footer-accent, #ff0053);
}

/* =========================================================
   Ogólne style dla zawartości widgetów
   ========================================================= */
.tricomo-footer-widget {
	margin-bottom: 24px;
}

.tricomo-footer-widget:last-child {
	margin-bottom: 0;
}

.tricomo-footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tricomo-footer-widget ul li {
	padding: 4px 0;
}

.tricomo-footer-widget a {
	color: var(--tricomo-footer-link-color, #aaaaaa);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tricomo-footer-widget a:hover,
.tricomo-footer-widget a:focus {
	color: var(--tricomo-footer-link-hover, #ffffff);
	text-decoration: underline;
}

.tricomo-footer-widget p {
	margin: 0 0 12px;
	line-height: 1.6;
	font-size: 0.9rem;
}

.tricomo-footer-widget p:last-child {
	margin-bottom: 0;
}

/* =========================================================
   Responsive — tablet (≤ 900px): 2 kolumny
   ========================================================= */
@media screen and (max-width: 900px) {
	.tricomo-footer-widgets-inner {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}
}

/* =========================================================
   Responsive — mobile (≤ 600px): 1 kolumna
   ========================================================= */
@media screen and (max-width: 600px) {
	.tricomo-footer-widgets-area {
		padding: 32px 0 24px;
	}

	.tricomo-footer-widgets-inner {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 0 16px;
	}
}
