/* Astra-G theme — look of the old Astra-G.nl (Next.js + shadcn, dark mode). */
:root {
	--agt-bg: var(--wp--preset--color--background, #0a0a0a);
	--agt-fg: var(--wp--preset--color--foreground, #fafafa);
	--agt-gold: var(--wp--preset--color--primary, #e7b008);
	--agt-muted: var(--wp--preset--color--muted, #a3a3a3);
	--agt-line: rgba(38, 38, 38, 1);
	--agt-line-soft: rgba(38, 38, 38, .5);
	--agt-radius: .5rem;
	--agt-header-h: 3.5rem;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.agt-main { flex-grow: 1; padding-top: var(--agt-header-h); }
.agt-muted { color: var(--agt-muted); }
.agt-soft { color: rgba(250, 250, 250, .8); }
.agt-center-text { text-align: center; }
.agt-center { justify-content: center; }
::selection { background: rgba(231, 176, 8, .35); }

/* ---------- Header ---------- */
.agt-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	background: rgba(10, 10, 10, .8);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(38, 38, 38, .4);
}
.admin-bar .agt-header { top: var(--wp-admin--admin-bar--height, 32px); }
.agt-header-inner { height: var(--agt-header-h); align-items: center; }
.agt-logo { margin: 0; }
.agt-logo a {
	display: inline-block; border-radius: 999px; padding: .25rem .75rem;
	font-size: .875rem; font-weight: 600; letter-spacing: .025em;
	background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .9);
	box-shadow: 0 0 0 1px rgba(38, 38, 38, .2);
}
.agt-logo a:hover { color: #fff; }
.agt-nav { font-size: .875rem; font-weight: 500; }
.agt-nav .wp-block-navigation__container { gap: 1.5rem; align-items: center; }
.agt-nav .wp-block-navigation-item__content { color: rgba(250, 250, 250, .7); padding: .5rem .25rem; }
.agt-nav .wp-block-navigation-item__content:hover,
.agt-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--agt-fg); }
.agt-nav .agt-nav-submit { margin-left: 1.5rem; }
.agt-nav .agt-nav-submit > .wp-block-navigation-item__content {
	background: var(--agt-gold); color: #0a0a0a; border-radius: 999px;
	padding: .5rem 1rem; font-weight: 600; white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.agt-nav .agt-nav-submit > .wp-block-navigation-item__content:hover { background: #d19f07; color: #0a0a0a; }
.agt-nav .wp-block-navigation__responsive-container-open { color: rgba(250, 250, 250, .7); }
.agt-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--agt-bg) !important; color: var(--agt-fg) !important; padding: 2rem 1.5rem;
}
.agt-nav .is-menu-open .wp-block-navigation__container { font-size: 1.125rem; gap: 1.5rem; align-items: flex-start; }
.agt-nav .is-menu-open .agt-nav-submit { margin-left: 0; margin-top: 1rem; width: 100%; }
.agt-nav .is-menu-open .agt-nav-submit > .wp-block-navigation-item__content { display: block; text-align: center; border-radius: .5rem; width: 100%; }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { transition: background-color .15s, color .15s, border-color .15s; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: rgba(250, 250, 250, .9);
	border: 2px solid rgba(38, 38, 38, .9);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(0, 0, 0, .8); color: var(--agt-fg); border-color: rgba(64, 64, 64, 1); }
.agt-btn-secondary > .wp-block-button__link { background: #262626; color: var(--agt-fg); }
.agt-btn-secondary > .wp-block-button__link:hover { background: #333; }
.agt-btn-lg > .wp-block-button__link { padding: .8rem 2rem; font-size: 1rem; }

/* ---------- Hero with slider ---------- */
.agt-hero {
	position: relative; overflow: hidden; height: 92vh; min-height: 520px;
	display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
	margin-top: 0 !important;
}
.agt-hero-slides { position: absolute; inset: 0; margin: 0 !important; z-index: 0; }
.agt-hero-slides > .wp-block-image { position: absolute; inset: 0; margin: 0 !important; opacity: 0; transition: opacity 1s ease; }
.agt-hero-slides > .wp-block-image:first-child,
.agt-hero-slides > .wp-block-image.is-active { opacity: 1; }
.agt-hero-slides.is-ready > .wp-block-image:first-child:not(.is-active) { opacity: 0; }
.agt-hero-slides img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agt-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .6); pointer-events: none; }
.agt-hero::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background-image: linear-gradient(to right, rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .08) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
}
.agt-hero-content { position: relative; z-index: 2; width: 100%; padding: 0 1rem; }
.agt-hero-title { font-size: clamp(2.25rem, 6vw, 3.75rem) !important; font-weight: 700; letter-spacing: -.025em; margin-top: 1.5rem; text-shadow: 0 4px 12px rgba(0, 0, 0, .6); }
.agt-hero-text { max-width: 42rem; margin: 1rem auto 0 !important; font-size: clamp(1.125rem, 2vw, 1.25rem); color: rgba(250, 250, 250, .85); text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.agt-hero-buttons { margin-top: 2rem !important; gap: 1rem; }
.agt-hero-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 2.5rem; height: 2.5rem; border-radius: .5rem; border: 0; cursor: pointer;
	background: rgba(0, 0, 0, .8); color: var(--agt-fg); display: grid; place-items: center;
}
.agt-hero-arrow:hover { background: rgba(0, 0, 0, .6); }
.agt-hero-arrow.prev { left: 1rem; }
.agt-hero-arrow.next { right: 1rem; }
.agt-hero-arrow svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Highlight cards ---------- */
.agt-highlights { position: relative; z-index: 30; margin-top: -3rem !important; }
@media (min-width: 768px) { .agt-highlights { margin-top: -4rem !important; } }
.agt-cards { display: grid; gap: 1rem; }
@media (min-width: 768px) { .agt-cards { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.agt-card {
	position: relative; margin: 0 !important; padding: 1.5rem;
	border: 1px solid rgba(38, 38, 38, .5); border-radius: .75rem;
	background: rgba(10, 10, 10, .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	transition: transform .2s, box-shadow .2s;
}
.agt-card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 0, 0, .5); }
.agt-card::before {
	content: ""; position: absolute; top: 1.5rem; left: 1.5rem; width: 2.25rem; height: 2.25rem;
	border-radius: .5rem; background: rgba(231, 176, 8, .15);
}
.agt-card::after {
	content: ""; position: absolute; top: calc(1.5rem + .5rem); left: calc(1.5rem + .5rem); width: 1.25rem; height: 1.25rem;
	background: var(--agt-gold); -webkit-mask: var(--agt-icon) center / contain no-repeat; mask: var(--agt-icon) center / contain no-repeat;
}
.agt-card-title { font-size: 1.125rem !important; font-weight: 600; margin: .4rem 0 0 3rem !important; min-height: 1.5rem; letter-spacing: 0; }
.agt-card-title a { color: var(--agt-fg); }
.agt-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: .75rem; }
.agt-card:hover .agt-card-title a { color: var(--agt-fg); }
.agt-card-text { color: var(--agt-muted); margin: 1.25rem 0 0 !important; font-size: 1.05rem; }

/* ---------- About section on the homepage ---------- */
.agt-about { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .agt-about { padding-top: 6rem; padding-bottom: 6rem; } }
.agt-section-head { margin-bottom: 3rem !important; }
.agt-section-head h2 { font-weight: 700; }
.agt-about-columns { align-items: center !important; gap: 2rem 4rem !important; }
.agt-rounded-image { border-radius: .75rem; overflow: hidden; box-shadow: 0 0 0 1px rgba(38, 38, 38, .5); }
.agt-rounded-image img { display: block; width: 100%; height: auto; }
.agt-dots { list-style: none; padding: 0; display: grid; gap: .75rem; color: rgba(250, 250, 250, .8); }
.agt-dots li { position: relative; padding-left: 1rem; }
.agt-dots li::before { content: ""; position: absolute; left: 0; top: .65em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--agt-gold); }

/* ---------- Pages ---------- */
.agt-page, .agt-single { padding-top: calc(var(--agt-header-h) + 3rem); padding-bottom: 3rem; }
.agt-page-title { text-align: center; margin-bottom: 3rem !important; }
.agt-section { padding-top: 3rem; padding-bottom: 3rem; }
.agt-page-head { text-align: center; margin-bottom: 3rem !important; }
.agt-page-head h1 { font-size: 2.25rem !important; font-weight: 700; }
.agt-page-head p { margin-top: 1rem !important; }
.agt-band { background: rgba(38, 38, 38, .5); padding: 4rem 1rem; margin-top: 0 !important; }
@media (min-width: 768px) { .agt-band { padding: 6rem 1rem; } }
.agt-band h1 { font-size: clamp(2.25rem, 4vw, 3rem) !important; font-weight: 700; }
.agt-band p { max-width: 48rem; margin-left: auto !important; margin-right: auto !important; margin-top: 1rem !important; }
.agt-about-page { gap: 3rem !important; align-items: flex-start !important; padding-top: 1rem; }
.agt-panel { border: 1px solid var(--agt-line); border-radius: .75rem; padding: 1.5rem; position: sticky; top: 6rem; }
.agt-social-section { text-align: center; margin-top: 6rem !important; }
.agt-h-icon { display: flex; align-items: center; gap: .75rem; font-size: 1.875rem !important; }
.agt-social-section .agt-h-icon { justify-content: center; }
.agt-h-icon::before {
	content: ""; flex: none; width: 2rem; height: 2rem; background: var(--agt-gold);
	-webkit-mask: var(--agt-icon) center / contain no-repeat; mask: var(--agt-icon) center / contain no-repeat;
}
.agt-empty { text-align: center; padding: 4rem 1rem; border: 2px dashed var(--agt-line); border-radius: var(--agt-radius); }
.agt-empty h2 { font-size: 1.5rem !important; }
.agt-back { font-size: .95rem; margin-bottom: 1.5rem !important; }
.agt-back a { color: var(--agt-muted); }
.agt-back a:hover { color: var(--agt-fg); }
.agt-single-title { font-size: 2.25rem !important; font-weight: 700; margin-bottom: .5rem !important; }
.agt-404 { text-align: center; padding-top: 20vh; padding-bottom: 20vh; }
.agt-404-title { font-size: 1.5rem !important; display: inline-block; padding-right: 1.5rem; border-right: 1px solid rgba(255, 255, 255, .3); margin: 0 1.25rem 0 0 !important; vertical-align: middle; }
.agt-404-text { display: inline-block; vertical-align: middle; margin: 0 !important; font-size: .9rem; }
.agt-404 .wp-block-buttons { margin-top: 2rem !important; }

/* Comments */
.agt-comments { margin-top: 2rem; }
.agt-comments h2 { font-size: 1.5rem !important; font-weight: 700; }
.agt-comment { border: 1px solid var(--agt-line); border-radius: var(--agt-radius); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.agt-comment .wp-block-comment-author-name { font-weight: 600; }
.agt-comment .wp-block-comment-date { font-size: .85rem; color: var(--agt-muted); }
.wp-block-post-comments-form input[type="text"], .wp-block-post-comments-form input[type="email"], .wp-block-post-comments-form input[type="url"], .wp-block-post-comments-form textarea {
	background: transparent; color: var(--agt-fg); border: 1px solid var(--agt-line); border-radius: .375rem; padding: .55rem .7rem; width: 100%;
}
.wp-block-post-comments-form .submit { background: var(--agt-gold); color: #0a0a0a; border: 0; border-radius: var(--agt-radius); padding: .65rem 1.4rem; font-weight: 600; cursor: pointer; }

/* Blog lists */
.agt-post-grid .wp-block-post-featured-image img { border-radius: var(--agt-radius); }

/* ---------- Footer ---------- */
.agt-footer { border-top: 1px solid rgba(38, 38, 38, .4); text-align: center; padding: 3rem 1rem; margin-top: 0 !important; }
.agt-footer > * { margin-left: auto !important; margin-right: auto !important; }
.agt-footer-title { font-size: 1.25rem !important; font-weight: 700; margin: 0 !important; letter-spacing: 0; }
.agt-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; font-size: 1.125rem; margin-top: 1.5rem !important; }
.agt-footer-nav a { color: var(--agt-muted); }
.agt-footer-nav a:hover { color: var(--agt-gold); }
.agt-social { justify-content: center; gap: 1rem !important; margin-top: 1.5rem !important; }
.agt-social .wp-social-link { color: var(--agt-muted) !important; background: none !important; }
.agt-social .wp-social-link:hover { color: var(--agt-gold) !important; }
.agt-social .wp-social-link svg { width: 1.5rem; height: 1.5rem; }
.agt-footer-login { margin-top: 1rem !important; font-size: .9rem; }
.agt-footer-login a { color: var(--agt-muted); }
.agt-copyright { margin: 1.5rem 0 0 !important; padding-top: 1.5rem; border-top: 1px solid rgba(38, 38, 38, .4); color: var(--agt-muted); font-size: 1rem; }

/* Icons (Lucide, ISC licence) */
.agt-icon-car { --agt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.agt-icon-wrench { --agt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }
.agt-icon-book { --agt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
.agt-icon-info { --agt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E"); }
.agt-icon-users { --agt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.agt-icon-target { --agt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E"); }
.agt-icon-heart { --agt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E"); }
.agt-icon-share { --agt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.59' x2='15.42' y1='13.51' y2='17.49'/%3E%3Cline x1='15.41' x2='8.59' y1='6.51' y2='10.49'/%3E%3C/svg%3E"); }
