/*
Theme Name: Remit Save
Theme URI: https://remitsave.com/blog
Author: Shafiq Khan
Author URI: https://remitsave.com/blog
Description: RemitSave - Send money to your loved one while saving.
Version: 1.0
*/

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f8f8;
}

.header {
    color: #333;
    position: relative;
    width: 100%;
    z-index: 10;
    top: 0;
    margin-bottom:30px;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px;
    font-size: 14px;
}

.wrapper.hero {
    margin: 0 auto 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/*.navigation__first-level__element {*/
/*    font-size: 1rem;*/
/*}*/

/*.navigation__first-level__element.selected {*/
/*    color: #f9795b;*/
/*}*/

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 0 auto 40px;
    text-align: center;
}

.article img,
.hero img {
    width: 100%;
    max-width: 500px;
    border-top-left-radius: 65px;
    border-bottom-right-radius: 65px;
	height:auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}
.hero-text p {
    text-align: justify;
}

.hero-text h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
}

.post-categories a {
    text-decoration: underline;
}

.articles-section {
    width: 100%;
    background-color: #141414;
    color: #fff;
    padding: 20px;
}

.featured-articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

.article {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.article img {
    display: block;
    width: 100%;
    height: auto;
}

.articles-text {
    padding-top: 15px;
}

.articles-text h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

.articles-text p {
    color: #ccc;
    line-height: 1.5;
}
.hero img{ margin-right:20px}
.read-more {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #f9795b;
    border-radius: 48px;
    background-color: transparent;
    color: #f9795b;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.read-more:hover {
    background-color: #f9795b;
    color: #fff;
}

.post-content {
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

.navigation__first-level__link {
    color: #141414 ;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        width: 100%;
        padding: 20px 10px;
        flex-direction: column;
        align-items: center;
    }

    .hero img {
        width: 80%;
        margin-bottom: 20px;
    }

    .hero-text {
        margin-top: 10px;
        text-align: center;
    }

    .featured-articles {
        gap: 10px;
        flex-direction: column;
        width: 100%;
		padding: 20px;
    }

    .article {
        flex: 1 1 100%;
        margin-bottom: 20px;
		max-width:100%;
    }

    .articles-text h2 {
        font-size: 16px;
    }

    .read-more {
        font-size: 12px;
        padding: 6px 12px;
    }
    .articles-section {
        padding: 40px; /* Adjust padding for mobile */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        width: 80%;
        flex-direction: column;
    }

    .hero img {
        width: 70%;
        /* padding: 20px; */
        margin-bottom: 20px;
    }

    .featured-articles {
        gap: 15px;
    }

    .article {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .articles-text h2 {
        font-size: 18px;
    }

    .read-more {
        font-size: 14px;
    }
    .articles-section {
        padding: 96px;
    }
}

@media (min-width: 1025px) {
    .featured-articles {
        max-width: 1200px;
        margin: 0 auto;
        gap: 20px;
    }

    .article {
        flex: 1 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }

    .articles-text h2 {
        font-size: 20px;
    }
    .read-more {
        font-size: 16px;
    }
}
.category-menu {
    display:block;
}
.navigation__trigger__line{
    background-color:#000
}
/* General Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.pagination-container .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background-color: #f4f4f4;
    color: #333;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.pagination-container .page-numbers:hover,
.pagination-container .page-numbers:focus {
    background-color: #f9795b;
    color: white;
    border-color: #f9795b;
}

.pagination-container .current {
    background-color: #f9795b;
    color: white;
    border-color: #f9795b;
}

.pagination-container .prev,
.pagination-container .next {
    font-weight: bold;
    font-size: 18px;
}

/* Pagination for small screens */
@media (max-width: 768px) {
    .pagination-container {
        flex-wrap: wrap;
    }

    .pagination-container .page-numbers {
        padding: 6px 12px;
        font-size: 14px;
        margin: 0 3px;
    }
}

/* Pagination for very small screens (mobile devices) */
@media (max-width: 480px) {
    .pagination-container {
        flex-direction: column;
        align-items: center;
    }

    .pagination-container .page-numbers {
        padding: 6px 10px;
        font-size: 12px;
        margin: 5px 0;
    }

    .pagination-container .prev,
    .pagination-container .next {
        margin-top: 5px;
    }
}

/* "No posts found" message styling */
.no-post {
    text-align: center;
    font-size: 18px;
    color: #333;
    padding: 20px;
}
.articles-section,
.section-title {
    text-align: center; 
}
.featured-articles {text-align: left; }
.single-post img {
	max-width:500px
}