/*
Theme Name: Altcoin News
Theme URI: https://altcoin.news
Author: Altcoin.News
Author URI: https://altcoin.news
Description: Market + altcoin analytics dashboard theme with live market data cards.
Version: 0.5.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: altcoin-news
*/

:root{
  --bg:#0b0f14;
  --panel:#101722;
  --panel-2:#151f2e;
  --border:rgba(255,255,255,.08);
  --text:#f3f6fb;
  --muted:#9aa8bb;
  --gold:#f5b942;
  --green:#2ecc71;
  --red:#ff5c6c;
  --blue:#5ea0ff;
  --radius:18px;
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --max:1280px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#091019 0%,#0b0f14 60%,#0d1219 100%);color:var(--text);font:16px/1.6 Inter,Segoe UI,Arial,sans-serif}
a{color:var(--text);text-decoration:none}
a:hover{color:var(--gold)}
img{max-width:100%;height:auto}
.container{width:min(calc(100% - 32px),var(--max));margin:0 auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(8,12,18,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:10px 0;color:var(--muted);font-size:14px}
.breaking{display:flex;align-items:center;gap:10px;overflow:hidden;white-space:nowrap}
.breaking-badge{padding:6px 10px;border-radius:999px;background:rgba(245,185,66,.14);color:var(--gold);font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:12px}
.site-nav-wrap{display:flex;align-items:center;justify-content:space-between;padding:16px 0;gap:20px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:30px;letter-spacing:.02em}
.brand-mark{width:42px;height:42px;border-radius:12px;background:radial-gradient(circle at 30% 30%,#ffe39c 0,#f5b942 35%,#9b6510 100%);display:grid;place-items:center;color:#0b0f14;font-weight:900;box-shadow:0 8px 24px rgba(245,185,66,.25)}
.brand span.small{color:var(--muted);font-weight:600}
.primary-menu{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.primary-menu a{padding:11px 14px;border-radius:12px;color:var(--muted);font-weight:700}
.primary-menu a:hover,.primary-menu .current-menu-item a{background:rgba(245,185,66,.14);color:var(--gold)}
.hero{padding:36px 0 20px}
.hero-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:20px}
.card{background:linear-gradient(180deg,var(--panel) 0%,var(--panel-2) 100%);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.hero-main{padding:28px;min-height:300px;display:flex;flex-direction:column;justify-content:space-between}
.kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(94,160,255,.12);color:var(--blue);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.hero-main h1{font-size:clamp(34px,5vw,58px);line-height:1.05;margin:18px 0 10px}
.hero-main p{max-width:760px;color:var(--muted);font-size:18px;margin:0}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.button{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:14px;background:var(--gold);color:#0a0f14;font-weight:800;border:none;cursor:pointer}
.button.alt{background:transparent;color:var(--text);border:1px solid var(--border)}
.hero-side{padding:20px}
.market-snapshot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.snapshot{padding:16px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid var(--border)}
.snapshot .label{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.snapshot .value{display:block;font-size:24px;font-weight:800;margin-top:8px}
.snapshot .delta{display:block;margin-top:6px;font-size:14px;font-weight:700}
.delta.up{color:var(--green)}
.delta.down{color:var(--red)}
.section{padding:8px 0 26px}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px}
.section-title h2{margin:0;font-size:26px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.grid-2-1{display:grid;grid-template-columns:1fr 340px;gap:18px}
.market-card,.post-card,.watchlist-card,.empty-card{padding:18px}
.market-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--border)}
.market-row:last-child{border-bottom:none;padding-bottom:0}
.coin-meta{display:flex;align-items:center;gap:12px;min-width:0}
.coin-meta img{width:34px;height:34px;border-radius:999px;background:#fff}
.coin-meta strong{display:block;font-size:15px}
.coin-meta span{display:block;font-size:12px;color:var(--muted);text-transform:uppercase}
.coin-price{text-align:right}
.coin-price strong{display:block;font-size:16px}
.coin-price span{display:block;font-size:13px;font-weight:700}
.posts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.post-card h3{margin:0 0 8px;font-size:22px;line-height:1.2}
.post-meta{color:var(--muted);font-size:14px;margin-bottom:8px}
.post-card p{color:var(--muted);margin:0 0 12px}
.mini-list{display:grid;gap:10px}
.mini-list a{display:block;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--border);font-weight:700}
.settings-note{color:var(--muted);font-size:14px}
.table-wrap{overflow:auto}
.market-table{width:100%;border-collapse:collapse}
.market-table th,.market-table td{padding:14px 12px;border-bottom:1px solid var(--border);text-align:left}
.market-table th{color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:.06em}
.market-table tr:hover td{background:rgba(255,255,255,.02)}
.site-footer{padding:28px 0 50px;color:var(--muted)}
.footer-card{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.widget-area .widget{padding:18px;border-radius:18px;background:linear-gradient(180deg,var(--panel) 0%,var(--panel-2) 100%);border:1px solid var(--border);margin-bottom:18px}
.search-form{display:flex;gap:10px}
.search-form input[type="search"]{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:#0d141d;color:var(--text)}
.search-form input[type="submit"]{padding:12px 16px;border-radius:12px;background:var(--gold);border:none;font-weight:800;cursor:pointer}
.notice-inline{padding:14px 16px;border-radius:14px;background:rgba(245,185,66,.08);border:1px solid rgba(245,185,66,.22);color:#f9dd9b}
@media (max-width: 1024px){
  .hero-grid,.grid-2-1,.grid-3,.posts-grid{grid-template-columns:1fr}
  .market-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 720px){
  .brand{font-size:24px}
  .topbar,.site-nav-wrap{align-items:flex-start;flex-direction:column}
  .market-snapshot{grid-template-columns:1fr}
  .hero-main{padding:20px}
  .hero-main h1{font-size:34px}
}


.compare-market-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px}
.compare-market-rail .rail-gap{margin-top:18px}
.compare-teaser-card,.compare-page-card{padding:22px}
.compare-head{align-items:flex-start}
.compare-head h2{font-size:32px;margin:12px 0 8px}
.compare-copy{margin:0;color:var(--muted);max-width:760px}
.integration-badge{padding:8px 12px;border-radius:999px;background:rgba(46,204,113,.12);color:var(--green);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.compare-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 14px}
.compare-search{min-height:48px;padding:12px 16px;border-radius:14px;border:1px solid var(--border);background:#0d141d;color:var(--muted);min-width:min(100%,340px);display:flex;align-items:center}
.compare-note{color:var(--muted);font-size:14px;max-width:460px}
.compare-preview-table td.locked-cell{color:rgba(243,246,251,.72);filter:blur(2px);user-select:none}
.compare-preview-wrap{position:relative}
.compare-preview-wrap:after{content:'Unlock deeper comparison';position:absolute;right:18px;bottom:18px;padding:10px 14px;border-radius:999px;background:rgba(245,185,66,.14);border:1px solid rgba(245,185,66,.26);color:var(--gold);font-weight:800;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.compare-actions{margin-top:18px}
@media (max-width: 1024px){.compare-market-layout{grid-template-columns:1fr}}


.market-ticker{padding:8px 0 14px;border-top:1px solid var(--border);overflow:hidden}
.ticker-marquee{overflow:hidden;position:relative}
.ticker-marquee:before,.ticker-marquee:after{content:'';position:absolute;top:0;bottom:0;width:48px;z-index:2;pointer-events:none}
.ticker-marquee:before{left:0;background:linear-gradient(90deg,var(--bg),rgba(8,12,18,0))}
.ticker-marquee:after{right:0;background:linear-gradient(270deg,var(--bg),rgba(8,12,18,0))}
.ticker-marquee-track{display:flex;align-items:center;gap:12px;width:max-content;animation:altcoinTickerScroll var(--ticker-duration,120s) linear infinite;padding-bottom:2px}
.ticker-marquee:hover .ticker-marquee-track{animation-play-state:paused}
.ticker-item{min-width:178px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}
.ticker-item strong{display:block;font-size:14px}
.ticker-item span{display:block;font-size:12px;color:var(--muted);text-transform:uppercase}
.ticker-symbol-group{display:flex;flex-direction:column}
.ticker-price{text-align:right}
@keyframes altcoinTickerScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@media (max-width: 900px){.ticker-marquee-track{animation-duration:90s}.ticker-item{min-width:160px}}



/* v0.6.4 news/feed contrast patch */
.altcoin-news-feed,
.altcoin-news-feed .news-card,
.altcoin-news-feed .feed-card,
.altcoin-news-feed .post-card,
.front-page-news,
.front-page-news .news-card,
.front-page-news .feed-card,
.front-page-news .post-card,
.home .news-card,
.home .feed-card,
.home .post-card,
.home .amb-news-feed,
.home .amb-news-feed-item,
.home .amb-news-card,
.home [class*="amb_news"],
.home [class*="amb-news"] {
    background: #ffffff !important;
    color: #111111 !important;
    opacity: 1 !important;
    filter: none !important;
}

.altcoin-news-feed .news-card h2,
.altcoin-news-feed .news-card h3,
.altcoin-news-feed .feed-card h2,
.altcoin-news-feed .feed-card h3,
.altcoin-news-feed .post-card h2,
.altcoin-news-feed .post-card h3,
.front-page-news .news-card h2,
.front-page-news .news-card h3,
.front-page-news .feed-card h2,
.front-page-news .feed-card h3,
.front-page-news .post-card h2,
.front-page-news .post-card h3,
.home .news-card h2,
.home .news-card h3,
.home .feed-card h2,
.home .feed-card h3,
.home .post-card h2,
.home .post-card h3,
.home .amb-news-feed h1,
.home .amb-news-feed h2,
.home .amb-news-feed h3,
.home .amb-news-feed-item h1,
.home .amb-news-feed-item h2,
.home .amb-news-feed-item h3,
.home .amb-news-card h1,
.home .amb-news-card h2,
.home .amb-news-card h3,
.home [class*="amb_news"] h1,
.home [class*="amb_news"] h2,
.home [class*="amb_news"] h3,
.home [class*="amb-news"] h1,
.home [class*="amb-news"] h2,
.home [class*="amb-news"] h3 {
    color: #111111 !important;
    opacity: 1 !important;
}

.altcoin-news-feed .news-meta,
.altcoin-news-feed .entry-meta,
.altcoin-news-feed .post-meta,
.front-page-news .news-meta,
.front-page-news .entry-meta,
.front-page-news .post-meta,
.home .news-meta,
.home .entry-meta,
.home .post-meta,
.home .amb-news-feed .meta,
.home .amb-news-feed .news-meta,
.home .amb-news-feed-item .meta,
.home .amb-news-card .meta,
.home [class*="amb_news"] .meta,
.home [class*="amb-news"] .meta {
    color: #666666 !important;
    opacity: 1 !important;
}

.altcoin-news-feed p,
.altcoin-news-feed .excerpt,
.altcoin-news-feed .entry-summary,
.front-page-news p,
.front-page-news .excerpt,
.front-page-news .entry-summary,
.home .post-card p,
.home .feed-card p,
.home .news-card p,
.home .amb-news-feed p,
.home .amb-news-feed-item p,
.home .amb-news-card p,
.home [class*="amb_news"] p,
.home [class*="amb-news"] p {
    color: #222222 !important;
    opacity: 1 !important;
}

.altcoin-news-feed a,
.front-page-news a,
.home .post-card a,
.home .feed-card a,
.home .news-card a,
.home .amb-news-feed a,
.home .amb-news-feed-item a,
.home .amb-news-card a,
.home [class*="amb_news"] a,
.home [class*="amb-news"] a {
    color: #111111 !important;
    text-decoration: none;
}

.altcoin-news-feed a:hover,
.front-page-news a:hover,
.home .post-card a:hover,
.home .feed-card a:hover,
.home .news-card a:hover,
.home .amb-news-feed a:hover,
.home .amb-news-feed-item a:hover,
.home .amb-news-card a:hover,
.home [class*="amb_news"] a:hover,
.home [class*="amb-news"] a:hover {
    color: #d9a826 !important;
}


/* v0.6.5 homepage amb_news_feed hard-wire */
.news-feed-shell{
  padding:18px;
  overflow:hidden;
}
.homepage-amb-feed{
  display:block;
  width:100%;
  min-height:260px;
}
.homepage-amb-feed > *{
  width:100%;
  max-width:100%;
}
.homepage-amb-feed form,
.homepage-amb-feed .amb-news-filter,
.homepage-amb-feed .amb_news_filter{
  margin-bottom:18px;
}
.homepage-amb-feed .news-card,
.homepage-amb-feed .amb-news-card,
.homepage-amb-feed .amb_news_card,
.homepage-amb-feed article{
  margin-bottom:16px;
}


/* v0.6.6 limit homepage feed + signup gate */
.news-gate-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:18px;
  padding:18px 20px;
  border:1px solid rgba(217,168,38,.22);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(12,20,35,.96), rgba(10,16,28,.98));
}
.news-gate-copy h3{
  margin:0 0 6px;
  color:#ffffff;
}
.news-gate-copy p{
  margin:0;
  color:rgba(255,255,255,.78);
}
.news-gate-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
@media (max-width: 900px){
  .news-gate-cta{
    flex-direction:column;
    align-items:flex-start;
  }
}



/* v0.7 dark calendar patch */
.events-calendar,
.events-calendar *,
.tribe-events,
.tribe-events *,
.tribe-common,
.tribe-common *,
.tec-events-elementor-event-widget-events-list *,
.ecs-event-list *,
.ai1ec-calendar *,
.mec-calendar *,
.calendar-wrap *,
.calendar-wrap table *,
.eventon_events_list *,
.em-calendar *,
.em-calendar table * {
  opacity: 1 !important;
}

.events-calendar table,
.events-calendar td,
.events-calendar th,
.tribe-events-view,
.tribe-events-calendar-month,
.tribe-events-calendar-month__body,
.tribe-events-calendar-month__week,
.tribe-events-calendar-month__day,
.tribe-events-calendar-month__day-cell,
.tribe-events .tribe-events-calendar-month__day,
.tribe-common .tribe-common-c-svgicon,
.ai1ec-calendar-view,
.mec-calendar,
.em-calendar,
.em-calendar table,
.em-calendar td,
.em-calendar th,
.upcoming-events,
.upcoming-events .event-item,
.events-list,
.events-list li {
  background: #ffffff !important;
  color: #111111 !important;
}

.events-calendar td,
.events-calendar th,
.events-calendar .day,
.events-calendar .event,
.events-calendar .event-title,
.tribe-events-calendar-month__day-date,
.tribe-events-calendar-month__calendar-event-datetime,
.tribe-events-calendar-month__calendar-event-title,
.tribe-events-calendar-month__mobile-events-icon,
.tribe-events .tribe-events-calendar-month__day-cell,
.tribe-events .tribe-events-calendar-month__day-date-daynum,
.tribe-events .tribe-events-calendar-month__day-date-link,
.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner,
.tribe-events .tribe-events-calendar-month__multiday-event-hidden-link,
.ai1ec-date,
.ai1ec-date-title,
.ai1ec-event-title,
.ai1ec-event-time,
.mec-event-title,
.mec-event-time,
.em-calendar .eventful,
.em-calendar .eventless,
.em-calendar .eventful a,
.em-calendar .eventless a,
.upcoming-events *,
.events-list * {
  color: #111111 !important;
  fill: #111111 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.events-calendar a,
.tribe-events a,
.tribe-common a,
.ai1ec-calendar a,
.mec-calendar a,
.em-calendar a,
.events-list a,
.upcoming-events a {
  color: #1a4cff !important;
  opacity: 1 !important;
}

.page-title,
.entry-title,
.tribe-events-page-title,
.events-calendar h1,
.events-calendar h2,
.events-calendar h3,
.tribe-events h1,
.tribe-events h2,
.tribe-events h3 {
  background: transparent !important;
  color: #ffffff !important;
}

.events-calendar table,
.tribe-events-view,
.ai1ec-calendar-view,
.mec-calendar,
.em-calendar,
.upcoming-events,
.events-list {
  border-radius: 16px !important;
  overflow: hidden !important;
}

/* improve event page spacing inside dark layout */
.events-calendar,
.tribe-events-view,
.ai1ec-calendar-view,
.mec-calendar,
.em-calendar,
.upcoming-events,
.events-list {
  padding: 0 !important;
}

.upcoming-events .event-item,
.events-list li,
.events-list .event {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(17,17,17,.08) !important;
}



/* v0.7.1 dark calendar terminal override */
.events-calendar,
.tribe-events-view,
.ai1ec-calendar-view,
.mec-calendar,
.em-calendar,
.upcoming-events,
.events-list,
.tribe-events,
.tribe-common,
.ai1ec-calendar,
.mec-wrap,
.em-events-list{
    background: #0b1220 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.events-calendar table,
.events-calendar tbody,
.events-calendar tr,
.events-calendar td,
.events-calendar th,
.tribe-events-calendar-month__day,
.tribe-events-calendar-month__day-cell,
.tribe-events-calendar-month__week,
.tribe-events-calendar-month__body,
.tribe-events-calendar-month__header-column,
.ai1ec-calendar table,
.ai1ec-calendar td,
.ai1ec-calendar th,
.mec-calendar table,
.mec-calendar td,
.mec-calendar th,
.em-calendar table,
.em-calendar td,
.em-calendar th {
    background: transparent !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.events-calendar *,
.tribe-events *,
.ai1ec-calendar *,
.mec-calendar *,
.em-calendar *,
.upcoming-events *,
.events-list *{
    color: #ffffff !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.events-calendar a,
.tribe-events a,
.ai1ec-calendar a,
.mec-calendar a,
.em-calendar a,
.upcoming-events a,
.events-list a{
    color: #3ea6ff !important;
}

.events-calendar .event-title,
.tribe-events-calendar-month__calendar-event-title,
.tribe-events-calendar-month__multiday-event-bar-inner,
.ai1ec-event-title,
.mec-event-title,
.em-calendar .eventful a,
.upcoming-events .event-title,
.events-list .event-title{
    color: #ffffff !important;
    font-weight: 600 !important;
}

.events-calendar td:hover,
.tribe-events-calendar-month__day:hover,
.ai1ec-calendar td:hover,
.mec-calendar td:hover,
.em-calendar td:hover{
    background: rgba(255,255,255,0.04) !important;
}

.upcoming-events,
.events-list{
    padding: 0 !important;
    overflow: hidden !important;
}

.upcoming-events .event,
.upcoming-events .event-item,
.events-list li,
.events-list .event{
    background: transparent !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 14px 16px !important;
}

.page-title,
.entry-title,
.tribe-events-page-title,
.events-calendar h1,
.events-calendar h2,
.events-calendar h3,
.tribe-events h1,
.tribe-events h2,
.tribe-events h3{
    background: transparent !important;
    color: #ffffff !important;
}



/* v0.7.2 global dark terminal override
   Reverses earlier white-card emergency patches and restores dark theme surfaces. */

.news-feed-shell,
.homepage-amb-feed,
.homepage-amb-feed > *,
.homepage-amb-feed article,
.homepage-amb-feed .news-card,
.homepage-amb-feed .post-card,
.homepage-amb-feed .amb-news-card,
.homepage-amb-feed .amb_news_card,
.homepage-amb-feed .amb-news-feed-item,
.homepage-amb-feed .amb_news_feed_item,
.front-page-news,
.front-page-news .news-card,
.front-page-news .feed-card,
.front-page-news .post-card,
.altcoin-news-feed,
.altcoin-news-feed .news-card,
.altcoin-news-feed .feed-card,
.altcoin-news-feed .post-card,
.home .news-card,
.home .feed-card,
.home .post-card,
.home .amb-news-feed,
.home .amb-news-feed-item,
.home .amb-news-card,
.home [class*="amb_news"],
.home [class*="amb-news"],
.events-calendar,
.tribe-events-view,
.ai1ec-calendar-view,
.mec-calendar,
.em-calendar,
.upcoming-events,
.events-list,
.tribe-events,
.tribe-common,
.ai1ec-calendar,
.mec-wrap,
.em-events-list {
    background: #0b1220 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

.homepage-amb-feed form,
.homepage-amb-feed input,
.homepage-amb-feed select,
.homepage-amb-feed textarea,
.homepage-amb-feed button,
.homepage-amb-feed .filter-bar,
.homepage-amb-feed .search-box,
.homepage-amb-feed .filter-box,
.homepage-amb-feed .filter-panel,
.homepage-amb-feed .token-filter,
.homepage-amb-feed .news-filter,
.homepage-amb-feed .controls,
.homepage-amb-feed [class*="filter"],
.homepage-amb-feed [class*="search"],
.homepage-amb-feed [class*="control"],
.events-calendar input,
.events-calendar select,
.events-calendar button,
.tribe-events input,
.tribe-events select,
.tribe-events button {
    background: #0f1728 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

.homepage-amb-feed h1,
.homepage-amb-feed h2,
.homepage-amb-feed h3,
.homepage-amb-feed h4,
.homepage-amb-feed p,
.homepage-amb-feed span,
.homepage-amb-feed div,
.homepage-amb-feed li,
.homepage-amb-feed small,
.front-page-news h1,
.front-page-news h2,
.front-page-news h3,
.front-page-news p,
.altcoin-news-feed h1,
.altcoin-news-feed h2,
.altcoin-news-feed h3,
.altcoin-news-feed p,
.home .amb-news-feed h1,
.home .amb-news-feed h2,
.home .amb-news-feed h3,
.home .amb-news-feed p,
.home [class*="amb_news"] h1,
.home [class*="amb_news"] h2,
.home [class*="amb_news"] h3,
.home [class*="amb_news"] p,
.home [class*="amb-news"] h1,
.home [class*="amb-news"] h2,
.home [class*="amb-news"] h3,
.home [class*="amb-news"] p,
.events-calendar *,
.tribe-events *,
.ai1ec-calendar *,
.mec-calendar *,
.em-calendar *,
.upcoming-events *,
.events-list * {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.homepage-amb-feed .meta,
.homepage-amb-feed .news-meta,
.homepage-amb-feed .post-meta,
.homepage-amb-feed .entry-meta,
.front-page-news .meta,
.front-page-news .news-meta,
.front-page-news .post-meta,
.altcoin-news-feed .meta,
.altcoin-news-feed .news-meta,
.altcoin-news-feed .post-meta,
.events-calendar .meta,
.events-list .meta,
.upcoming-events .meta {
    color: rgba(255,255,255,0.70) !important;
}

.homepage-amb-feed a,
.front-page-news a,
.altcoin-news-feed a,
.events-calendar a,
.tribe-events a,
.ai1ec-calendar a,
.mec-calendar a,
.em-calendar a,
.upcoming-events a,
.events-list a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.homepage-amb-feed a:hover,
.front-page-news a:hover,
.altcoin-news-feed a:hover,
.events-calendar a:hover,
.tribe-events a:hover,
.ai1ec-calendar a:hover,
.mec-calendar a:hover,
.em-calendar a:hover,
.upcoming-events a:hover,
.events-list a:hover {
    color: #d9a826 !important;
}

.homepage-amb-feed article,
.homepage-amb-feed .news-card,
.homepage-amb-feed .post-card,
.homepage-amb-feed .amb-news-card,
.homepage-amb-feed .amb_news_card,
.homepage-amb-feed .amb-news-feed-item,
.homepage-amb-feed .amb_news_feed_item,
.front-page-news .news-card,
.front-page-news .feed-card,
.front-page-news .post-card,
.altcoin-news-feed .news-card,
.altcoin-news-feed .feed-card,
.altcoin-news-feed .post-card,
.upcoming-events .event,
.upcoming-events .event-item,
.events-list li,
.events-list .event {
    background: #0f1728 !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 16px !important;
}

.events-calendar table,
.events-calendar tbody,
.events-calendar tr,
.events-calendar td,
.events-calendar th,
.tribe-events-calendar-month__day,
.tribe-events-calendar-month__day-cell,
.tribe-events-calendar-month__week,
.tribe-events-calendar-month__body,
.tribe-events-calendar-month__header-column,
.ai1ec-calendar table,
.ai1ec-calendar td,
.ai1ec-calendar th,
.mec-calendar table,
.mec-calendar td,
.mec-calendar th,
.em-calendar table,
.em-calendar td,
.em-calendar th {
    background: transparent !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.events-calendar td:hover,
.tribe-events-calendar-month__day:hover,
.ai1ec-calendar td:hover,
.mec-calendar td:hover,
.em-calendar td:hover {
    background: rgba(255,255,255,0.04) !important;
}



/* v0.7.3 hard events dark override */
body .events-calendar,
body .events-calendar table,
body .events-calendar tbody,
body .events-calendar thead,
body .events-calendar tr,
body .events-calendar th,
body .events-calendar td,
body .events-calendar .day,
body .events-calendar .event,
body .events-calendar .event-title,
body .events-calendar .month-grid,
body .events-calendar .calendar-grid,
body .events-calendar .upcoming-events,
body .events-calendar .upcoming-events .event,
body .events-calendar .upcoming-events li,
body .events-calendar .event-card,
body .events-calendar .calendar-card,
body .events-calendar [class*="event"],
body .events-calendar [class*="calendar"],
body .events-calendar [class*="month"],
body .events-calendar [class*="day"],
body .tribe-events,
body .tribe-events-view,
body .tribe-common,
body .tribe-events-widget,
body .tribe-events-calendar-month,
body .tribe-events-calendar-month__body,
body .tribe-events-calendar-month__week,
body .tribe-events-calendar-month__day,
body .tribe-events-calendar-month__day-cell,
body .tribe-events-calendar-month__multiday-event-bar,
body .tribe-events-calendar-month__calendar-event,
body .tribe-events-calendar-list,
body .tribe-events-calendar-list__event,
body .ai1ec-calendar,
body .ai1ec-calendar-view,
body .mec-calendar,
body .mec-wrap,
body .mec-event-list,
body .em-calendar,
body .em-events-list,
body .eventon_events_list,
body .eventon_list_event {
    background: #0b1220 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.10) !important;
}

body .events-calendar th,
body .events-calendar td,
body .tribe-events-calendar-month__day,
body .tribe-events-calendar-month__day-cell,
body .ai1ec-calendar td,
body .ai1ec-calendar th,
body .mec-calendar td,
body .mec-calendar th,
body .em-calendar td,
body .em-calendar th {
    background: rgba(255,255,255,0.01) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
}

body .events-calendar *,
body .tribe-events *,
body .tribe-common *,
body .ai1ec-calendar *,
body .mec-calendar *,
body .mec-wrap *,
body .em-calendar *,
body .em-events-list *,
body .eventon_events_list *,
body .upcoming-events *,
body .events-list * {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

body .events-calendar a,
body .tribe-events a,
body .tribe-common a,
body .ai1ec-calendar a,
body .mec-calendar a,
body .mec-wrap a,
body .em-calendar a,
body .em-events-list a,
body .eventon_events_list a,
body .upcoming-events a,
body .events-list a {
    color: #ffffff !important;
}

body .events-calendar a:hover,
body .tribe-events a:hover,
body .tribe-common a:hover,
body .ai1ec-calendar a:hover,
body .mec-calendar a:hover,
body .mec-wrap a:hover,
body .em-calendar a:hover,
body .em-events-list a:hover,
body .eventon_events_list a:hover,
body .upcoming-events a:hover,
body .events-list a:hover {
    color: #d9a826 !important;
}

body .events-calendar .meta,
body .tribe-events .meta,
body .ai1ec-calendar .meta,
body .mec-calendar .meta,
body .mec-wrap .meta,
body .em-calendar .meta,
body .em-events-list .meta,
body .eventon_events_list .meta,
body .upcoming-events .meta,
body .events-list .meta,
body .tribe-events-sub-nav a,
body .tribe-events-c-top-bar__nav-link,
body .tribe-events-calendar-month__day-date-link,
body .tribe-events-calendar-month__calendar-event-datetime {
    color: rgba(255,255,255,0.72) !important;
}

body .events-calendar .upcoming-events,
body .upcoming-events,
body .events-list,
body .tribe-events-calendar-list,
body .mec-event-list,
body .em-events-list,
body .eventon_events_list {
    background: #0b1220 !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

body .events-calendar .upcoming-events .event,
body .upcoming-events .event,
body .upcoming-events li,
body .events-list li,
body .events-list .event,
body .tribe-events-calendar-list__event,
body .mec-event-list article,
body .em-events-list li,
body .eventon_list_event {
    background: #0f1728 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
}

body .events-calendar .event-title,
body .tribe-events-calendar-month__calendar-event-title,
body .tribe-events-calendar-list__event-title,
body .ai1ec-event-title,
body .mec-event-title,
body .em-event-title,
body .eventon_list_event .evcal_desc span,
body .eventon_list_event .evcal_event_title {
    color: #ffffff !important;
    font-weight: 600 !important;
}

body .events-calendar h1,
body .events-calendar h2,
body .events-calendar h3,
body .tribe-events h1,
body .tribe-events h2,
body .tribe-events h3,
body .ai1ec-calendar h1,
body .ai1ec-calendar h2,
body .mec-calendar h1,
body .mec-calendar h2,
body .em-calendar h1,
body .em-calendar h2 {
    background: transparent !important;
    color: #ffffff !important;
}



/* v0.7.4 hard news/feed dark override */
body .homepage-amb-feed,
body .homepage-amb-feed > *,
body .homepage-amb-feed form,
body .homepage-amb-feed .filter-bar,
body .homepage-amb-feed .filter-box,
body .homepage-amb-feed .search-box,
body .homepage-amb-feed .token-filter,
body .homepage-amb-feed .news-filter,
body .homepage-amb-feed .controls,
body .homepage-amb-feed article,
body .homepage-amb-feed .news-card,
body .homepage-amb-feed .post-card,
body .homepage-amb-feed .amb-news-card,
body .homepage-amb-feed .amb_news_card,
body .homepage-amb-feed .amb-news-feed-item,
body .homepage-amb-feed .amb_news_feed_item,
body .altcoin-news-feed,
body .altcoin-news-feed > *,
body .altcoin-news-feed form,
body .altcoin-news-feed article,
body .altcoin-news-feed .news-card,
body .altcoin-news-feed .post-card,
body .altcoin-news-feed .feed-card,
body .front-page-news,
body .front-page-news > *,
body .front-page-news form,
body .front-page-news article,
body .front-page-news .news-card,
body .front-page-news .post-card,
body .front-page-news .feed-card,
body [class*="amb_news_feed"],
body [class*="amb_news_feed"] *,
body [class*="amb-news-feed"],
body [class*="amb-news-feed"] *,
body [class*="news-feed"],
body [class*="news-feed"] * {
    background: #0b1220 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.10) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

body .homepage-amb-feed input,
body .homepage-amb-feed select,
body .homepage-amb-feed textarea,
body .homepage-amb-feed button,
body .altcoin-news-feed input,
body .altcoin-news-feed select,
body .altcoin-news-feed textarea,
body .altcoin-news-feed button,
body .front-page-news input,
body .front-page-news select,
body .front-page-news textarea,
body .front-page-news button,
body [class*="amb_news_feed"] input,
body [class*="amb_news_feed"] select,
body [class*="amb_news_feed"] textarea,
body [class*="amb_news_feed"] button,
body [class*="amb-news-feed"] input,
body [class*="amb-news-feed"] select,
body [class*="amb-news-feed"] textarea,
body [class*="amb-news-feed"] button {
    background: #0f1728 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;
}

body .homepage-amb-feed article,
body .homepage-amb-feed .news-card,
body .homepage-amb-feed .post-card,
body .homepage-amb-feed .amb-news-card,
body .homepage-amb-feed .amb_news_card,
body .homepage-amb-feed .amb-news-feed-item,
body .homepage-amb-feed .amb_news_feed_item,
body .altcoin-news-feed article,
body .altcoin-news-feed .news-card,
body .altcoin-news-feed .post-card,
body .altcoin-news-feed .feed-card,
body .front-page-news article,
body .front-page-news .news-card,
body .front-page-news .post-card,
body .front-page-news .feed-card,
body [class*="amb_news_feed"] article,
body [class*="amb_news_feed"] .item,
body [class*="amb_news_feed"] .card,
body [class*="amb-news-feed"] article,
body [class*="amb-news-feed"] .item,
body [class*="amb-news-feed"] .card {
    background: #0f1728 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 18px !important;
}

body .homepage-amb-feed h1,
body .homepage-amb-feed h2,
body .homepage-amb-feed h3,
body .homepage-amb-feed h4,
body .altcoin-news-feed h1,
body .altcoin-news-feed h2,
body .altcoin-news-feed h3,
body .altcoin-news-feed h4,
body .front-page-news h1,
body .front-page-news h2,
body .front-page-news h3,
body .front-page-news h4,
body [class*="amb_news_feed"] h1,
body [class*="amb_news_feed"] h2,
body [class*="amb_news_feed"] h3,
body [class*="amb_news_feed"] h4,
body [class*="amb-news-feed"] h1,
body [class*="amb-news-feed"] h2,
body [class*="amb-news-feed"] h3,
body [class*="amb-news-feed"] h4 {
    color: #ffffff !important;
}

body .homepage-amb-feed p,
body .homepage-amb-feed span,
body .homepage-amb-feed div,
body .homepage-amb-feed li,
body .homepage-amb-feed small,
body .altcoin-news-feed p,
body .altcoin-news-feed span,
body .altcoin-news-feed div,
body .altcoin-news-feed li,
body .altcoin-news-feed small,
body .front-page-news p,
body .front-page-news span,
body .front-page-news div,
body .front-page-news li,
body .front-page-news small,
body [class*="amb_news_feed"] p,
body [class*="amb_news_feed"] span,
body [class*="amb_news_feed"] div,
body [class*="amb_news_feed"] li,
body [class*="amb_news_feed"] small,
body [class*="amb-news-feed"] p,
body [class*="amb-news-feed"] span,
body [class*="amb-news-feed"] div,
body [class*="amb-news-feed"] li,
body [class*="amb-news-feed"] small {
    color: rgba(255,255,255,0.92) !important;
}

body .homepage-amb-feed .meta,
body .homepage-amb-feed .news-meta,
body .homepage-amb-feed .post-meta,
body .homepage-amb-feed .entry-meta,
body .altcoin-news-feed .meta,
body .altcoin-news-feed .news-meta,
body .altcoin-news-feed .post-meta,
body .altcoin-news-feed .entry-meta,
body .front-page-news .meta,
body .front-page-news .news-meta,
body .front-page-news .post-meta,
body .front-page-news .entry-meta,
body [class*="amb_news_feed"] .meta,
body [class*="amb_news_feed"] .news-meta,
body [class*="amb_news_feed"] .post-meta,
body [class*="amb-news-feed"] .meta,
body [class*="amb-news-feed"] .news-meta,
body [class*="amb-news-feed"] .post-meta {
    color: rgba(255,255,255,0.68) !important;
}

body .homepage-amb-feed a,
body .altcoin-news-feed a,
body .front-page-news a,
body [class*="amb_news_feed"] a,
body [class*="amb-news-feed"] a {
    color: #ffffff !important;
    text-decoration: none !important;
}

body .homepage-amb-feed a:hover,
body .altcoin-news-feed a:hover,
body .front-page-news a:hover,
body [class*="amb_news_feed"] a:hover,
body [class*="amb-news-feed"] a:hover {
    color: #d9a826 !important;
}



/* v0.7.5 exact news wrapper patch */
body .homepage-amb-feed [style*="background"],
body .homepage-amb-feed [style*="background-color"],
body .altcoin-news-feed [style*="background"],
body .altcoin-news-feed [style*="background-color"],
body .front-page-news [style*="background"],
body .front-page-news [style*="background-color"],
body [class*="amb_news_feed"] [style*="background"],
body [class*="amb_news_feed"] [style*="background-color"],
body [class*="amb-news-feed"] [style*="background"],
body [class*="amb-news-feed"] [style*="background-color"],
body [class*="news-feed"] [style*="background"],
body [class*="news-feed"] [style*="background-color"],
body [class*="news"] [class*="filter"],
body [class*="news"] [class*="search"],
body [class*="news"] article,
body [class*="news"] .card,
body [class*="news"] .item,
body [class*="news"] .row {
    background: #0f1728 !important;
    background-color: #0f1728 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.10) !important;
}

body .homepage-amb-feed form,
body .homepage-amb-feed .filter-bar,
body .homepage-amb-feed .token-filter,
body .homepage-amb-feed .search-box,
body .homepage-amb-feed .news-filter,
body .altcoin-news-feed form,
body .altcoin-news-feed .filter-bar,
body .altcoin-news-feed .token-filter,
body .altcoin-news-feed .search-box,
body .altcoin-news-feed .news-filter,
body .front-page-news form,
body .front-page-news .filter-bar,
body .front-page-news .token-filter,
body .front-page-news .search-box,
body .front-page-news .news-filter,
body [class*="amb_news_feed"] form,
body [class*="amb_news_feed"] [class*="filter"],
body [class*="amb_news_feed"] [class*="search"],
body [class*="amb-news-feed"] form,
body [class*="amb-news-feed"] [class*="filter"],
body [class*="amb-news-feed"] [class*="search"] {
    background: #0f1728 !important;
    background-color: #0f1728 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 18px !important;
}

body .homepage-amb-feed input,
body .homepage-amb-feed select,
body .homepage-amb-feed textarea,
body .homepage-amb-feed button,
body .altcoin-news-feed input,
body .altcoin-news-feed select,
body .altcoin-news-feed textarea,
body .altcoin-news-feed button,
body .front-page-news input,
body .front-page-news select,
body .front-page-news textarea,
body .front-page-news button,
body [class*="amb_news_feed"] input,
body [class*="amb_news_feed"] select,
body [class*="amb_news_feed"] textarea,
body [class*="amb_news_feed"] button,
body [class*="amb-news-feed"] input,
body [class*="amb-news-feed"] select,
body [class*="amb-news-feed"] textarea,
body [class*="amb-news-feed"] button {
    background: #111a2e !important;
    background-color: #111a2e !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: none !important;
}

body .homepage-amb-feed article,
body .homepage-amb-feed .news-card,
body .homepage-amb-feed .post-card,
body .homepage-amb-feed .feed-card,
body .homepage-amb-feed .amb-news-card,
body .homepage-amb-feed .amb_news_card,
body .homepage-amb-feed .amb-news-feed-item,
body .homepage-amb-feed .amb_news_feed_item,
body .altcoin-news-feed article,
body .altcoin-news-feed .news-card,
body .altcoin-news-feed .post-card,
body .altcoin-news-feed .feed-card,
body .front-page-news article,
body .front-page-news .news-card,
body .front-page-news .post-card,
body .front-page-news .feed-card,
body [class*="amb_news_feed"] article,
body [class*="amb_news_feed"] .card,
body [class*="amb_news_feed"] .item,
body [class*="amb_news_feed"] .row,
body [class*="amb-news-feed"] article,
body [class*="amb-news-feed"] .card,
body [class*="amb-news-feed"] .item,
body [class*="amb-news-feed"] .row {
    background: #0f1728 !important;
    background-color: #0f1728 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

body .homepage-amb-feed *,
body .altcoin-news-feed *,
body .front-page-news *,
body [class*="amb_news_feed"] *,
body [class*="amb-news-feed"] * {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

body .homepage-amb-feed .meta,
body .homepage-amb-feed .news-meta,
body .homepage-amb-feed .post-meta,
body .homepage-amb-feed .entry-meta,
body .altcoin-news-feed .meta,
body .altcoin-news-feed .news-meta,
body .altcoin-news-feed .post-meta,
body .altcoin-news-feed .entry-meta,
body .front-page-news .meta,
body .front-page-news .news-meta,
body .front-page-news .post-meta,
body .front-page-news .entry-meta,
body [class*="amb_news_feed"] .meta,
body [class*="amb_news_feed"] .news-meta,
body [class*="amb_news_feed"] .post-meta,
body [class*="amb-news-feed"] .meta,
body [class*="amb-news-feed"] .news-meta,
body [class*="amb-news-feed"] .post-meta {
    color: rgba(255,255,255,0.68) !important;
}



/* v0.7.6 exact events list/card dark patch */
body .upcoming-events article,
body .upcoming-events .event,
body .upcoming-events .event-item,
body .upcoming-events li,
body .events-list article,
body .events-list .event,
body .events-list .event-item,
body .events-list li,
body .industry-events article,
body .industry-events .event,
body .industry-events .event-item,
body .industry-events li,
body [class*="events"] article,
body [class*="events"] .card,
body [class*="events"] .item,
body [class*="events"] .row,
body [class*="events"] li,
body [class*="calendar"] article,
body [class*="calendar"] .card,
body [class*="calendar"] .item,
body [class*="calendar"] .row,
body [class*="calendar"] li,
body [class*="event"] article,
body [class*="event"] .card,
body [class*="event"] .item,
body [class*="event"] .row,
body [class*="event"] li {
    background: #0f1728 !important;
    background-color: #0f1728 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

body .upcoming-events article *,
body .upcoming-events .event *,
body .upcoming-events .event-item *,
body .upcoming-events li *,
body .events-list article *,
body .events-list .event *,
body .events-list .event-item *,
body .events-list li *,
body .industry-events article *,
body .industry-events .event *,
body .industry-events .event-item *,
body .industry-events li *,
body [class*="events"] article *,
body [class*="events"] .card *,
body [class*="events"] .item *,
body [class*="events"] .row *,
body [class*="events"] li *,
body [class*="calendar"] article *,
body [class*="calendar"] .card *,
body [class*="calendar"] .item *,
body [class*="calendar"] .row *,
body [class*="calendar"] li *,
body [class*="event"] article *,
body [class*="event"] .card *,
body [class*="event"] .item *,
body [class*="event"] .row *,
body [class*="event"] li * {
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

body .upcoming-events .meta,
body .events-list .meta,
body .industry-events .meta,
body [class*="events"] .meta,
body [class*="calendar"] .meta,
body [class*="event"] .meta,
body [class*="events"] .date,
body [class*="calendar"] .date,
body [class*="event"] .date,
body [class*="events"] time,
body [class*="calendar"] time,
body [class*="event"] time {
    color: rgba(255,255,255,0.72) !important;
}

body .upcoming-events a,
body .events-list a,
body .industry-events a,
body [class*="events"] a,
body [class*="calendar"] a,
body [class*="event"] a {
    color: #ffffff !important;
    text-decoration: none !important;
}

body .upcoming-events a:hover,
body .events-list a:hover,
body .industry-events a:hover,
body [class*="events"] a:hover,
body [class*="calendar"] a:hover,
body [class*="event"] a:hover {
    color: #d9a826 !important;
}



/* v0.7.9 front-page news text contrast fix */
.home .homepage-amb-feed,
.home .homepage-amb-feed *,
.home .front-page-news,
.home .front-page-news *,
.home .altcoin-news-feed,
.home .altcoin-news-feed *,
.home [class*="amb_news_feed"],
.home [class*="amb_news_feed"] *,
.home [class*="amb-news-feed"],
.home [class*="amb-news-feed"] * {
    color:#ffffff !important;
}

.home .homepage-amb-feed h1,
.home .homepage-amb-feed h2,
.home .homepage-amb-feed h3,
.home .homepage-amb-feed h4,
.home .front-page-news h1,
.home .front-page-news h2,
.home .front-page-news h3,
.home .front-page-news h4,
.home .altcoin-news-feed h1,
.home .altcoin-news-feed h2,
.home .altcoin-news-feed h3,
.home .altcoin-news-feed h4,
.home [class*="amb_news_feed"] h1,
.home [class*="amb_news_feed"] h2,
.home [class*="amb_news_feed"] h3,
.home [class*="amb_news_feed"] h4,
.home [class*="amb-news-feed"] h1,
.home [class*="amb-news-feed"] h2,
.home [class*="amb-news-feed"] h3,
.home [class*="amb-news-feed"] h4 {
    color:#ffffff !important;
    font-weight:800 !important;
}

.home .homepage-amb-feed p,
.home .homepage-amb-feed span,
.home .homepage-amb-feed div,
.home .homepage-amb-feed small,
.home .front-page-news p,
.home .front-page-news span,
.home .front-page-news div,
.home .front-page-news small,
.home .altcoin-news-feed p,
.home .altcoin-news-feed span,
.home .altcoin-news-feed div,
.home .altcoin-news-feed small,
.home [class*="amb_news_feed"] p,
.home [class*="amb_news_feed"] span,
.home [class*="amb_news_feed"] div,
.home [class*="amb_news_feed"] small,
.home [class*="amb-news-feed"] p,
.home [class*="amb-news-feed"] span,
.home [class*="amb-news-feed"] div,
.home [class*="amb-news-feed"] small {
    color:rgba(255,255,255,0.92) !important;
}

.home .homepage-amb-feed .meta,
.home .homepage-amb-feed .news-meta,
.home .homepage-amb-feed .post-meta,
.home .homepage-amb-feed .entry-meta,
.home .front-page-news .meta,
.home .front-page-news .news-meta,
.home .front-page-news .post-meta,
.home .front-page-news .entry-meta,
.home .altcoin-news-feed .meta,
.home .altcoin-news-feed .news-meta,
.home .altcoin-news-feed .post-meta,
.home .altcoin-news-feed .entry-meta,
.home [class*="amb_news_feed"] .meta,
.home [class*="amb_news_feed"] .news-meta,
.home [class*="amb_news_feed"] .post-meta,
.home [class*="amb-news-feed"] .meta,
.home [class*="amb-news-feed"] .news-meta,
.home [class*="amb-news-feed"] .post-meta {
    color:rgba(255,255,255,0.68) !important;
}

.home .homepage-amb-feed a,
.home .front-page-news a,
.home .altcoin-news-feed a,
.home [class*="amb_news_feed"] a,
.home [class*="amb-news-feed"] a {
    color:#ffffff !important;
}

.home .homepage-amb-feed a:hover,
.home .front-page-news a:hover,
.home .altcoin-news-feed a:hover,
.home [class*="amb_news_feed"] a:hover,
.home [class*="amb-news-feed"] a:hover {
    color:#d9a826 !important;
}



/* v0.8.1 Edge homepage feed hard readability fix */
.home .homepage-amb-feed,
.home .homepage-amb-feed > *,
.home .homepage-amb-feed article,
.home .homepage-amb-feed .news-card,
.home .homepage-amb-feed .post-card,
.home .homepage-amb-feed .feed-card,
.home .homepage-amb-feed .amb-news-card,
.home .homepage-amb-feed .amb_news_card,
.home .homepage-amb-feed .amb-news-feed-item,
.home .homepage-amb-feed .amb_news_feed_item,
.home .front-page-news,
.home .front-page-news > *,
.home .front-page-news article,
.home .front-page-news .news-card,
.home .front-page-news .post-card,
.home .front-page-news .feed-card,
.home .altcoin-news-feed,
.home .altcoin-news-feed > *,
.home .altcoin-news-feed article,
.home .altcoin-news-feed .news-card,
.home .altcoin-news-feed .post-card,
.home .altcoin-news-feed .feed-card,
.home [class*="amb_news_feed"],
.home [class*="amb_news_feed"] > *,
.home [class*="amb_news_feed"] article,
.home [class*="amb_news_feed"] .item,
.home [class*="amb_news_feed"] .card,
.home [class*="amb-news-feed"],
.home [class*="amb-news-feed"] > *,
.home [class*="amb-news-feed"] article,
.home [class*="amb-news-feed"] .item,
.home [class*="amb-news-feed"] .card {
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
}

.home .homepage-amb-feed [style],
.home .front-page-news [style],
.home .altcoin-news-feed [style],
.home [class*="amb_news_feed"] [style],
.home [class*="amb-news-feed"] [style]{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    text-shadow:none !important;
    filter:none !important;
    mix-blend-mode:normal !important;
    opacity:1 !important;
}

.home .homepage-amb-feed [style*="color:"],
.home .front-page-news [style*="color:"],
.home .altcoin-news-feed [style*="color:"],
.home [class*="amb_news_feed"] [style*="color:"],
.home [class*="amb-news-feed"] [style*="color:"]{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
}

.home .homepage-amb-feed .meta,
.home .homepage-amb-feed .news-meta,
.home .homepage-amb-feed .post-meta,
.home .front-page-news .meta,
.home .front-page-news .news-meta,
.home .front-page-news .post-meta,
.home .altcoin-news-feed .meta,
.home .altcoin-news-feed .news-meta,
.home .altcoin-news-feed .post-meta,
.home [class*="amb_news_feed"] .meta,
.home [class*="amb_news_feed"] .news-meta,
.home [class*="amb_news_feed"] .post-meta,
.home [class*="amb-news-feed"] .meta,
.home [class*="amb-news-feed"] .news-meta,
.home [class*="amb-news-feed"] .post-meta,
.home .homepage-amb-feed [style*="opacity:.6"],
.home .homepage-amb-feed [style*="opacity:0.6"],
.home .homepage-amb-feed [style*="opacity:.7"],
.home .homepage-amb-feed [style*="opacity:0.7"],
.home .front-page-news [style*="opacity:.6"],
.home .front-page-news [style*="opacity:0.6"],
.home .front-page-news [style*="opacity:.7"],
.home .front-page-news [style*="opacity:0.7"] {
    color:rgba(255,255,255,.72) !important;
    -webkit-text-fill-color:rgba(255,255,255,.72) !important;
    opacity:1 !important;
}

/* tighten gap before market board / next section */
.compare-market-layout + .section,
.home .section + .section {
    margin-top:18px !important;
    padding-top:0 !important;
}



/* v0.8.3 fill homepage left gap */
.left-column-news-fill{
  margin-top:18px;
}
.compare-market-layout{
  align-items:start !important;
}
.compare-market-layout > div:first-child{
  display:flex;
  flex-direction:column;
  gap:18px;
}



/* v0.8.4 natural-flow layout */
.compare-market-layout{
  align-items:flex-start !important;
}
.compare-market-layout > div:first-child{
  display:block !important;
}
.compare-market-rail{
  position:static !important;
}
.left-column-news-fill{
  margin-top:14px !important;
}
.section,
.compare-market-layout,
.compare-market-layout > div:first-child,
.compare-market-rail,
.left-column-news-fill,
.card{
  break-inside:avoid;
}
.home .section + .section{
  margin-top:14px !important;
  padding-top:0 !important;
}



/* v0.8.5 stable grid layout */
.compare-market-layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 360px !important;
  gap:18px !important;
  align-items:start !important;
}

.compare-market-layout > div:first-child{
  min-width:0 !important;
  display:block !important;
}

.compare-market-rail{
  min-width:0 !important;
  position:relative !important;
  top:auto !important;
}

.left-column-news-fill{
  margin-top:18px !important;
}

.home .section + .section{
  margin-top:14px !important;
  padding-top:0 !important;
}

@media (max-width: 1100px){
  .compare-market-layout{
    grid-template-columns:1fr !important;
  }
}



/* v0.8.6 real two-column homepage fix */
.compare-main-column{
  min-width:0 !important;
}
.left-column-news-fill{
  margin-top:18px !important;
}



/* v0.8.9 permanent Edge homepage news color fix */
.home .homepage-amb-feed h1,
.home .homepage-amb-feed h2,
.home .homepage-amb-feed h3,
.home .homepage-amb-feed h4,
.home .homepage-amb-feed .news-title,
.home .homepage-amb-feed .entry-title,
.home .homepage-amb-feed article h1,
.home .homepage-amb-feed article h2,
.home .homepage-amb-feed article h3,
.home .homepage-amb-feed article h4,
.home .homepage-amb-feed a,
.home .homepage-amb-feed a:link,
.home .homepage-amb-feed a:visited {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.home .homepage-amb-feed p,
.home .homepage-amb-feed .excerpt,
.home .homepage-amb-feed .entry-summary,
.home .homepage-amb-feed article p {
    color: #cfd6e4 !important;
    -webkit-text-fill-color: #cfd6e4 !important;
}

.home .homepage-amb-feed a:hover,
.home .homepage-amb-feed a:focus {
    color: #f5b942 !important;
    -webkit-text-fill-color: #f5b942 !important;
}
