/* Screen CSS - Additional Styles */

/* Page Caption */
#page_caption {
    background-color: #0B1320;
    padding: 100px 0;
    text-align: center;
}

#page_caption.hasbg {
    height: 550px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

#page_caption.hasbg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

#page_caption h1 {
    font-size: 50px;
    font-family: 'Italiana', serif;
    font-weight: 400;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.page_tagline {
    font-size: 18px;
    color:  ##D4AF37;
    position: relative;
    z-index: 2;
}

/* Post Content */
.post_wrapper {
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-bottom: 30px;
}

.post_header h1,
.post_header h2,
.post_header h3,
.post_header h4,
.post_header h5,
.post_header h6 {
    margin-bottom: 20px;
}

.post_detail {
    color: #4A5568;
    margin-bottom: 20px;
}

.post_excerpt {
    margin-bottom: 30px;
}

/* Sidebar */
.sidebar_widget {
    list-style: none;
}

.sidebar_widget li {
    margin-bottom: 40px;
}

.sidebar_widget h2.widgettitle {
    font-size: 24px;
    font-family: 'Italiana', serif;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,215,0,0.3);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination span.current {
    background: #D4AF37;
    color: #0B1320;
}