/* Footer Styles for SoCap Theme */

.blog-intro {
	margin-bottom: 40px;
}

.blog-intro h2 {
	color: #dcdcdc;
	font-size: 18px;
	text-align: left;
}

.blog-network {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.blog-category {
	background-color: var(--secondary-accent);
	border-radius: 12px;
	padding: 20px;
	flex: 1 1 300px;
	max-width: 350px;
	text-align: left;
}

.blog-category h3 {
	color: #000000;
	margin-bottom: 20px;
}

.blog-category a {
	display: block;
	text-decoration: none;
	color: #000000;
	font-size: 0.9em;
	margin-bottom: 10px;
	transition: color 0.3s, text-decoration 0.3s;
}

.blog-category a:hover {
	color: #ffffff;
	text-decoration: underline;
}

@media screen and (max-width: 768px) {
	.blog-network {
		flex-direction: column;
		align-items: stretch;
	}
}

/* Screen reader text class */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.footer-text-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

.footer-text-menu li {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 0.9em;
}

.footer-text-menu li::after {
	content: '·';
	margin: 0 0.5em;
	display: inline-block;
}

.footer-text-menu li:last-child::after {
	content: '';
	margin: 0;
}

.footer-text-menu li a {
	text-decoration: none;
	color: inherit;
}

.footer-text-menu li a:hover {
	text-decoration: underline;
}

/* Sponsors Section */
.sponsors-section {
	margin-top: 25px;
	padding-top: 25px;
	margin-bottom: 25px;
	padding-bottom: 25px;
	text-align: center;
}

.sponsors-title {
	color: #a0a0a0;
	font-size: 0.9em;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.sponsor-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
}

.sponsor-item {
	display: inline-block;
	vertical-align: middle;
}

.sponsor-item img {
	max-height: 50px;
	max-width: 150px;
	width: auto;
	height: auto;
	opacity: 0.85;
	transition: opacity 0.3s ease;
}

.sponsor-item a:hover img {
	opacity: 1;
}

/*--------------------------------------------------------------
# Footer Bottom Bar (Copyright & Language Switcher)
--------------------------------------------------------------*/

/* ## Main Footer */
.site-footer {
    margin-top: 3rem;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    text-align: center;
    color: #555;
}

/* ## Footer Bottom Bar (Copyright & Language Switcher) */
.footer-bottom-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap; /* Allow wrapping on smaller screens */
	gap: 15px;
	padding: 15px 0;
}

.copyright-info {
	flex-grow: 1;
	text-align: left;
}

.language-switcher {
	position: relative;
}

/* Basic Styling for Polylang Dropdown */
.language-switcher select {
	background-color: #2a2a2a;
	color: #e0e0e0;
	border: 1px solid #444;
	padding: 8px 30px 8px 12px; /* Right padding for arrow space */
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.9em;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	/* Custom arrow indicator */
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23e0e0e0%22%20d%3D%22M5.4%20223a17.6%2017.6%200%200%201%2013%205.4h255.6c5%200%209.3-1.8%2012.9-5.4a17.6%2017.6%200%200%201%205.4-12.8c0-5-1.8-9.3-5.4-12.9l-128-127.9c-3.6-3.6-7.8-5.4-12.8-5.4s-9.2%201.8-12.8%205.4L5.4%20197.4C1.9%20200.9%200%20205.2%200%20210.2c0%205%201.9%209.4%205.4%2012.8z%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 10px auto;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.language-switcher select:hover,
.language-switcher select:focus {
	background-color: #3a3a3a;
	border-color: #666;
	outline: none;
}

/* Footer Bottom Responsive */
@media (max-width: 768px) {
	.footer-bottom-content {
		justify-content: center;
		text-align: center;
	}
	.copyright-info {
		text-align: center;
		width: 100%;
		order: 2; /* Place copyright below switcher */
	}
	.language-switcher {
		width: auto;
		margin-bottom: 10px;
		order: 1; /* Place switcher above copyright */
	}
}

/*--------------------------------------------------------------
# Footer Bottom Bar (Copyright & Language Switcher)
--------------------------------------------------------------*/

/* ## Main Footer */
.site-footer {
    margin-top: 3rem;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    text-align: center;
    color: #555;
}

/* ## Footer Bottom Bar (Copyright & Language Switcher) */
.footer-bottom-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap; /* Allow wrapping on smaller screens */
	gap: 15px;
	padding: 15px 0;
}

.copyright-info {
	flex-grow: 1;
	text-align: left;
}

.language-switcher {
	position: relative;
}

/* Basic Styling for Polylang Dropdown */
.language-switcher select {
	background-color: #2a2a2a;
	color: #e0e0e0;
	border: 1px solid #444;
	padding: 8px 30px 8px 12px; /* Right padding for arrow space */
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.9em;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	/* Custom arrow indicator */
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23e0e0e0%22%20d%3D%22M5.4%20223a17.6%2017.6%200%200%201%2013%205.4h255.6c5%200%209.3-1.8%2012.9-5.4a17.6%2017.6%200%200%201%205.4-12.8c0-5-1.8-9.3-5.4-12.9l-128-127.9c-3.6-3.6-7.8-5.4-12.8-5.4s-9.2%201.8-12.8%205.4L5.4%20197.4C1.9%20200.9%200%20205.2%200%20210.2c0%205%201.9%209.4%205.4%2012.8z%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 10px auto;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.language-switcher select:hover,
.language-switcher select:focus {
	background-color: #3a3a3a;
	border-color: #666;
	outline: none;
}

/* Footer Social Icons - Consistent Sizing */
.footer-social-links .social-links-menu svg,
.footer-social-links .social-links-menu img {
    height: 18px;
    width: auto;
    display: block;
    vertical-align: middle;
}

/* Ensure all social links have consistent alignment */
.footer-social-links .social-links-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
}

/* Footer Bottom Responsive */
@media (max-width: 768px) {
	.footer-bottom-content {
		justify-content: center;
		text-align: center;
	}
	.copyright-info {
		text-align: center;
		width: 100%;
		order: 2; /* Place copyright below switcher */
	}
	.language-switcher {
		width: auto;
		margin-bottom: 10px;
		order: 1; /* Place switcher above copyright */
	}
	
	/* Maintain consistent sizing on mobile */
	.footer-social-links .social-links-menu svg,
	.footer-social-links .social-links-menu img {
	    height: 18px;
	    width: auto;
	    display: block;
	    vertical-align: middle;
	}
}