/* Brøns Maskiner – bruger Elementors/Astras globale farver, når de findes */
.brons-sektion { margin: 2.5rem 0; }
.brons-sektion__titel { margin-bottom: 1rem; }
.brons-hero { margin: 0 0 2rem; }
.brons-hero img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 6px; }

.brons-tabel-wrap { overflow-x: auto; }
.brons-tabel { width: 100%; border-collapse: collapse; font-size: .95em; }
.brons-tabel th, .brons-tabel td { padding: .6rem .8rem; border-bottom: 1px solid rgba(0,0,0,.1); text-align: left; vertical-align: top; }
.brons-tabel thead th { background: var(--e-global-color-primary, var(--ast-global-color-0, #1d3d2f)); color: #fff; white-space: nowrap; }
.brons-tabel tbody tr:nth-child(even) { background: rgba(0,0,0,.03); }

.brons-galleri { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.brons-galleri img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; display: block; }

.brons-videoer { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; }
.brons-video, .brons-katalog { position: relative; aspect-ratio: 16/9; }
.brons-katalog { aspect-ratio: 4/3; margin-bottom: 1rem; }
.brons-video iframe, .brons-katalog iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.brons-fordele, .brons-brochurer { padding-left: 1.2rem; }
.brons-fordele li { margin-bottom: .4rem; }

.brons-kortgitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin: 1.5rem 0 2.5rem; align-items: stretch; }
.brons-kort { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.brons-kort:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
/* Billedet lægges absolut i kassen – height:100% virker ikke i en kasse, der kun har aspect-ratio */
.brons-kort__billede { position: relative; aspect-ratio: 4/3; background: #f1f1f1; display: block; overflow: hidden; flex: 0 0 auto; }
.brons-kort__billede img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; }
.brons-kort__titel { font-weight: 600; padding: .8rem 1rem .2rem; }
.brons-kort__tekst { font-size: .85em; opacity: .7; padding: 0 1rem .9rem; }

/* Leadformular */
.brons-lead { background: var(--e-global-color-secondary, #f4f4f2); padding: 2rem; border-radius: 6px; }
.brons-lead__felter { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.brons-lead label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .9em; }
.brons-lead input[type=text], .brons-lead input[type=email], .brons-lead input[type=tel], .brons-lead textarea { width: 100%; }
.brons-lead__fuld { grid-column: 1 / -1; }
.brons-lead__samtykke { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400 !important; margin-top: 1rem; }
.brons-lead__honning { position: absolute !important; left: -9999px !important; }
.brons-lead__besked { padding: .8rem 1rem; border-radius: 4px; margin-bottom: 1rem; }
.brons-lead__besked--ok { background: #e3f4e6; }
.brons-lead__besked--fejl { background: #fde2e1; }

/* Brødkrumme (Elementor-skabelon) */
.brons-brodkrumme { font-size: 13px; letter-spacing: .02em; color: #8C8C85; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.brons-brodkrumme a { color: #B9B7AE; text-decoration: none; }
.brons-brodkrumme a:hover { color: #C8A84B; }
.brons-brodkrumme [aria-current] { color: #FAFAF6; }
.brons-sektion--relaterede .brons-kortgitter { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Medarbejdere */
.brons-team__nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.brons-team__nav a { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 16px; border: 1px solid #E2E0D8; background: #fff; color: #1A1A18; text-decoration: none; border-radius: 2px; }
.brons-team__nav a span { color: #9A7A28; margin-left: 4px; }
.brons-team__nav a:hover { border-color: #C8A84B; }
.brons-team__afd { margin: 0 0 56px; scroll-margin-top: 140px; }
.brons-team__titel { font-size: 36px; margin: 0 0 22px; padding-bottom: 12px; border-bottom: 2px solid #C8A84B; display: inline-block; }
.brons-team__gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.brons-team__kort { background: #fff; border: 1px solid #E2E0D8; border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.brons-team__foto { aspect-ratio: 1 / 1; background: #2A2A27; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.brons-team__foto img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.15); transition: filter .2s; }
.brons-team__kort:hover .brons-team__foto img { filter: none; }
.brons-team__initialer { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 56px; color: #C8A84B; }
.brons-team__tekst { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 3px; }
.brons-team__tekst h3 { font-size: 21px; margin: 0; line-height: 1.15; }
.brons-team__stilling { font-size: 14px; color: #5C5C56; margin: 0 0 6px; }
.brons-team__tekst a { font-size: 14px; color: #9A7A28; text-decoration: none; overflow-wrap: anywhere; }
.brons-team__tekst a:hover { color: #1A1A18; }

/* Kategorier/maskiner med titel (arkiv-skabelon) */
.brons-liste-titel { font-size: 34px; margin: 0 0 6px; }

/* Kategoritekst */
.brons-kategoritekst { max-width: 820px; }
.brons-kategoritekst h2 { font-size: 34px; margin: 0 0 .5em; }
.brons-kategoritekst h3 { font-size: 24px; margin: 1.6em 0 .3em; }
.brons-kategoritekst a { font-weight: 600; }
