/*
Theme Name: Hello Elementor Child
Theme URI: https://royhansajib.com/
Description: A child theme for Hello Elementor.
Author: Royhan Sajib
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Add your custom styles below */


.post-banner {
    position: relative;
    width: 100%;
    max-height: 380px;
    overflow: hidden;
}

.post-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 380px;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #111827, rgba(17, 24, 39, 0));
    z-index: 1;
}

.banner-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: #fff;
}

.banner-content .entry-title {
    font-size: 2em;
    margin: 0 0 10px;
}

.banner-content .entry-meta {
    font-size: 0.95em;
    margin-bottom: 10px;
    color: #ccc;
}

.banner-content .back-link {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.85rem;
}


.post-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .post-layout {
        flex-direction: row;
        gap: 60px;
    }

    .entry-content {
        flex: 2;
    }

    .post-sidebar {
        flex: 1;
    }
}

.post-sidebar .cta-box {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.cta-box h2 {
    font-size: 1.25rem !important;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #444;
}

.cta-box .cta-button {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #6366F1;
    color: white;
    padding: 7px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-box .cta-button:hover {
    background-color: #13157eb5;
}

.post-author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 500px;
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.author-avatar img {
    border-radius: 50%;
}

.author-name {
    font-size: 1.2rem;
    margin: 0 0 8px;
}

.author-bio {
    font-size: 0.95rem;
    color: #555;
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
}

/* Icon common style */
.entry-meta span > span {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: brightness(0) invert(1); /* force white */
}

/* Calendar icon (simple SVG) */
.icon-calendar {
    background-image: url('images/calendar.svg');
}

/* User icon */
.icon-user {
    background-image: url('images/user.svg');
}

/* Tag icon */
.icon-tag {
    background-image: url('images/tag.svg');
}

.entry-categories a {
    color:#ccc !important;
}


