/*
Theme Name:   GeneratePress Child
Theme URI:    https://glucodash.com
Description:  Child theme for glucodash.com. Holds the SugarDrive front page
              template and styling as version-controlled files rather than
              database content.
Author:       Glucodash
Template:     generatepress
Version:      1.0.0
License:      GNU General Public License v2 or later
Text Domain:  generatepress-child
*/

/*
 * Shared SugarDrive page styles.
 *
 * Ported from Customizer > Additional CSS (wp_posts ID 232, post_type=custom_css)
 * on 2026-10-23. That Customizer entry is keyed to the 'generatepress' theme
 * slug, so activating this child theme orphans it and every page built with the
 * gd- classes loses its styling. These rules replace it.
 *
 * Site-wide because more than one page uses these classes. Styles for a single
 * page live in assets/ and are enqueued conditionally.
 */

.gd-wrap { font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
.gd-container { max-width: 960px; margin: 0 auto; padding: 28px 18px; }
.gd-hero { padding: 28px 0 8px; }
.gd-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; opacity: .75; margin: 0 0 10px; }
.gd-h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; margin: 0 0 12px; }
.gd-lead { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; margin: 0 0 18px; opacity: .92; max-width: 62ch; }

.gd-ctaRow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 8px; }
.gd-btn { display: inline-block; text-decoration: none; font-weight: 650; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,.12); }
.gd-btnPrimary { background: #111; color: #fff; border-color: #111; }
.gd-btnSecondary { background: #fff; color: #111; }

.gd-note { font-size: 13px; opacity: .75; margin: 8px 0 0; }
.gd-divider { height: 1px; background: rgba(0,0,0,.10); margin: 26px 0; }

.gd-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
@media (max-width: 820px) { .gd-grid { grid-template-columns: 1fr; } }

.gd-card { border: 1px solid rgba(0,0,0,.10); border-radius: 16px; padding: 16px; background: rgba(0,0,0,.02); }
.gd-h2 { font-size: 20px; margin: 0 0 8px; }
.gd-h3 { font-size: 16px; margin: 0 0 8px; }
.gd-p { margin: 0 0 12px; line-height: 1.6; }
.gd-ul { margin: 0; padding-left: 18px; }
.gd-ul li { margin: 6px 0; line-height: 1.55; }

.gd-img { width: 100%; height: auto; display: block; border-radius: 16px; border: 1px solid rgba(0,0,0,.10); }
.gd-caption { font-size: 13px; opacity: .75; margin-top: 8px; }

.gd-callout { border-left: 4px solid rgba(0,0,0,.25); padding: 12px 14px; border-radius: 10px; background: rgba(0,0,0,.03); margin: 14px 0 0; }
.gd-footer { font-size: 13px; opacity: .75; margin-top: 18px; line-height: 1.5; }
/* Force a clean footer credit line (replaces any GP 'Built with' text) */
.site-info {
  position: relative;
}

/* Hide anything GeneratePress puts there (links, spans, text wrappers) */
.site-info * {
  display: none !important;
}

/* Insert exactly what you want */
.site-info::before {
  content: "© 2026 Glucodash";
  font-size: 13px;
  opacity: 0.85;
}

