/*
Theme Name: Hamburg meine Perle Magazin
Author: Hamburg meine Perle Redaktion
Description: Schlankes, mobiloptimiertes Redaktionsdesign für Hamburger Stadtgeschichten, Hafen und Community. Ohne externe Schrift- oder Trackingdienste.
Version: 1.2.0
Requires at least: 6.1
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: hmp-magazin
*/
:root{--navy:#102e45;--navy2:#193f56;--ruby:#bc4850;--cream:#faf8f3;--paper:#fffefa;--ink:#172d39;--muted:#596973;--line:#e3e7e5;--radius:13px;--width:1120px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.63 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:var(--navy);text-underline-offset:3px}a:hover{color:#a73542}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d77d35;outline-offset:3px}img{max-width:100%;height:auto;display:block}.wrap{width:min(var(--width),calc(100% - 38px));margin-inline:auto}.hmp-skip{position:absolute;left:-9999px;top:10px;background:#fff;padding:10px;z-index:100}.hmp-skip:focus{left:10px}.site-header{position:relative;z-index:10;background:var(--paper);border-bottom:1px solid var(--line)}.topline{height:4px;background:linear-gradient(90deg,var(--navy) 0 72%,var(--ruby) 72%)}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-identity{text-decoration:none;display:flex;flex-direction:column;gap:0}.site-identity strong{font:700 clamp(22px,3vw,30px)/1.12 Georgia,"Times New Roman",serif;color:var(--navy);letter-spacing:-.03em}.site-identity small{color:var(--ruby);font-size:11px;text-transform:uppercase;letter-spacing:.20em;font-weight:800;margin-top:5px}.primary-menu ul{margin:0;padding:0;display:flex;list-style:none;align-items:center;flex-wrap:wrap;gap:clamp(10px,1.8vw,22px)}.primary-menu a{text-decoration:none;font-size:14px;font-weight:650;color:var(--navy)}.primary-menu a:hover{text-decoration:underline}.primary-menu li.current-menu-item a{color:var(--ruby)}.hero{background:var(--navy);color:#fff;min-height:350px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:710px;height:710px;border:1px solid #ffffff1a;right:-290px;top:-355px;border-radius:50%;box-shadow:0 0 0 50px #ffffff06,0 0 0 110px #ffffff05,0 0 0 200px #ffffff05}.hero:after{content:"";position:absolute;inset:auto -10% 0 35%;height:95px;opacity:.12;background:repeating-linear-gradient(90deg,transparent 0 22px,#fff 22px 24px,transparent 24px 92px);transform:skewX(-16deg)}.hero-inner{position:relative;z-index:1;padding:65px 0 70px;max-width:800px}.eyebrow{text-transform:uppercase;letter-spacing:.19em;font-size:12px;font-weight:800;color:#eeb5a6;display:inline-block;margin-bottom:14px}.hero h1{font:700 clamp(36px,5.5vw,66px)/1.10 Georgia,"Times New Roman",serif;letter-spacing:-.035em;margin:0 0 20px}.hero p{font-size:18px;line-height:1.55;color:#e2ebf0;max-width:610px;margin:0 0 28px}.actions{display:flex;gap:12px;flex-wrap:wrap}.button{padding:12px 21px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:5px;font-weight:750;text-decoration:none;background:var(--ruby);color:white;border:1px solid var(--ruby);font-size:14px}.button:hover{background:#aa3741;color:#fff}.button.ghost{background:transparent;border-color:#d7e4eb;color:#fff}.button.ghost:hover{background:#ffffff15}.section{padding:53px 0}.section-tight{padding:36px 0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.section h2,.editorial-heading{font:700 clamp(25px,3vw,36px)/1.2 Georgia,"Times New Roman",serif;color:var(--navy);margin:0}.section-head p{margin:7px 0 0;color:var(--muted);font-size:15px}.section-head .text-link{font-size:14px;font-weight:700;white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.story-card{border:1px solid var(--line);background:var(--paper);border-radius:var(--radius);overflow:hidden;min-width:0;box-shadow:0 4px 18px #102e4508}.story-image{display:block;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#d3ddd9,#8aa5ad)}.story-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.story-card:hover .story-image img{transform:scale(1.03)}.no-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#335268;font:700 22px Georgia,serif}.story-content{padding:19px}.kicker{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.11em;color:var(--ruby)}.story-card h3{margin:7px 0 10px;font:700 22px/1.23 Georgia,serif}.story-card h3 a{text-decoration:none}.story-card p{font-size:14px;line-height:1.55;color:var(--muted);margin:0}.meta{font-size:12px;color:#607078;margin:13px 0 0}.band{background:#e9f0f1;border-block:1px solid #d8e6e8}.band-grid{display:grid;grid-template-columns:2fr 1fr;gap:32px;align-items:center}.band h2{font:700 clamp(25px,3vw,37px)/1.2 Georgia,serif;margin:8px 0 14px}.band p{max-width:680px;margin:0;color:#445c66}.note{padding:21px 23px;border-left:4px solid var(--ruby);background:#fff;border-radius:3px;font-size:14px;color:#50616b}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature{border-top:3px solid var(--ruby);background:var(--paper);padding:25px;border-radius:0 0 10px 10px;border-inline:1px solid var(--line);border-bottom:1px solid var(--line)}.feature h3{font:700 23px/1.2 Georgia,serif;margin:9px 0}.feature p{font-size:15px;color:var(--muted)}.feature a{font-weight:750;font-size:14px}.feature .number{font-size:12px;font-weight:800;letter-spacing:.15em;color:var(--ruby)}.editorial-wrap{width:min(795px,calc(100% - 38px));margin:54px auto 80px}.editorial-heading{margin-bottom:15px}.editorial-wrap p{margin:0 0 1.25em}.editorial-wrap h2{font:700 27px/1.3 Georgia,serif;margin:1.5em 0 .5em}.editorial-wrap h3{font:700 22px/1.3 Georgia,serif;margin:1.4em 0 .5em}.editorial-wrap .entry-meta{color:var(--muted);font-size:14px;margin-bottom:25px}.editorial-wrap .wp-post-image{border-radius:8px;max-height:460px;object-fit:cover;margin:22px 0}.archive-grid{padding-bottom:65px}.archive-head{padding:48px 0 18px}.archive-head h1{margin:0 0 12px;font:700 43px/1.12 Georgia,serif}.archive-head p{color:var(--muted)}.site-footer{background:#112d42;color:#edf3f4;padding:45px 0 25px;margin-top:40px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:25px}.site-footer h2{font:700 27px Georgia,serif;margin:0 0 9px}.site-footer p{font-size:14px;color:#bdcdd3}.site-footer a{color:#e6eff1}.footer-list{list-style:none;margin:0;padding:0}.footer-list li{margin:0 0 7px;font-size:14px}.copyright{border-top:1px solid #ffffff20;margin-top:27px;padding-top:16px;color:#abc3ce;font-size:12px}.no-posts{background:#fff;padding:30px;border:1px solid var(--line);border-radius:var(--radius);color:#647780}.pagination{display:flex;gap:12px;justify-content:center;padding:25px}.searchform{display:flex;gap:10px}.searchform input{padding:10px 12px;border:1px solid #adbcc3;border-radius:4px;max-width:100%;flex:1}.searchform button{border:0;cursor:pointer}.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}
@media(max-width:850px){.header-inner{flex-direction:column;align-items:flex-start;padding:16px 0 19px}.primary-menu ul{gap:9px 18px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.band-grid{grid-template-columns:1fr}.feature-grid{grid-template-columns:1fr}}
@media(max-width:560px){body{font-size:16px}.wrap{width:min(var(--width),calc(100% - 28px))}.hero-inner{padding:49px 0 54px}.hero p{font-size:16px}.section{padding:35px 0}.section-head{display:block}.section-head .text-link{display:inline-block;margin-top:10px}.grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.archive-head h1{font-size:34px}.hero h1{font-size:39px}.band h2{font-size:28px}}

 /* HMP Hafenradar: readable on desktop and phone. */
 .hmp-radar{padding:clamp(22px,4vw,48px);border-radius:18px;background:#f4f7f7;color:#102e45;border:1px solid #dce8ea}
 .hmp-radar-head h2{font-size:clamp(1.7rem,3vw,2.6rem);margin:.5em 0 .2em}
 .hmp-radar-head p{margin:0 0 1.4em;color:#4e6171}
 .hmp-radar-eyebrow,.hmp-radar-label{font-size:.78rem;letter-spacing:.075em;text-transform:uppercase;font-weight:750;color:#3e6878}
 .hmp-radar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .hmp-radar-panel{padding:22px;background:#fff;border:1px solid #dae4e8;border-radius:14px;min-width:0}
 .hmp-radar-value{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:750;line-height:1.2;margin:14px 0 4px;color:#113749}
 .hmp-radar-ship-title{font-size:1.35rem;margin:14px 0 9px;line-height:1.35}
 .hmp-radar-panel a,.hmp-radar-links a{color:#0f667e;text-decoration:underline;text-underline-offset:3px}
 .hmp-radar-disclaimer{font-size:.84rem;color:#5d6d79;line-height:1.55}
 .hmp-radar-chart{margin-top:20px;padding:18px;background:#fff;border:1px solid #dae4e8;border-radius:14px}
 .hmp-radar-chart h3{font-size:1.25rem;margin:0 0 10px}
 .hmp-radar-chart img{display:block;max-width:100%;height:auto;margin:auto}
 .hmp-radar-links{margin:16px 0}
 @media(max-width:670px){.hmp-radar-grid{grid-template-columns:1fr}.hmp-radar{padding:18px}.hmp-radar-panel{padding:18px}}
 