/*
Theme Name: Digital Marketing Tools
Theme URI: https://digitalmarketingtools.ai
Author: Digital Heroes
Author URI: https://digitalheroes.co.in
Description: Aurora Editorial — the theme for digitalmarketingtools.ai. Carries the design system, the tool database, the Sponsored Highlight component and the SEO/GEO layer. Every block is also exposed as a shortcode so pages can be assembled and edited in Elementor.
Version: 1.4.2
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: dmt
Tags: blog, news, custom-colors, editor-style, featured-images, translation-ready
*/

/* The design system lives in assets/css/aurora.css, loaded from functions.php.
   WordPress only requires this file for the theme header above. */

/* ---- WordPress-specific additions ------------------------------------ */
.logo__img { height: 34px; width: auto; display: block; }
.footer__brand .logo__img { height: 30px; }
@media (max-width: 620px) { .logo__img { height: 26px; } }

.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 500;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--rose));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* Tool database filter bar */
.toolbar { border-bottom: 1px solid var(--line); padding: var(--s-5) 0; }
.toolbar__row { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; }
.toolbar .field {
  margin-left: auto; min-width: 220px; flex: 1 1 220px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  font: inherit; font-size: var(--t-sm); background: var(--paper);
}
.toolbar .field:focus { outline: none; border-color: var(--violet); }
.result-count { display: block; margin-top: var(--s-3); font-family: var(--font-mono); font-size: var(--t-xs); color: var(--ink-3); }
.tool-wrap[hidden] { display: none !important; }

/* WordPress core pagination inside our load-more row */
.loadmore .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.loadmore .page-numbers {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: var(--t-sm); color: var(--ink-2);
}
.loadmore .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.loadmore .page-numbers:hover { border-color: var(--violet); color: var(--violet); }

/* Core alignment classes inside article prose */
.prose .alignwide { max-width: min(100%, 1100px); margin-left: auto; margin-right: auto; }
.prose .alignfull { max-width: 100%; }
.prose img, .prose iframe { max-width: 100%; height: auto; border-radius: var(--r-md); }
.prose .wp-caption-text, .prose figcaption {
  font-size: var(--t-xs); color: var(--ink-3); margin-top: 8px; text-align: center;
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
