/*
Theme Name: Bali Escort ChromeNews Child
Theme URI: https://www.bali-escort.com/
Description: Update-safe child theme for Bali Escort, based on ChromeNews.
Author: Bali Escort
Template: chromenews
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bali-escort-chromenews-child
*/

/*
 * Bali Escort child-theme styles
 *
 * The ChromeNews 6.5.3 parent stylesheet supplied as a reference is already
 * loaded before this file via functions.php. Keep the original theme CSS in
 * the parent and place only Bali Escort-specific overrides below, so the
 * child theme stays lightweight and unaffected by duplicate base selectors.
 *
 * Site-specific declarations follow.
 */

/* Bali Escort palette — scoped to this site's ChromeNews child theme. */
:root {
  --bali-oxblood: #4b071b;
  --bali-oxblood-deep: #240710;
  --bali-champagne: #d6aa47;
  --bali-paper: #fffaf3;
}

/* Replace the unrelated blue navigation with the existing logo's palette. */
body div#main-navigation-bar,
body .chromenews-header .af-bottom-header,
body .header-layout-compressed .bottom-bar-up {
  background-color: var(--bali-oxblood);
}
body #main-navigation-bar .main-navigation ul li > a,
body #main-navigation-bar .main-navigation .menu-desktop > li > a {
  color: #fff7ea;
}
body #main-navigation-bar .main-navigation a:focus-visible {
  outline: 2px solid var(--bali-champagne);
  outline-offset: -2px;
}

/* Site-specific accents: ticker, section headings and buttons. */
body .exclusive-posts .exclusive-now,
body .banner-exclusive-posts-wrapper .aft-ripple,
body .chromenews-load-more-posts a.aft-readmore:hover,
body .af-search-wrap .search-submit {
  background-color: var(--bali-champagne);
  border-color: var(--bali-champagne);
  color: var(--bali-oxblood-deep);
}
body .widget-title .heading-line,
body .sub-heading-line:before,
body .widget-title-border-top .sub-heading-line:before {
  border-color: var(--bali-champagne);
}
body .aft-readmore-wrapper a.aft-readmore:hover,
body .aft-see-more a:hover {
  border-color: var(--bali-champagne);
}

/* Keep the logo contained at tablet and phone widths. */
body .site-header .custom-logo,
body .chromenews-header .custom-logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
body .site-header .custom-logo-link {
  display: inline-block;
  max-width: 100%;
}
@media (max-width: 767px) {
  body .site-header .custom-logo,
  body .chromenews-header .custom-logo {
    width: min(100%, 420px);
  }
  body .af-search-form {
    max-width: calc(100vw - 32px);
  }
}

/* Light-touch reading and footer polish; retain content and widget layouts. */
body .home-first-full-content .entry-content {
  line-height: 1.75;
  overflow-wrap: anywhere;
}
body footer.site-footer {
  border-top: 3px solid var(--bali-champagne);
}
body footer.site-footer a:focus-visible {
  outline: 2px solid var(--bali-champagne);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  body .aft-readmore-wrapper a.aft-readmore {
    transition: none;
  }
}

