/*
Theme Name: FACTHARBOUR NEWS
Theme URI: https://facthabournews.com/
Author: NUMJIN TECH, EDU AND ENERGY LTD
Author URI: https://facthabournews.com/
Description: Dynamic responsive newspaper WordPress theme converted from the supplied static website.
Version: 1.0.4
Requires at least: 5.8
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: facthabour-news
*/

/* Dynamic newspaper layer */
:root{--tn-accent:#168A45;--tn-green-dark:#0B5D34;--tn-green-light:#1FA85A;--tn-text:#111;--tn-muted:#777;--tn-border:#e7e7e7;--tn-container:1140px}
body{font-family:Arial,Helvetica,sans-serif;color:var(--tn-text);background:#fff;margin:0}.tn-container{width:min(100% - 32px,var(--tn-container));margin:auto}.tn-top{background:#111;color:#ddd;font-size:12px}.tn-top .tn-container{display:flex;justify-content:space-between;padding:8px 0}.tn-main{background:#fff}.tn-brand-row{min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:30px}.tn-brand{text-align:center;flex:1}.tn-site-title{font-family:Georgia,serif;font-size:42px;font-weight:700;color:#111;text-decoration:none}.tn-site-description{font-size:12px;color:#777;margin-top:4px}.tn-brand .custom-logo{max-height:75px;width:auto}.tn-search{display:flex;border:1px solid #ddd;height:38px}.tn-search input{border:0;padding:0 12px;outline:0;width:180px}.tn-search button{border:0;background:#111;color:#fff;width:42px}.tn-mobile-menu{display:none}.tn-nav{border-top:1px solid #eee;border-bottom:3px solid #111}.tn-menu{display:flex;list-style:none;margin:0;padding:0;overflow:auto}.tn-menu li{margin:0}.tn-menu a{display:block;padding:15px 17px;color:#111;text-decoration:none;font-size:13px;font-weight:700;text-transform:uppercase}.tn-menu a:hover,.tn-menu .current-menu-item>a{color:var(--tn-accent)}.tn-main-content{padding:38px 0}.tn-hero{display:grid;grid-template-columns:1.5fr 1fr;gap:34px;margin-bottom:45px}.tn-hero-image{display:block;aspect-ratio:16/9;background:#eee;overflow:hidden}.tn-hero-image img{width:100%;height:100%;object-fit:cover}.tn-hero-content{align-self:center}.tn-kicker,.tn-category{font-size:12px;text-transform:uppercase;font-weight:700;color:var(--tn-accent);text-decoration:none}.tn-hero h1{font:600 42px/1.08 Georgia,serif;margin:10px 0 15px}.tn-hero h1 a,.tn-card-title a,.tn-single h1 a{color:inherit;text-decoration:none}.tn-meta{display:flex;gap:8px;color:var(--tn-muted);font-size:12px;margin:8px 0 14px}.tn-hero p{font-size:16px;line-height:1.6;color:#444}.tn-read-more{display:inline-block;background:#111;color:#fff;text-decoration:none;padding:10px 16px;text-transform:uppercase;font-size:11px;font-weight:700}.tn-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px}.tn-section{margin-bottom:48px}.tn-section-head{display:flex;align-items:center;justify-content:space-between;border-top:3px solid #111;border-bottom:1px solid #ddd;margin-bottom:22px}.tn-section-head h1,.tn-section-head h2{font:700 25px/1.2 Georgia,serif;margin:12px 0}.tn-section-head a{font-size:11px;text-transform:uppercase;color:var(--tn-accent);text-decoration:none}.tn-grid{display:grid;gap:28px}.tn-grid-3{grid-template-columns:repeat(3,1fr)}.tn-grid-2{grid-template-columns:repeat(2,1fr)}.tn-card{min-width:0}.tn-card-image{display:block;aspect-ratio:16/10;background:#eee;overflow:hidden}.tn-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.tn-card:hover .tn-card-image img{transform:scale(1.03)}.tn-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#eee,#ccc)}.tn-card-body{padding-top:13px}.tn-card-title{font:600 22px/1.15 Georgia,serif;margin:7px 0}.tn-card-title a:hover{color:var(--tn-accent)}.tn-card p{font-size:14px;line-height:1.5;color:#555;margin:8px 0}.tn-sidebar{min-width:0}.tn-widget{margin-bottom:35px}.tn-widget-title{font:700 20px Georgia,serif;border-top:3px solid #111;border-bottom:1px solid #ddd;padding:12px 0;margin:0 0 16px}.tn-popular{margin:0;padding-left:25px}.tn-popular li{padding:12px 0;border-bottom:1px solid #eee}.tn-popular a{font:600 16px/1.25 Georgia,serif;color:#111;text-decoration:none}.tn-single-head{border-bottom:1px solid #ddd;padding-bottom:20px;margin-bottom:25px}.tn-single h1{font:700 48px/1.08 Georgia,serif;margin:10px 0}.tn-single-image{width:100%;max-height:650px;object-fit:cover;margin-bottom:25px}.tn-entry{font-size:18px;line-height:1.75}.tn-entry img{max-width:100%;height:auto}.tn-entry a{color:var(--tn-accent)}.tn-pagination{margin-top:30px}.tn-footer{background:#111;color:#ddd;margin-top:50px;padding-top:45px}.tn-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;padding-bottom:35px}.tn-footer h3{color:#fff}.tn-footer a{color:#ddd}.tn-footer-bottom{border-top:1px solid #333;padding:18px 0;font-size:12px;color:#aaa}.tn-comments{margin-top:40px}.tn-404{text-align:center;padding:100px 0}.tn-404 h1{font:700 48px Georgia,serif}
@media(max-width:900px){.tn-layout{grid-template-columns:1fr}.tn-sidebar{order:2}.tn-grid-3{grid-template-columns:repeat(2,1fr)}.tn-hero{grid-template-columns:1fr}.tn-footer-grid{grid-template-columns:1fr 1fr}.tn-single h1{font-size:38px}}
@media(max-width:650px){
    html,body{width:100%;max-width:100%;overflow-x:hidden}
    .tn-container{width:min(100% - 24px,var(--tn-container));}
    .tn-top{display:none}
    .tn-brand-row{min-height:78px;padding:8px 0;display:flex;align-items:center;gap:8px;position:relative}
    .tn-mobile-menu{display:flex;flex:0 0 42px;width:42px;height:42px;align-items:center;justify-content:center;border:0;background:transparent;color:#111;padding:0;margin:0;font-size:28px;line-height:1;cursor:pointer;z-index:1002}
    .tn-mobile-menu:focus-visible{outline:2px solid var(--tn-accent);outline-offset:2px}
    .tn-brand{min-width:0;display:flex;flex:1;align-items:center;justify-content:center;text-align:center;overflow:hidden}
    .tn-brand .custom-logo{display:block;max-width:100%;width:auto;height:auto;max-height:64px;margin:0 auto}
    .tn-site-title{font-size:28px;line-height:1;white-space:nowrap}
    .tn-site-description{display:none}
    .tn-search{display:none}
    .tn-nav{display:none;border-top:1px solid #eee;border-bottom:3px solid #111;background:#fff;max-height:calc(100vh - 78px);overflow-y:auto;overflow-x:hidden;position:relative;z-index:1001}
    .tn-nav.is-open{display:block}
    .tn-menu{display:block;overflow:visible;width:100%;margin:0;padding:4px 0}
    .tn-menu li{display:block;width:100%;margin:0;border-bottom:1px solid #eee}
    .tn-menu li:last-child{border-bottom:0}
    .tn-menu a{display:block;padding:14px 10px;font-size:14px;line-height:1.25;text-align:left}
    .tn-menu .sub-menu{display:block;position:static;width:100%;margin:0;padding:0 0 0 14px;box-shadow:none;background:#fafafa}
    .tn-menu .sub-menu a{font-size:13px;font-weight:600;text-transform:none}
    body.tn-menu-open{overflow:hidden}
    .tn-main-content{padding:25px 0}
    .tn-hero h1{font-size:32px}
    .tn-grid-3,.tn-grid-2{grid-template-columns:1fr}
    .tn-footer-grid{grid-template-columns:1fr}
    .tn-single h1{font-size:32px}
    .tn-entry{font-size:16px}
    .tn-section-head{gap:12px}
    .tn-section-head h1,.tn-section-head h2{font-size:23px}
    .tn-card-title{font-size:21px}
    img{max-width:100%;height:auto}
}

/* ==========================================
   FACTHARBOUR NEWS LATEST NEWS AUTO CAROUSEL
   ========================================== */
.tn-breaking-carousel{position:relative;width:100%;margin:0 0 46px;background:#eee;overflow:hidden;isolation:isolate}
.tn-carousel-track{position:relative;width:100%;min-height:460px}
.tn-carousel-slide{position:absolute;inset:0;display:grid;grid-template-columns:1.45fr 1fr;opacity:0;visibility:hidden;transform:translateX(18px);transition:opacity .55s ease,transform .55s ease;pointer-events:none}
.tn-carousel-slide.is-active{opacity:1;visibility:visible;transform:translateX(0);pointer-events:auto;position:relative}
.tn-carousel-media{display:block;min-height:460px;background:#e9e9e9;overflow:hidden}
.tn-carousel-media img{display:block;width:100%;height:100%;min-height:460px;object-fit:cover;transition:transform .7s ease}
.tn-carousel-slide.is-active .tn-carousel-media img{transform:scale(1.02)}
.tn-carousel-placeholder{display:block;width:100%;height:100%;min-height:460px;background:linear-gradient(135deg,#eee,#d6d6d6)}
.tn-carousel-caption{display:flex;flex-direction:column;justify-content:center;padding:42px 42px 54px;background:#fff}
.tn-carousel-caption h2{font:700 40px/1.08 Georgia,serif;margin:10px 0 14px}
.tn-carousel-caption h2 a{color:#111;text-decoration:none}
.tn-carousel-caption p{font-size:15px;line-height:1.6;color:#555;margin:0 0 20px}
.tn-carousel-caption .tn-read-more{align-self:flex-start}
.tn-carousel-prev,.tn-carousel-next{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.72);color:#fff;font-size:32px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.tn-carousel-prev{left:14px}.tn-carousel-next{right:14px}
.tn-carousel-prev:hover,.tn-carousel-next:hover{background:#111}
.tn-carousel-dots{position:absolute;left:50%;bottom:15px;transform:translateX(-50%);z-index:6;display:flex;gap:7px}
.tn-carousel-dot{width:9px;height:9px;padding:0;border:1px solid #fff;border-radius:50%;background:rgba(0,0,0,.35);cursor:pointer}
.tn-carousel-dot.is-active{background:var(--tn-accent);border-color:var(--tn-accent)}
.tn-carousel-empty{min-height:460px}.tn-carousel-empty .tn-carousel-placeholder{min-height:460px}
@media(max-width:900px){
    .tn-carousel-track{min-height:500px}
    .tn-carousel-slide{grid-template-columns:1fr}
    .tn-carousel-media{min-height:300px;max-height:300px}
    .tn-carousel-media img{min-height:300px}
    .tn-carousel-placeholder{min-height:300px}
    .tn-carousel-caption{padding:25px 30px 52px}
    .tn-carousel-caption h2{font-size:32px}
}
@media(max-width:650px){
    .tn-breaking-carousel{margin-bottom:35px}
    .tn-carousel-track{min-height:520px}
    .tn-carousel-slide{grid-template-columns:1fr}
    .tn-carousel-media{min-height:245px;max-height:245px}
    .tn-carousel-media img{min-height:245px}
    .tn-carousel-placeholder{min-height:245px}
    .tn-carousel-caption{padding:20px 18px 48px;min-height:275px;box-sizing:border-box}
    .tn-carousel-caption h2{font-size:26px;line-height:1.12;margin:7px 0 10px}
    .tn-carousel-caption p{font-size:14px;line-height:1.45;margin-bottom:14px}
    .tn-carousel-caption .tn-meta{margin-bottom:8px}
    .tn-carousel-prev,.tn-carousel-next{width:36px;height:36px;font-size:28px;top:28%;}
    .tn-carousel-prev{left:10px}.tn-carousel-next{right:10px}
    .tn-carousel-dots{bottom:12px}
}

/* ==========================================
   FACTHARBOUR NEWS NEWSPAPER HOMEPAGE ENHANCEMENTS
   ========================================== */
.tn-breaking-carousel{margin-bottom:38px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.tn-carousel-label{height:42px;background:#111;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;box-sizing:border-box;text-transform:uppercase;letter-spacing:.6px}
.tn-carousel-label span{background:var(--tn-accent);padding:6px 10px;font-size:11px;font-weight:800}.tn-carousel-label b{font-size:11px;color:#ddd}
.tn-top5{margin-bottom:45px}.tn-block-heading{display:flex;align-items:center;justify-content:space-between;background:#111;color:#fff;min-height:48px;padding:0 16px;box-sizing:border-box;border-left:6px solid var(--tn-accent);margin-bottom:0}.tn-block-heading span{font:800 17px/1 Arial,sans-serif;letter-spacing:.6px;text-transform:uppercase}.tn-block-heading small,.tn-block-heading a{font-size:11px;color:#ddd;text-decoration:none}.tn-top5-list{border:1px solid #ddd;border-top:0}.tn-top5-item{display:grid;grid-template-columns:150px minmax(0,1fr) 55px;gap:18px;align-items:center;padding:16px;border-bottom:1px solid #ddd;position:relative}.tn-top5-item:last-child{border-bottom:0}.tn-top5-thumb{display:block;height:92px;background:#eee;overflow:hidden}.tn-top5-thumb img{width:100%;height:100%;object-fit:cover;display:block}.tn-top5-copy h3{font:700 20px/1.18 Georgia,serif;margin:4px 0 6px}.tn-top5-copy h3 a{color:#111;text-decoration:none}.tn-top5-copy time{font-size:11px;color:#777}.tn-rank{font:900 54px/1 Arial,sans-serif;color:#eee;text-align:right}.tn-featured-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.tn-featured-card{min-width:0}.tn-featured-main{grid-row:span 2}.tn-featured-image{display:block;aspect-ratio:16/10;background:#eee;overflow:hidden}.tn-featured-main .tn-featured-image{aspect-ratio:16/10}.tn-featured-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.tn-featured-card:hover .tn-featured-image img{transform:scale(1.03)}.tn-featured-copy{padding:12px 0 4px}.tn-featured-copy h3{font:700 25px/1.12 Georgia,serif;margin:7px 0}.tn-featured-main .tn-featured-copy h3{font-size:34px}.tn-featured-copy h3 a{color:#111;text-decoration:none}.tn-featured-copy p{font-size:14px;line-height:1.55;color:#555;margin:8px 0}.tn-news-list{border-top:3px solid #111}.tn-news-row{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;padding:20px 0;border-bottom:1px solid #ddd}.tn-news-thumb{display:block;aspect-ratio:16/10;background:#eee;overflow:hidden}.tn-news-thumb img{width:100%;height:100%;object-fit:cover;display:block}.tn-news-copy h3{font:700 24px/1.12 Georgia,serif;margin:5px 0}.tn-news-copy h3 a{color:#111;text-decoration:none}.tn-news-copy p{margin:6px 0;font-size:14px;line-height:1.5;color:#555}.tn-category-block .tn-block-heading{background:#e33c3c;border-left:0}.tn-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding-top:18px}.tn-category-image{display:block;aspect-ratio:16/10;background:#eee;overflow:hidden}.tn-category-image img{width:100%;height:100%;object-fit:cover;display:block}.tn-category-copy h3{font:700 18px/1.15 Georgia,serif;margin:8px 0 5px}.tn-category-copy h3 a{color:#111;text-decoration:none}.tn-category-copy time{font-size:11px;color:#777}.tn-side-breaking .tn-popular{padding:0;margin:0;list-style:none}.tn-side-breaking .tn-popular li{padding:14px 0;border-bottom:1px solid #ddd}.tn-side-breaking .tn-popular li::before{content:'→';color:var(--tn-accent);font-weight:800;margin-right:8px}.tn-side-breaking .tn-popular a{font:700 16px/1.2 Georgia,serif}.tn-side-breaking .tn-popular time{display:block;font-size:10px;color:#888;margin:7px 0 0 22px}.tn-newsletter{border:1px solid #ddd;padding:18px;background:#fafafa}.tn-newsletter .tn-widget-title{margin-top:-18px}.tn-newsletter p{font-size:13px;line-height:1.5;color:#555}.tn-latest-strip{margin-top:15px}.tn-latest-strip-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:3px solid #111}.tn-latest-strip-grid article{padding:18px;border-right:1px solid #ddd}.tn-latest-strip-grid article:last-child{border-right:0}.tn-latest-strip-grid span{font-size:10px;color:var(--tn-accent);text-transform:uppercase}.tn-latest-strip-grid h3{font:700 17px/1.18 Georgia,serif;margin:7px 0}.tn-latest-strip-grid a{text-decoration:none;color:#111}
@media(max-width:900px){.tn-featured-grid{grid-template-columns:1fr 1fr}.tn-featured-main{grid-row:auto;grid-column:1/-1}.tn-category-grid{grid-template-columns:repeat(2,1fr)}.tn-latest-strip-grid{grid-template-columns:repeat(2,1fr)}.tn-latest-strip-grid article:nth-child(2){border-right:0}.tn-latest-strip-grid article:nth-child(-n+2){border-bottom:1px solid #ddd}}
@media(max-width:650px){.tn-carousel-label{height:38px;padding:0 10px}.tn-carousel-label span{font-size:9px;padding:5px 7px}.tn-carousel-label b{font-size:9px}.tn-top5-item{grid-template-columns:88px minmax(0,1fr) 26px;gap:10px;padding:12px 10px}.tn-top5-thumb{height:65px}.tn-top5-copy h3{font-size:16px}.tn-top5-copy .tn-category{font-size:9px}.tn-rank{font-size:31px}.tn-featured-grid{grid-template-columns:1fr}.tn-featured-main{grid-column:auto}.tn-featured-main .tn-featured-copy h3,.tn-featured-copy h3{font-size:24px}.tn-news-row{grid-template-columns:105px minmax(0,1fr);gap:12px;padding:14px 0}.tn-news-copy h3{font-size:18px}.tn-news-copy p{display:none}.tn-news-copy .tn-meta{font-size:10px}.tn-category-grid{grid-template-columns:1fr 1fr;gap:12px}.tn-category-copy h3{font-size:15px}.tn-latest-strip-grid{grid-template-columns:1fr}.tn-latest-strip-grid article{border-right:0;border-bottom:1px solid #ddd}.tn-latest-strip-grid article:last-child{border-bottom:0}.tn-block-heading span{font-size:14px}.tn-block-heading small,.tn-block-heading a{font-size:9px}}


/* ==========================================
   FACTHARBOUR NEWS PROFESSIONAL DESKTOP SIDEBAR
   ========================================== */
.tn-sidebar{
    min-width:0;
    position:relative;
}
@media(min-width:901px){
    .tn-sidebar{
        position:sticky;
        top:18px;
        align-self:start;
    }
}
.tn-side-feature{
    border:1px solid #e2e2e2;
    background:#fff;
    padding:0 16px 18px;
    margin-bottom:28px;
    box-shadow:0 6px 20px rgba(0,0,0,.045);
}
.tn-side-label{
    margin:0 -16px 14px;
    padding:10px 14px;
    background:#111;
    color:#fff;
    border-left:5px solid var(--tn-accent);
    font:800 11px/1 Arial,sans-serif;
    letter-spacing:1px;
}
.tn-side-feature-image{
    display:block;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#eee;
    margin-bottom:13px;
}
.tn-side-feature-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .3s ease;
}
.tn-side-feature:hover .tn-side-feature-image img{transform:scale(1.035)}
.tn-side-feature .tn-category{
    display:inline-block;
    margin-bottom:5px;
}
.tn-side-feature h3{
    font:700 21px/1.16 Georgia,serif;
    margin:5px 0 8px;
}
.tn-side-feature h3 a{
    color:#111;
    text-decoration:none;
}
.tn-side-feature h3 a:hover{color:var(--tn-accent)}
.tn-side-feature .tn-meta{margin:0;color:#888}

.tn-side-top{
    margin-bottom:28px;
}
.tn-side-top .tn-widget-title,
.tn-side-headlines .tn-widget-title{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:10px;
}
.tn-widget-title small{
    color:#999;
    font:700 9px/1 Arial,sans-serif;
    letter-spacing:.7px;
    text-transform:uppercase;
}
.tn-side-story-list{
    border-top:1px solid #ddd;
}
.tn-side-story{
    display:grid;
    grid-template-columns:25px 74px minmax(0,1fr);
    gap:10px;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid #e5e5e5;
}
.tn-side-number{
    color:#ddd;
    font:900 25px/1 Arial,sans-serif;
    text-align:center;
}
.tn-side-thumb{
    display:block;
    width:74px;
    height:55px;
    overflow:hidden;
    background:#eee;
}
.tn-side-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.tn-side-story-copy h4{
    margin:0 0 5px;
    font:700 14px/1.2 Georgia,serif;
}
.tn-side-story-copy h4 a{
    color:#111;
    text-decoration:none;
}
.tn-side-story-copy h4 a:hover{color:var(--tn-accent)}
.tn-side-story-copy time{
    color:#999;
    font-size:9px;
}

.tn-side-headlines{
    margin-bottom:28px;
}
.tn-headline-feed{
    border-top:3px solid #111;
}
.tn-headline-item{
    display:flex;
    align-items:flex-start;
    gap:9px;
    padding:11px 0;
    border-bottom:1px solid #e5e5e5;
    text-decoration:none;
}
.tn-headline-dot{
    flex:0 0 7px;
    width:7px;
    height:7px;
    margin-top:5px;
    border-radius:50%;
    background:var(--tn-accent);
}
.tn-headline-text{
    color:#222;
    font:600 13px/1.3 Georgia,serif;
}
.tn-headline-item:hover .tn-headline-text{color:var(--tn-accent)}

.tn-wordpress-widgets .tn-widget{margin-bottom:25px}
.tn-wordpress-widgets .tn-widget:last-child{margin-bottom:0}

.tn-sidebar .tn-newsletter{
    border:0;
    border-top:4px solid var(--tn-accent);
    background:#111;
    color:#bbb;
    padding:20px;
    box-shadow:0 6px 20px rgba(0,0,0,.06);
}
.tn-sidebar .tn-newsletter .tn-widget-title{
    color:#fff;
    border-bottom:1px solid #333;
    margin:0 0 14px;
}
.tn-sidebar .tn-newsletter p{
    color:#aaa;
    font-size:13px;
    line-height:1.55;
    margin:0 0 16px;
}
.tn-sidebar .tn-newsletter .tn-read-more{
    background:var(--tn-accent);
}
@media(max-width:900px){
    .tn-side-feature{padding:0 14px 16px}
    .tn-side-label{margin-left:-14px;margin-right:-14px}
}
@media(max-width:650px){
    .tn-sidebar{
        width:100%;
    }
    .tn-side-feature{
        box-shadow:none;
    }
    .tn-side-story{
        grid-template-columns:25px 88px minmax(0,1fr);
    }
    .tn-side-thumb{
        width:88px;
        height:64px;
    }
    .tn-side-story-copy h4{
        font-size:15px;
    }
}

/* ==========================================
   FACTHARBOUR NEWS PROFESSIONAL NEWSPAPER FOOTER
   ========================================== */
.tn-footer{margin-top:60px;background:#0b0b0b;color:#cfcfcf;border-top:5px solid var(--tn-accent)}
.tn-footer-top{padding:55px 0 42px;background:linear-gradient(180deg,#111 0%,#0b0b0b 100%)}
.tn-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.35fr;gap:42px}
.tn-footer-brand{padding-right:25px}
.tn-footer-logo{display:inline-flex;align-items:center;text-decoration:none;color:#fff;min-height:48px}
.tn-footer-logo .custom-logo{max-height:58px;width:auto;filter:brightness(0) invert(1);display:block}
.tn-footer-logo:not(:has(img)){font:800 30px/1 Georgia,serif;letter-spacing:-1px}
.tn-footer-tagline{margin:16px 0 8px;color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.4px}
.tn-footer-about{margin:0 0 20px;max-width:430px;font-size:14px;line-height:1.7;color:#aaa}
.tn-footer-button{display:inline-block;background:var(--tn-accent);color:#fff!important;text-decoration:none;padding:11px 16px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;transition:background .2s,transform .2s}
.tn-footer-button:hover{background:#fff;color:#111!important;transform:translateY(-1px)}
.tn-footer-block h3{position:relative;color:#fff;font:800 17px/1.2 Georgia,serif;text-transform:uppercase;margin:0 0 18px;padding-bottom:11px;border-bottom:1px solid #333}
.tn-footer-block h3:after{content:"";position:absolute;left:0;bottom:-1px;width:42px;height:3px;background:var(--tn-accent)}
.tn-footer-block ul{list-style:none;padding:0;margin:0}
.tn-footer-block li{border-bottom:1px solid #202020}
.tn-footer-block li:last-child{border-bottom:0}
.tn-footer-block li a{display:block;padding:8px 0;color:#bdbdbd;text-decoration:none;font-size:13px;transition:color .2s,padding-left .2s}
.tn-footer-block li a:hover{color:#fff;padding-left:5px}
.tn-footer-contact>p{font-size:13px;line-height:1.6;color:#aaa;margin:0 0 16px}
.tn-footer-social{display:flex;gap:8px;margin:0 0 22px}
.tn-footer-social a{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#1d1d1d;border:1px solid #303030;color:#fff;text-decoration:none;font-weight:800;font-size:14px;transition:all .2s}
.tn-footer-social a:hover{background:var(--tn-accent);border-color:var(--tn-accent);transform:translateY(-2px)}
.tn-footer-newsletter{border-left:3px solid var(--tn-accent);padding-left:12px;display:flex;flex-direction:column;gap:4px}
.tn-footer-newsletter strong{color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.7px}
.tn-footer-newsletter a{color:#bbb!important;text-decoration:none;font-size:13px}
.tn-footer-newsletter a:hover{color:#fff!important}
.tn-footer-mid{background:#151515;border-top:1px solid #262626;border-bottom:1px solid #262626}
.tn-footer-mid-inner{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.tn-footer-mid-inner>div:first-child{display:flex;align-items:center;gap:14px;font-size:12px}
.tn-footer-mid-inner>div:first-child strong{color:#fff;text-transform:uppercase;letter-spacing:.7px}
.tn-footer-mid-inner>div:first-child span{color:#777}
.tn-footer-utility{display:flex;gap:18px}
.tn-footer-utility a{color:#999!important;text-decoration:none;font-size:11px;text-transform:uppercase}
.tn-footer-utility a:hover{color:#fff!important}
.tn-footer-bottom{background:#070707}
.tn-footer-bottom-inner{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:#777}
.tn-powered-by{color:#777}
.tn-powered-by strong{color:#ddd;font-weight:700}
@media(max-width:900px){
    .tn-footer-grid{grid-template-columns:1.5fr 1fr;gap:32px}
    .tn-footer-brand{padding-right:0}
}
@media(max-width:650px){
    .tn-footer{margin-top:40px}
    .tn-footer-top{padding:38px 0 28px}
    .tn-footer-grid{grid-template-columns:1fr;gap:28px}
    .tn-footer-brand{padding-right:0}
    .tn-footer-logo .custom-logo{max-height:48px}
    .tn-footer-logo:not(:has(img)){font-size:27px}
    .tn-footer-mid-inner{padding:16px 0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
    .tn-footer-mid-inner>div:first-child{align-items:flex-start;flex-direction:column;gap:4px}
    .tn-footer-utility{flex-wrap:wrap;gap:10px 16px}
    .tn-footer-bottom-inner{padding:14px 0;min-height:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px;line-height:1.5}
}


/* ==========================================
   FACTHARBOUR NEWS BREAKING NEWS MOVING TICKER
   ========================================== */
.tn-breaking-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;background:#111;color:#fff;height:48px;padding:0 14px;box-sizing:border-box;overflow:hidden}
.tn-breaking-badge{display:inline-flex;align-items:center;background:var(--tn-accent);color:#fff;padding:8px 11px;font:800 11px/1 Arial,sans-serif;letter-spacing:.5px;white-space:nowrap}
.tn-breaking-latest{font:800 10px/1 Arial,sans-serif;letter-spacing:.7px;color:#ddd;white-space:nowrap}
.tn-breaking-ticker{min-width:0;overflow:hidden;position:relative;white-space:nowrap}
.tn-ticker-track{display:inline-flex;align-items:center;width:max-content;animation:tnTickerMove 60s linear infinite}
.tn-ticker-track a{color:#fff;text-decoration:none;font:700 12px/1.2 Arial,sans-serif;display:inline-block;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tn-ticker-track a:hover{color:#ff6b6b;text-decoration:underline}
.tn-ticker-separator{display:inline-block;color:var(--tn-accent);font-size:14px;font-weight:900;margin:0 14px}
.tn-breaking-bar:hover .tn-ticker-track{animation-play-state:paused}
@keyframes tnTickerMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:650px){
 .tn-breaking-bar{grid-template-columns:auto minmax(0,1fr);gap:9px;height:44px;padding:0 9px}
 .tn-breaking-badge{font-size:9px;padding:7px 8px}
 .tn-breaking-latest{display:none}
 .tn-ticker-track{animation-duration:50s}
 .tn-ticker-track a{font-size:11px;max-width:260px}
 .tn-ticker-separator{margin:0 10px}
}


/* FINAL MERGED DESKTOP SIDEBAR + FOOTER REFINEMENTS */
@media (min-width: 901px){
  .tn-layout{grid-template-columns:minmax(0,1fr) 320px;gap:36px;align-items:start;}
  .tn-sidebar{position:sticky;top:24px;align-self:start;}
}
.tn-sidebar .tn-widget,.tn-side-feature{border-radius:0;}
.tn-footer-top .tn-footer-grid{align-items:start;}
.tn-footer-block h3{position:relative;padding-bottom:10px;margin-bottom:14px;}
.tn-footer-block h3:after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;background:var(--tn-accent);}
@media(max-width:900px){
  .tn-layout{grid-template-columns:1fr;gap:28px;}
  .tn-sidebar{position:static;}
  .tn-footer-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:600px){
  .tn-footer-grid{grid-template-columns:1fr;}
  .tn-footer-bottom-inner,.tn-footer-mid-inner{flex-direction:column;align-items:flex-start;padding-top:14px;padding-bottom:14px;}
}

/* ==========================================
   FACTHARBOUR NEWS SECTION & CONTACT PAGE DESIGN
   ========================================== */
.tn-special-page{padding-bottom:30px}.tn-special-hero{padding:34px 0 28px;border-bottom:4px solid #111;margin-bottom:28px}.tn-special-hero .tn-kicker{font-size:11px;letter-spacing:1.5px}.tn-special-hero h1{font:900 42px/1 Georgia,serif;margin:7px 0 10px}.tn-special-hero p{max-width:760px;color:#666;font-size:15px;line-height:1.6;margin:0}.tn-special-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.tn-special-card{border-bottom:1px solid #ddd;padding-bottom:18px}.tn-special-image{display:block;aspect-ratio:16/10;background:#eee;overflow:hidden}.tn-special-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.tn-special-card:hover .tn-special-image img{transform:scale(1.03)}.tn-special-copy{padding-top:11px}.tn-special-copy h2{font:700 22px/1.15 Georgia,serif;margin:6px 0}.tn-special-copy h2 a{color:#111;text-decoration:none}.tn-special-copy h2 a:hover{color:var(--tn-accent)}.tn-special-copy p{font-size:13px;line-height:1.5;color:#666;margin:7px 0}.tn-empty-page{padding:50px 0;border:1px solid #ddd;text-align:center}.tn-empty-page h2{font:700 28px Georgia,serif}.tn-ad-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:20px 0}.tn-ad-grid>div{padding:24px;border:1px solid #ddd;background:#fafafa}.tn-ad-grid strong{font:800 19px Georgia,serif}.tn-ad-grid p{color:#666;line-height:1.55}.tn-ad-contact{background:#111;color:#fff;padding:28px;margin-top:8px}.tn-ad-contact h2{font:800 25px Georgia,serif;margin:0 0 8px}.tn-ad-contact p{color:#ccc}.tn-ad-contact a:not(.tn-read-more){color:#fff;font-weight:800}.tn-contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;align-items:start}.tn-contact-info,.tn-contact-form-wrap{border:1px solid #ddd;background:#fff;padding:22px}.tn-contact-info .tn-block-heading,.tn-contact-form-wrap .tn-block-heading{margin:-22px -22px 22px}.tn-contact-info h2{font:700 25px Georgia,serif}.tn-contact-info p{color:#666;line-height:1.65}.tn-contact-phone{display:inline-block;font:900 28px Arial,sans-serif;color:var(--tn-accent);text-decoration:none;margin:12px 0}.tn-contact-note{font-size:13px}.tn-contact-form{display:grid;gap:14px}.tn-contact-form label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;color:#333}.tn-contact-form input,.tn-contact-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #ccc;padding:12px;font:14px Arial,sans-serif;background:#fff}.tn-contact-form input:focus,.tn-contact-form textarea:focus{outline:2px solid rgba(236,53,53,.2);border-color:var(--tn-accent)}.tn-form-success,.tn-form-error{padding:14px 16px;margin-bottom:20px;font-weight:700}.tn-form-success{background:#eaf8ee;color:#176b2b;border-left:4px solid #2d9b4b}.tn-form-error{background:#fff0f0;color:#9a1d1d;border-left:4px solid var(--tn-accent)}
@media(max-width:900px){.tn-special-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tn-contact-grid{grid-template-columns:1fr}.tn-ad-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.tn-special-hero{padding:24px 0 20px}.tn-special-hero h1{font-size:32px}.tn-special-grid{grid-template-columns:1fr;gap:20px}.tn-ad-grid{grid-template-columns:1fr}.tn-contact-grid{gap:18px}.tn-contact-info,.tn-contact-form-wrap{padding:16px}.tn-contact-info .tn-block-heading,.tn-contact-form-wrap .tn-block-heading{margin:-16px -16px 18px}.tn-contact-phone{font-size:24px}}

/* ==========================================
   FACTHARBOUR NEWS FOOTER LOGO - WHITE ON DARK
   ========================================== */
.tn-footer .tn-footer-logo,
.tn-footer .tn-footer-logo .custom-logo-link {
    display:inline-flex !important;
    align-items:center !important;
    background:transparent !important;
    opacity:1 !important;
    mix-blend-mode:normal !important;
}

.tn-footer .tn-footer-logo img.custom-logo,
.tn-footer .tn-footer-logo .custom-logo-link img.custom-logo {
    display:block !important;
    max-height:72px !important;
    width:auto !important;
    height:auto !important;
    filter:brightness(0) invert(1) !important;
    opacity:1 !important;
    mix-blend-mode:normal !important;
}

@media(max-width:650px){
    .tn-footer .tn-footer-logo img.custom-logo,
    .tn-footer .tn-footer-logo .custom-logo-link img.custom-logo {
        max-height:52px !important;
        filter:brightness(0) invert(1) !important;
    }
}


/* FINAL FOOTER LOGO VISIBILITY FIX */
.tn-footer .tn-footer-logo img,
.tn-footer .tn-footer-logo .custom-logo,
.tn-footer .tn-footer-logo .custom-logo-link img,
.tn-footer .tn-footer-brand img {
    filter: brightness(0) saturate(100%) invert(100%) !important;
    -webkit-filter: brightness(0) saturate(100%) invert(100%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    mix-blend-mode: normal !important;
    background: transparent !important;
    color: #fff !important;
}
.tn-footer .tn-footer-logo {
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}
@media (max-width: 650px) {
    .tn-footer .tn-footer-logo img,
    .tn-footer .tn-footer-logo .custom-logo,
    .tn-footer .tn-footer-logo .custom-logo-link img {
        max-height: 56px !important;
    }
}


/* =========================================================
   FINAL FOOTER LOGO: TRANSPARENT + WHITE
   Uses the actual WordPress custom logo as a background image
   so the white conversion cannot be bypassed by image markup.
   ========================================================= */
.tn-footer .tn-footer-logo-image {
    display:block !important;
    width:320px !important;
    height:92px !important;
    max-width:100% !important;
    background-color:transparent !important;
    background-repeat:no-repeat !important;
    background-position:left center !important;
    background-size:contain !important;
    filter:brightness(0) saturate(100%) invert(100%) !important;
    -webkit-filter:brightness(0) saturate(100%) invert(100%) !important;
    opacity:1 !important;
    visibility:visible !important;
    mix-blend-mode:normal !important;
}

@media (max-width:650px) {
    .tn-footer .tn-footer-logo-image {
        width:245px !important;
        height:70px !important;
    }
}


/* =========================================================
   FACT HARBOUR GREEN EDITION - MASTER ACCENT OVERRIDES
   ========================================================= */
:root{
  --tn-accent:#168A45;
  --tn-green-dark:#0B5D34;
  --tn-green-light:#1FA85A;
}

/* General green accent */
.tn-kicker,.tn-category,.tn-section-head a,.tn-card-title a:hover,
.tn-entry a,.tn-side-feature h3 a:hover,.tn-side-breaking .tn-popular li::before,
.tn-latest-strip-grid span{color:var(--tn-accent)!important}

/* Breaking News ticker */
.tn-breaking-bar{background:var(--tn-green-dark)!important;border-color:var(--tn-green-dark)!important}
.tn-breaking-badge{background:var(--tn-green-light)!important;color:#fff!important}
.tn-ticker-separator{color:#7DE2A7!important}
.tn-ticker-track a:hover{color:#B9F3CF!important}

/* Top 5 and all section/category banners */
.tn-block-heading{background:var(--tn-green-dark)!important;border-left-color:var(--tn-green-light)!important}
.tn-top5 .tn-block-heading{background:var(--tn-green-dark)!important}
.tn-category-block .tn-block-heading{background:var(--tn-green-dark)!important;border-left:0!important}

/* Main section rules and accents */
.tn-section-head{border-top-color:var(--tn-green-dark)!important}
.tn-section-head a{color:var(--tn-accent)!important}

/* Editor's Choice */
.tn-side-label{background:var(--tn-green-dark)!important;border-left-color:var(--tn-green-light)!important}

/* Sidebar headings including Top Stories, Latest Headlines and Stay Informed */
.tn-widget-title{border-top-color:var(--tn-green-dark)!important}
.tn-newsletter{border-color:#b9ddc7!important;background:#f4fbf7!important}
.tn-newsletter .tn-widget-title{background:var(--tn-green-dark)!important;color:#fff!important;padding-left:12px;padding-right:12px}

/* Don't Miss / latest strip */
.tn-latest-strip .tn-block-heading{background:var(--tn-green-dark)!important}

/* Buttons and key calls-to-action */
.tn-read-more,.tn-footer-button{background:var(--tn-green-dark)!important;color:#fff!important}
.tn-read-more:hover,.tn-footer-button:hover{background:var(--tn-green-light)!important}

/* Footer - green newspaper edition */
.tn-footer{background:var(--tn-green-dark)!important;color:#eaf8ee!important;border-top:5px solid var(--tn-green-light)!important}
.tn-footer a{color:#d9f4e3!important}
.tn-footer a:hover{color:#fff!important}
.tn-footer h3{color:#fff!important}
.tn-footer-block h3:after{background:var(--tn-green-light)!important}
.tn-footer-mid{background:#084a2a!important;color:#d9f4e3!important}
.tn-footer-bottom{background:#063b22!important;border-top-color:#12663a!important;color:#b9d8c5!important}
.tn-powered-by strong{color:#fff!important}
.tn-footer-social a{background:var(--tn-green-light)!important;color:#fff!important}

/* Mobile green navigation focus */
.tn-mobile-menu:focus-visible{outline-color:var(--tn-green-light)!important}

/* Make the green treatment consistent with all dynamically generated category blocks */
.tn-category-block .tn-block-heading span,
.tn-top5 .tn-block-heading span,
.tn-latest-strip .tn-block-heading span{color:#fff!important}


/* ==========================================
   FACTHARBOUR PROFESSIONAL INNER PAGES
   ========================================== */
.tn-special-hero{
  position:relative;
  padding:34px 0 24px;
  border-bottom:3px solid var(--tn-accent);
  margin-bottom:28px;
}
.tn-special-hero:after{
  content:"";
  display:block;
  width:78px;
  height:4px;
  background:var(--tn-accent);
  margin-top:16px;
}
.tn-special-hero h1{
  font-size:clamp(34px,5vw,48px);
  letter-spacing:-.5px;
}
.tn-special-lead-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.tn-special-lead{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  background:#fff;
  border:1px solid #ddd;
  box-shadow:0 5px 18px rgba(0,0,0,.05);
  overflow:hidden;
}
.tn-special-lead-image{
  display:block;
  min-height:340px;
  background:#eee;
  overflow:hidden;
}
.tn-special-lead-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.tn-special-lead-copy{
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.tn-special-lead-copy h2{
  font:900 clamp(27px,3vw,40px)/1.08 Georgia,serif;
  margin:8px 0 12px;
}
.tn-special-lead-copy h2 a,
.tn-special-card h2 a{color:#111;text-decoration:none}
.tn-special-lead-copy h2 a:hover,
.tn-special-card h2 a:hover{color:var(--tn-accent)}
.tn-special-lead-copy p{color:#666;line-height:1.65}
.tn-special-card{
  background:#fff;
  border:1px solid #e0e0e0;
  padding-bottom:0;
  overflow:hidden;
  box-shadow:0 3px 12px rgba(0,0,0,.04);
}
.tn-special-card .tn-special-image{aspect-ratio:16/10}
.tn-special-card .tn-special-copy{padding:16px 18px 20px}
.tn-special-card .tn-special-copy h2{font-size:21px;line-height:1.18}
.tn-special-card .tn-special-copy p{margin-bottom:0}
.tn-page-contact .tn-special-hero{margin-bottom:24px}
.tn-contact-grid{
  display:grid;
  grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr);
  gap:28px;
}
.tn-contact-info,
.tn-contact-form-wrap{
  border:1px solid #ddd;
  background:#fff;
  box-shadow:0 5px 18px rgba(0,0,0,.04);
}
.tn-contact-info{padding:26px}
.tn-contact-form-wrap{padding:26px}
.tn-contact-info h2{
  font:800 28px/1.15 Georgia,serif;
  margin:10px 0 12px;
}
.tn-contact-phone{
  font-size:30px;
  font-weight:900;
}
.tn-contact-form button{
  border:0;
  cursor:pointer;
}
.tn-contact-form input,
.tn-contact-form textarea{
  border-radius:2px;
}
.tn-ad-grid>div{
  border-top:4px solid var(--tn-accent);
  box-shadow:0 4px 14px rgba(0,0,0,.04);
}
.tn-ad-contact{
  border-left:5px solid var(--tn-accent);
}
@media(max-width:900px){
  .tn-special-lead{grid-template-columns:1fr}
  .tn-special-lead-image{min-height:280px}
  .tn-contact-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .tn-special-lead-grid{grid-template-columns:1fr}
  .tn-special-lead-copy{padding:20px}
  .tn-special-lead-image{min-height:220px}
  .tn-special-lead-copy h2{font-size:28px}
  .tn-contact-info,.tn-contact-form-wrap{padding:18px}
  .tn-contact-phone{font-size:25px}
}

/* FACTHARBOUR NEWS author transparency */
.tn-author-box{display:grid;grid-template-columns:72px minmax(0,1fr);gap:18px;align-items:start;margin:42px 0 10px;padding:22px;border:1px solid #ddd;border-top:4px solid var(--tn-accent);background:#fafafa}
.tn-author-avatar img{width:72px;height:72px;border-radius:50%;object-fit:cover;display:block}
.tn-author-label{display:block;color:var(--tn-accent);font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;margin-bottom:5px}
.tn-author-copy h3{margin:0 0 6px;font:700 22px/1.2 Georgia,serif}
.tn-author-copy h3 a,.tn-author-copy>a{color:#111;text-decoration:none}
.tn-author-copy h3 a:hover,.tn-author-copy>a:hover{color:var(--tn-accent)}
.tn-author-copy p{margin:6px 0 9px;color:#666;font-size:14px;line-height:1.55}
.tn-author-copy>a{font-size:12px;font-weight:700;text-transform:uppercase}
.tn-author-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.tn-author-archive-head{margin-bottom:28px}
@media(max-width:650px){.tn-author-box{grid-template-columns:1fr;gap:12px}.tn-author-grid{grid-template-columns:1fr}.tn-author-avatar img{width:60px;height:60px}}
