/**
 * Hero Single Styles
 */

.hero-single {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 450px;
    padding: 60px 20px;
    color: #fff;
    margin-bottom: 40px;
}

.hero-single-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* Adjusted gradient */
    z-index: 1;
}

.hero-single-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    /* Increased max-width for desktop */
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Mobile: Image bottom (visually top in column-reverse? No, usually image is bottom in my HTML) */
    /* Mobile: HTML order is Text then Image. Flex column means Text top, Image bottom. Reference mobile usually has image top? 
       Prompt said "Mobile is perfect". I won't change mobile structure visually unless forced.
       HTML: Text first, then Image. 
       Mobile: Text top, Image bottom. 
    */
    align-items: center;
    gap: 30px;
}

.hero-single-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center on mobile */
    gap: 15px;
    width: 100%;
}

/* Categories */
.hero-single-categories {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffd700;
}

.hero-single-categories a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-single-categories a:hover {
    color: #fff;
}

.hero-single-categories .separator {
    margin: 0 5px;
    opacity: 0.7;
}

/* Title */
.hero-single-title {
    font-size: 2rem;
    line-height: 1.2;
    margin: 10px 0;
    color: #fff;
    font-weight: 500;
}

/* Meta Data */
.hero-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.95rem;
    opacity: 0.9;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    width: 100%;
    max-width: 500px;
}

.hero-single-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-single-meta .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
}

/* Author */
.hero-single-author {
    margin-top: 10px;
    font-size: 1.1rem;
}

.hero-single-author .author-prefix {
    font-weight: 300;
    opacity: 0.8;
    margin-right: 5px;
}

.hero-single-author .author-name {
    font-weight: 600;
    color: #ffd700;
}

/* Author/Category Image (Circular) */
.hero-single-cat-image {
    width: 250px;
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.hero-single-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* DESKTOP STYLES */
@media (min-width: 992px) {
    .hero-single {
        text-align: left;
        padding: 80px 40px;
        min-height: 500px;
    }

    .hero-single-content {
        flex-direction: row;
        /* Side by side */
        justify-content: space-between;
        align-items: center;
        gap: 50px;
    }

    .hero-single-text {
        align-items: flex-start;
        /* Left align items */
        flex: 1;
        padding-right: 20px;
    }

    .hero-single-title {
        font-size: 3.5rem;
        /* Larger title */
    }

    .hero-single-meta {
        justify-content: flex-start;
        /* Left align meta */
        max-width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        width: auto;
        padding: 20px 150px 20px 0px;
        margin-top: 10px;
    }

    .hero-single-cat-image {
        width: 300px;
        /* Much larger on desktop */
        height: 300px;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    width: 100%;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.9;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /* Center on mobile */
}

.hero-single-text .breadcrumb-list {
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-single-text .breadcrumb-list {
        justify-content: flex-start;
        /* Left align on desktop */
    }
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #fff;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb-item a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.breadcrumb-item .separator {
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item.active {
    font-weight: 600;
}