/*
Theme Name: EistrupWeb
Theme URI: https://eistrupweb.dk
Author: EistrupWeb
Author URI: https://eistrupweb.dk
Description: Let og hurtigt WordPress-tema bygget til Elementor. EistrupWebs eget fundament med minimal kode, ren markup og indbygget performance-hardening. Temaet styler ikke selv. Elementor styrer hele det visuelle lag, så hjemmesiderne starter rene og hurtige.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: eistrupweb
Tags: elementor, performance, lightweight, blog, business
*/

/* -------------------------------------------------------------------------
   Minimal reset. Temaet sætter bevidst ikke typografi eller farver.
   Elementor styrer det visuelle. Reglerne her holder kun markup ryddeligt.
   ------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* -------------------------------------------------------------------------
   Fallback-chrome. Vises KUN når der ikke er sat et Elementor-header/footer.
   Klasserne er scopet med .ewp- så de aldrig rører Elementor-byggede sider.
   ------------------------------------------------------------------------- */

.ewp-container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 64px 40px;
}

.ewp-fallback-header,
.ewp-fallback-footer {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #022824;
}

.ewp-fallback-header {
    border-bottom: 1px solid #E8F0EF;
}

.ewp-fallback-bar {
    max-width: 1216px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.ewp-fallback-brand {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: #022824;
}

.ewp-fallback-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.ewp-fallback-nav a {
    font-size: 15px;
    font-weight: 500;
    color: #354B48;
}

.ewp-fallback-nav a:hover {
    color: #009E97;
}

.ewp-fallback-footer {
    border-top: 1px solid #E8F0EF;
    margin-top: 64px;
}

.ewp-fallback-footer .ewp-fallback-bar {
    color: #4A6360;
    font-size: 14px;
}

/* Brand-accent på links i fallback-indhold */
.site-main a {
    color: #009E97;
}

/* -------------------------------------------------------------------------
   Tilgængelighed. Skip-link og skærmlæser-tekst.
   ------------------------------------------------------------------------- */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 100000;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    padding: 12px 20px;
    background: #022824;
    color: #fff;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    text-decoration: none;
}
