/*
Theme Name: USAJustNow Child Theme
Template: novel-news
Version: 1.0.7
*/

/* Footer Alignment */
.bottom-footer-content {
  text-align: center;
}

/* Homepage Layout */
.homepage-two-column {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}
.left-sidebar-chart { flex: 0 0 20%; min-width: 220px; }
.main-content-area { flex: 1; }

/* Stockdio Chart Styling */
.stockdio-chart-wrap {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}
.stockdio-chart-wrap iframe {
  display: block;
  width: 100% !important;
  border: none;
}

/* Market Heading */
.stockdio-market-heading {
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
}

/* Editor's Choice Fix */
.editors-choice .stockdio-chart-wrap {
  margin: 10px 0;
}

/* Embedded Iframe */
.entry-content iframe {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Footer Widget Numbering Fix */
.footer-widget .ascendoor-posts-list .post-number {
  display: inline-block;
  background-color: #d32f2f;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  width: 28px; height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 4px;
}
.footer-widget .ascendoor-posts-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Social Links Layout */
.footer-widget .social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
  max-width: 280px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.footer-widget .social-links li {
  margin: 0;
  padding: 0;
}

/* General Social Link Styling */
.footer-widget .social-links a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  background-color: #555;
  color: #fff !important;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color .25s ease, opacity .25s ease, transform .2s ease;
}
.footer-widget .social-links a:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff !important;
}

/* Platform Brand Colors */
.footer-widget .social-links a[href*="facebook.com"] {
  background-color: #1877F2;
}
.footer-widget .social-links a[href*="facebook.com"]:hover {
  background-color: #145dbf !important;
}
.footer-widget .social-links a[href*="twitter.com"] {
  background-color: #1DA1F2;
}
.footer-widget .social-links a[href*="twitter.com"]:hover {
  background-color: #0d95e8 !important;
}
.footer-widget .social-links a[href*="linkedin.com"] {
  background-color: #0A66C2;
}
.footer-widget .social-links a[href*="linkedin.com"]:hover {
  background-color: #084c8d !important;
}
.footer-widget .social-links a[href*="instagram.com"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #285AEB 90%);
}
.footer-widget .social-links a[href*="instagram.com"]:hover {
  filter: brightness(90%);
}
.footer-widget .social-links a[href*="youtube.com"] {
  background-color: #FF0000;
}
.footer-widget .social-links a[href*="youtube.com"]:hover {
  background-color: #cc0000 !important;
}

/* ========== EMAIL US BUTTON STYLING ========== */
#menu-social-menu-1 li.social-email a {
  background-color: #008080 !important;
  color: #fff !important;
  font-weight: 400 !important;
  font-size: 14px;
  border-radius: 4px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 14px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: background-color .25s ease, opacity .25s ease, transform .2s ease;
}

/* Envelope Icon Mask */
#menu-social-menu-1 li.social-email a::before {
  content: "";
  display: inline-block;
  width: 18px; height: 18px;
  margin-right: 6px;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%204H4a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h16a2%202%200%200%200%202-2V6a2%202%200%200%200-2-2zm0%203.2-8%205.2-8-5.2V6h16v1.2zM4%2018V8.8l8%205.2%208-5.2V18H4z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  background-color: currentColor;
  z-index: 3;
  transition: none;
}

/* Label Handling */
#menu-social-menu-1 li.social-email a .screen-reader-text {
  position: relative;
  z-index: 3;
  display: inline !important;
  white-space: normal !important;
  clip: auto !important;
  overflow: visible !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: opacity .3s ease, transform .3s ease;
}

/* Hover Behavior: Icon centers, Label moves right and disappears */
#menu-social-menu-1 li.social-email a:hover {
  background-color: #006666 !important;
  opacity: 0.92;
  transform: translateY(-1px);
  justify-content: center;
}
#menu-social-menu-1 li.social-email a:hover .screen-reader-text {
  opacity: 0;
  transform: translateX(100%);
}
#menu-social-menu-1 li.social-email a:hover::before {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* ========== Left Curtain Always Visible ========== */
#menu-social-menu-1 li.social-email a::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 20%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .homepage-two-column {
    flex-direction: column;
  }
  .left-sidebar-chart, .main-content-area {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .stockdio-chart-wrap iframe {
    height: auto !important;
  }
  .footer-widget .social-links {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 8px 0;
  }
}

/* =================================================================== */
/* Final & Definitive Styles for INTERACTIVE Business Dashboard      */
/* =================================================================== */

/* Force the main content area on this specific page to be full width */
.page-template-page-business #primary.business-page-override {
    width: 100% !important;
}

/* Hide the default sidebar on this page to prevent layout conflicts */
.page-template-page-business #secondary.widget-area {
    display: none;
}

/* Main container for the two-column dashboard */
.dashboard-columns-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 800px; /* Overall height of the dashboard */
    margin-bottom: 50px;
}

/* Left column (the stock list) */
#dashboard-screener-column {
    flex: 0 0 35%; /* Takes up 35% of the width */
}

/* Right column (the detailed chart) */
#dashboard-chart-column {
    flex: 0 0 65%; /* Takes up 65% of the width */
}

/* Responsive styles for tablets and mobile phones */
@media (max-width: 991px) {
    .dashboard-columns-container {
        flex-direction: column; /* Stack columns */
        height: auto;
    }
}

/* Wrapper for the sidebar when it's displayed below the content */
.sidebar-below-content-wrapper {
    padding: 40px 0;
    background-color: #f9f9f9; /* Optional light grey background */
    border-top: 1px solid #eee;
}

/* Styling for the section titles */
.business-page-section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;-
}

.business-page-section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background-color: #d32f2f;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
}

.business-interactive-dashboard,
.business-posts-section {
    margin-bottom: 50px;
}


/* Fix for Horoscope Image Spacing */
.horoscope-entry ul {
    overflow: hidden;
}


/* For not displaying the featured image as this article has the inline image also so shows the 2 images in the live post */
.single.postid-3986 .post-thumbnail {
    display: none;
}


/* === Horoscope Bullet/Image Spacing Fix 10-09-25 === */

/* === Horoscope Image + List Spacing Fix === */
.category-horoscope .blog-archieve-layout li {
  display: flex;
  align-items: flex-start;
  gap: 15px;        /* Space between image and text */
  margin-bottom: 20px; /* Space between each post block */
}

.category-horoscope .blog-archieve-layout li img {
  flex-shrink: 0;
  width: 90px;      /* Adjust the width as needed */-
  height: auto;
  margin-top: 4px;  /* Align vertically with text */
  border-radius: 4px;
}

.category-horoscope .blog-archieve-layout li ul {
  margin-top: 0;
  padding-left: 1em;
}

.category-horoscope .blog-archieve-layout li ul li {
  margin-bottom: 8px;
}


/* ===============================
   Daily Horoscope Fixes
   Added: September 15, 2025
   Purpose: Force bullets to display
   inside horoscope posts because
   theme CSS was stripping <ul><li>.
   =============================== */

.daily-horoscope ul {
  list-style-type: disc !important;     /* force round bullets */
  list-style-position: inside !important; /* align bullets inside */
  padding-left: 20px !important;        /* indent for readability */
  margin-bottom: 15px !important;       /* spacing after each list */
}

.daily-horoscope li {
  margin-bottom: 6px;                   /* spacing between items */
  display: list-item !important;        /* ensure bullet actually shows */
}

/* ===== End Daily Horoscope Fix - Sept 15, 2025 ===== */








/* 19-09-25 BLANK/WHITE Space visible Styling for the new custom header info in the flash news bar */
