/* Shared nav/footer wordmark styling for standalone pages (mirrors index.html) */
.navbar-brand, .footer_logo_text {
    font-size: 24px;
    font-weight: 700;
    color: #293651;
    letter-spacing: 0.5px;
}
.navbar-brand:hover, .footer_logo_text:hover {
    color: #00A78E;
}
.header_navbar {
    position: relative;
    background-color: #fff;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05);
}
/* blog.css loads after style.css, so without this the equal-specificity
   .header_navbar rule above wins the cascade and permanently overrides
   .sticky's position: fixed, breaking the pinned-nav-on-scroll behavior
   on every page that includes blog.css (index.html, blog.html, etc). */
.header_navbar.sticky {
    position: fixed;
}
.header_navbar .navbar-nav .nav-item a {
    color: #293651;
}
.header_navbar .navbar-nav .nav-item a span,
.header_navbar .navbar-nav .nav-item a span::before,
.header_navbar .navbar-nav .nav-item a span::after {
    background-color: #293651;
}
.header_navbar .navbar-nav .nav-item.active > a,
.header_navbar .navbar-nav .nav-item:hover > a {
    color: #00A78E;
}

/* Blog listing cards */
.blog_card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(41, 54, 81, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.blog_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #00A78E;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}
.blog_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(41, 54, 81, 0.14);
}
.blog_card:hover::before {
    transform: scaleX(1);
}
.blog_card .blog_tag {
    display: inline-block;
    background: rgba(0, 167, 142, 0.1);
    color: #00A78E;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    width: fit-content;
}
/* Tonal variety per topic, still inside the site's teal/navy palette */
.blog_card .blog_tag[data-tag="career"] {
    background: rgba(41, 54, 81, 0.08);
    color: #293651;
}
.blog_card .blog_tag[data-tag="leadership"] {
    background: rgba(0, 167, 142, 0.16);
    color: #00816c;
}
.blog_card .blog_tag[data-tag="industry"] {
    background: rgba(41, 54, 81, 0.85);
    color: #fff;
}
.blog_card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}
.blog_card h4 a {
    color: #293651;
}
.blog_card h4 a:hover {
    color: #00A78E;
}
.blog_card p.excerpt {
    color: #646F87;
    line-height: 1.7;
    flex-grow: 1;
}
.blog_meta {
    color: #8b93a7;
    font-size: 13px;
    margin-top: 15px;
}
.blog_meta i {
    color: #00A78E;
    margin-right: 4px;
}
.blog_meta i + span,
.blog_meta i {
    margin-right: 4px;
}
.blog_meta .meta_sep {
    margin: 0 8px;
}
.blog_card .read_more {
    margin-top: 15px;
    font-weight: 600;
    color: #00A78E;
    display: inline-block;
}

/* Blog grid + sidebar layout */
.blog_grid_row {
    transition: opacity 0.2s ease-out;
}
.blog_grid_item {
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}
.blog_grid_item.is-hidden {
    display: none;
}
.blog_empty_state {
    display: none;
    color: #8b93a7;
    text-align: center;
    padding: 40px 0;
    font-size: 15px;
}
.blog_empty_state.is-visible {
    display: block;
}

/* Featured / latest post spotlight */
.featured_post {
    position: relative;
    background: #293651;
    border-radius: 16px;
    padding: 45px 50px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 25px 60px rgba(41, 54, 81, 0.25);
}
.featured_post::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: rgba(0, 167, 142, 0.85);
    transform: skewX(-16deg);
    z-index: 0;
}
.featured_post::after {
    content: '';
    position: absolute;
    top: -30%;
    right: 6%;
    width: 12%;
    height: 160%;
    background: rgba(0, 167, 142, 0.35);
    transform: skewX(-16deg);
    z-index: 0;
}
@media (max-width: 767px) {
    .featured_post {
        padding: 35px 25px;
    }
    .featured_post::before,
    .featured_post::after {
        display: none;
    }
}
.featured_post_inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}
.featured_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7be0cf;
    margin-bottom: 16px;
}
.featured_post .blog_tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.featured_post h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 14px;
}
@media (max-width: 767px) {
    .featured_post h2 {
        font-size: 23px;
    }
}
.featured_post h2 a {
    color: #fff;
}
.featured_post h2 a:hover {
    color: #d9fff8;
}
.featured_post p.excerpt {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 22px;
}
.featured_post .blog_meta {
    color: rgba(255, 255, 255, 0.65);
    display: block;
    margin-bottom: 24px;
}
.featured_post .blog_meta i {
    color: #7be0cf;
}
.featured_post .main-btn {
    padding: 0 28px;
    height: 46px;
    line-height: 46px;
}

/* Sidebar widgets */
.blog_sidebar_widget {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 15px 40px rgba(41, 54, 81, 0.08);
    margin-bottom: 30px;
}
.blog_sidebar_widget h5 {
    font-size: 16px;
    color: #293651;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog_sidebar_widget h5 i {
    color: #00A78E;
}
.archive_list, .topic_list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.archive_list li {
    margin-bottom: 4px;
}
.archive_list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 10px;
    border-radius: 8px;
    color: #646F87;
    font-size: 14px;
    transition: background 0.2s ease-out, color 0.2s ease-out;
}
.archive_list li a:hover {
    background: rgba(0, 167, 142, 0.08);
    color: #00A78E;
}
.archive_list li a.active {
    background: #00A78E;
    color: #fff;
}
.archive_list li a.active .archive_count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.archive_count {
    background: rgba(41, 54, 81, 0.08);
    color: #8b93a7;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}
.topic_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.topic_list li a {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 20px;
    background: rgba(0, 167, 142, 0.08);
    color: #293651;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease-out, color 0.2s ease-out;
}
.topic_list li a:hover,
.topic_list li a.active {
    background: #00A78E;
    color: #fff;
}
.archive_reset {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #00A78E;
}
.archive_reset.is-hidden {
    display: none;
}
.sidebar_author_widget {
    text-align: center;
}
.sidebar_author_widget img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
}
.sidebar_author_widget h5 {
    justify-content: center;
    margin-bottom: 6px;
}
.sidebar_author_widget p {
    color: #646F87;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}
.sidebar_author_widget .main-btn {
    padding: 0 22px;
    height: 42px;
    line-height: 42px;
    font-size: 14px;
}

/* Homepage "From the Blog" carousel — infinite/circular via Slick */
.blog_active {
    padding-bottom: 60px;
}
.blog_active .col-lg-4.slick-slide {
    padding-top: 8px;
    padding-bottom: 2px;
}
.blog_active .blog_card {
    margin: 0 2px;
    /* Height is left alone here on purpose — Slick assumes block/float slides
       with JS-managed pixel widths, and forcing display:flex on .slick-track
       to get equal heights fights that (it broke the initial-slide-position
       math). Equal heights are set as an explicit px value by JS after init
       instead, see the blog-card-equal-height pass in main.js. */
}
.blog_active .slick-arrow {
    position: absolute;
    bottom: 0;
    right: 50%;
    z-index: 9;
    margin: 0 15px;
    cursor: pointer;
}
.blog_active .slick-arrow i {
    font-size: 18px;
    color: #646F87;
    transition: all 0.3s ease-out 0s;
}
.blog_active .slick-arrow.next {
    right: auto;
    left: 50%;
}
.blog_active .slick-arrow:hover i {
    color: #00A78E;
}

/* Blog post article */
.post_content {
    max-width: 780px;
    margin: 0 auto;
}
.post_tag {
    display: inline-block;
    background: rgba(0, 167, 142, 0.1);
    color: #00A78E;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.post_title {
    font-size: 36px;
    font-weight: 700;
    color: #293651;
    margin-bottom: 15px;
    line-height: 1.3;
}
@media (max-width: 767px) {
    .post_title {
        font-size: 28px;
    }
}
.post_meta {
    color: #8b93a7;
    font-size: 14px;
    margin-bottom: 40px;
}
.post_content p {
    color: #646F87;
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 22px;
}
.post_content h2 {
    font-size: 24px;
    color: #293651;
    margin-top: 45px;
    margin-bottom: 18px;
}
.post_content blockquote {
    border-left: 4px solid #00A78E;
    padding: 10px 25px;
    margin: 30px 0;
    font-size: 18px;
    font-style: italic;
    color: #293651;
}
.post_content sup a {
    color: #00A78E;
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
}
.post_content sup a:hover {
    text-decoration: underline;
}
.post_sources {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #eceff8;
}
.post_sources h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b93a7;
    margin-bottom: 15px;
}
.post_sources ol {
    padding-left: 20px;
    margin: 0;
}
.post_sources li {
    color: #646F87;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 6px;
}
.post_sources li a {
    color: #00A78E;
}
.post_sources li a:hover {
    text-decoration: underline;
}
.author_box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #F9F9F9;
    border-radius: 12px;
    padding: 25px;
    margin-top: 50px;
}
.author_box img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.author_box h5 {
    margin-bottom: 5px;
    color: #293651;
}
.author_box p {
    color: #646F87;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}
.back_to_blog {
    display: inline-block;
    margin-top: 40px;
    font-weight: 600;
    color: #00A78E;
}

/* Related-post cross-links at the bottom of each article */
.post_related {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #eceff8;
}
.post_related h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b93a7;
    margin-bottom: 18px;
}
.post_related_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 767px) {
    .post_related_grid {
        grid-template-columns: 1fr;
    }
}
.post_related_card {
    display: block;
    background: #fff;
    border: 1px solid #eceff8;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}
.post_related_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(41, 54, 81, 0.1);
    border-color: transparent;
}
.post_related_card .blog_tag {
    margin-bottom: 10px;
}
.post_related_card h4 {
    font-size: 16px;
    color: #293651;
    margin: 0;
    line-height: 1.4;
}
.post_related_card:hover h4 {
    color: #00A78E;
}

/* Homepage About section — Technical Toolkit pills */
.tech_toolkit_title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b93a7;
    margin-bottom: 18px;
}
.tech_toolkit_group {
    margin-bottom: 16px;
}
.tech_toolkit_label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #293651;
    margin-bottom: 8px;
}
.tech_pill_list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.tech_pill_list li {
    background: rgba(0, 167, 142, 0.08);
    color: #293651;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 13px;
    border-radius: 20px;
}

/* Equal-height cards: .single_service is used by three homepage sections
   (Core Competencies, How I Approach Architecture, Education & Certifications)
   and always sits in a Bootstrap flex row, so the column already stretches to
   a common height — but the card itself carries its own mt-30 margin rather
   than the column carrying it, so it doesn't fill that stretched height on
   its own. calc() accounts for that margin; this is a plain single-pass CSS
   flex computation, not tied to any JS-driven carousel, so it carries none of
   the resize-feedback-loop risk that applies to the Slick-based carousels. */
.single_service {
    height: calc(100% - 30px);
}
