/**
 * Theme Name:     Hello Elementor Child
 * Author:         BD Travel Group
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 * Version:        0.1.2
 */

:root {
    --primary: #0A6EA6;
    --primary_hover: #3480ac;
    --secondary: #39C5A0;
    --secondary_hover: #54c0a3;
    --tertiary: #F7B500;
}

body a {
    transition: 0.3s;
    color: var(--primary);

}

body a:hover {
    color: var(--secondary);
}

.wrap {
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1440px) {
    .wrap {
        max-width: 1140px;
    }
}

.archive-wrapper {
    padding-top: 60px;
    padding-bottom: 40px;

}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.archive-item {
    background: #fff;
    border-radius: 14px;
    transition: 0.25s ease;
    box-shadow: 1px 1px 11px 2px rgba(0, 0, 0, 0.17);
}

.archive-item .archive-content-wrap {
    padding: 20px;
}

.archive-thumb,
.hfe-post-image {
    max-height: 230px;
    overflow: hidden;
    border-radius: 12px;
}

.archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.archive-post-title a {
    text-decoration: none;
    color: var(--primary);
}

.archive-post-title a:hover {
    color: var(--secondary);
}

.archive-post-title {
    font-size: 22px;
    margin: 0px 0 10px 0;
    line-height: 1.3;
}


.archive-excerpt {
    color: #444;
    margin-bottom: 15px;
    font-size: 16px;
}


.archive-pagination {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.archive-pagination .pagination {
    display: flex;
    justify-content: center;
}

.archive-pagination .pagination .page-numbers {
    padding: 10px 20px;
    border: 1px solid var(--primary);
    color: var(--primary);
    margin-left: 5px;
}

.archive-pagination .pagination .page-numbers:hover {
    color: #fff;
    background-color: var(--primary);
}

.archive-pagination .pagination .page-numbers.current {
    color: #fff;
    background-color: var(--primary);
}







/* single post style  */

.single-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
}

.single-content-area {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.single-sidebar .widget-item {
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 22px;
    border: 1px solid #e5e5e5;
}

.widget-title {
    margin-bottom: 12px;
    font-size: 18px;
}

.single-thumb {
    margin-bottom: 20px;
}

.single-thumb img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}


/* Custom Page Header Styles */
.custom-page-header {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding-bottom: 50px;
    color: #fff;
    background-color: #0A6EA6;
    margin-bottom: 40px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.header-content h1 {
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 15px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
}

.header-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

@media (max-width: 768px) {
    .header-content h1 {
        font-size: 25px;
    }

    .custom-page-header {
        height: 400px;
        padding-bottom: 30px;
    }
}

.page-content-wrapper {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

/* Author Profile Styles */
.author-profile-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.author-profile-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.author-avatar img {
    border-radius: 12px;
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.author-info {
    flex: 1;
}

.author-info h1 {
    font-size: 36px;
    margin: 0 0 15px;
    color: var(--primary);
}

.author-bio {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.author-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.author-meta-list li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}

.author-meta-list li strong {
    color: #222;
    display: inline-block;
    width: 80px;
}

.author-posts-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.author-post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.author-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.author-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.author-card-link:hover {
    color: inherit;
}

.author-post-thumb {
    height: 160px;
    width: 100%;
    overflow: hidden;
}

.author-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.author-post-card:hover .author-post-thumb img {
    transform: scale(1.05);
}

.author-post-content {
    padding: 15px;
    flex-grow: 1;
}

.author-post-title {
    font-size: 18px;
    margin: 0 0 12px;
    color: var(--primary);
}

.author-post-meta {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.author-post-meta svg {
    width: 14px;
    height: 14px;
}

.author-pagination {
    margin-top: 40px;
    text-align: center;
}

.author-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    text-decoration: none;
    transition: 0.2s;
}

.author-pagination .page-numbers:hover,
.author-pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 1024px) {
    .author-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .author-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-meta-list li strong {
        display: inline;
    }

    .author-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .author-grid {
        grid-template-columns: 1fr;
    }
}

/* default categories */
.widget_categories {
    margin-bottom: 15px;
}

.wp-block-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wp-block-categories li {
    position: relative;
    overflow: hidden;
    padding: 8px 20px;
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.wp-block-categories li::before {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    content: '';
    transform: skewX(-25deg);
    transition: none;
    z-index: -1;
}

.wp-block-categories li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.wp-block-categories li:hover {
    background-color: var(--primary, #0A6EA6);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 110, 166, 0.3);
}

.wp-block-categories li:hover a {
    color: #ffffff;
}

.wp-block-categories li:hover::before {
    left: 150%;
    transition: left 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}