/*
Theme Name: Aircrafttotal
Theme URI: https://aircrafttotal.nl/
Author: jfmwebsie
Description: A clean, full-width block theme made for the Aircrafttotal plugins (Banner, Navbar & Footer, Aircraft Database, Gallery, Links, Categories, Special, Famous, Parallax, Brands, Shortcuts …). Sections run edge to edge without gaps, the navbar and footer come from the Aircrafttotal blocks, and ready-made page layouts are included.
Version: 1.2.0
Requires at least: 6.1
Tested up to: 6.8
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: aircrafttotal
Tags: block-theme, full-site-editing, one-column, wide-blocks, custom-colors, editor-style
*/

/* Full-width sections stack seamlessly: no gaps between them */
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks > main, .atx-main { margin: 0; padding: 0; }
.atx-main .is-layout-constrained > .alignfull,
.atx-main .entry-content > .alignfull,
.atx-main .wp-block-post-content > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.atx-main .wp-block-post-content > .alignfull + :not(.alignfull),
.atx-main .wp-block-post-content > :not(.alignfull) + .alignfull { margin-block-start: clamp(28px, 4vw, 48px) !important; }
.atx-main .wp-block-post-content > :first-child:not(.alignfull) { margin-block-start: clamp(28px, 4vw, 48px); }
.atx-main .wp-block-post-content > :last-child:not(.alignfull) { margin-block-end: clamp(40px, 6vw, 80px); }

/* Header / footer template parts: no extra space around the Aircrafttotal blocks */
header.wp-block-template-part, footer.wp-block-template-part { margin: 0; }
header.wp-block-template-part > .alignfull, footer.wp-block-template-part > .alignfull { margin: 0 !important; }

/* Page heading (pages without a banner) */
.atx-page-head { position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0) 0 0/22px 22px, radial-gradient(120% 90% at 50% 0%, #0d2350, #07102a 70%); }
.atx-page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--wp--preset--color--orange), var(--wp--preset--color--gold), var(--wp--preset--color--orange), transparent); opacity: .8; }
.atx-page-head .wp-block-post-title { color: #fff; }

/* Cards in archives / blog */
.atx-card { height: 100%; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--wp--preset--color--line); box-shadow: 0 20px 44px -34px rgba(11,27,51,.5); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.atx-card:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -34px rgba(11,27,51,.6); }
.atx-card .wp-block-post-featured-image { margin: 0; }
.atx-card .wp-block-post-featured-image img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.atx-card .wp-block-post-title a { text-decoration: none; }
.atx-card .wp-block-post-title a:hover { color: var(--wp--preset--color--orange); }

/* Fallback header / footer (only when the Aircrafttotal plugins are not active) */
.atx-fallback-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 18px clamp(20px, 4vw, 48px); background: #07102a; color: #fff; }
.atx-fallback-head a { color: #fff; text-decoration: none; font-weight: 700; }
.atx-fallback-head ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.atx-fallback-head ul ul { display: none; }
.atx-fallback-head a:hover { color: var(--wp--preset--color--orange); }
.atx-fallback-foot { padding: 34px 20px; text-align: center; background: #050b1f; color: rgba(255,255,255,.7); font-size: .9rem; }
.atx-fallback-foot a { color: #fff; }

/* Focus & selection */
::selection { background: rgba(255,138,61,.3); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--wp--preset--color--orange); outline-offset: 3px; }
