/*
Theme Name: Lite Child
Template: neve
Description: Child theme of Neve
Version: 1.0.5
Text Domain: lite-child
*/

/* Add your custom styles below this line */
.nav-toggle-label {
    margin-right: 10px !important;
}

/* Footer Container Styles */
.footer-bottom-content {
    background-color: #ffffff;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #000000;
    padding-left: 5%;
    padding-right: 5%;
}

.footer-inner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

/* Screen Reader Text */
.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;
}

/* Copyright Info */
.copyright-info {
    flex: none;
    text-align: left;
    font-size: 0.8em;
    color: #333333;
}

/* Social Navigation */
.footer-social-links {
    flex: 1;
    text-align: right;
}

.social-navigation {
    margin: 0;
}

.social-links-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.social-links-menu li {
    margin: 0 10px;
}

.social-links-menu li a {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links-menu li a:hover {
    color: #cccccc;
}

/* Social Icons SVG Styling */
.social-links-menu svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.social-links-menu a:hover svg {
    fill: #cccccc;
}

/* Fallback for icons if SVG is not available */
.social-icon {
    font-style: normal;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
}

/* Neve Footer Main Columns Styling */
.footer--row-inner.footer-main-inner.footer-content-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px 0;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item {
    background-color: #141414;
    border-radius: 5px;
    padding: 20px;
    flex: 1;
    min-width: 250px;
}

.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item h4,
.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item h5,
.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item h6 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item p {
    color: #cccccc;
    margin-bottom: 10px;
}

.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item a:hover {
    color: #cccccc;
}

.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item ul li {
    margin-bottom: 8px;
}

.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer--row-inner.footer-main-inner.footer-content-wrap .builder-item ul li a:hover {
    color: #cccccc;
}

/* Responsive styles for footer columns */
@media (max-width: 768px) {
    .footer--row-inner.footer-main-inner.footer-content-wrap {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .footer--row-inner.footer-main-inner.footer-content-wrap .builder-item {
        width: 90%;
        margin: 0 auto;
        min-width: unset;
    }
}

.hfg-slot.left,
.hfg-slot.c-left,
.hfg-slot.center,
.hfg-slot.c-right {
    margin: 10px;
}

.builder-item {
    margin: 0 !important;
}

.nav-ul .sub-menu {
    box-shadow: none;
}
.nav-toggle-label{
    margin-right: 10px;
}

.footer-right-content {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.footer-social-links {
    margin-right: 20px;
}

.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;
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.related-posts-title {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.related-posts-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #007bff;
    margin: 10px auto 0;
    border-radius: 2px;
}

.related-posts-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.related-post-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.related-post-item .post-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-post-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.related-post-item h4.entry-title {
    font-size: 1.4em;
    margin: 15px 20px 5px;
    line-height: 1.4;
    color: #333;
}

.related-post-item h4.entry-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.related-post-item h4.entry-title a:hover {
    color: #007bff;
}

.related-post-item .entry-meta {
    font-size: 0.9em;
    color: #777;
    margin: 0 20px 15px;
}

@media (max-width: 768px) {
    .related-posts-section {
        padding: 20px;
    }

    .related-posts-title {
        font-size: 1.8em;
    }

    .related-posts-wrapper {
        grid-template-columns: 1fr;
    }

    .related-post-item .post-thumbnail {
        height: 180px;
    }
}