/* Tag page styles — from production style.css (not loaded globally in Drupal) */
.breadcrumb__item {
    text-transform: capitalize;
}

section.tag-page-header {
    position: relative;
    margin-top: 0;
}

.tag-banner {
    background: url('../../../../sites/default/files/static/tag-banner.png'), linear-gradient(to bottom, #0f2e95, #2566ed);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 25px 100px 15px 100px;
    border-radius: 8px;
}

.tag-banner.banner-wo-image {
    background: url('../../../../sites/default/files/static/tag-banner.png'), linear-gradient(to bottom, #0f2e95, #2566ed);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

img.banner-img {
    width: 65%;
    display: block;
    margin: 0 auto;
}

.tag-banner img.banner-img {
    margin: 0 auto;
}

h1.page-tit {
    font-size: 2.7em;
    color: #fff;
    position: relative;
    margin-top: 0;
    text-transform: capitalize;
}

.tag-banner h1.page-tit {
    margin-top: 30px;
}

.banner-wo-image h1.page-tit {
    margin: 0;
    text-align: center;
    padding: 60px 0;
}

.page-descr {
    color: #fff;
    font-size: 1.125em;
    line-height: 1.4;
    margin-bottom: 30px;

}

.page-descr p, .page-descr-text p, .page-descr-text {
    color: #fff;
}

span.cta {
    display: inline-block;
    padding: 10px 19px;
    background: #ffc304;
    font-weight: 500;
    color: #000 !important;
    text-transform: uppercase;
    border-radius: 2px;
    font-size: 1rem;
    cursor: pointer;
}

span.cta.tag-cta {
    margin-top: 12px;
}

span.cta:hover {
    background: #fff;
}

h2.page-title {
    font-size: 1.8em;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 50px;
}

.allprd-cat {
    display: block;
    color: #1248b5;
    font-weight: 300;
    font-size: 0.82em;
    margin-bottom: 6px;
}

.thumblink {
    display: block;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    border-radius: 6px;
    overflow: hidden;
}

.thumblink img {
    display: block;
    height: 190px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    object-position: left;
}

.alm-listing {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.alm-listing>li {
    list-style: none;
    width: 25%;
    padding: 0 12px;
    margin-bottom: 35px;
    box-sizing: border-box;
}

.alm-listing h3 {
    margin: 8px 0;
    line-height: 1.3;
    font-size: 16px;
    font-weight: 600;
    min-height: 80px;
}

.alm-listing h3 a.atag {
    color: #1F1F1F;
    display: block;
    font-size: 1rem;
    line-height: 1.4;
    text-decoration: none;
}
.tag-section{
    padding-top: 50px;
}
.tag-section .cols-12{
    padding: 0;
}

.alm-listing h3 a.atag:hover {
    color: #1e499a;
}
.tag-container a{
    color: white;
    text-decoration: underline;
}
@media only screen and (max-width: 1024px) {
    .tag-container{
        font-size:14px;
    }
    .tag-banner img.banner-img {
        width: 100%;
        display: block;
        position: static;
        margin: 30px auto 0 auto;
    }
}
@media only screen and (max-width: 992px) {
    .alm-listing>li {
        width: 33.333%;
    }
}

@media only screen and (max-width: 768px) {
    .alm-listing>li {
        width: 50%;
    }
}
@media only screen and (max-width: 650px) {
    .tag-author-box .auth-name{
        margin-top:30px !important;
    }
}
@media only screen and (max-width: 480px) {
    .alm-listing>li {
        width: 100%;
    }
}

.entry-meta {
    margin-top: 15px;
}

p.in-author {
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.entry-meta span.auth-spn {
    display: block;
    font-style: normal;
}

.entry-meta a.author {
    color: #000;
    font-size: 1em;
    font-weight: 400;
    line-height: normal;
}

.entry-meta a.author:hover {
    color: #111c95;
}

p.magazine-date {
    display: block;
    margin: 0;
    font-size: 15px;
}

.tag-container {
    background: #212121;
    color: #fff;
    padding: 100px 0 140px 0;
}
.tag-container:empty,
.tag-container:not(:has(.row, .tag-author-box)) {
    padding: 0 !important;
    background: none;
}
section.tag-container:not(:has(.row, .tag-author-box))::after {
    display: none;
}

.tag-container p {
    color: #fff;
}

.tag-container p a,
.tag-container h4 a,
.tag-container h2 a {
    color: #fff;
    text-decoration: underline;
}

.tag-container .toc ul li a {
    color: #d6d6d6;
}

.tag-container .c-toc-content h2 {
    color: #fff;
}

.tag-container .c-toc-content h3 {
    color: #fff;
}

.tag-container .c-toc-content img {
    max-width: 100%;
    border-radius: 4px;
    margin: 12px 0;
}

.fixed-sidebar {
    position: sticky;
    top: 80px;
    overflow-y: auto;
    padding-right: 10px;
}

.c-toc nav.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-toc nav.toc ul li {
    margin-bottom: 10px;
}

.c-toc nav.toc ul li {
    position: relative;
    padding-left: 14px;
}

.c-toc nav.toc ul li a,
.c-toc nav.toc ul li button {
    color: #d6d6d6;
    text-decoration: none;
    font-size: 1.1em;
    line-height: 1.4;
    display: block;
}

.c-toc nav.toc ul li button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.toc ul li.active-tab a:before, .toc ul li a:hover:before,
.toc ul li.active-tab button:before, .toc ul li button:hover:before {
    content: "";
    background: #0041ff;
    height: 80%;
    width: 3px;
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.c-toc nav.toc ul li a:hover,
.c-toc nav.toc ul li.active-tab a,
.c-toc nav.toc ul li button:hover,
.c-toc nav.toc ul li.active-tab button {
    color: #fff;
}

/* AUTHOR BOX — dark background overrides */
.tag-author-box {
    margin: 100px 0 0;
    width: 100%;
}
.tag-author-box .auth-name {
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 5px;
}
.tag-author-box .auth-details {
    color: #ccc;
    margin: 0 0 14px;
}
.tag-author-box .auth-details span {
    color: #ccc;
}
.tag-author-box .auth-descr,
.tag-author-box .auth-descr p {
    color: #d0d0d0;
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 22px;
}
.tag-author-box a.profile-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.tag-author-box a.profile-link:hover {
    color: #ccc;
    text-decoration: none;
}
.author-social {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.author-social li {
    display: inline-block;
    margin-right: 8px;
}
a.au-li {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.45);
    background: url("../../../../sites/default/files/media/wp/2024/04/linkedin.png") no-repeat center / 24px ;
    vertical-align: middle;
    text-indent: -9999px;
    overflow: hidden;
    transition: border-color 0.2s, background-color 0.2s;
}
a.au-li:hover {
    border-color: #0a66c2;
    background-color: #0a66c2;
}

.alm-btn-wrap {
    display: block;
    text-align: center;
    margin: 0 0 25px;
    padding: 10px 0 0;
}

button.alm-load-more-btn {
    background: #ffc300;
    border-radius: 33px;
    font-weight: 500;
    padding: 14px 35px;
    height: auto;
    color: #000;
    font-size: 1.05em;
    border: none;
}

button.alm-load-more-btn:hover {
    background: #404040;
    color: #fff;
}
.tag-container .container {
    max-width: 1100px;
}
.c-toc-content h2{
    margin-top:0;
}

@media only screen and (max-width: 900px) {
    .tag-banner {
        padding: 20px 20px 10px;
    }

    h1.page-tit {
        font-size: 1.8em;
    }
}

@media only screen and (max-width: 768px) {
    .cols-md-hidden {
        display: none !important;
    }
}

/* Remove white space between tag page content and newsletter/footer */
section.tag-container {
    margin-bottom: 0 !important;
    position: relative;
}
section.tag-container::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -200px;
    height: 200px;
    background: #212121;
    z-index: 0;
}
main:has(.tag-page-header) + #newsletter-section,
main:has(.tag-page-header) + .footer-sec {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
