/*
Theme Name: Vestry(Child Theme)
Theme URI: http://w8themedemo.co/vestry
Author: TrueThemes
Author URI: https://themeforest.net/user/truethemes
Description: A stunning visual experience for minimal loving creative. This template is a responsive and retina-ready WordPress theme with grid system layout. It is optimized for mobile touch and swipe.
Version: 1.0.0
Tags: one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vestry-child
Template: vestry
*/

/* = Add your own modification from here
-------------------------------------------------------------- */
table.tablepress td {
color: #000;
}
p {font-family:"Roboto Slab";color:black;}

/* Global text color override - darker gray instead of light gray */
body, p, .entry-content, .post-content, article {
    color: #111 !important;
}

/* Reduce header height for bulletin pages */
.single-bulletins .blog--single__full .aht-page__post-head,
.single-post.category-bulletins .blog--single__full .aht-page__post-head {
    min-height: 400px !important;
    max-height: 400px !important;
}

.single-bulletins .blog--single__full .aht-page__post-head .aheto-full-min-height-js,
.single-post.category-bulletins .blog--single__full .aht-page__post-head .aheto-full-min-height-js {
    min-height: 400px !important;
    max-height: 400px !important;
}

/* Ensure the background image fits properly in the reduced space */
.single-bulletins .blog--single__full .aht-page__post-head,
.single-post.category-bulletins .blog--single__full .aht-page__post-head {
    background-size: cover !important;
    background-position: center top !important;
}

/* Adjust content positioning within the smaller header */
.single-bulletins .blog--single__full .aht-page__post-head .post-head--middle,
.single-post.category-bulletins .blog--single__full .aht-page__post-head .post-head--middle {
    padding: 20px 0 !important;
}
/* Talks Archive and Speaker Pages - Bold Titles */
.talks-archive .talk-item .talk-title,
.talks-archive .talk-item .talk-title a,
.speaker-talks .talk-item .talk-title,
.speaker-talks .talk-item .talk-title a {
    font-weight: bold !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

/* Ensure talk titles are bold across all talk displays */
.talk-item h2.talk-title,
.talk-item h2.talk-title a {
    font-weight: bold !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}
/* More aggressive line-height fix for talk titles */
.talk-item h2.talk-title {
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.talk-item h2.talk-title a {
    line-height: 1.2 !important;
    display: inline !important;
}

/* Override any Bootstrap/theme h2 defaults */
.talks-archive .talk-item h2,
.talks-archive .talk-item h2 a {
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

/* Most specific possible selector */
article.talk-item div.col-md-8 h2.talk-title,
article.talk-item div.col-md-8 h2.talk-title a {
    line-height: 1.2 !important;
    margin: 0 0 10px 0 !important;
}

/* Override Bootstrap and Aheto theme h2 line-height */
.talks-archive h2,
.talks-archive h2 a,
h2.talk-title,
h2.talk-title a {
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Very specific Bootstrap override */
.container .row .col-md-8 h2.talk-title {
    line-height: 1.2 !important;
    margin: 0 0 10px 0 !important;
}

/* Aheto theme override */
.aheto h2,
.aheto-content h2,
body h2.talk-title {
    line-height: 1.2 !important;
}

/* Nuclear option - override everything */
[class*="talk"] h2,
[class*="talk"] h2 a {
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

/* Override Aheto theme font size for small YouTube link */
.small-youtube-link a,
.small-youtube-link h1,
.small-youtube-link h2,
.small-youtube-link h3,
.small-youtube-link h4,
.small-youtube-link h5,
.small-youtube-link h6 {
    font-size: 13px !important;
    font-weight: 400 !important;
}




/* Header background with 50% opacity using pseudo-element */
.single-bulletins .blog--single__full .aht-page__post-head,
.single-post.category-bulletins .blog--single__full .aht-page__post-head {
    position: relative !important;
    overflow: hidden !important;
}

/* Pseudo-element for background image with 50% opacity */
.single-bulletins .blog--single__full .aht-page__post-head::before,
.single-post.category-bulletins .blog--single__full .aht-page__post-head::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('/wp-content/uploads/2025/09/header-bulletins.webp') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    opacity: 0.5 !important;
    z-index: 0 !important;
}

/* Ensure content appears above the background */
.single-bulletins .blog--single__full .aht-page__post-head .container,
.single-post.category-bulletins .blog--single__full .aht-page__post-head .container {
    position: relative !important;
    z-index: 1 !important;
}
