/*
Theme Name: Fernweh4x4
Description: Reisejournal mit Times, zwei Themes und geschütztem Artikeleditor.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.2
Text Domain: fernweh4x4
License: GPL v2 or later
*/

:root{--background:#fff;--foreground:#272a25;--muted:#697065;--line:#e1e4dc;--soft:#f4f5f1;--accent:#687956;--serif:Georgia,'Times New Roman',serif;--sans:'Helvetica Neue',Arial,sans-serif}
[data-theme=sand]{--background:#f3ede3;--foreground:#493e32;--muted:#766653;--line:#d9cebd;--soft:#e9dfcf;--accent:#8b6243}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--background);color:var(--foreground);font-family:var(--sans);font-size:16px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:6px}::selection{background:#d4dbbd;color:#222}.wrap{width:calc(100% - 112px);max-width:1600px;margin-inline:auto}.header{height:104px;margin:0 56px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:24px;letter-spacing:3px}.brand-dot{color:var(--accent)}nav{display:flex;gap:34px;font-size:14px}nav a{display:flex;align-items:center;gap:5px}nav a:hover{color:var(--accent)}.theme{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:30px;padding:10px 15px;background:transparent;color:var(--foreground);font-size:13px;min-height:44px}.intro{padding:55px 0 39px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:500;display:flex;align-items:center;gap:9px}.eyebrow>span{height:6px;width:6px;background:var(--accent);border-radius:50%}.intro-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-top:23px}h1,h2,h3,p{margin:0}h1{font-family:var(--serif);font-weight:400;font-size:clamp(36px,3.65vw,64px);line-height:1.12;letter-spacing:-1.6px}em{font-weight:400;color:var(--accent)}.intro-row>p{font-size:14px;color:var(--muted);line-height:1.85;margin-bottom:4px}.hero{position:relative;height:clamp(440px,43vw,690px);overflow:hidden;border-radius:3px;color:white}.hero>img{height:100%;width:100%;object-fit:cover;object-position:center 55%}.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,23,24,.15),transparent 25%,rgba(9,22,23,.64))}.hero-top{position:absolute;top:28px;left:32px;right:32px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px}.hero-copy{position:absolute;left:48px;bottom:45px;max-width:610px}.hero-copy h2{font:400 clamp(38px,4vw,65px)/1.05 var(--serif);letter-spacing:-1px;margin:15px 0 27px;max-width:590px}.light-button{display:inline-flex;align-items:center;gap:26px;background:white;color:#30382e;padding:15px 20px;font-size:13px;border-radius:2px}.light-button:hover{background:#e7ecdf}.hero-caption{position:absolute;right:30px;bottom:30px;display:flex;gap:6px;align-items:center;font-size:11px}.below-hero{display:flex;justify-content:space-between;padding-top:19px;color:var(--muted);font-size:12px}.below-hero a{display:flex;gap:12px;font-size:10px;letter-spacing:1.3px}.journal{padding-top:93px;padding-bottom:88px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:31px}.section-head h2,.destinations h2{font:400 44px/1.15 var(--serif);margin-top:14px;letter-spacing:-1px}.small-count{font:12px var(--sans);vertical-align:top;display:inline-block;margin:7px 0 0 12px;color:var(--muted)}.section-head>p{font-size:13px;color:var(--muted);padding-bottom:5px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.card-image{position:relative;display:block;overflow:hidden;border-radius:2px;aspect-ratio:1.32}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.card-image:hover img{transform:scale(1.035)}.image-tag{position:absolute;top:15px;left:15px;background:var(--background);padding:7px 12px;font-size:11px}.image-arrow{position:absolute;right:16px;bottom:16px;background:#fff;color:#222;border-radius:50%;width:39px;height:39px;display:grid;place-items:center}.card-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin:22px 0 12px}.card-meta>span:first-child{text-transform:uppercase;letter-spacing:1px}.card h3{font:400 clamp(24px,2.2vw,34px)/1.18 var(--serif);letter-spacing:-.5px}.card>p{font-size:14px;color:var(--muted);line-height:1.75;margin:13px 0 18px;max-width:350px}.card-date{font-size:11px;color:var(--muted)}.destinations{border-top:1px solid var(--line);padding:53px 0 70px}.destinations h2{font-size:36px;margin-bottom:30px}.destinations a{display:flex;align-items:center;gap:30px;border-top:1px solid var(--line);padding:23px 0}.destination-index{font-size:11px;color:var(--muted)}.destinations a>span:nth-child(2){font:30px var(--serif)}.destinations small{margin-left:auto;font-size:13px;color:var(--muted)}.destinations a:hover{color:var(--accent)}.about{background:var(--soft);padding:55px;display:grid;grid-template-columns:1fr 1fr;gap:22px 70px;margin-bottom:75px}.about>.eyebrow{grid-column:1/-1}.about h2{font:46px/1.15 var(--serif);letter-spacing:-1px}.about p{font-size:15px;line-height:1.9;color:var(--muted);margin-bottom:15px}.about a{display:inline-flex;gap:20px;align-items:center;font-size:13px;margin-top:12px}footer{border-top:1px solid var(--line);margin:0 56px;padding:31px 0;display:flex;align-items:center;gap:30px}footer .brand{font-size:17px}footer p{font-size:12px;color:var(--muted)}footer>span{margin-left:auto;font-size:11px;color:var(--muted)}.skip{position:fixed;top:-100px;left:20px;background:var(--background);z-index:10;padding:15px}.skip:focus{top:10px}.article-head{max-width:900px;margin:65px auto 45px;text-align:center}.article-head .eyebrow{justify-content:center}.article-head h1{margin:25px 0;font-size:clamp(42px,5vw,75px)}.article-meta{color:var(--muted);font-size:13px}.article-photo img{width:100%;height:clamp(300px,48vw,720px);object-fit:cover}.article-photo{margin-block:0}.article-photo figcaption{font-size:11px;color:var(--muted);text-align:right;margin-top:10px}.prose{max-width:690px;margin:50px auto 75px}.prose .lead{font:25px/1.6 var(--serif);margin-bottom:35px}.prose h2{font:34px/1.2 var(--serif);margin:40px 0 18px}.prose p{font-size:18px;line-height:1.85}.prose .demo-note{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:24px;margin-top:40px}.back{display:inline-flex;gap:15px;font-size:14px;margin-top:30px}
@media(min-width:1800px){.header,footer{max-width:1600px;margin-inline:auto}}@media(max-width:950px){.intro-row{display:block}.intro-row>p{margin-top:20px}.wrap{width:calc(100% - 56px)}.header,footer{margin-inline:28px}.cards{gap:20px}.hero-copy{left:30px}.section-head>p{display:none}.about{padding:35px;gap:25px}.prose{padding:0 28px}.article-head{padding:0 28px}}@media(max-width:600px){.header{height:85px;flex-wrap:wrap;gap:8px;margin-inline:20px;padding:12px 0}.brand{font-size:19px}.brand svg{width:22px}nav{order:3;width:100%;gap:24px;font-size:12px}nav a:last-child{margin-left:auto}.theme{padding:7px 10px;min-height:36px;font-size:12px}.wrap{width:calc(100% - 40px)}.intro{padding:38px 0 27px}.eyebrow{font-size:10px;letter-spacing:1.5px}h1{font-size:36px;letter-spacing:-1.1px}.intro-row>p{font-size:13px}.hero{height:510px}.hero-top{left:20px;right:20px;top:22px;font-size:9px}.hero-copy{left:22px;right:22px;bottom:50px}.hero-copy h2{font-size:43px}.hero-caption{bottom:16px;right:20px;font-size:10px}.below-hero>span{max-width:145px;line-height:1.5}.below-hero a{font-size:9px;align-items:center}.journal{padding-top:60px;padding-bottom:55px}.section-head h2{font-size:38px}.cards{grid-template-columns:1fr;gap:38px}.card h3{font-size:30px}.card-image{aspect-ratio:1.3}.card-meta{margin-top:17px}.destinations{padding-top:35px}.destinations h2{font-size:31px}.destinations a{gap:18px}.destinations small{font-size:11px}.about{grid-template-columns:1fr;padding:25px;gap:20px}.about h2{font-size:39px}.about>.eyebrow{grid-column:auto}footer{margin-inline:20px;flex-wrap:wrap;gap:15px}footer p{font-size:11px}footer>span{margin:0;width:100%}.article-head{margin:45px auto 30px}.article-head h1{font-size:43px}.prose p{font-size:17px}.prose .lead{font-size:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
:root{--serif:'Instrument Serif',Georgia,serif;--sans:'DM Sans','Helvetica Neue',Arial,sans-serif}.eyebrow,.hero-top,.card-meta,.image-tag,.card-date,.hero-caption,.below-hero,.below-hero a,.destination-index,footer>span,.article-photo figcaption{font-size:12px}.intro-row>p,.card>p,.about p{font-size:16px}nav,.theme,.light-button,.about a{font-size:14px}h1{font-size:clamp(40px,4vw,68px)}.intro-row>p{max-width:360px}.hero-copy h2{max-width:510px}@media(max-width:600px){nav{font-size:12px}.hero-top{font-size:10px}.intro-row>p{font-size:14px}.below-hero a{font-size:10px}h1{font-size:39px}}

/* A prominent, classic wordmark with room for navigation at every width. */
.header{min-height:120px;height:auto;padding-block:20px;flex-wrap:wrap}
.header .brand{font-family:'Times New Roman',Times,Georgia,serif;font-size:clamp(2.5rem,4.4vw,4rem);font-weight:400;line-height:1.05;letter-spacing:-.045em;gap:14px;flex-shrink:0}
.header .brand>svg{width:30px;height:30px;flex-shrink:0;color:var(--accent)}
.header nav{flex-wrap:wrap}
@media(max-width:1100px){.header nav{order:3;width:100%;gap:24px}.header{row-gap:20px}.header .theme{margin-left:auto}}
@media(max-width:600px){.header{min-height:132px;padding-block:18px;gap:16px 10px}.header .brand{font-size:clamp(2.2rem,8.7vw,3rem);gap:8px}.header .brand>svg{width:23px;height:23px}.header nav{gap:12px 20px}.header nav a:last-child{margin-left:0}}

/* One consistent typeface throughout the journal. */
:root{--serif:Times,'Times New Roman',serif;--sans:Times,'Times New Roman',serif}
.header .brand{font-family:var(--serif)}
.hero:has(> img){background:#363b30}.hero{background:var(--accent)}.card-image{background:var(--soft)}.prose img{max-width:100%;height:auto}.prose figure{margin-inline:0}.prose>p:first-child{font-size:25px;line-height:1.6}.prose p+p{margin-top:20px}.prose ul,.prose ol{padding-left:25px;font-size:18px;line-height:1.8}.footer-links{display:flex;flex-wrap:wrap;gap:15px;margin-left:auto;font-size:14px}.footer-links ul{display:flex;gap:15px;list-style:none;margin:0;padding:0}.footer-links li{margin:0}.editor-bar{display:flex;align-items:center;flex-wrap:wrap;gap:20px;background:var(--soft);padding:17px 22px;margin-top:25px;font-size:16px}.editor-bar a{border-bottom:1px solid var(--accent)}.editor-page{max-width:1000px;padding-block:50px 80px}.editor-page h1{font-size:48px;margin-top:10px}.editor-page label{display:block;font-size:18px;margin:22px 0 8px}.editor-page input:not([type=checkbox]):not([type=hidden]),.editor-page textarea,.editor-page select{font:18px/1.5 Times,'Times New Roman',serif;width:100%;padding:12px 14px;color:var(--foreground);background:var(--background);border:1px solid var(--muted);border-radius:3px}.editor-page input:focus,.editor-page textarea:focus,.editor-page select:focus{outline:2px solid var(--accent);outline-offset:2px}.editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.editor-image{padding:28px 0}.editor-image h2{font-size:28px}.editor-page button{padding:10px 16px;border:1px solid var(--accent);border-radius:3px;background:var(--soft);color:var(--foreground);margin:10px 10px 0 0;min-height:44px}.editor-image img{max-width:300px;max-height:180px;object-fit:cover;margin-top:16px}.editor-actions{margin-top:30px;display:flex;flex-wrap:wrap;gap:15px;align-items:end}.editor-actions .save-button{background:var(--foreground);color:var(--background);padding:13px 24px}.editor-actions p{width:100%;color:var(--muted)}.editor-page .check{display:flex;align-items:center;gap:10px;line-height:1.5}.editor-page .check input{width:20px;height:20px}.editor-page form>p{font-size:16px;line-height:1.7}.notice{padding:18px 22px;background:var(--soft);border-left:4px solid var(--accent);margin-top:25px}.notice.error{border-color:#9b3029}.navigation.pagination{margin-top:40px}.page-numbers{padding:10px}body .mce-container,body .mce-container *,body .wp-editor-tabs *{font-family:Times,'Times New Roman',serif}body .mce-ico{font-family:tinymce}.editor-page .wp-editor-wrap button{margin:0;padding:0;min-height:0}.editor-page .wp-editor-wrap input{width:auto}.editor-page .wp-editor-wrap textarea{border:0}.editor-page .section-head a{font-size:16px}
@media(max-width:600px){.editor-fields{grid-template-columns:1fr}.editor-page .section-head{display:block}.editor-page .section-head a{display:inline-block;margin-top:20px}.editor-actions{display:block}.editor-actions p{margin-top:15px}.editor-page h1{font-size:40px}.editor-bar{gap:12px}.footer-links{margin:0;width:100%}}

/* More comfortable reading sizes for navigation, introduction and article details. */
.header nav{font-size:1.375rem;line-height:1.5;gap:28px}
.intro-row>p{font-size:1.375rem;line-height:1.65;max-width:440px}
.article-meta{font-size:1.25rem;line-height:1.7}
@media(max-width:1100px){.header nav{gap:16px 28px}}
@media(max-width:600px){.header nav{font-size:1.125rem;gap:10px 20px}.intro-row>p{font-size:1.1875rem;line-height:1.65}.article-meta{font-size:1.125rem;line-height:1.8}}

/* Compact navigation, article orientation and complete journal footer. */
.header-actions{display:flex;align-items:center;gap:10px}.menu-toggle{display:none;width:42px;height:42px;place-items:center;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--foreground);font-size:22px}.menu-toggle span{line-height:1}
.breadcrumbs{display:flex;align-items:center;gap:10px;padding-top:28px;color:var(--muted);font-size:.9rem}.breadcrumbs a:hover{color:var(--accent)}
.article-meta{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 0}.article-meta span{display:flex;align-items:center}.article-meta span+span::before{content:'·';padding-inline:12px;color:var(--accent)}
.article-pager{border-block:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;margin-bottom:80px}.article-pager>a{padding:30px 0;display:flex;flex-direction:column;gap:8px}.article-pager>a:last-child{text-align:right;border-left:1px solid var(--line);padding-left:35px}.article-pager>a:first-child{padding-right:35px}.article-pager a span{color:var(--muted);font-size:.9rem}.article-pager strong{font:400 1.55rem/1.2 var(--serif)}
.related{padding-bottom:95px}.related>h2{font:400 2.8rem/1.15 var(--serif);margin:12px 0 30px}.related>div{display:grid;grid-template-columns:1fr 1fr;gap:30px}.related a{position:relative;display:grid;grid-template-columns:1fr auto;gap:7px 20px;border-top:1px solid var(--line);padding:20px 0}.related span{font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.related strong{font:400 1.45rem/1.15 var(--serif)}.related b{grid-row:1/3;grid-column:2;align-self:center;font-weight:400}
.site-footer{display:block;margin:0 56px;padding:0}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr;gap:55px;border-top:1px solid var(--line);padding:55px 0 48px}.footer-intro .brand{font-size:2.2rem;margin-bottom:18px}.footer-intro p{font-size:1rem;line-height:1.6}.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.footer-column strong{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}.footer-column a{color:var(--muted);font-size:1rem}.footer-column a:hover{color:var(--accent)}.footer-bottom{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:22px 0 30px;color:var(--muted);font-size:.8rem}
.legal{padding:70px 0 100px}.legal>header{max-width:850px;margin-bottom:65px}.legal>header h1{font-size:clamp(3.4rem,7vw,7rem);margin:15px 0 20px}.legal>header>p:last-child{max-width:670px;color:var(--muted);font-size:1.35rem;line-height:1.6}.legal-content{max-width:780px}.legal-content h2{font:400 2rem/1.2 var(--serif);border-top:1px solid var(--line);padding-top:30px;margin:30px 0 14px}.legal-content>h2:first-child{margin-top:0}.legal-content p{font-size:1.08rem;line-height:1.75;color:var(--muted)}.legal-content a{text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}.legal-content mark{background:#f2dfaa;color:var(--foreground);padding:1px 4px}.legal-note{margin-top:28px;padding:24px 26px;border-left:3px solid var(--accent);background:var(--soft)}.legal-note strong{font-size:1.1rem}.legal-note p{margin-top:8px}

/* The sand theme has a tactile editorial character. */
[data-theme=sand] body{background-color:var(--background);background-image:radial-gradient(circle at 15% 25%,rgba(91,62,37,.055) 0 1px,transparent 1.4px),linear-gradient(115deg,rgba(255,255,255,.13),transparent 42%);background-size:18px 18px,100% 100%}
[data-theme=sand] .header,[data-theme=sand] .site-footer,[data-theme=sand] .article-pager{border-color:#cbbba6}[data-theme=sand] .hero,[data-theme=sand] .card-image,[data-theme=sand] .article-photo img{filter:sepia(.12) saturate(.88) contrast(.97)}[data-theme=sand] .about,[data-theme=sand] .legal-note{background:#e6d8c4;border:1px solid #d2c0a8;box-shadow:12px 14px 0 rgba(102,72,45,.06)}[data-theme=sand] .eyebrow{color:#79563b}[data-theme=sand] ::selection{background:#b88963;color:#fff}
@media(max-width:950px){.site-footer{margin-inline:28px}}
@media(max-width:600px){.header{min-height:76px;padding-block:13px;display:grid;grid-template-columns:1fr auto;row-gap:0;position:relative}.header .brand{font-size:2rem}.header-actions{gap:7px}.header .theme{width:42px;height:42px;padding:0;justify-content:center;margin-left:0}.header .theme span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.menu-toggle{display:grid}.header nav{display:none;grid-column:1/-1;order:initial;width:100%;padding:14px 0 4px;gap:0;font-size:1.05rem}.header nav.is-open{display:flex}.header nav a{padding:8px 18px 8px 0}.header nav a:last-child{margin-left:0}.hero{height:470px}.hero>img,.card-image img,.article-photo img{object-position:var(--fw-mobile-position,center)}.article-photo img{height:420px}.breadcrumbs{padding-top:20px;font-size:.8rem;overflow:hidden}.article-meta{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;text-align:left;width:max-content;max-width:100%;margin-inline:auto;font-size:1rem}.article-meta span+span::before{display:none}.article-meta span:last-child:nth-child(3){grid-column:1/-1;color:var(--accent)}.article-pager{grid-template-columns:1fr;margin-bottom:58px}.article-pager>a{padding:22px 0!important}.article-pager>a:last-child{border-left:0;border-top:1px solid var(--line);text-align:left}.related{padding-bottom:65px}.related>h2{font-size:2.25rem}.related>div{grid-template-columns:1fr;gap:15px}.site-footer{margin-inline:20px}.footer-main{grid-template-columns:1fr 1fr;gap:35px 20px;padding:40px 0}.footer-intro{grid-column:1/-1}.footer-intro .brand{font-size:2rem}.footer-bottom{display:block;line-height:1.8}.footer-bottom span{display:block}.legal{padding:50px 0 75px}.legal>header{margin-bottom:40px}.legal>header h1{font-size:3.5rem}.legal>header>p:last-child{font-size:1.15rem}.legal-content h2{font-size:1.7rem}.legal-content p{font-size:1rem}}
