/* =========================
   NFG THEME — CLEAN BASE
========================= */

:root {
  --nfg-bg-primary: #050505;
  --nfg-bg-secondary: #0b1110;
  --nfg-border: #124B32;

  --nfg-accent: #00AF66;
  --nfg-accent-glow: #39E59B;

  --nfg-text-primary: #EAF4FF;
  --nfg-text-secondary: #A8C3E8;
}

/* =========================
   GLOBAL
========================= */

body {
  background: var(--nfg-bg-primary) !important;
  color: var(--nfg-text-primary) !important;
}

p, span, small {
  color: var(--nfg-text-secondary) !important;
}

a {
  color: var(--nfg-accent) !important;
}

a:hover {
  color: var(--nfg-accent-glow) !important;
}

/* =========================
   HEADER
========================= */

.header,
.header-area,
.navbar,
.header-middle.bg--white {
  background: var(--nfg-bg-primary) !important;
  border-bottom: 1px solid var(--nfg-border) !important;
}

.header-middle-area {
  padding: 15px 0 !important;
}

.news-date {
  color: var(--nfg-text-secondary) !important;
}

/* =========================
   MENU (KEEP THEME DEFAULT)
========================= */

.menu-area {
  background: var(--nfg-bg-primary) !important;
  border-top: 1px solid var(--nfg-border);
  border-bottom: 1px solid var(--nfg-border);
}

.menu li a {
  color: var(--nfg-text-primary) !important;
  background: transparent !important;
  padding: 10px 16px !important;
}

.menu li a:hover {
  color: var(--nfg-accent) !important;
}

.menu li a.active {
  background: var(--nfg-accent) !important;
  color: #050505 !important;
  border-radius: 3px;
}

/* =========================
   CONTENT AREAS
========================= */

.card,
.widget,
.sidebar,
.box {
  background: var(--nfg-bg-secondary) !important;
  border: 1px solid var(--nfg-border) !important;
}

/* =========================
   TOP NEWS BAR
========================= */

.top-news-ticker {
  background: var(--nfg-bg-primary) !important;
  border-top: 1px solid var(--nfg-border);
  border-bottom: 1px solid var(--nfg-border);
}

.top-news-ticker .title {
  background: var(--nfg-accent) !important;
  color: #050505 !important;
}

/* =========================
   DATEPICKER
========================= */

.ui-datepicker {
  background: var(--nfg-bg-secondary) !important;
  border: 1px solid var(--nfg-border) !important;
}

.ui-datepicker-header {
  background: var(--nfg-bg-primary) !important;
  color: var(--nfg-text-primary) !important;
}

.ui-datepicker th {
  color: var(--nfg-text-secondary) !important;
}

.ui-datepicker td a {
  color: var(--nfg-text-primary) !important;
}

.ui-datepicker td a:hover,
.ui-datepicker td .ui-state-active {
  background: var(--nfg-accent) !important;
  color: #050505 !important;
}

/* =========================
   LOGO CONTROL
========================= */

.logo img {
  height: 120px !important;
  width: auto !important;
}

/* =========================
   SAFE MOBILE (NO HACKS)
========================= */

@media (max-width: 768px) {

  .logo img {
    height: 50px !important;
  }

  .header-middle-area {
    padding: 10px 0 !important;
  }

  /* DO NOT TOUCH MENU SYSTEM */
}
/* =========================
   MOBILE WIDTH ALIGN FIX
========================= */

@media (max-width: 768px) {

    /* force ALL header sections same width */
    .header-middle,
    .menu-area,
    .top-news-ticker {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* kill bootstrap container padding ONLY in header */
    .header-middle .container,
    .menu-area .container,
    .top-news-ticker .container {
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* align menu with logo */
    .menu-area {
        margin-top: 0 !important;
    }

    /* ensure menu spans properly */
    .menu {
        width: 100% !important;
    }
}
/* =========================
   FIX: BANNER HEIGHT BREAK (THEME OVERRIDE)
========================= */

@media only screen and (max-width: 991px) {
    .news-banner-thumb {
        height: auto !important;
    }
}
/* =========================
   TOP TICKER — FINAL CLEAN FIX
========================= */

/* full strip */
.top-news-ticker {
    background: #050505 !important;
    border-top: 1px solid #124B32 !important;
    border-bottom: 1px solid #124B32 !important;
}

/* "Latest News" label */
.top-news-ticker .title {
    background: #00AF66 !important;
    color: #050505 !important;
    font-weight: 700;
}

/* ticker text */
.top-news-ticker a,
.top-news-ticker span {
    color: #EAF4FF !important;
}

/* separators (dots) */
.top-news-ticker li::before {
    color: #00AF66 !important;
}
/* =========================
   FIX: LATEST NEWS BAR (EXACT TARGET)
========================= */

/* kill theme background */
.breaking-news-area.bg--base {
    background: #050505 !important;
}

/* fix inner container spacing */
.breaking-news-area .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* "Latest News :" label */
.breaking-news {
    color: #EAF4FF !important;
    font-size: 14px;
}

/* the bold label */
.breaking-news b {
    color: #00AF66 !important;
    font-weight: 700;
}

/* link */
.breaking-news a {
    color: #EAF4FF !important;
    text-decoration: none !important;
}

.breaking-news a:hover {
    color: #39E59B !important;
}
/* =========================
   FIX: CATEGORY BAR (REAL FIX)
========================= */

/* kill white background from theme */
.header-bottom.bg--white {
    background: #050505 !important;
    border-top: 1px solid #124B32 !important;
    border-bottom: 1px solid #124B32 !important;
}

/* align container with header */
.header-bottom .container {
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* menu links */
.menu li a {
    color: #EAF4FF !important;
    background: transparent !important;
    padding: 10px 14px !important;
}

/* hover */
.menu li a:hover {
    color: #00AF66 !important;
}

/* active */
.menu li a.active {
    background: #00AF66 !important;
    color: #050505 !important;
    border-radius: 3px;
}
/* MOBILE MENU — DO NOT OVERRIDE CORE BEHAVIOUR */

@media (max-width: 768px) {

    /* only styling, no positioning overrides */
    .menu-area {
        background: #050505 !important;
    }

    .menu li a {
        border-bottom: 1px solid #124B32;
    }

}
/* =========================
   FIX: ARTICLE TITLE COLOR
========================= */

/* main article title */
.news-details-content .title,
.news-details-content h1 {
    color: #00AF66 !important; /* NFG accent */
}

/* date under title */
.news-details-content .mb-30,
.news-details-content span {
    color: #A8C3E8 !important;
}

/* article body text */
.news-details-content p {
    color: #EAF4FF !important;
}
/* =========================
   GLOBAL WIDGET TITLE FIX (NFG)
========================= */

.widget-title,
.widget-title--style,
.widget h3 {
    color: #EAF4FF !important;
    font-weight: 600;
    border-bottom: 2px solid #00AF66 !important;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

/* remove any theme junk lines */
.widget-title::after,
.widget-title::before {
    background: none !important;
    border: none !important;
}

/* section headers (if used elsewhere) */
.section-header h3,
.section-title {
    color: #EAF4FF !important;
    border-bottom: 2px solid #00AF66 !important;
}
/* =========================
   GLOBAL NEWS TEXT FIX (FINAL)
========================= */

/* ALL news titles everywhere */
.news-title,
.news-card-title,
.news-card h6,
.news-card h5,
.news-card a,
.trending-news a,
.trending-news h6,
.trending-news h5,
.latest-news a,
.latest-news h6,
.latest-news h5 {
    color: #00AF66 !important;
}

/* hover */
.news-title:hover,
.news-card a:hover,
.trending-news a:hover,
.latest-news a:hover {
    color: #39E59B !important;
}

/* descriptions / meta */
.news-card p,
.news-content p,
.trending-news p,
.latest-news p {
    color: #A8C3E8 !important;
}
/* =========================
   ARTICLE TEXT — BRAND CORRECT
========================= */

/* main article text */
.news-details-content p {
    color: #A8C3E8 !important; /* secondary text */
    line-height: 1.7;
}

/* headings inside article */
.news-details-content h1 {
    color: #EAF4FF !important; /* primary */
}

.news-details-content h2,
.news-details-content h3 {
    color: #00AF66 !important; /* accent for structure */
}

.news-details-content h4,
.news-details-content h5,
.news-details-content h6 {
    color: #EAF4FF !important;
}

/* strong / emphasis */
.news-details-content strong {
    color: #EAF4FF !important;
}

/* links inside article */
.news-details-content a {
    color: #00AF66 !important;
}

.news-details-content a:hover {
    color: #39E59B !important;
}
/* =========================
   FIX: MOBILE HEADER ICON VISIBILITY
========================= */

.header .icon,
.header i,
.header svg,
.header button,
.header .menu-toggle,
.header .search-btn {
    color: #EAF4FF !important;
    fill: #EAF4FF !important;
}

/* specific hamburger */
.menu-toggle i,
.menu-toggle svg {
    color: #EAF4FF !important;
    fill: #EAF4FF !important;
}

/* =========================
   FIX: SEARCH ICON (FORCED OVERRIDE)
========================= */

.header-wrapper .search-bar {
    color: #EAF4FF !important;
}

.header-wrapper .search-bar i {
    color: #EAF4FF !important;
}
.header-wrapper .search-bar:hover {
    color: #00AF66 !important;
}
/* =========================
   FIX: HAMBURGER MENU (FORCE VISIBLE)
========================= */

.header-bar span {
    background-color: #EAF4FF !important;
}

/* optional: accent hover */
.header-bar:hover span {
    background-color: #00AF66 !important;
}
.nfg-policy {
  background: #101a16;
  border: 1px solid #124B32;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  color: #EAF4FF;
}

.nfg-policy h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.nfg-policy h2 {
  margin-top: 30px;
  color: #00AF66;
}

.nfg-policy h3 {
  color: #39E59B;
}

.nfg-policy p,
.nfg-policy li {
  color: #A8C3E8;
}
/* =========================
   NFG POLICY SYSTEM
========================= */

.nfg-policy {
  max-width: 900px;
  margin: 40px auto;
  padding: 35px 40px;

  background: linear-gradient(180deg, #101a16 0%, #0b1110 100%);
  border: 1px solid #124B32;
  border-radius: 20px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

  color: #EAF4FF;
  line-height: 1.7;
}

/* Headings */

.nfg-policy h1 {
  font-size: 42px;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.nfg-policy h2 {
  margin-top: 35px;
  margin-bottom: 12px;
  font-size: 22px;
  color: #00AF66;
}

.nfg-policy h3 {
  margin-top: 20px;
  font-size: 18px;
  color: #39E59B;
}

/* Text */

.nfg-policy p {
  margin-bottom: 14px;
  color: #A8C3E8;
}

.nfg-policy strong {
  color: #EAF4FF;
}

/* Lists */

.nfg-policy ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.nfg-policy li {
  margin-bottom: 8px;
  color: #A8C3E8;
}

/* Links */

.nfg-policy a {
  color: #00AF66;
  text-decoration: none;
}

.nfg-policy a:hover {
  color: #39E59B;
  text-decoration: underline;
}

/* Contact Box */

.nfg-policy .contact-card {
  margin-top: 20px;
  padding: 18px;
  border-radius: 14px;

  background: rgba(10, 26, 47, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Mobile */

@media (max-width: 768px) {
  .nfg-policy {
    padding: 25px 20px;
    margin: 20px 10px;
  }

  .nfg-policy h1 {
    font-size: 30px;
  }

  .nfg-policy h2 {
    font-size: 20px;
  }
}
/* =========================
   FIX: FOOTER / TITLE HEADINGS (NFG)
========================= */

.title {
  color: #EAF4FF !important; /* primary text */
  font-weight: 600;
}

/* Optional: add accent underline like widgets */
.title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #00AF66;
  margin-top: 6px;
}
/* =========================
   FIX: CONTACT PAGE (NFG THEME)
========================= */

/* Right-side panel container */
.contact-info-item-area {
    background: linear-gradient(180deg, #101a16 0%, #0b1110 100%) !important;
    border: 1px solid #124B32 !important;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Header title */
.contact-info-header .header-title {
    color: #00AF66 !important;
    font-weight: 700;
}

/* Header subtitle */
.contact-info-header p {
    color: #A8C3E8 !important;
}

/* Each info block */
.contact-info-item {
    border-bottom: 1px solid #124B32;
    padding-bottom: 20px;
}

/* Remove border on last */
.contact-info-item:last-child {
    border-bottom: none;
}

/* Icons */
.contact-info-icon i {
    color: #00AF66 !important;
    font-size: 18px;
}

/* Titles (Address / Email / Phone) */
.contact-info-content .title {
    color: #EAF4FF !important;
    font-size: 16px;
    margin-bottom: 4px;
}

/* Text (actual data) */
.contact-info-content p {
    color: #A8C3E8 !important;
    margin: 0;
}

/* Hover polish */
.contact-info-item:hover .contact-info-icon i {
    color: #39E59B !important;
}
/* =========================
   FIX: CONTACT FORM TEXT (DARKER / STRONGER)
========================= */

/* Main intro paragraph */
.contact-form-area > p {
  color: #CFE6FF !important;   /* brighter but still on-brand */
  font-weight: 500;
}

/* All other text inside form */
.contact-form-area p {
  color: #8FB3D9 !important;   /* darker than your current #A8C3E8 */
}

/* Labels / titles */
.contact-form-area .title {
  color: #00AF66 !important;   /* keep accent strong */
}
/* ========================================= */
/* GLOBAL IMAGE + LAYOUT CONTROL SYSTEM */
/* ========================================= */

/* Universal box model fix */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent inline image issues */
img {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

/* ========================================= */
/* GRID IMAGE CONTAINMENT (ANTI-BLEED FIX) */
/* ========================================= */

.news-blog-thumb,
.photo-news-blog,
.news-blog-item,
.small-photo-news-blog {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Force images to behave */
.news-blog-thumb img,
.photo-news-blog img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================= */
/* STANDARDISED IMAGE SIZING */
/* ========================================= */

/* Default news thumbnails */
.news-blog-thumb {
    height: 160px;
}

/* Photo section - large feature */
.photo-news-blog {
    height: 320px;
}

/* Photo section - smaller grid items */
.small-photo-news-blog .photo-news-blog {
    height: 155px;
}

/* ========================================= */
/* BOOTSTRAP COLUMN OVERFLOW FIX */
/* ========================================= */

.col-xl-3,
.col-lg-3,
.col-md-4,
.col-sm-6,
.col-6 {
    overflow: hidden;
}

/* Prevent container breaking */
.row {
    margin-left: 0;
    margin-right: 0;
}

/* ========================================= */
/* TITLE / TEXT CONTROL (OPTIONAL BUT SMART) */
/* ========================================= */

.photo-news-title,
.news-blog-content .title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ========================================= */
/* SAFETY: FORCE CONSISTENT CARD BEHAVIOUR */
/* ========================================= */

.news-blog-item,
.photo-news-blog {
    display: block;
}

/* ========================================= */
/* OPTIONAL: HOVER POLISH (NICE TOUCH) */
/* ========================================= */

.news-blog-thumb img,
.photo-news-blog img {
    transition: transform 0.3s ease;
}

.news-blog-item:hover img,
.photo-news-blog:hover img {
    transform: scale(1.05);
}

/* 2026-06-07 professional news image framing patch */
.news-banner-thumb,
.news-blog-thumb,
.small-news-thumb,
.small-single-news .thumb,
.photo-news-blog,
.trending-thumb,
.widget-category-thumb,
.news-gallery-area .news-gallery-banner {
    align-items: center !important;
    background: #f4f7fa !important;
    border: 1px solid rgba(44, 126, 184, .16) !important;
    display: flex !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.news-banner-thumb,
.news-blog-thumb,
.photo-news-blog,
.trending-thumb,
.widget-category-thumb,
.news-gallery-area .news-gallery-banner {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
}

.news-banner-thumb a,
.news-blog-thumb a,
.small-news-thumb a,
.small-single-news .thumb a,
.photo-news-blog a,
.trending-thumb a,
.widget-category-thumb a,
.news-gallery-area .news-gallery-banner a {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

.news-banner-thumb img,
.news-blog-thumb img,
.small-news-thumb img,
.small-single-news .thumb img,
.photo-news-blog img,
.trending-thumb img,
.widget-category-thumb img,
.news-gallery-area .news-gallery-banner img {
    display: block !important;
    height: 100% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    transition: transform .22s ease, opacity .22s ease !important;
    width: 100% !important;
}

.news-banner-thumb:hover img,
.news-blog-thumb:hover img,
.small-news-thumb:hover img,
.small-single-news .thumb:hover img,
.photo-news-blog:hover img,
.trending-thumb:hover img,
.widget-category-thumb:hover img,
.news-gallery-area .news-gallery-banner:hover img {
    opacity: .98 !important;
    transform: scale(1.015) !important;
}

/* 2026-06-09 article detail image parity with CA */
.news-details-content .news-banner-wrapper,
.news-details-content .news-banner-wrapper .row,
.news-details-content .news-banner-wrapper .col-xl-12 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.news-details-content .news-banner-thumb {
    aspect-ratio: auto !important;
    background: transparent !important;
    border: 1px solid rgba(0, 212, 255, .28) !important;
    display: block !important;
    height: auto !important;
    line-height: 0 !important;
    margin: 0 0 18px !important;
    overflow: hidden !important;
    width: 100% !important;
}

.news-details-content .news-banner-thumb img {
    aspect-ratio: auto !important;
    display: block !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: cover !important;
    transform: none !important;
    width: 100% !important;
}

.news-details-content .news-banner-thumb:hover img {
    opacity: 1 !important;
    transform: none !important;
}

.small-news-thumb,
.small-single-news .thumb {
    flex: 0 0 auto !important;
}

.small-photo-news-blog .photo-news-blog,
.news-small-blog-area .news-blog-thumb {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
}

.photo-news-blog::before {
    display: none !important;
}

@media (max-width: 767px) {
    .small-news-thumb,
    .small-single-news .thumb {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        width: 100% !important;
    }
}

/* 2026-06-07 home theme polish patch */
.photo-news-blog {
    aspect-ratio: auto !important;
    background: transparent !important;
    border: none !important;
    display: block !important;
    height: auto !important;
    overflow: visible !important;
}

.photo-news-blog a {
    color: inherit !important;
    display: block !important;
    height: auto !important;
    position: relative !important;
    text-decoration: none !important;
    width: 100% !important;
}

.photo-news-blog img {
    aspect-ratio: 16 / 9 !important;
    background: #f4f7fa !important;
    border: 1px solid rgba(44, 126, 184, .22) !important;
    border-bottom: none !important;
    height: auto !important;
    object-fit: contain !important;
    width: 100% !important;
}

.photo-news-blog .photo-news-title {
    background: #ffffff !important;
    border: 1px solid rgba(44, 126, 184, .22) !important;
    border-top: none !important;
    bottom: auto !important;
    color: #122330 !important;
    display: -webkit-box !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    left: auto !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    min-height: 74px !important;
    overflow: hidden !important;
    padding: 13px 15px !important;
    position: static !important;
    text-shadow: none !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.small-photo-news-blog .photo-news-blog .photo-news-title {
    font-size: 15px !important;
    min-height: 58px !important;
    padding: 10px 12px !important;
}

.photo-badge {
    align-items: center !important;
    background: rgba(10, 26, 47, .72) !important;
    border: 1px solid rgba(0, 212, 255, .42) !important;
    border-radius: 2px !important;
    color: #00AF66 !important;
    display: inline-flex !important;
    font-size: 20px !important;
    height: 34px !important;
    justify-content: center !important;
    left: 10px !important;
    line-height: 1 !important;
    opacity: .9 !important;
    top: 10px !important;
    width: 34px !important;
}

/* 2026-06-07 NFG homepage dark polish follow-up */
.photo-news-blog .photo-news-title,
.news-blog-content,
.widget-category-content,
.widget-category-content--style {
    background:
        linear-gradient(135deg, rgba(7, 31, 55, .96), rgba(8, 48, 75, .88)) !important;
    border: 1px solid rgba(0, 212, 255, .24) !important;
    border-top: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
    color: var(--nfg-text-primary) !important;
}

.photo-news-blog .photo-news-title {
    color: var(--nfg-accent) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .35) !important;
}

.news-blog-content .title,
.news-blog-content .title a,
.widget-category-content .title,
.widget-category-content .title a,
.widget-category-content a {
    color: var(--nfg-accent) !important;
}

.news-blog-content .title a:hover,
.widget-category-content a:hover {
    color: var(--nfg-accent-glow) !important;
}

.news-blog-content p,
.widget-category-content p {
    color: var(--nfg-text-secondary) !important;
}

.news-blog-item,
.widget-category-item {
    background: rgba(7, 31, 55, .88) !important;
    border: 1px solid rgba(0, 212, 255, .18) !important;
    box-shadow: 0 16px 34px rgba(0, 7, 18, .22) !important;
}

.news-blog-thumb,
.widget-category-thumb,
.photo-news-blog img {
    background: #061627 !important;
    border-color: rgba(0, 212, 255, .24) !important;
}

.footer-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 212, 255, .12), transparent 38%),
        linear-gradient(180deg, #071728 0%, #091c31 100%) !important;
    border-top: 1px solid rgba(0, 212, 255, .35) !important;
}

.footer-top-area p,
.footer-widget .title,
.footer-widget p,
.footer-links li,
.footer-links li::before {
    color: var(--nfg-text-primary) !important;
}

.footer-widget p,
.footer-links li a {
    color: var(--nfg-text-secondary) !important;
}

.footer-links li:hover,
.footer-links li:hover::before,
.footer-links li a:hover {
    color: var(--nfg-accent) !important;
}

.copyright-wrapper {
    background: #071728 !important;
    border-top: 1px solid rgba(0, 212, 255, .25) !important;
}

.copyright p {
    color: var(--nfg-text-secondary) !important;
}

.footer-social li a {
    background: rgba(8, 36, 62, .88) !important;
    border: 1px solid rgba(0, 212, 255, .25) !important;
    color: var(--nfg-accent) !important;
}

.footer-social li a:hover,
.footer-social li a.active {
    background: var(--nfg-accent) !important;
    color: #061627 !important;
}

.cookies-card {
    background: rgba(6, 22, 39, .96) !important;
    border-top: 1px solid rgba(0, 212, 255, .32) !important;
    box-shadow: 0 -18px 40px rgba(0, 7, 18, .42) !important;
    color: var(--nfg-text-primary) !important;
}

.cookies-card__icon {
    color: var(--nfg-accent) !important;
}

.cookies-card__content {
    color: var(--nfg-text-secondary) !important;
}

.cookies-card .btn--base,
.cookies-card .policy {
    background: linear-gradient(135deg, #00AF66, #39E59B) !important;
    border: 1px solid rgba(102, 240, 255, .55) !important;
    color: #061627 !important;
    font-weight: 800 !important;
}

.cookies-card .btn--base:hover,
.cookies-card .policy:hover {
    background: linear-gradient(135deg, #39E59B, #00AF66) !important;
    color: #061627 !important;
}

/* 2026-06-07 NFG homepage dark card enforcement */
.news-category-area .news-banner-area,
.news-category-area .widget-category-item,
.news-category-area .news-blog-item,
.photo-news-blog {
    background: #0b1110 !important;
    border: 1px solid rgba(0, 212, 255, .22) !important;
    box-shadow: 0 14px 34px rgba(0, 7, 18, .28) !important;
}

.news-category-area .news-banner-content,
.news-category-area .news-banner-content--style,
.news-category-area .widget-category-content,
.news-category-area .widget-category-content--style,
.news-category-area .news-blog-content,
.photo-news-blog .photo-news-title {
    background: #0b1110 !important;
    border: 0 !important;
    border-top: 1px solid rgba(0, 212, 255, .22) !important;
    color: var(--nfg-text-primary) !important;
    padding: 16px 20px !important;
}

.news-category-area .news-banner-content .title,
.news-category-area .news-banner-content--style .title,
.news-category-area .widget-category-content .title,
.news-category-area .news-blog-content .title,
.photo-news-blog .photo-news-title {
    color: var(--nfg-accent) !important;
    text-shadow: none !important;
}

.news-category-area .news-banner-content .title a,
.news-category-area .news-banner-content--style .title a,
.news-category-area .widget-category-content .title a,
.news-category-area .news-blog-content .title a {
    color: var(--nfg-accent) !important;
}

.news-category-area .widget-category-content p,
.news-category-area .news-blog-content p {
    color: var(--nfg-text-secondary) !important;
    line-height: 1.65 !important;
}

.news-category-area .news-banner-thumb,
.news-category-area .widget-category-thumb,
.news-category-area .news-blog-thumb,
.photo-news-blog img {
    background: #071728 !important;
    border: 0 !important;
}

.news-category-area .news-banner-thumb img,
.news-category-area .widget-category-thumb img,
.news-category-area .news-blog-thumb img,
.photo-news-blog img {
    border: 1px solid rgba(216, 236, 255, .42) !important;
}

.news-category-area .sidebar,
.news-category-area .custom-sidebar,
.news-category-area .widget {
    background: #0b1110 !important;
    border: 1px solid rgba(0, 212, 255, .22) !important;
}
/* Flexible advert media: allow taller header banners without overflow. */
.header-middle-area {
    align-items: center;
}

.header-middle-area .header-promo {
    display: flex;
    justify-content: center;
    max-height: 300px;
    overflow: hidden;
}

.header-middle-area .header-promo .advertisement-media-slot,
.header-middle-area .header-promo > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    max-height: 300px;
    overflow: hidden;
    width: 100%;
}

.header-middle-area .header-promo img,
.header-middle-area .header-promo video {
    display: block;
    height: auto !important;
    max-height: 300px;
    max-width: 100%;
    object-fit: contain;
    width: auto !important;
}

@media (max-width: 991px) {
    .header-middle-area .header-promo {
        max-height: 220px;
        width: 100%;
    }

    .header-middle-area .header-promo img,
    .header-middle-area .header-promo video {
        max-height: 220px;
    }
}

/* =========================
   227GO BRAND THEME
========================= */

:root {
    --nfg-bg-primary: #050505;
    --nfg-bg-secondary: #0b1110;
    --nfg-border: rgba(0, 175, 102, .34);
    --nfg-accent: #00AF66;
    --nfg-accent-glow: #39e59b;
    --nfg-text-primary: #ffffff;
    --nfg-text-secondary: #d8e7df;
    --go227-red: #D22730;
    --go227-green: #00AF66;
    --go227-black: #050505;
}

body {
    background: #050505 !important;
    color: #ffffff !important;
}

.header,
.header-area,
.header-middle,
.header-middle.bg--white,
.menu-area,
.top-news-ticker {
    background: #050505 !important;
}

.header-middle {
    border-bottom: 1px solid rgba(0, 175, 102, .42) !important;
}

.header-middle-area {
    background:
        radial-gradient(circle at 18% 24%, rgba(210, 39, 48, .22), transparent 28%),
        radial-gradient(circle at 78% 18%, rgba(0, 175, 102, .26), transparent 30%),
        #050505 !important;
}

.header-middle-area::after,
.menu-area::after,
.top-news-ticker::after {
    background: linear-gradient(90deg, #D22730 0%, #D22730 34%, #050505 34%, #050505 44%, #00AF66 44%, #00AF66 100%);
    content: "";
    display: block;
    height: 3px;
    width: 100%;
}

.news-date,
.header-middle-area .date,
.header-middle-area p,
.header-middle-area span {
    color: #d8e7df !important;
}

.menu-area {
    border-top: 0 !important;
    border-bottom: 1px solid rgba(0, 175, 102, .36) !important;
}

.menu li a {
    color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

.menu li a:hover,
.menu li a.active {
    background: linear-gradient(135deg, rgba(210, 39, 48, .88), rgba(0, 175, 102, .88)) !important;
    color: #ffffff !important;
    border-radius: 2px !important;
}

.top-news-ticker {
    border-color: rgba(0, 175, 102, .34) !important;
}

.top-news-ticker .title,
.breaking-news-title,
.news-details-content .badge,
.post-category,
.category-badge {
    background: linear-gradient(135deg, #D22730 0%, #D22730 48%, #00AF66 100%) !important;
    color: #ffffff !important;
}

.news-category-area .news-banner-area,
.news-category-area .widget-category-item,
.news-category-area .news-blog-item,
.photo-news-blog,
.sidebar,
.custom-sidebar,
.widget,
.card,
.box {
    background: #0b1110 !important;
    border: 1px solid rgba(0, 175, 102, .28) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .38) !important;
}

.news-category-area .news-banner-content,
.news-category-area .news-banner-content--style,
.news-category-area .widget-category-content,
.news-category-area .widget-category-content--style,
.news-category-area .news-blog-content,
.photo-news-blog .photo-news-title {
    background: #0b1110 !important;
    border-top: 1px solid rgba(210, 39, 48, .26) !important;
}

.news-category-area .news-banner-content .title,
.news-category-area .news-banner-content--style .title,
.news-category-area .widget-category-content .title,
.news-category-area .news-blog-content .title,
.photo-news-blog .photo-news-title,
.news-details-content .title,
.widget-title,
.widget-title--style {
    color: #ffffff !important;
}

.news-category-area .news-banner-content .title a,
.news-category-area .news-banner-content--style .title a,
.news-category-area .widget-category-content .title a,
.news-category-area .news-blog-content .title a,
.news-details-content a {
    color: #ffffff !important;
}

.news-category-area .news-banner-content .title a:hover,
.news-category-area .news-banner-content--style .title a:hover,
.news-category-area .widget-category-content .title a:hover,
.news-category-area .news-blog-content .title a:hover,
.news-details-content a:hover {
    color: #39e59b !important;
}

.btn--base,
.cmn-btn,
button[type="submit"],
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #00AF66 0%, #008f54 68%, #D22730 100%) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    color: #ffffff !important;
}

.footer-section,
.copyright-wrapper {
    background: #050505 !important;
    border-top: 1px solid rgba(0, 175, 102, .32) !important;
}

.footer-section::before,
.copyright-wrapper::before {
    background: linear-gradient(90deg, #D22730 0%, #D22730 36%, #050505 36%, #050505 46%, #00AF66 46%, #00AF66 100%);
    content: "";
    display: block;
    height: 3px;
    width: 100%;
}

/* =========================
   227GO GLOBAL CONTROL FIXES
========================= */

.btn,
.btn-primary,
.btn--base,
.cmn-btn,
.nav-pills .nav-link.active,
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link,
.category-tab .nav-link.active,
.news-tabs .nav-link.active,
.tab-area .nav-link.active,
.swiper-button-next,
.swiper-button-prev,
.slider-next,
.slider-prev,
.slick-arrow,
.owl-nav button,
.scrollToTop,
.scroll-to-top,
.back-to-top,
.pagination .page-item.active .page-link,
.ui-datepicker td a,
.ui-datepicker td span,
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    background: #00AF66 !important;
    border-color: #00AF66 !important;
    color: #ffffff !important;
}

.btn:hover,
.btn-primary:hover,
.btn--base:hover,
.cmn-btn:hover,
.nav-pills .nav-link.active:hover,
.nav-tabs .nav-link.active:hover,
.swiper-button-next:hover,
.swiper-button-prev:hover,
.slider-next:hover,
.slider-prev:hover,
.slick-arrow:hover,
.owl-nav button:hover,
.scrollToTop:hover,
.scroll-to-top:hover,
.back-to-top:hover,
.pagination .page-link:hover,
.ui-datepicker td a:hover,
.ui-datepicker td .ui-state-hover {
    background: #39E59B !important;
    border-color: #39E59B !important;
    color: #050505 !important;
}

.ui-datepicker .ui-datepicker-current-day a,
.ui-datepicker .ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
.ui-datepicker-today a {
    background: linear-gradient(135deg, #00AF66 0%, #00AF66 62%, #D22730 100%) !important;
    border-color: #00AF66 !important;
    color: #050505 !important;
    font-weight: 900 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: #ffffff !important;
    font-size: 18px !important;
}

.nav-tabs,
.nav-pills,
.category-tab,
.news-tabs,
.tab-area {
    border-color: rgba(0, 175, 102, .38) !important;
}

.nav-tabs .nav-link,
.nav-pills .nav-link,
.category-tab .nav-link,
.news-tabs .nav-link,
.tab-area .nav-link {
    color: #ffffff !important;
}

.nav-tabs .nav-link:not(.active):hover,
.nav-pills .nav-link:not(.active):hover,
.category-tab .nav-link:not(.active):hover,
.news-tabs .nav-link:not(.active):hover,
.tab-area .nav-link:not(.active):hover {
    color: #39E59B !important;
}

.search-form .form--control:focus,
.search-form input:focus,
.form--control:focus,
.form-control:focus {
    border-color: #00AF66 !important;
    box-shadow: 0 0 0 .2rem rgba(0, 175, 102, .18) !important;
}

.search-btn,
.search-button,
.search-icon,
.header-search-btn,
.footer-social li a:hover {
    background: transparent !important;
    border-color: #00AF66 !important;
    color: #ffffff !important;
}

.search-btn:hover,
.search-button:hover,
.search-icon:hover,
.header-search-btn:hover {
    color: #39E59B !important;
}

.social-share li a:hover,
.social-share li a.active {
    background-color: #00AF66 !important;
    border-color: #00AF66 !important;
    color: #ffffff !important;
}

.nfg-news-views-glass,
.nfg-forum-card,
.nfg-forum-reply-feed {
    background:
        linear-gradient(135deg, rgba(5, 5, 5, .96), rgba(4, 35, 22, .92)) !important;
    border-color: rgba(0, 175, 102, .36) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

.nfg-forum-card {
    border-left-color: #00AF66 !important;
}

.nfg-forum-kicker,
.nfg-forum-feed-title,
.nfg-news-views-glass strong {
    color: #39E59B !important;
    text-shadow: 0 0 12px rgba(0, 175, 102, .35) !important;
}

.nfg-forum-btn,
.nfg-forum-btn--primary {
    background: linear-gradient(180deg, #00AF66 0%, #007f4a 100%) !important;
    border-color: #39E59B !important;
    box-shadow: 0 0 0 1px rgba(0, 175, 102, .16), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
    color: #ffffff !important;
}

.nfg-forum-btn:hover,
.nfg-forum-btn--primary:hover {
    background: linear-gradient(180deg, #39E59B 0%, #00AF66 100%) !important;
    color: #050505 !important;
}

.preloader .loader path[fill="#5982E2"] {
    fill: #00AF66 !important;
}

.go227-translate-helper {
    align-items: center;
    background: linear-gradient(135deg, rgba(5, 5, 5, .96), rgba(5, 34, 23, .94)) !important;
    border: 1px solid rgba(0, 175, 102, .38) !important;
    border-left: 4px solid #00AF66 !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .28) !important;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: space-between;
    margin: 0 0 22px;
    padding: 14px 16px;
}

.go227-translate-helper strong {
    color: #ffffff !important;
    display: block;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
}

.go227-translate-helper span {
    color: #d8e7df !important;
    display: block;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 4px;
}

.go227-translate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.go227-translate-actions a {
    background: #00AF66 !important;
    border: 1px solid #39E59B !important;
    color: #ffffff !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    padding: 10px 12px;
}

.go227-translate-actions a:hover {
    background: #39E59B !important;
    color: #050505 !important;
}

/* =========================================================
   227LAW NEWS THEME OVERRIDES
   Applied after the 227go deployment package was promoted.
   ========================================================= */
:root {
  --law-green: #00c878;
  --law-green-deep: #007a48;
  --law-green-glow: rgba(0, 200, 120, .42);
  --law-red: #e60012;
  --law-black: #020504;
  --law-panel: #07110d;
  --law-line: #00b86d;
}

body,
.header-section,
.footer-area,
.main-wrapper,
.news-details-section,
.archive-section {
  background-color: var(--law-black) !important;
}

.header-bottom,
.header-menu,
.navbar-wrapper,
.category-menu,
.menu-area,
.footer-bottom,
.border--base,
.section-border,
.latest-news-wrapper,
.archive-wrapper,
.sidebar-widget,
.widget,
.card,
.custom--card {
  border-color: var(--law-line) !important;
}

a,
.text--base,
.section-title,
.widget-title,
.archive-title,
.news-title a:hover,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.footer-area a:hover {
  color: var(--law-green) !important;
}

.btn--base,
.btn--primary,
.btn--info,
.btn--blue,
.btn--cyan,
.btn--light-blue,
.btn-primary,
.btn-info,
button[type="submit"],
input[type="submit"],
.pagination .page-item.active .page-link,
.scrollToTop,
.slick-arrow,
.owl-prev,
.owl-next,
.swiper-button-next,
.swiper-button-prev,
.ui-datepicker .ui-datepicker-current-day a,
.ui-datepicker td a.ui-state-active,
.archive-calendar td.active,
.archive-calendar .active,
.nav-tabs .nav-link.active,
.latest-tab .nav-link.active,
.latest-tab button.active,
.post-tab button.active,
.search-btn,
.subscribe-btn {
  background: linear-gradient(180deg, var(--law-green) 0%, var(--law-green-deep) 100%) !important;
  border-color: var(--law-green) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 0 18px var(--law-green-glow) !important;
}

.btn--base:hover,
.btn--primary:hover,
.btn--info:hover,
.btn--blue:hover,
.btn--cyan:hover,
.btn--light-blue:hover,
.btn-primary:hover,
.btn-info:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.scrollToTop:hover,
.slick-arrow:hover,
.owl-prev:hover,
.owl-next:hover,
.swiper-button-next:hover,
.swiper-button-prev:hover,
.search-btn:hover,
.subscribe-btn:hover {
  background: linear-gradient(180deg, #19df91 0%, #009f60 100%) !important;
  border-color: #19df91 !important;
  color: #ffffff !important;
}

.btn-outline--base,
.btn-outline--primary,
.btn-outline--info,
.btn-outline--blue,
.btn-outline--cyan,
.btn-outline--light-blue,
.btn-outline-primary,
.btn-outline-info {
  border-color: var(--law-green) !important;
  color: var(--law-green) !important;
}

.btn-outline--base:hover,
.btn-outline--primary:hover,
.btn-outline--info:hover,
.btn-outline--blue:hover,
.btn-outline--cyan:hover,
.btn-outline--light-blue:hover,
.btn-outline-primary:hover,
.btn-outline-info:hover {
  background: var(--law-green) !important;
  color: #ffffff !important;
}

.bg--base,
.bg--primary,
.bg--info,
.bg--blue,
.bg--cyan,
.bg--light-blue,
.badge--base,
.badge--primary,
.badge--info,
.badge--blue,
.badge--cyan,
.badge--light-blue,
.label--base,
.label--primary,
.label--info,
.label--blue,
.label--cyan,
.label--light-blue {
  background-color: var(--law-green) !important;
  border-color: var(--law-green) !important;
  color: #ffffff !important;
}

.form-control:focus,
.form--control:focus,
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--law-green) !important;
  box-shadow: 0 0 0 .16rem rgba(0, 200, 120, .22) !important;
}

::-webkit-scrollbar-thumb {
  background: var(--law-green) !important;
}

::selection {
  background: var(--law-green) !important;
  color: #ffffff !important;
}

.logo img,
.site-logo img,
.header-logo img {
  background: #000 !important;
  max-height: 120px;
  object-fit: contain;
}

.header-top,
.header-middle,
.header-bottom,
.footer-area {
  box-shadow: inset 0 -1px 0 rgba(0, 200, 120, .32) !important;
}

.news-category,
.category-title,
.breaking-badge,
.latest-badge {
  color: #ffffff !important;
  background: linear-gradient(90deg, var(--law-red), var(--law-green)) !important;
  border-color: var(--law-green) !important;
}
