/*
Theme Name: BootEditor (Astra child)
Template: astra
Description: Lightweight child theme for booteditor.com: site styles, self-hosted fonts and the footer. Pages are plain classic-editor HTML using the be-* classes below.
Version: 1.0.0
Text Domain: booteditor-child
*/

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }

:root {
	--be-navy: #051b35;
	--be-blue: #0170b9;
	--be-blue-dark: #04679b;
	--be-text: #3c3c3c;
	--be-muted: #5f5f5f;
	--be-grey: #f6f6f6;
	--be-card: #f6fcff;
	--be-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--be-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body { font-family: var(--be-body); color: var(--be-text); }
h1, h2, h3, h4, h5, h6, .be-btn { font-family: var(--be-head); }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { font-weight: 500; color: #000; }

/* ---------- Header (Astra header builder) ---------- */
.ast-primary-header-bar, .main-header-bar, .ast-mobile-header-wrap .ast-primary-header-bar { background: var(--be-navy); border-bottom: 0; }
.site-header .custom-logo-link img { width: 155px; max-width: 155px; height: auto; }
.site-title, .site-description { display: none; }
.main-header-menu .menu-link, .ast-builder-menu-1 .menu-item > .menu-link { color: #d2e2f2; font-family: var(--be-head); font-size: 14px; font-weight: 500; }
.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current_page_item > .menu-link { color: #fff; }
.ast-mobile-menu-buttons .menu-toggle, .ast-mobile-menu-buttons .menu-toggle:hover { background: transparent; color: #fff; border: 0; }
.ast-mobile-menu-buttons .menu-toggle .ast-mobile-svg, .ast-header-break-point .menu-toggle .ast-mobile-svg { fill: #fff !important; }
.ast-header-break-point .menu-toggle, .ast-mobile-menu-buttons .menu-toggle { color: #fff !important; }
.ast-mobile-header-content, .ast-mobile-header-content .main-header-menu, .ast-header-break-point .main-header-bar-navigation .main-header-menu { background: var(--be-navy); }
.ast-mobile-header-content .menu-item > .menu-link { color: #d2e2f2; border-color: rgba(255, 255, 255, .08); }

/* ---------- Building blocks used in page content ---------- */
.be-btn, .entry-content a.be-btn { display: inline-block; background: var(--be-blue); color: #fff; font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: .3px; padding: 15px 24px; border-radius: 3px; text-decoration: none; transition: background .2s; }
.be-btn:hover, .be-btn:focus, .entry-content a.be-btn:hover { background: var(--be-blue-dark); color: #fff; }
.be-center { text-align: center; }
.be-page-h { font-size: 36px; line-height: 1.3; margin: 80px 0 40px; text-align: center; }
.be-title { font-size: 28px; line-height: 1.35; margin: 100px 0 0; text-align: center; color: var(--be-text) !important; }
.be-title-lg { font-size: 36px; color: #000 !important; }
.be-band { padding: 90px 40px; margin-top: 100px; }
.be-band.be-flush { margin-top: 0; }
.be-grey { background: var(--be-grey); }
.entry-content img { max-width: 100%; height: auto; }

/* Hero */
.be-hero { background: var(--be-navy); text-align: center; padding: 100px 20px; }
.be-hero h1 { color: #fff !important; font-size: 55px; line-height: 1.2; margin: 0 0 34px; }

/* 3 steps */
.be-steps { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin: 60px auto 0; }
.be-step { width: 150px; text-align: center; }
.be-step img { display: block; margin: 0 auto; }
.be-step p { font-family: var(--be-head); font-size: 16px; color: #474747; margin: 16px 0 0; line-height: 1.4; }

/* Two columns: text + image */
.be-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.be-split h2 { font-size: 27px; line-height: 1.35; margin: 0 0 18px; }
.be-split p { font-size: 17px; line-height: 1.75; color: #0f0f0f; margin: 0 0 26px; }

/* Feature cards */
.be-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin: 70px 10px 0; }
.be-card { background: var(--be-card); border-radius: 20px; padding: 40px 22px 30px; text-align: center; }
.be-card img { display: block; margin: 0 auto; }
.be-card h3 { font-size: 17px; color: #353535; margin: 18px 0 12px; }
.be-card p { font-size: 14px; line-height: 1.75; color: var(--be-muted); margin: 0; }

/* Label + text rows (How it Works) */
.be-band h3 { font-size: 22px; color: #2d2d2d; margin: 40px 0 10px; }
.be-band h3:first-of-type { margin-top: 10px; }
.be-band > p { font-size: 16px; line-height: 1.7; color: #515151; }
.be-defs { margin-top: 40px; }
.be-def { display: flex; gap: 14px; align-items: baseline; margin: 0 0 16px; }
.be-def h4 { font-size: 17px; color: #2d2d2d; margin: 0; white-space: nowrap; }
.be-def p { font-size: 15px; color: #6a6a6a; margin: 0; }

/* Download */
.be-dl-top { text-align: center; margin-top: 80px; }
.be-dl-top img { display: block; margin: 0 auto 18px; }
.be-dl-top h3 { font-size: 17px; color: #343434; margin: 0 0 6px; }
.be-dl-top p { font-size: 16px; color: #343434; margin: 0 0 24px; }
.be-feature { display: flex; gap: 20px; margin-bottom: 24px; }
.be-feature img { flex: 0 0 32px; width: 32px; height: auto; align-self: flex-start; margin-top: 4px; object-fit: contain; }
.be-feature h4 { font-size: 20px; color: #343434; margin: 0 0 8px; }
.be-feature p { font-size: 15px; line-height: 1.75; color: var(--be-muted); margin: 0; }

/* Simple text pages (About, Contact, Terms, Privacy) */
.be-text { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.75; }

/* ---------- Footer ---------- */
.be-footer { background: var(--be-navy); color: #fff; margin-top: 100px; padding: 80px 20px 30px; }
.be-footer-cols { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.be-footer h4 { color: #fff; font-size: 19px; font-weight: 500; margin: 0 0 18px; }
.be-footer p { color: #fff; font-size: 16px; line-height: 1.75; margin: 0 0 26px; max-width: 360px; }
.be-footer ul { list-style: none; margin: 0; padding: 0; }
.be-footer li { margin: 0 0 10px; }
.be-footer li a { color: #fff; text-decoration: none; font-size: 15px; }
.be-footer li a:hover { color: #9cc9ec; }
.be-copy { max-width: 1200px; margin: 60px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: #9fb3c8; font-size: 13px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 921px) {
	.be-cards { grid-template-columns: repeat(2, 1fr); }
	.be-footer-cols { grid-template-columns: 1fr 1fr; }
	.be-footer-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.be-hero { padding: 70px 20px; }
	.be-hero h1 { font-size: 34px; }
	.be-title, .be-title-lg, .be-page-h { font-size: 26px; }
	.be-split, .be-cards, .be-footer-cols { grid-template-columns: 1fr; }
	.be-band { padding: 60px 20px; }
	.entry-content > .be-split, .be-text, .be-dl-top { padding-left: 18px; padding-right: 18px; }
	.be-def { display: block; }
	.be-def h4 { margin-bottom: 4px; }
	.be-steps { gap: 24px; }
}
