/* Entry Header */
.entry-header-full-wrap {
    padding-bottom: 1.2rem;
    margin-bottom: 0;
    width: 100%;
    max-width: var(--container-width, 1200px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px; /* Rounded corners on desktop wrapper */
    overflow: hidden; /* Ensures child elements respect border radius */
}

.entry-thumbnail-full {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    max-height: 600px;
    overflow: hidden;
    border-radius: 8px 8px 0 0; /* Top corners rounded only for image container */
}

.entry-thumbnail-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.entry-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ssp-breadcrumbs-wrap a {
    color: inherit; /* Inherit color from parent wrapper */
}

.ssp-breadcrumbs-wrap {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.entry-title {
    font-size: 2rem;
    line-height: 1.1;
    margin: 0.5rem 0 1rem;
    color: var(--color-secondary);
}

.entry-meta {
    font-size: 0.9rem;
    /* Color handled inline via PHP */
}

.entry-meta-categories {
    margin-bottom: 0;
}

.cat-link {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    color: #fff !important;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.entry-thumbnail {
    /* Removed default thumbnail styles as it's now handled by .entry-thumbnail-full in header */
    display: none; 
}

/* Image Source Tooltip */
.img-source-info {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    font-family: serif;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.5);
}

.source-tooltip {
    position: absolute;
    bottom: 25px;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
}

.img-source-info:hover .source-tooltip,
.img-source-info:active .source-tooltip {
    opacity: 1;
    visibility: visible;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.entry-content h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Blockquote Styling */
.entry-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--color-primary);
    background: var(--color-light);
    font-style: italic;
    font-size: 1.1em;
    color: #444;
    border-radius: 0 4px 4px 0;
}

.entry-content blockquote p {
    margin: 0;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--color-light);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.author-box-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.author-box-title {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    font-weight: 700;
}

.author-box-desc p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

/* Related Posts */
.related-posts {
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid var(--color-border);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.related-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-secondary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.related-item {
    transition: transform 0.2s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-thumb {
    display: block;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-thumb:hover img {
    transform: scale(1.05);
}

.related-item-title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
}

.related-item-title a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.related-item-title a:hover {
    color: var(--color-primary);
}

@media (max-width: 600px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .entry-title {
        font-size: 1.5rem; /* Smaller font on mobile */
    }

    /* Reset Header to Full Width on Mobile */
    .entry-header-full-wrap {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
    }

    .entry-thumbnail-full {
        border-radius: 0;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .entry-title {
        font-size: 1.8rem; /* Medium font on tablets */
    }
}
