/* Suit and Tie visual layer (from child theme).
 * Loaded after BlogArise colors so these overrides win.
 */

:root {
    --bo-color: #222;
    --bxbr: 2px solid var(--bo-color);
    --bxbra: 8px;
    --bxsh: 8px 8px 0px var(--bo-color);
    --small-bxsh: 4px 4px 0px var(--bo-color);
    --bxshover: 8px 8px 0px var(--bo-color);
    --bstras: 0 4px 60px 0 rgba(0, 0, 0, 0.2);
    --headFont: 'Bricolage Grotesque', sans-serif;
    --bodyFont: 'Inter', sans-serif;
}
h1, h2, h3, h4, h5, h6, .bs-blog-post .title, .bs-slide .inner .title, .bs-widget-title .title{
    font-weight: 800;
}
.screen-reader-text {
	clip: unset;
}
.site-branding-text .site-title a{
    text-shadow: clamp(2px, (100vw - 991px) * 999, 4px) clamp(2px, (100vw - 991px) * 999, 4px) var(--pri-color);
}
.bs-slide .inner .title{
    font-size: calc( 22px  + clamp(0px, (100vw - 767px) * 999, 8px)  + clamp(0px, (100vw - 991px) * 999, 5px) );   
}
.small-post .title, .bs-widget .small-post-content .title{
    font-weight: 700;
}
a:focus {
    outline: 1px solid;
}
::selection{
    background-color: #2E2E2E;
    color: var(--pri-color);
}
.trending-posts .img-small-post .post-small-img{
    object-fit: cover;
    max-width: 100%;
    height: 100%;
    width: 100%;
}
.trending-posts .img-small-post{
    margin-right: 0;
    width: auto;
}
.trending-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.trending-posts .small-post{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0;
    padding: 15px 0px;
    overflow: visible;
}
.trending-posts .small-post:first-child{
    padding-top: 0;
}
.trending-posts .small-post .img-small-post {
    border: 2px solid #000;
    box-shadow: var(--small-bxsh);
    border-radius: calc(var(--bxbra)/1.333333);
}
.trending-posts .small-post-content {
    grid-column: span 2;
}
.trending-posts .bs-blog-category{
    justify-content: flex-start;
}
.bs-blog-category a:not(.bs-blog-post.three .bs-blog-category a){
    box-shadow: none;
    border: none;
    padding: 0;
    border-radius: 0;
}
.bs-default .navbar-wp{
    box-shadow: none;
    border: none;
    border-radius: 0;
    border-top: 1px solid var(--bo-color);
    border-bottom: 1px solid var(--bo-color);
}
.mg-latest-news .bn_title .title{
    line-height: 1.3;
    padding: 10px 20px;
    font-size: 22px;
    box-shadow: var(--small-bxsh);
    border-radius: calc(var(--bxbra)/1.333333);
}
.mg-latest-news{
    height: 50px;
}
.bs-slide .inner .title, .trending-posts .small-post .title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
/* animation */
.mg-latest-news .bn_title .title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    /* padding-right: 8px; */
}
/* The icon */
.mg-latest-news .bn_title .title::before {
    content: "\e0b7";   /* Font Awesome unicode */
    font-family: "Font Awesome 6 Free"; /* Or your FA font */
    font-weight: 900;
    font-size: 16px;
    position: relative;
    z-index: 2;
}
/* Ripple animation container (behind icon) */
.mg-latest-news .bn_title .title::after {
    content: "";
    position: absolute;
    left: 26px;       /* adjust position relative to icon */
    top: 50%;
    transform: translateY(-50%) translateX(0);
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0;
    animation: zoom 2s linear infinite;
    z-index: 1;
}
/* Additional ripples */
.mg-latest-news .bn_title::before,
.mg-latest-news .bn_title::after {
    content: "";
    position: absolute;
    left: 29px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}
.mg-latest-news .bn_title::before {
    animation: zoom 2s linear 0.5s infinite;
}
.mg-latest-news .bn_title::after {
    animation: zoom 2s linear 1s infinite;
}
.bs-default .navbar-brand{
    height: auto;
}

@keyframes zoom {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

@media screen and (max-width: 991px){
    .bs-default .navbar-wp{
        padding: 20px 0;
        border-top: none;
    }
}
@media screen and (max-width: 767px){
    .trending-posts .small-post {
        grid-template-columns: repeat(4, 1fr);
    }
    .trending-posts .small-post-content {
        grid-column: span 3;
    }
    .mg-latest-news .bn_title .title{
        font-size: 0;
        gap: 0;
    }
}

/* Homepage sections */
.st-home-section {
    margin-bottom: 45px;
}
.st-home-section .st-section-head {
    border-bottom: 2px solid var(--bo-color);
    margin-bottom: 24px;
}
.st-home-section .st-section-title {
    text-align: left;
    margin: 0;
    padding: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
.st-home-section .st-section-foot {
    text-align: center;
    margin-top: 4px;
}
.st-home-section .st-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pri-color);
    background: none;
    border: 2px solid var(--pri-color);
    border-radius: 30px;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}
.st-home-section .st-view-all .fa {
    transition: transform .2s ease;
}
.st-home-section .st-view-all:hover,
.st-home-section .st-view-all:focus {
    background: var(--pri-color);
    color: #fff;
    text-decoration: none;
}
.st-home-section .st-view-all:hover .fa,
.st-home-section .st-view-all:focus .fa {
    transform: translateX(3px);
}
.st-home-section .bs-blog-post.grid {
    margin-bottom: 24px;
}
/* Smaller card typography for the 3-up homepage grid */
.st-home-section .bs-blog-post.grid .title {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 12px;
}
.st-home-section .bs-blog-post.grid .small {
    font-size: 15px;
    padding-top: 14px;
}
.st-home-section .bs-blog-post.grid article.small p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Narrower content width so the site doesn't feel too wide on large screens */
@media (min-width: 1200px) {
    #custom-background-css .container {
        max-width: 1140px;
    }
}

/* Calmer main menu: drop the bright orange bar for a clean neutral nav */
#custom-background-css .bs-default .navbar-wp {
    background: transparent;
    border-color: var(--bo-color);
}
#custom-background-css .bs-default .navbar-wp .navbar-nav > li > a {
    color: var(--head-color);
    background: transparent;
    font-weight: 600;
}
#custom-background-css .bs-default .navbar-wp .navbar-nav > li > a:hover,
#custom-background-css .bs-default .navbar-wp .navbar-nav > li > a:focus,
#custom-background-css .bs-default .navbar-wp .navbar-nav > li.active > a,
#custom-background-css .bs-default .navbar-wp .navbar-nav > li.current-menu-item > a,
#custom-background-css .bs-default .navbar-wp .navbar-nav > li.current-menu-ancestor > a {
    color: var(--pri-color);
    background: transparent;
}
@media (max-width: 991.98px) {
    /* Readable mobile dropdown panel (not a full-bleed orange block) */
    #custom-background-css .navbar-wp .navbar-nav {
        background: var(--box-color);
        border-radius: 10px;
        padding: 8px 12px;
    }
}

/* "You Missed" section title: match clean homepage-section headers */
.missed .wd-back {
    padding: 0;
    background: none;
    box-shadow: none;
    border: 0;
}
.missed .bs-widget-title {
    display: block;
    width: 100%;
    border-bottom: 2px solid var(--bo-color);
    margin-bottom: 24px;
}
.missed .bs-widget-title .title {
    background: none;
    border: 0;
    border-radius: 0;
    text-align: left;
    width: auto;
    padding: 0 0 10px;
    color: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
/* Uniform card image size across all homepage-section cards */
.st-home .st-home-section .bs-blog-post.grid .bs-blog-thumb,
.st-home .st-home-section .bs-blog-post.grid .bs-blog-thumb.lg,
.st-home .st-home-section .bs-blog-post.grid .bs-blog-thumb.md {
    height: auto !important;
    aspect-ratio: 16 / 10;
    min-height: 0;
    width: 100%;
}
.st-home .st-home-section .bs-blog-post.grid .bs-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ */
.article-faq {
    margin-top: 32px;
    font-family: var(--bodyFont);
}

.article-faq h2 {
    margin-bottom: 12px;
    font-family: var(--headFont);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bo-color);
}

.article-faq__intro {
    margin: 0 0 16px;
    padding: 0;
    color: #555;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.article-faq__intro > :last-child {
    margin-bottom: 0;
}

.faq-list {
    margin: 0;
    padding: 0;
}

.faq-item {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
    margin-top: 14px;
    padding-left: 12px;
}

.faq-item:first-child {
    margin-top: 0;
}

.faq-icon {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 2px;
    color: var(--pri-color);
}

.faq-icon__svg {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
}

.faq-question-text {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    font-family: var(--headFont);
    font-weight: 700;
    font-size: 1rem;
    color: var(--bo-color);
}

.faq-answer {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
    color: #555;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.faq-answer p {
    margin: 0;
}

.faq-answer > :last-child {
    margin-bottom: 0;
}

.faq-answer a,
.article-faq__intro a {
    color: var(--pri-color);
}

.exec-embed-post {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "title title"
        "inner inner";
    column-gap: 1.25rem;
    row-gap: 0.75rem;
    max-width: 36rem;
    margin: 1.5rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    background: transparent;
}

.exec-embed-post__title {
    grid-area: title;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 800;
}

.exec-embed-post__title .exec-embed-post__link {
    color: var(--bo-color);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.exec-embed-post__title .exec-embed-post__link:hover,
.exec-embed-post__title .exec-embed-post__link:focus {
    color: var(--pri-color);
}

.exec-embed-post__inner {
    grid-area: inner;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: start;
}

.exec-embed-post:not(.exec-embed-post--has-image) .exec-embed-post__inner {
    grid-template-columns: 1fr;
}

.exec-embed-post__image {
    min-width: 0;
}

.exec-embed-post__image a {
    display: block;
}

.exec-embed-post__image img {
    width: 100%;
    height: 11.5rem;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.exec-embed-post__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.exec-embed-post__category {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #666;
}

.exec-embed-post__category:hover,
.exec-embed-post__category:focus {
    color: var(--bo-color);
}

.exec-embed-post__excerpt {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.exec-embed-post__more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bo-color);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.exec-embed-post__more:hover,
.exec-embed-post__more:focus {
    color: var(--pri-color);
}

/* Author archive */
.author-archive-header {
    align-items: flex-start;
    gap: 1rem;
}
.author-archive-header__profile {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
}
.author-archive-header__avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: var(--bxbr);
    box-shadow: var(--small-bxsh);
}
.author-archive-header__meta .title {
    font-size: 1.75rem;
    line-height: 1.2;
}
.author-archive-header__count {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #666;
}
.author-archive-header__bio {
    margin-top: 0.75rem;
    max-width: 42rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #333;
}
.author-archive-header__bio p {
    margin: 0 0 0.5rem;
}
.author-archive-header__bio p:last-child {
    margin-bottom: 0;
}
.author-archive-header__social {
    margin: 0.85rem 0 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    list-style: none;
}
.author-post-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.author-post-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 12px 16px;
    background: #fff;
    border: var(--bxbr);
    border-radius: var(--bxbra);
    box-shadow: var(--small-bxsh);
}
.author-post-row__thumb {
    flex: 0 0 120px;
    width: 120px;
    height: 90px;
    overflow: hidden;
    border-radius: 6px;
    border: 2px solid var(--bo-color);
}
.author-post-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.author-post-row__body {
    min-width: 0;
    flex: 1;
}
.author-post-row__body .bs-blog-category {
    margin-bottom: 0.15rem;
    justify-content: flex-start;
}
.author-post-row .title {
    font-size: 1.125rem;
    line-height: 1.3;
    margin: 0 0 0.2rem;
}
.author-post-row .title a {
    color: inherit;
}
.author-post-row .title a:hover,
.author-post-row .title a:focus {
    color: var(--pri-color);
}
.author-post-row .bs-blog-meta {
    margin-bottom: 0.25rem;
}
.author-post-row__excerpt {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 767px) {
    .author-archive-header {
        flex-direction: column;
    }
    .author-archive-header__avatar img {
        width: 72px;
        height: 72px;
    }
    .author-archive-header__meta .title {
        font-size: 1.4rem;
    }
    .author-post-row {
        align-items: flex-start;
    }
    .author-post-row__thumb {
        flex-basis: 88px;
        width: 88px;
        height: 72px;
    }
    .author-post-row .title {
        font-size: 1rem;
    }
}

@media (max-width: 599px) {
    .exec-embed-post,
    .exec-embed-post__inner {
        grid-template-columns: 1fr;
    }

    .exec-embed-post__image img {
        height: auto;
        max-height: 16rem;
    }
}
