/*
Theme Name: Lanke Editorial
Version: 0.4.9
Author: Lanke AB
Description: Redaktionell informationsportal för Lanke.
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: lanke-editorial
*/
*{box-sizing:border-box}body{margin:0;background:#f4ebea;color:#4a4a49;font:17px/1.65 Arial,sans-serif}a{color:#244a9a}a:hover{text-decoration:underline}a:focus-visible{outline:3px solid #244a9a;outline-offset:4px}img{max-width:100%;height:auto}.wrap{max-width:1160px;margin:auto;padding:0 24px}.site-header{border-top:8px solid #eb5a3e;background:#f4ebea;padding:24px 0}.head{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.brand{font-size:38px;font-weight:800;letter-spacing:-2px;color:#eb5a3e;text-decoration:none}.custom-logo{max-width:180px}.nav ul{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0;margin:0}.nav a{text-decoration:none;font-size:13px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;color:#4a4a49}.hero{background:#f4ebea;padding:48px 0}.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;font-weight:bold;color:#a83e29}h1,h2,h3{line-height:1.15;letter-spacing:-.7px}h1{font-size:clamp(34px,5vw,58px);margin:12px 0}h2{font-size:32px}h3{font-size:24px}.hero p{max-width:700px}.section{padding:42px 0}.featured{display:grid;grid-template-columns:1fr 1fr;background:#f4ebea;margin-bottom:36px}.featured img{width:100%;height:100%;object-fit:cover}.featured .copy,.card .copy{padding:28px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:white;overflow:hidden}.card img{width:100%;aspect-ratio:16/10;object-fit:cover}.card h3 a,.featured h2 a{color:inherit;text-decoration:none}.button{display:inline-block;background:#244a9a;color:white;border:0;border-radius:30px;padding:12px 24px;font-weight:bold;text-decoration:none}.subscribe{background:#244a9a;color:white;padding:36px 0}.site-footer{padding:36px 0;border-bottom:8px solid #eb5a3e}.article{max-width:800px;margin:40px auto;background:white;padding:clamp(20px,5vw,55px)}.article h1{font-size:clamp(32px,5vw,48px)}.article img{height:auto}.meta{font-size:14px}.pagination{margin:30px 0}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;padding:10px;z-index:100}.search-form input{padding:8px;max-width:100%}.search-form button,.search-submit{padding:8px}.wp-caption{max-width:100%}@media(max-width:760px){.cards,.featured{grid-template-columns:1fr}.wrap{padding:0 18px}.hero{padding:30px 0}.head{gap:12px}.nav ul{gap:12px}.article{margin:20px 0}.featured img{height:auto}}
/* Editorial 0.2 */
:root{--orange:#eb5a3e;--blue:#244a9a;--ink:#1d1d1b;--paper:#f4ebea}body{color:var(--ink)}.wrap{max-width:1240px}.site-header{padding:0;border-top-color:var(--orange)}.head{padding-top:24px;padding-bottom:24px}.identity{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.brand{display:inline-block;line-height:1}.brand img,.custom-logo{width:160px;height:auto;display:block}.masthead{border-left:1px solid #bfbab9;padding-left:22px;display:grid;line-height:1.3}.masthead strong{font-size:30px;letter-spacing:-1px}.masthead span{font-size:13px}.nav{border-top:1px solid #bfbab9;padding-top:13px;padding-bottom:13px}.nav ul{gap:10px 20px}.nav a{font-size:12px;letter-spacing:.3px}.nav a:hover,.nav a[aria-current],.nav .current-menu-item>a{color:#a83e29;text-decoration:underline;text-underline-offset:5px}.nav .sub-menu{padding-left:12px}.search-form{display:flex;gap:6px;max-width:100%}.search-form label{min-width:0}.search-form input{border:1px solid #bfbab9;border-radius:4px;background:white;font:inherit;font-size:14px;width:180px}.search-form button{background:var(--blue);color:white;border:0;border-radius:4px;padding:8px 14px;cursor:pointer}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hero{background:#f4ebea;padding:55px 0}.hero-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.hero-mark{color:var(--blue);font-size:clamp(60px,12vw,150px);font-weight:900;letter-spacing:-10px;line-height:1;transform:rotate(-8deg);border:4px solid var(--blue);border-radius:48% 52% 45% 55%;padding:20px 36px}.hero-mark span{color:var(--orange)}.section{padding:42px 24px}.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;border-bottom:2px solid var(--orange);margin-bottom:24px}.section-heading h2{margin:0 0 12px}.section-heading span{font-size:14px}.featured{background:white;grid-template-columns:1.25fr 1fr;border-radius:4px;overflow:hidden}.featured.no-image{grid-template-columns:1fr}.featured>a{display:block;min-height:260px}.featured .copy{align-self:center;padding:clamp(24px,4vw,48px)}.featured h2{font-size:clamp(28px,4vw,42px);margin:12px 0}.card{border-radius:4px;border-bottom:3px solid #f4ebea;display:flex;flex-direction:column}.card .copy{padding:24px}.card h3{margin:12px 0}.card img{display:block;aspect-ratio:16/10}.card .eyebrow a,.featured .eyebrow a,.article .eyebrow a{color:#a83e29}.outside{background:#f4ebea}.outside .section-heading{border-color:var(--blue)}.article{max-width:900px;overflow-wrap:anywhere}.article>img.wp-post-image{width:100%;display:block;margin:24px 0}.article p,.article li{line-height:1.75}.article figure{max-width:100%;margin-left:0;margin-right:0}.site-footer{border-bottom-color:var(--orange)}@media(max-width:760px){.section{padding:30px 18px}.hero-mark{display:none}.featured{grid-template-columns:1fr}.featured>a{min-height:0}.featured img{height:auto;aspect-ratio:16/10}.identity{gap:12px}.masthead{padding-left:12px}.brand img,.custom-logo{width:120px}.masthead strong{font-size:24px}.nav ul{gap:10px 14px}.head{padding-top:18px;padding-bottom:18px}.cards{grid-template-columns:1fr}}@media(min-width:761px) and (max-width:1000px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Editorial 0.3 — local licensed fonts, optional */
body{font-family:var(--lanke-body,Arial,sans-serif);font-size:18px;line-height:1.7}
h1,h2,h3,.masthead strong{font-family:var(--lanke-body,Arial,sans-serif);font-weight:600;letter-spacing:-.3px}
.hero h1,.article h1{font-family:var(--lanke-narrow,Arial,sans-serif);font-weight:700;letter-spacing:0}
.nav a{font-family:var(--lanke-narrow,Arial,sans-serif);font-weight:600;font-size:15px;letter-spacing:.3px}
.button,button,strong,b{font-weight:600}button,input{font-family:inherit}
.outside h2,.article.category-utanfor-serverrummet h1{font-family:var(--lanke-body,Arial,sans-serif);font-style:italic;font-weight:700}
.article{max-width:910px;padding:clamp(20px,5vw,55px);font-size:18px;line-height:1.7}
.article p,.article li{line-height:1.7}.article h2{margin-top:1.5em}.article img{max-width:100%;height:auto}.article figure{margin:28px auto;text-align:center}.article figure img{display:block;margin:auto}.article figcaption,.article .wp-caption-text{font-size:14px;color:#4a4a49;line-height:1.5;margin-top:8px}.article .meta{font-size:14px}.article .wp-post-image{border-radius:4px}
@media(max-width:760px){.article{padding:20px;margin:20px 0}.nav a{font-size:14px}}

/* Editorial 0.3.2 */
.article .article-intro{font-family:var(--lanke-body,Arial,sans-serif);font-size:22px;font-weight:600;line-height:1.5;margin:20px 0 24px}
@media(max-width:760px){.article .article-intro{font-size:20px}}

/* Editorial 0.4.0 — official HEX palette */
:root{--lanke-orange:#EB5A3E;--lanke-blue:#244A9A;--lanke-dark-grey:#4A4A49;--lanke-black:#1D1D1B;--lanke-white:#FFFFFF;--lanke-grey:#BFBAB9;--lanke-paper:#F4EBEA;--lanke-lavender:#DCC3E0;--lanke-sky:#D2EBF5;--lanke-green:#ADD298;--lanke-yellow:#F0F0B8;--lanke-sand:#CBAF96;--lanke-alert:#B42318;}
.hero{background:var(--lanke-paper)}.hero-mark{background:var(--lanke-green)}.outside{background:var(--lanke-lavender)}.subscribe{background:var(--lanke-green);color:var(--lanke-black)}.subscribe a{color:var(--lanke-blue)}.card,.featured{--category-color:var(--lanke-paper);border-bottom:5px solid var(--category-color)}.card .eyebrow,.featured .eyebrow,.article .eyebrow{display:inline-block;background:var(--category-color,var(--lanke-paper));color:var(--lanke-black);padding:4px 9px;letter-spacing:.6px}.card .eyebrow a,.featured .eyebrow a,.article .eyebrow a{color:inherit}.outside .section-heading{border-color:var(--lanke-blue)}
.category-it-tips{--category-color:var(--lanke-green);}
.category-microsoft-365{--category-color:var(--lanke-sky);}
.category-it-sakerhet{--category-color:var(--lanke-yellow);}
.category-it-nytt{--category-color:var(--lanke-paper);}
.category-utanfor-serverrummet{--category-color:var(--lanke-lavender);}
.category-fran-lanke{--category-color:var(--lanke-sand);}
.category-driftinformation{--category-color:var(--lanke-blue);}
.category-sakerhetsvarningar{--category-color:var(--lanke-orange);}
.category-driftinformation .eyebrow{color:white}.security-share{background:var(--lanke-green);padding:24px;margin-top:30px}.security-share h2{margin:0 0 12px}.security-share p{margin:0 0 12px}

/* Editorial 0.4.1 — UPPKOPPLAT */
.head .identity{flex:1 1 540px;min-width:0}.publication-brand{display:block;width:100%;max-width:760px;background:transparent}.publication-brand img{display:block;width:100%;height:auto}.head .search-form{flex:0 1 auto}.home .hero{padding:16px 0}.home .hero + .section{padding-top:12px}.home .hero-mark{font-size:clamp(60px,10vw,125px);padding:16px 30px}@media(max-width:760px){.head .identity{flex-basis:100%}.home .hero{padding:12px 0}.home .hero + .section{padding-top:9px}}

/* UPPKOPPLAT hero illustration */
.hero-illustration{flex:0 1 450px;width:38%;max-width:450px;min-width:0}.hero-illustration img{display:block;width:100%;height:auto}.hero-inner>div:first-child{min-width:0;flex:1 1 auto}@media(max-width:760px){.hero-inner{flex-direction:column;align-items:flex-start;gap:12px}.hero-illustration{flex:none;width:min(100%,340px);align-self:center}}

.columnist-profile{display:flex;align-items:flex-start;gap:20px;background:#DCC3E0;padding:20px;margin:24px 0;font-size:16px}.columnist-profile img{width:88px;height:88px;object-fit:cover;border-radius:50%;flex:none}.columnist-profile p{margin:6px 0}.columnist-note{font-size:14px;font-style:italic;border-top:1px solid #BFBAB9;padding-top:12px}

/* Editorial 0.4.8 — compact columnist byline on cards */
.card .copy{display:flex;flex-direction:column;flex:1;align-items:flex-start}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;width:100%;margin-top:auto}.card-bottom>a{white-space:nowrap}.card-columnist{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-left:auto;max-width:100%;font-size:14px;font-weight:600;line-height:1.25;text-align:right;overflow-wrap:anywhere}.card .card-columnist img.card-columnist-portrait{width:44px;height:44px;aspect-ratio:1;object-fit:cover;border-radius:50%;flex:none}

/* Editorial 0.4.9 — expandable columnist biography */
.columnist-profile > div{min-width:0;flex:1}
.columnist-bio.is-collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.columnist-bio-toggle{display:block;background:none;border:0;padding:0;margin:0 0 8px;font:inherit;color:#244A9A;text-decoration:underline;cursor:pointer;text-align:left}
.columnist-bio-toggle[hidden]{display:none}
