/* PMT News pages — layout fixes & blue theme */

:root {
    --pmt-news-accent: #13B5EA;
    --pmt-news-header: #003865;
    --pmt-news-navy: #0d266c;
}

body.pmt-news-page .header-1.header-2 .header-main .header-right .theme-btn {
    background-color: var(--pmt-news-accent);
}

body.pmt-news-page .header-1.header-2 .header-main .header-right .theme-btn:hover {
    background-color: var(--pmt-news-header);
}

body.pmt-news-page .header-1.header-2 .header-main .header-right .text-btn:hover {
    color: var(--pmt-news-accent) !important;
}

body.pmt-news-page .header-1.header-2 .header-main .main-menu ul li a:hover,
body.pmt-news-page .header-1.header-2 .header-main .main-menu ul li:hover > a {
    color: var(--pmt-news-accent) !important;
}

body.pmt-news-page .header-1.header-2 .header-main .main-menu ul li:hover > a::after {
    color: var(--pmt-news-accent);
}

/* Buttons — replace template orange (--theme2) with PMT blue */
.pmt-news .theme-btn {
    background-color: var(--pmt-news-accent) !important;
    border-color: var(--pmt-news-accent) !important;
    color: #fff !important;
}

.pmt-news .theme-btn::after {
    background-color: var(--pmt-news-header) !important;
}

.pmt-news .theme-btn:hover {
    background-color: var(--pmt-news-header) !important;
    border-color: var(--pmt-news-header) !important;
    color: #fff !important;
}

/* News listing cards */
.pmt-news .news-standard-wrapper .news-post-item .news-content h3 a {
    color: var(--pmt-news-header);
}

.pmt-news .news-standard-wrapper .news-post-item .news-content h3 a:hover {
    color: var(--pmt-news-accent);
}

.pmt-news .news-standard-wrapper .news-post-item .news-content .news-meta li:hover {
    color: var(--pmt-news-accent);
}

/* News detail */
.pmt-news .news-details-wrapper .news-details-post .details-content h3 {
    color: var(--pmt-news-header);
}

.pmt-news .news-details-wrapper .news-details-post .details-content .tag-share-wrap .tagcloud a:hover,
.pmt-news .news-details-wrapper .news-details-post .details-content .tag-share-wrap .social-share a:hover {
    background-color: var(--pmt-news-accent);
    border-color: var(--pmt-news-accent);
    color: #fff;
}

.pmt-news .news-details-wrapper .news-client-box h3 {
    color: var(--pmt-news-header);
}

/* Pagination */
.pmt-news .page-nav-wrap ul li.active .page-numbers,
.pmt-news .page-nav-wrap ul li .page-numbers.current {
    background-color: var(--pmt-news-accent) !important;
    border-color: var(--pmt-news-accent) !important;
    color: #fff !important;
}

.pmt-news .page-nav-wrap ul li .page-numbers:hover {
    background-color: var(--pmt-news-header) !important;
    border-color: var(--pmt-news-header) !important;
    color: #fff !important;
}

/* Sidebar */
.pmt-news .main-sideber .single-sidebar-widget .wid-title h4 {
    color: var(--pmt-news-header);
}

.pmt-news .main-sideber .single-sidebar-widget .search-widget form button:hover {
    color: var(--pmt-news-accent);
}

.pmt-news .main-sideber .recent-post-area .recent-content h5 a:hover {
    color: var(--pmt-news-accent);
}

.pmt-news .main-sideber .recent-post-area .recent-content ul li:hover {
    color: var(--pmt-news-accent);
}

.pmt-news .main-sideber .tagcloud a:hover {
    background-color: var(--pmt-news-accent) !important;
    border-color: var(--pmt-news-accent) !important;
    color: #fff !important;
}

.pmt-news .main-sideber .contact-bg .content h5::before {
    background-color: var(--pmt-news-accent);
}

.pmt-news .main-sideber .contact-bg .theme-btn {
    background-color: var(--pmt-news-accent) !important;
}

.pmt-news .main-sideber .contact-bg .theme-btn::after {
    background-color: var(--pmt-news-navy) !important;
}

.pmt-news .main-sideber .contact-bg .theme-btn:hover {
    background-color: var(--pmt-news-navy) !important;
}

/* Breadcrumb video background */
.pmt-news .breadcrumb-wrapper {
    position: relative;
    overflow: hidden;
}

.pmt-news .breadcrumb-wrapper__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.pmt-news .breadcrumb-wrapper .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb — navy overlay */
.pmt-news .breadcrumb-wrapper::before {
    background: linear-gradient(
        227deg,
        rgba(0, 56, 101, 0.35) 24.35%,
        rgba(13, 38, 108, 0.88) 81.21%
    );
}

.pmt-news .breadcrumb-wrapper .page-heading.style-2 h1 {
    font-size: clamp(28px, 4vw, 52px);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.25;
}

/* Main featured image */
.pmt-news .news-details-wrapper .news-details-post .details-image {
    overflow: hidden;
    border-radius: 7px;
}

.pmt-news .news-details-wrapper .news-details-post .details-image img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.pmt-news .news-details-wrapper .details-content img,
.pmt-news .news-standard-wrapper .news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 7px;
}

/* Listing page thumbnails */
.pmt-news .news-standard-wrapper .news-post-item .news-image {
    overflow: hidden;
    border-radius: 7px;
    max-height: 420px;
}

.pmt-news .news-standard-wrapper .news-post-item .news-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Sidebar — constrain recent post thumbs */
.pmt-news .main-sideber .recent-post-area .recent-items {
    align-items: flex-start;
}

.pmt-news .main-sideber .recent-post-area .recent-thumb {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 50%;
}

.pmt-news .main-sideber .recent-post-area .recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.pmt-news .main-sideber .recent-post-area .recent-content {
    flex: 1;
    min-width: 0;
}

.pmt-news .main-sideber .recent-post-area .recent-content h5 {
    font-size: 16px;
    line-height: 1.4;
}

/* Sidebar category list */
.pmt-news .pmt-news-categories-widget .wid-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.pmt-news .pmt-news-categories {
    margin-top: 0;
}

.pmt-news .pmt-news-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pmt-news .pmt-news-categories li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    margin: 0;
    border-bottom: 1px solid #efefef;
    position: relative;
    line-height: 1.4;
}

.pmt-news .pmt-news-categories li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pmt-news .pmt-news-categories li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--pmt-news-accent);
}

.pmt-news .pmt-news-categories li a {
    flex: 1;
    min-width: 0;
    padding-left: 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--pmt-news-navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pmt-news .pmt-news-categories li span {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    color: var(--pmt-news-navy);
    opacity: 0.55;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.pmt-news .pmt-news-categories li:hover a,
.pmt-news .pmt-news-categories li.is-active a {
    color: var(--pmt-news-accent);
}

.pmt-news .pmt-news-categories li:hover span,
.pmt-news .pmt-news-categories li.is-active span {
    color: var(--pmt-news-accent);
    opacity: 1;
}

/* Override template .style-2 padding quirks inside category widget */
.pmt-news .pmt-news-categories-widget.single-sidebar-widget.style-2 {
    padding: 32px 32px 28px;
}

.pmt-news .pmt-news-categories-widget .news-widget-categories li.style-2 {
    padding: 16px 0;
}

/* Sidebar CTA box */
.pmt-news .main-sideber .contact-bg {
    background-color: var(--pmt-news-header) !important;
    background-image: linear-gradient(
        180deg,
        rgba(0, 56, 101, 0.2) 0%,
        rgba(13, 38, 108, 0.95) 100%
    ) !important;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Related articles */
.pmt-news .news-details-wrapper .news-client-box .client-area .client-item {
    text-decoration: none;
    color: inherit;
    max-width: calc(50% - 15px);
}

.pmt-news .news-details-wrapper .news-client-box .client-area .client-item .client-image {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
}

.pmt-news .news-details-wrapper .news-client-box .client-area .client-item .client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.pmt-news .news-details-wrapper .news-client-box .client-area .client-item .content {
    flex: 1;
    min-width: 0;
}

.pmt-news .news-details-wrapper .news-client-box .client-area .client-item .content h5 {
    font-size: 17px;
    line-height: 1.35;
    color: var(--pmt-news-header);
}

.pmt-news .news-details-wrapper .news-client-box .client-area .client-item:hover .content h5 {
    color: var(--pmt-news-accent);
}

/* Author box without avatar */
.pmt-news .news-details-wrapper .news-comment-box {
    align-items: flex-start;
}

.pmt-news .news-details-wrapper .news-comment-box .content p {
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .pmt-news .news-details-wrapper .news-client-box .client-area .client-item {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .pmt-news .breadcrumb-wrapper .page-heading.style-2 {
        padding: 130px 0 80px;
    }

    .pmt-news .main-sideber .recent-post-area .recent-items {
        gap: 16px;
    }
}
