/* Landskapsgrundämnen: presentation. Innehållet redigeras i WordPress Sidor. */
body:has(.lg-home),body:has(.lg-element){background:#f7f6f0;color:#253b35}
body:has(.lg-home) .main,body:has(.lg-element) .main{background:#f7f6f0;box-shadow:none;border-radius:0;margin:0}
body:has(.lg-home) .page-header{display:none}
body:has(.lg-home) .blog-post,body:has(.lg-element) .blog-post{padding:32px 0 60px}
body:has(.lg-home) .col-md-8,body:has(.lg-element) .col-md-8{width:100%;margin-left:0;float:none}
body:has(.lg-home) .entry-content,body:has(.lg-element) .entry-content{margin:0}
body:has(.lg-element) .page-header{min-height:180px;height:180px;background:#23453a}
body:has(.lg-element) .page-header .header-filter{background-image:none!important;background:#23453a}
body:has(.lg-element) .page-header .container{padding-top:35px}
body:has(.lg-element) .page-header .hestia-title{font-family:Georgia,serif;font-weight:400;font-size:42px}
body:has(.lg-home) .footer,body:has(.lg-element) .footer{background:#23453a;color:#f7f6f0;padding:24px}
.lg-home,.lg-element{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:17px;line-height:1.65;color:#253b35}
.lg-home{padding:32px 18px 10px;max-width:1160px;margin:auto}
.lg-home h1,.lg-home h2,.lg-home h3,.lg-element h2{font-family:Georgia,'Times New Roman',serif;color:#243e34;font-weight:400;letter-spacing:-.025em}
.lg-home h1{font-size:clamp(40px,5vw,67px);line-height:1.06;margin:18px 0 18px}
.lg-home h2{font-size:36px;line-height:1.2;margin:36px 0 12px}
.lg-home h3{font-size:28px;line-height:1.2;margin:8px 0}
.lg-home p{margin:0 0 18px}
.lg-kicker{font-size:11px!important;font-weight:650;letter-spacing:.16em;text-transform:uppercase;color:#5a7568}
.lg-intro{font-size:20px;color:#63736b;margin-bottom:24px!important}
.lg-search{max-width:580px;margin:24px 0 36px!important}
.lg-search label{font-size:13px;font-weight:600;display:block;margin-bottom:8px}
.lg-search .wp-block-search__inside-wrapper{display:flex;gap:8px}
.lg-search .wp-block-search__input{background:white;border:1px solid #bdc9bf;border-radius:5px;min-height:48px;padding:12px 15px;font-size:15px;box-shadow:none}
.lg-search .wp-block-search__button{border:0;background:#234e3f;color:white;border-radius:5px;padding:10px 24px;font-size:15px;box-shadow:none;margin:0;text-transform:none}
.lg-explore{display:grid;grid-template-columns:minmax(300px,1.15fr) minmax(300px,1fr);gap:56px;align-items:start;margin:12px 0 55px;border-top:1px solid #d9dfd5;padding-top:28px}
.lg-map-wrap{background:#ecf0e8;border:1px solid #dce3d7;border-radius:10px;position:relative;padding:20px 12px 10px;text-align:center}
.lg-map-note,.lg-map-caption{font-size:10px!important;letter-spacing:.17em;color:#6b7b70}
.lg-map{width:100%;height:650px;max-height:80vh;display:block;overflow:visible}
.lg-map-caption{letter-spacing:.06em;margin:0!important}
.lg-region{cursor:pointer;outline:none;transition:opacity .15s}
.lg-region>path:not(.lg-leader){fill:var(--land-color);stroke:#f7f6f0;stroke-width:1.6;stroke-linejoin:round;transition:fill .15s}
.lg-region text{fill:#243a32;font-size:10px;font-family:Arial,sans-serif;font-weight:600;paint-order:stroke;stroke:#ecf0e8;stroke-width:.7px;pointer-events:none}
.lg-region:hover>path:not(.lg-leader),.lg-region:focus>path:not(.lg-leader),.lg-region.is-selected>path:not(.lg-leader){fill:#527a65;stroke:#234e3f;stroke-width:1.5}
.lg-region:hover text,.lg-region:focus text,.lg-region.is-selected text{font-weight:800}
.lg-region:focus{filter:drop-shadow(0 0 2px #142b20)}
.lg-region.is-muted{opacity:.2}
.lg-leader{stroke:#657a6c;stroke-width:.6;fill:none;pointer-events:none}
.lg-city{fill:#234e3f;stroke:#f7f6f0;stroke-width:1.5}
.lg-map-side{padding-top:25px;position:sticky;top:60px}
.lg-map-side h2{font-size:40px;margin:12px 0 18px}
.lg-map-side>p:not(.lg-kicker){font-size:17px;color:#63736b;max-width:410px}
.lg-card{background:#fff;border:1px solid #d9e1d7;border-radius:9px;padding:25px;margin-top:30px;box-shadow:0 8px 25px #243e3407;min-height:290px}
.lg-card-top{display:flex;align-items:center;gap:22px;margin-bottom:17px}
.lg-card-top img{width:110px;height:110px;object-fit:contain;border-radius:5px;background:#f7f7f4}
.lg-card-top p{margin:0!important}
.lg-card h3{margin:5px 0!important;font-size:30px}
.lg-card>p{font-size:15px;line-height:1.6;margin-bottom:18px}
.lg-card-symbol{display:inline-grid;place-items:center;width:46px;height:46px;background:#ecf0e8;border-radius:6px;color:#466551;font:26px Georgia,serif;margin-bottom:12px}
.lg-muted{font-size:13px!important;color:#788379}
.lg-read{display:inline-block;color:#234e3f!important;font-weight:650;font-size:14px;border-bottom:1px solid #b6c7b7;text-decoration:none;padding-bottom:3px}
.lg-directory{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:40px}
.lg-directory-item{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #dfe4da;border-radius:6px;padding:16px;color:#253b35!important;text-decoration:none!important;transition:background .15s}
.lg-directory-item:hover,.lg-directory-item:focus{background:#e8efe4;outline:2px solid #7e9885;outline-offset:1px}
.lg-directory-item[hidden]{display:none}
.lg-directory-item>span:nth-child(2){flex:1}
.lg-directory-item strong{display:block;font-size:15px;font-weight:600}
.lg-directory-item small{display:block;font-size:13px;color:#6d7d70}
.lg-symbol-chip{display:grid;place-items:center;min-width:42px;height:44px;background:#eef2e9;border-radius:4px;font-size:20px;font-weight:600;color:#345342}
#lg-count{font-size:13px;color:#6c7c6f}
.lg-home hr{border-color:#d8ded3;margin:35px 0}
.lg-element{padding:28px 18px;max-width:820px;margin:auto;display:flow-root}
.lg-element a{color:#2e6850}
.lg-element .wp-block-image{float:right;width:36%;margin:0 0 25px 30px}
.lg-element .wp-block-image img{width:100%;max-height:320px;object-fit:contain;background:white;border-radius:8px}
.lg-element figcaption{font-size:11px;color:#738074}
.lg-element h2{font-size:28px;margin:30px 0 12px}
.lg-element .wp-block-table{clear:both;margin-top:20px}
.lg-element table{background:white;border:1px solid #d6dfd3;font-size:15px}
.lg-element td{border-color:#d6dfd3;padding:12px 16px}
@media(max-width:700px){.lg-home{padding-top:20px}.lg-explore{grid-template-columns:1fr;gap:20px}.lg-map{height:560px;max-height:none}.lg-map-side{position:static;padding-top:0}.lg-map-side>h2,.lg-map-side>.lg-kicker,.lg-map-side>p{display:none}.lg-card{margin-top:0;min-height:0}.lg-directory{grid-template-columns:repeat(2,1fr);gap:8px}.lg-directory-item{padding:12px;gap:9px}.lg-directory-item strong{font-size:13px}.lg-directory-item>span:last-child{display:none}.lg-symbol-chip{min-width:32px;font-size:17px}.lg-home h2{font-size:29px}.lg-element .wp-block-image{float:none;width:100%;max-width:300px;margin:20px auto 25px}.lg-search .wp-block-search__button{padding:10px 16px}.lg-search .wp-block-search__input{min-width:0;width:100%}body:has(.lg-element) .page-header .hestia-title{font-size:32px}}
@media(prefers-reduced-motion:reduce){.lg-region,.lg-directory-item,.lg-region>path{transition:none}}
body:has(.lg-home) .section-text,body:has(.lg-element) .section-text{padding-top:0}
.lg-home h1{font-size:clamp(36px,4.5vw,56px)}
.lg-home .lg-search{max-width:580px!important}
.lg-home .lg-search .wp-block-search__inside-wrapper{margin:0}
.lg-home .lg-search .wp-block-search__button{box-shadow:none!important}
.lg-home .lg-directory-item[hidden]{display:none!important}
body:has(.lg-element) .page-header .container{padding-top:0!important;height:180px;display:flex;align-items:center;justify-content:center}
body:has(.lg-element) .page-header .container .row{width:100%}
body:has(.lg-element) .page-header .hestia-title{margin:0!important}

.lg-element .lg-section{display:flow-root}.lg-element .lg-section + .lg-section{margin-top:28px}.lg-credit{font-size:12px!important;color:#6d7d70}.lg-credit a{color:inherit}.lg-editor-map{border:1px solid #cad6c8;border-radius:8px;padding:20px;background:#f3f5ef}.lg-editor-map-layout{display:grid;grid-template-columns:42% 1fr;gap:24px}.lg-editor-map-layout>img{width:100%;max-height:470px;object-fit:contain}.lg-editor-help{font:14px/1.5 sans-serif;background:#fff;padding:12px;border-left:3px solid #54785e}.editor-styles-wrapper .lg-element .wp-block-image{float:none;width:100%;max-width:320px;margin:20px 0}.editor-styles-wrapper .lg-element .lg-section{padding:12px;border:1px dashed #dce3d7}.lg-editor-directory{padding:20px;background:#f3f5ef;border:1px solid #cad6c8}.lg-editor-links{display:flex;gap:8px;flex-wrap:wrap}.lg-editor-links a{padding:4px 8px;background:white;border:1px solid #ccc}
@media(max-width:480px){.lg-home .lg-directory{grid-template-columns:minmax(0,1fr)}.lg-home .lg-directory-item{min-width:0}.lg-home .lg-card-top{gap:12px;flex-wrap:wrap}.lg-home .lg-card h3{overflow-wrap:anywhere}}

/* Native WordPress image alignment with continuous text flow. */
.lg-element .lg-section{display:block}
.lg-element .lg-section:has(>.wp-block-table){clear:both}
.lg-element .wp-block-image.alignright{float:right;width:34%;max-width:260px;margin:0 0 18px 28px}
.lg-element .wp-block-image.alignleft{float:left;width:34%;max-width:260px;margin:0 28px 18px 0}
.editor-styles-wrapper .lg-element .lg-section{padding:0;border:0;display:block}
@media(max-width:700px){.lg-element .wp-block-image.alignright,.lg-element .wp-block-image.alignleft{float:none;width:100%;max-width:280px;margin:20px auto 25px}}

/* WordPress may render an alignment wrapper around the figure. */
.lg-element .wp-block-image:has(>figure.alignright){float:right;width:34%;max-width:260px;margin:0 0 18px 28px}
.lg-element .wp-block-image:has(>figure.alignleft){float:left;width:34%;max-width:260px;margin:0 28px 18px 0}
.lg-element .wp-block-image>figure.alignright,.lg-element .wp-block-image>figure.alignleft{float:none;width:100%;max-width:none;margin:0}
@media(max-width:700px){.lg-element .wp-block-image:has(>figure.alignright),.lg-element .wp-block-image:has(>figure.alignleft){float:none;width:100%;max-width:280px;margin:20px auto 25px}}

/* Focus follows the landscape shape instead of the SVG link box. */
.lg-home .lg-map a.lg-region,.lg-home .lg-map a.lg-region:focus,.lg-home .lg-map a.lg-region:active{outline:none!important;box-shadow:none!important}
.lg-home .lg-map a.lg-region:focus{filter:none}
.lg-home .lg-map a.lg-region:focus-visible>path:not(.lg-leader),.lg-home .lg-map a.lg-region:focus-visible>.lg-city{stroke:#16392b;stroke-width:3}

/* Landscape quiz: shares map geometry and editable WordPress page data. */
.lg-home [hidden]{display:none!important}
.lg-game-launch{border-top:1px solid #d1dbcf;margin-top:18px;padding:20px 12px 5px}
.lg-home .lg-game-launch p{font-size:13px;line-height:1.5;max-width:340px;margin:10px auto}
.lg-home .lg-game-button{display:inline-flex;align-items:center;justify-content:center;background:#234e3f;color:#fff;border:1px solid #234e3f;border-radius:6px;min-height:44px;padding:11px 20px;font:600 14px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;text-transform:none;letter-spacing:0;box-shadow:none;margin:0;white-space:normal;cursor:pointer}
.lg-home .lg-game-launch .lg-game-button{min-width:150px;font-size:18px}
.lg-home .lg-game-button:hover{background:#183c2e;color:white}
.lg-home .lg-game-button:focus-visible{outline:3px solid #a87122;outline-offset:3px}
.lg-home .lg-game-secondary{background:transparent;color:#234e3f;border-color:#a5b7a6}
.lg-home .lg-game-secondary:hover{background:#e6eee2;color:#183c2e}
.lg-home .lg-game-panel{background:#fff;border:1px solid #cad8c7;border-radius:10px;padding:25px;box-shadow:0 8px 25px #243e3407}
.lg-home .lg-game-panel h2{font-size:30px;margin:8px 0 16px;line-height:1.15}
.lg-home .lg-game-panel h2:focus{outline:none}
.lg-game-stats{display:flex;justify-content:space-between;font-size:13px;font-weight:600;gap:15px}
.lg-game-time{font-variant-numeric:tabular-nums}
.lg-game-progress{display:block;width:100%;height:7px;margin:12px 0 24px;accent-color:#3e7554;border:none;border-radius:8px}
.lg-game-progress::-webkit-progress-bar{background:#edf1e9;border-radius:8px}.lg-game-progress::-webkit-progress-value{background:#3e7554;border-radius:8px}
.lg-game-target{display:flex;gap:16px;align-items:center;margin-bottom:18px}
.lg-game-target img{width:80px;height:80px;object-fit:contain;border-radius:5px}
.lg-home .lg-game-target h2{margin:0;overflow-wrap:anywhere}
.lg-home .lg-game-instruction{font-size:15px}
.lg-home .lg-game-feedback{font-size:15px;min-height:80px;background:#f1f4ed;border-left:4px solid #aabda8;padding:12px;border-radius:0 4px 4px 0}
.lg-game-feedback[data-kind=wrong]{border-color:#b24335;background:#fff1ed;color:#863327}
.lg-game-feedback[data-kind=correct]{border-color:#2d6e47;background:#eaf4e8;color:#245738}
.lg-game-feedback[data-kind=hint]{border-color:#ad751d;background:#fff8e4;color:#75521b}
.lg-game-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.lg-home .lg-game-score{font:56px/1.1 Georgia,serif;color:#2d6e47;margin:18px 0}
.lg-game-review{font-size:14px;margin-top:20px}.lg-game-review summary{cursor:pointer;font-weight:600;padding:10px 0}.lg-game-review ul{padding-left:20px}
.lg-home .is-playing .lg-region text,.lg-home .is-playing .lg-region .lg-leader,.lg-home .is-playing .lg-region:has(.lg-city){display:none}
.lg-home .is-playing .lg-region>path:not(.lg-leader){fill:#dce5d8;stroke:#fff;stroke-width:1.6}
.lg-home .is-playing .lg-region:hover>path:not(.lg-leader),.lg-home .is-playing .lg-region:focus-visible>path:not(.lg-leader){fill:#bccfba;stroke:#234e3f;stroke-width:2}
.lg-home .is-playing .lg-region.is-correct>path:not(.lg-leader){fill:#7faa83}
.lg-home .is-playing .lg-region.is-wrong>path:not(.lg-leader){fill:#df998b;stroke:#a44232;stroke-width:2}
.lg-home .is-playing .lg-region.is-hint>path:not(.lg-leader){fill:#efd492;stroke:#86591e;stroke-width:3;stroke-dasharray:4 2}
.lg-home .is-playing .lg-map-caption{visibility:hidden}
.lg-home .is-playing .lg-map-side{padding-top:0}
@media(max-width:700px){
 .lg-home .is-playing{display:flex;flex-direction:column;gap:16px}
 .lg-home .is-playing .lg-map-side{order:-1;width:100%;position:sticky;top:0;z-index:5}
 body.admin-bar .lg-home .is-playing .lg-map-side{top:46px}
 .lg-home .is-playing .lg-map-wrap{width:100%;box-sizing:border-box}
 .lg-home .lg-game-panel{padding:14px}
 .lg-home .lg-game-panel h2{font-size:24px}
 .lg-home .lg-game-target{margin-bottom:8px;gap:12px}.lg-game-target img{width:48px;height:48px}
 .lg-home .lg-game-panel .lg-kicker,.lg-home .lg-game-panel .lg-game-instruction{display:none}
 .lg-game-progress{margin:8px 0 12px}
 .lg-home .lg-game-feedback{min-height:0;margin-bottom:10px;padding:8px;font-size:13px}
 .lg-home .lg-game-panel .lg-game-button{padding:8px 12px;min-height:44px;font-size:13px}
 .lg-game-actions{margin-bottom:8px}
}

.lg-home .lg-game-button{box-shadow:none!important}
.lg-home .is-playing{scroll-margin-top:48px}
.lg-game-credit{font-size:11px;color:#6d7d70;margin-top:14px}.lg-game-credit summary{cursor:pointer}.lg-game-credit a{color:inherit}

@media(max-width:700px){
 .lg-home .is-playing{scroll-margin-top:0;padding-top:0}
 .lg-home .lg-game-panel{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}
 .lg-home .lg-game-panel>*{grid-column:1/-1;margin:0}
 .lg-home .lg-game-panel>.lg-game-actions{display:contents}
 .lg-home .lg-game-panel>.lg-game-actions>.lg-game-button,.lg-home .lg-game-panel>.lg-game-button{grid-column:auto}
 .lg-home .lg-game-panel>.lg-game-actions>.lg-game-button{padding:8px}
 .lg-home .lg-game-panel .lg-game-target{margin:0}
 .lg-home .lg-game-panel .lg-game-target img,.lg-home .lg-game-panel .lg-game-credit{display:none}
 .lg-home .lg-game-panel .lg-game-feedback{margin:0}
 .lg-home .lg-game-panel .lg-game-progress{margin:0}
 .lg-home .lg-game-panel h2{margin:0}
}

/* Permanent quiz colours reflect the attempt on which the answer was found. */
.lg-home .is-playing .lg-region.is-correct>path:not(.lg-leader){fill:#73b77c;stroke:#376c3e}
.lg-home .is-playing .lg-region.is-second>path:not(.lg-leader){fill:#f2d85c;stroke:#977f1e}
.lg-home .is-playing .lg-region.is-third>path:not(.lg-leader){fill:#efa04e;stroke:#9e5e1e}
.lg-home .is-playing .lg-region.is-failed>path:not(.lg-leader){fill:#da6b61;stroke:#973b34;stroke-dasharray:none}
.lg-home .is-playing .lg-region.is-wrong:not(.is-correct):not(.is-failed)>path:not(.lg-leader){fill:#dce5d8;stroke:#72553e;stroke-width:3;stroke-dasharray:3 2}
.lg-home .lg-game-legend{font-size:12px;line-height:1.5;margin:14px 0 0;color:#435d4c;letter-spacing:0}
.lg-game-feedback[data-kind=failed]{border-color:#973b34;background:#fff1ed;color:#863327}

/* Feedback is shown where the player clicked, without covering pointer targets. */
.lg-home .lg-map-feedback{position:absolute;z-index:4;max-width:calc(100% - 24px);width:max-content;box-sizing:border-box;transform:translateX(-50%);padding:8px 12px;border-radius:5px;background:#243e34;color:#fff;font-size:14px;font-weight:600;line-height:1.4;text-align:center;box-shadow:0 3px 12px #0002;pointer-events:none;overflow-wrap:anywhere}
.lg-home .lg-map-feedback::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#243e34}
.lg-home .is-playing .lg-region.is-wrong>path:not(.lg-leader){stroke:#62451f;stroke-width:3;stroke-dasharray:3 2}
.lg-home .lg-game-launch{display:flex;flex-direction:column;align-items:center;text-align:center}
.lg-home .lg-game-launch p{align-self:center;width:100%;max-width:340px;margin:10px auto!important;text-align:center!important}
@media(max-width:700px){.lg-home .lg-map-feedback{font-size:12px;padding:6px 9px}}
