/* Footer Styles for APTheme Theme */

.apfooter-container {
	background-color: var(--primary-accent);
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px;
	border-radius: 10px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.blog-logo {
	margin-bottom: 20px;
}

.blog-logo img {
	max-width: 143px; /* Adjusted for 286x100 ratio (proportional to header mobile size) */
}

.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 */
.footer-text-navigation {
}

.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 bar layout */
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.2rem 0 1.2rem 0;
  border-top: 1px solid #e5eaf2;
  background: transparent;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo img {
  height: 28px;
  width: auto;
  vertical-align: middle;
}
.footer-copyright {
  color: #6b7280;
  font-size: 1rem;
  text-align: left;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.footer-menu-nav {
  margin: 0;
}
.footer-menu {
  display: flex;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li a {
  color: #4b5563;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-menu li a:hover {
  color: #e53e3e;
  text-decoration: underline;
}
.footer-social-nav {
  margin-left: 1.5rem;
}
.footer-social-menu {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-social-menu li a {
  color: #6b7280;
  font-size: 1.25rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social-menu li a:hover {
  color: #e53e3e;
}
@media (max-width: 900px) {
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem 0 1rem 0;
  }
  .footer-left, .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    width: 100%;
  }
  .footer-menu, .footer-social-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
  }
  .footer-social-nav {
    margin-left: 0;
  }
  .footer-copyright {
    margin-bottom: 0.5rem;
  }
} 