/* Pfarrei-Dokumente 0.3.1 – zurückhaltende Gestaltung im Stil der Gemeindeseiten.
   Alle Regeln sind auf die Plugin-Ausgabe begrenzt. */
.pd-root{--pd-accent:#e87516;--pd-ink:inherit;--pd-muted:#667078;--pd-line:#e5e8e8;display:grid;gap:clamp(32px,5vw,60px);font-family:inherit;color:inherit}
.pd-root,.pd-root *{box-sizing:border-box}
.pd-section{min-width:0}
.pd-section-heading{margin:0 0 22px;padding:0 0 16px;border-bottom:1px solid var(--pd-line)}
.pd-section-heading h2{font-family:inherit;font-size:clamp(1.45rem,2.4vw,2rem);font-weight:650;line-height:1.2;letter-spacing:-.025em;margin:0 0 7px;color:inherit}
.pd-section-heading p{margin:0;color:var(--pd-muted);font-size:.96rem;line-height:1.6}
.pd-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,24px)}
.pd-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--pd-line);border-radius:5px;overflow:hidden;box-shadow:none;transition:border-color .18s ease;color:#30383d}
.pd-card:hover{border-color:#bdc9cb}
.pd-visual{height:clamp(180px,25vw,300px);background:#f6f7f7;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:18px;border-bottom:1px solid var(--pd-line)}
.pd-cover-img{height:100%;max-width:100%;width:auto;object-fit:contain;box-shadow:0 2px 8px rgba(0,0,0,.09)}
.pd-cover-fallback{height:100%;width:min(100%,200px);background:#fff;border:1px solid #e3e6e6;border-top:4px solid var(--pd-accent);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;text-align:center;font-size:.85rem;color:#39464a}
.pd-cover-fallback strong{font-size:1.12rem;font-weight:650}.pd-cover-symbol{font-size:1.7rem;color:var(--pd-accent)}
.pd-week-cover{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:transparent;text-align:center;color:#30383d}
.pd-week-eyebrow{font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;font-weight:600;color:var(--pd-muted)}
.pd-week-number{font-size:clamp(2.7rem,5vw,4.4rem);font-weight:600;line-height:1.12;letter-spacing:-.045em;color:var(--pd-accent)}
.pd-week-year{font-size:1rem;color:var(--pd-muted)}
.pd-card-body{padding:clamp(17px,2.4vw,26px);flex:1;display:flex;flex-direction:column;align-items:flex-start}
.pd-tag{display:inline-block;padding:0 0 3px;border-bottom:2px solid var(--pd-accent);background:transparent;border-radius:0;color:var(--pd-accent);font-size:.75rem;line-height:1.5;font-weight:700;letter-spacing:.045em;text-transform:uppercase}
.pd-tag-next{color:#68747a;border-bottom-color:#b8c2c5}
.pd-card h3{font-family:inherit;font-size:clamp(1.06rem,1.6vw,1.25rem);font-weight:650;line-height:1.4;margin:13px 0 20px;color:inherit}
.pd-actions{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin-top:auto}
.pd-open{border:1px solid var(--pd-accent);border-radius:3px;background:var(--pd-accent);color:#fff;cursor:pointer;padding:10px 15px;font:inherit;font-size:.9rem;font-weight:600;line-height:1.4;transition:filter .15s}
.pd-open:hover,.pd-open:focus-visible{filter:brightness(.9);color:#fff}
.pd-actions a,.pd-archive a{font-size:.88rem;color:var(--pd-accent);text-decoration:underline;text-underline-offset:3px}
.pd-archive{margin-top:22px;border-top:1px solid var(--pd-line);padding-top:15px}
.pd-archive summary{cursor:pointer;font-weight:650;padding:7px 0;color:inherit}
.pd-archive summary span{font-weight:400;color:var(--pd-muted)}
.pd-archive ul{list-style:none;margin:10px 0 0;padding:0}
.pd-archive li{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;padding:11px 0;border-bottom:1px solid var(--pd-line)}
.pd-archive .pd-open{border:0;background:transparent;color:var(--pd-accent);padding:3px 0;text-align:left;font-weight:600}
.pd-archive .pd-open:hover,.pd-archive .pd-open:focus-visible{color:var(--pd-accent);text-decoration:underline;filter:none}
/* Kompakt: zwei eigenständige Bereiche nebeneinander, auf Mobilgeräten untereinander. */
.pd-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,34px)}
.pd-compact .pd-section-heading{margin-bottom:14px;padding-bottom:11px}
.pd-compact .pd-section-heading h2{font-size:clamp(1.17rem,2vw,1.5rem)}
.pd-compact .pd-section-heading p{font-size:.85rem}
.pd-compact .pd-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pd-compact .pd-visual{height:145px;padding:9px}
.pd-compact .pd-card-body{padding:13px}
.pd-compact .pd-card h3{font-size:.94rem;margin:9px 0 14px}
.pd-compact .pd-week-number{font-size:clamp(1.6rem,2.6vw,2.25rem)}
.pd-compact .pd-week-eyebrow{font-size:.57rem}
.pd-compact .pd-week-year{font-size:.82rem}
.pd-compact .pd-actions{gap:8px}
.pd-compact .pd-open{padding:7px 9px;font-size:.78rem}
.pd-compact .pd-actions a{font-size:.77rem}
.pd-compact .pd-tag{font-size:.65rem}
/* Lesefenster bleibt unabhängig vom Theme funktionsfähig. */
.pd-modal[hidden]{display:none!important}
.pd-modal{position:fixed;inset:0;z-index:999999;background:rgba(15,26,30,.82);display:flex;align-items:center;justify-content:center;padding:2vh 2vw}
.pd-dialog{width:min(1100px,100%);height:96vh;height:96dvh;background:#fff;display:flex;flex-direction:column;border-radius:5px;overflow:hidden;box-shadow:0 20px 60px #0005}
.pd-toolbar{display:flex;align-items:center;gap:14px;padding:12px 16px;background:#f6f7f7;color:#30383d;border-bottom:1px solid var(--pd-line)}
.pd-toolbar strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pd-toolbar a{color:var(--pd-accent);font-size:.9rem}
.pd-close{border:0;background:transparent;font-size:29px;line-height:1;cursor:pointer;color:#30383d}
.pd-frame{border:0;flex:1;width:100%;background:#f2f3f4}
body.pd-no-scroll{overflow:hidden}
@media(max-width:950px){.pd-compact{grid-template-columns:1fr}.pd-compact .pd-visual{height:155px}}
@media(max-width:600px){.pd-cards,.pd-compact .pd-cards{grid-template-columns:1fr}.pd-compact .pd-visual{height:170px}.pd-modal{padding:0}.pd-dialog{height:100vh;height:100dvh;border-radius:0}.pd-toolbar{flex-wrap:wrap}.pd-card-body{padding:17px}}
@media(prefers-reduced-motion:reduce){.pd-card,.pd-open{transition:none}}
/* v0.3.2: Vermeldungen bewusst kompakt als horizontale Zeilenkarten.
   Gilt für Vollansicht und Startseite; Pfarrei-Informationen bleiben unverändert. */
.pd-section-verm .pd-cards{grid-template-columns:1fr;gap:12px}
.pd-section-verm .pd-card{display:grid;grid-template-columns:minmax(100px,145px) minmax(0,1fr);align-items:stretch;min-height:112px}
.pd-section-verm .pd-visual{height:auto;min-height:112px;padding:12px;border-bottom:0;border-right:1px solid var(--pd-line)}
.pd-section-verm .pd-week-cover{gap:2px}
.pd-section-verm .pd-week-eyebrow{font-size:.58rem;letter-spacing:.07em}
.pd-section-verm .pd-week-number{font-size:clamp(1.55rem,2.6vw,2.1rem);line-height:1.1}
.pd-section-verm .pd-week-year{font-size:.8rem}
.pd-section-verm .pd-card-body{padding:14px 18px;justify-content:center}
.pd-section-verm .pd-card h3{font-size:1rem;margin:5px 0 10px;line-height:1.3}
.pd-section-verm .pd-tag{font-size:.67rem}
.pd-section-verm .pd-actions{margin-top:0;gap:8px 16px}
.pd-section-verm .pd-open{padding:7px 11px;font-size:.83rem}
.pd-compact .pd-section-verm .pd-cards{grid-template-columns:1fr;gap:9px}
.pd-compact .pd-section-verm .pd-card{grid-template-columns:88px minmax(0,1fr);min-height:94px}
.pd-compact .pd-section-verm .pd-visual{height:auto;min-height:94px;padding:8px}
.pd-compact .pd-section-verm .pd-card-body{padding:10px 12px}
.pd-compact .pd-section-verm .pd-card h3{font-size:.85rem;margin:3px 0 7px}
.pd-compact .pd-section-verm .pd-week-number{font-size:1.45rem}
.pd-compact .pd-section-verm .pd-week-eyebrow{font-size:.48rem}
.pd-compact .pd-section-verm .pd-week-year{font-size:.7rem}
.pd-compact .pd-section-verm .pd-open{padding:5px 8px;font-size:.74rem}
@media(max-width:600px){
 .pd-section-verm .pd-card{grid-template-columns:92px minmax(0,1fr)}
 .pd-section-verm .pd-visual{min-height:100px;padding:8px}
 .pd-section-verm .pd-card-body{padding:11px 12px}
 .pd-section-verm .pd-week-number{font-size:1.5rem}
 .pd-section-verm .pd-actions{gap:7px 11px}
 .pd-section-verm .pd-actions a{font-size:.77rem}
}

/* 0.3.3 – Buttons angelehnt an die St.-Norbert-Gemeindeseite:
   ruhige, abgerundete Aktionsflächen, Theme-Farbe und dezente Pfeile. */
.pd-root .pd-actions .pd-open{
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  min-height:40px;padding:9px 17px;border:1px solid var(--pd-accent);
  border-radius:999px;background:var(--pd-accent);color:#fff;
  font-family:inherit;font-size:.9rem;font-weight:600;line-height:1.35;
  text-decoration:none;box-shadow:none;transition:background-color .18s,border-color .18s,transform .18s;
}
.pd-root .pd-actions .pd-open:hover{background:color-mix(in srgb,var(--pd-accent) 84%,#000);border-color:color-mix(in srgb,var(--pd-accent) 84%,#000);color:#fff;transform:translateY(-1px)}
.pd-root .pd-actions .pd-open:focus-visible,.pd-root .pd-actions a:focus-visible{outline:2px solid var(--pd-accent);outline-offset:3px}
.pd-root .pd-actions a{
  display:inline-flex;align-items:center;justify-content:center;min-height:40px;
  padding:9px 17px;border:1px solid var(--pd-accent);border-radius:999px;
  background:transparent;color:var(--pd-accent);font:inherit;font-size:.9rem;
  font-weight:600;line-height:1.35;text-decoration:none;transition:background-color .18s;
}
.pd-root .pd-actions a:hover{background:color-mix(in srgb,var(--pd-accent) 8%,transparent);text-decoration:none;color:var(--pd-accent)}
.pd-root.pd-compact .pd-actions .pd-open,.pd-root.pd-compact .pd-actions a,
.pd-root .pd-section-verm .pd-actions .pd-open,.pd-root .pd-section-verm .pd-actions a{min-height:34px;padding:6px 12px;font-size:.8rem}
.pd-root.pd-compact .pd-section-verm .pd-actions .pd-open,.pd-root.pd-compact .pd-section-verm .pd-actions a{min-height:32px;padding:5px 10px;font-size:.76rem}
@media(prefers-reduced-motion:reduce){.pd-root .pd-actions .pd-open,.pd-root .pd-actions a{transition:none}.pd-root .pd-actions .pd-open:hover{transform:none}}

/* v0.3.4: Orange Akzentfarbe, klickbares PDF-Titelbild und responsive Details */
.pd-root{--pd-accent:#e87516}
.pd-root .pd-cover-trigger{appearance:none;-webkit-appearance:none;width:100%;border:0;border-bottom:1px solid var(--pd-line);border-radius:0;cursor:pointer;color:inherit;font:inherit;line-height:inherit;position:relative}
.pd-root .pd-cover-trigger:hover{background:#fff8f1}
.pd-root .pd-cover-trigger:focus-visible{outline:3px solid var(--pd-accent);outline-offset:-4px}
.pd-root .pd-cover-trigger .pd-cover-img{transition:transform .18s ease}
.pd-root .pd-cover-trigger:hover .pd-cover-img{transform:scale(1.025)}
.pd-root .pd-actions .pd-open:hover{background:#c45c0b;border-color:#c45c0b}
.pd-root .pd-actions a:hover{background:#fff3e8}
@media(max-width:760px){
 .pd-root .pd-cards,.pd-root.pd-compact .pd-cards{grid-template-columns:1fr}
 .pd-root.pd-compact{grid-template-columns:1fr}
 .pd-root .pd-card{width:100%;max-width:100%}
 .pd-root .pd-section-info .pd-visual{height:clamp(180px,56vw,270px)}
 .pd-root .pd-section-verm .pd-card{grid-template-columns:minmax(76px,92px) minmax(0,1fr)}
 .pd-root .pd-actions{gap:8px;min-width:0}
 .pd-root .pd-actions .pd-open,.pd-root .pd-actions a{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
 .pd-root .pd-toolbar{gap:8px;padding:10px 12px}
 .pd-root .pd-toolbar a{font-size:.8rem}
}
@media(max-width:380px){
 .pd-root .pd-section-verm .pd-card{grid-template-columns:72px minmax(0,1fr)}
 .pd-root .pd-section-verm .pd-card-body{padding:9px}
 .pd-root .pd-section-verm .pd-week-number{font-size:1.3rem}
 .pd-root .pd-section-verm .pd-actions .pd-open,.pd-root .pd-section-verm .pd-actions a{font-size:.72rem;min-height:34px;padding:6px 9px}
}

/* v0.3.6: ruhiger grauer Hintergrund nur für Pfarrei-Informationen */
.pd-root .pd-section-info .pd-card{background:#f2f3f4}
.pd-root .pd-section-info .pd-visual{background:#e9ebed}
.pd-root .pd-section-info .pd-cover-trigger:hover{background:#e3e6e8}
.pd-root .pd-section-info .pd-cover-fallback{background:#fff}

/* v0.3.7: Schlichte, mobil lesbare Button-Beschriftung ohne Pfeilsymbol. */
.pd-root .pd-actions .pd-open{white-space:normal;line-height:1.35;text-align:center}

/* v0.3.9: Vier Bereiche; die Dokumente behalten die Originalkarten von v0.3.7. */
.pd-root.pd-compact{display:block}
.pd-root .pd-home-mixed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.pd-root .pd-home-cell{min-width:0}
.pd-root .pd-home-cell .pd-section{min-width:0;margin:0}
.pd-root .pd-home-link{display:flex;flex-direction:column;justify-content:space-between;gap:22px;min-height:190px;padding:22px;background:#f2f3f4;border:1px solid #e0e3e5;border-radius:5px;color:#30383d;text-decoration:none;font:inherit;line-height:1.4}
.pd-root .pd-home-link:hover,.pd-root .pd-home-link:focus-visible{background:#e9ebed;border-color:#e87516;color:#30383d;text-decoration:none}
.pd-root .pd-home-link-body{display:flex;flex-direction:column;gap:8px}
.pd-root .pd-home-link-body strong{font-size:1.18rem;line-height:1.3;color:inherit}
.pd-root .pd-home-link-body>span{font-size:.9rem;color:#626d73}
.pd-root .pd-home-link-action{align-self:flex-start;background:#e87516;color:#fff;border-radius:999px;padding:9px 17px;font-size:.88rem;font-weight:600}
.pd-root .pd-home-link:hover .pd-home-link-action{background:#c45c0b}
.pd-root .pd-home-doc .pd-cards{grid-template-columns:1fr}
@media(max-width:760px){.pd-root .pd-home-mixed{grid-template-columns:1fr;gap:22px}.pd-root .pd-home-link{min-height:0;padding:18px;gap:16px}}

/* v0.4.0: Vier Kacheln in einer Reihe auf großen Bildschirmen.
   Die Dokumentenkarten behalten ihre bisherige Gestaltung. */
.pd-root .pd-home-mixed{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(10px,1.35vw,20px);
  align-items:stretch;
}
.pd-root .pd-home-cell{min-width:0;width:100%}
.pd-root .pd-home-external .pd-home-link{height:100%;min-height:245px;padding:clamp(12px,1.5vw,22px)}
.pd-root .pd-home-link-body strong{font-size:clamp(.95rem,1.3vw,1.18rem);overflow-wrap:anywhere;hyphens:auto}
.pd-root .pd-home-doc .pd-section-heading h2{font-size:clamp(.98rem,1.35vw,1.3rem);overflow-wrap:anywhere;hyphens:auto}
.pd-root .pd-home-doc .pd-section-heading p{font-size:.78rem}
.pd-root .pd-home-doc .pd-card-body{min-width:0;padding:11px}
.pd-root .pd-home-doc .pd-card h3{overflow-wrap:anywhere;font-size:.85rem}
.pd-root .pd-home-doc .pd-actions{gap:7px}
.pd-root .pd-home-doc .pd-actions .pd-open,
.pd-root .pd-home-doc .pd-actions a{font-size:.76rem;max-width:100%;overflow-wrap:anywhere}
.pd-root .pd-home-doc .pd-section-info .pd-visual{height:165px}
.pd-root .pd-home-doc .pd-section-verm .pd-card{grid-template-columns:68px minmax(0,1fr)}
.pd-root .pd-home-doc .pd-section-verm .pd-visual{padding:5px}
.pd-root .pd-home-doc .pd-section-verm .pd-week-number{font-size:1.22rem}
.pd-root .pd-home-doc .pd-section-verm .pd-week-eyebrow{font-size:.45rem}
.pd-root .pd-home-doc .pd-section-verm .pd-card-body{padding:9px}
@media (max-width:950px){
 .pd-root .pd-home-mixed{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pd-root .pd-home-doc .pd-section-verm .pd-card{grid-template-columns:88px minmax(0,1fr)}
}
@media (max-width:600px){
 .pd-root .pd-home-mixed{grid-template-columns:1fr}
 .pd-root .pd-home-external .pd-home-link{min-height:0}
}

/* v0.4.1: Zwei externe Ziele in einer Kachel, blaue Überschrift. */
.pd-root .pd-home-mixed{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.pd-root .pd-home-combined{background:#f2f3f4;border:1px solid #e0e3e5;border-radius:5px;padding:clamp(12px,1.5vw,22px);display:flex;flex-direction:column;gap:12px}
.pd-root .pd-home-combined-heading{color:#24628c;font-size:clamp(1.05rem,1.5vw,1.35rem);line-height:1.3;margin:0 0 3px;font-weight:700}
.pd-root .pd-home-combined .pd-home-link{height:auto;min-height:0;padding:14px;background:#fff;gap:12px;border-radius:4px}
.pd-root .pd-home-combined .pd-home-link:hover,.pd-root .pd-home-combined .pd-home-link:focus-visible{background:#f8fafc;border-color:#e87516}
.pd-root .pd-home-combined .pd-home-link-body strong{color:#24628c}
.pd-root .pd-home-combined .pd-home-link-action{padding:7px 13px}
@media(max-width:950px){.pd-root .pd-home-mixed{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pd-root .pd-home-mixed{grid-template-columns:1fr}.pd-root .pd-home-combined{padding:15px}}

/* v0.4.2: Identische Überschriften-Hierarchie für alle drei Bereiche. */
.pd-root .pd-home-combined{background:transparent;border:0;padding:0;gap:12px;border-radius:0}
.pd-root .pd-home-combined .pd-section-heading{margin:0}
.pd-root .pd-home-combined .pd-section-heading h2{color:inherit;font-size:clamp(.98rem,1.35vw,1.3rem);line-height:1.3;margin:0;overflow-wrap:anywhere;hyphens:auto}
.pd-root .pd-home-combined .pd-section-heading p{font-size:.78rem}
.pd-root .pd-home-combined .pd-home-link{background:#f2f3f4;border:1px solid #e0e3e5}
.pd-root .pd-home-combined .pd-home-link-body strong{color:inherit}
/* PDF-Dialog: die gesamte nutzbare Breite auch auf kleinen Displays. */
@media(max-width:760px){
 html body .pd-modal{padding:0!important;margin:0!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;align-items:stretch!important;justify-content:stretch!important}
 html body .pd-modal .pd-dialog{width:100%!important;max-width:none!important;min-width:0!important;height:100dvh!important;max-height:none!important;margin:0!important;border-radius:0!important}
 html body .pd-modal .pd-frame{display:block;width:100%!important;min-width:0!important;max-width:none!important;flex:1 1 auto!important;height:100%!important}
 html body .pd-modal .pd-toolbar{flex:0 0 auto;min-width:0;flex-wrap:nowrap;gap:8px;padding:9px 12px}
 html body .pd-modal .pd-toolbar strong{font-size:.85rem}
 html body .pd-modal .pd-toolbar a{white-space:nowrap;font-size:.76rem}
}


/* v0.4.3: exakt ausgerichtete drei Spalten und keine horizontale
   Überbreite durch Karten, lange Beschriftungen oder Flex-Kinder. */
.pd-root.pd-compact,
.pd-root .pd-home-mixed,
.pd-root .pd-home-cell,
.pd-root .pd-section,
.pd-root .pd-cards,
.pd-root .pd-card,
.pd-root .pd-card-body,
.pd-root .pd-actions {min-width:0;max-width:100%;}
.pd-root .pd-home-mixed {grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;}
/* Gleiche Höhe der Kopfzeilen = gleiche Trennstriche und Kartenoberkanten. */
@media(min-width:951px){
 .pd-root .pd-home-mixed>.pd-home-cell>.pd-section>.pd-section-heading,
 .pd-root .pd-home-mixed>.pd-home-combined>.pd-section-heading {
   min-height:104px;
   display:flex;
   align-items:flex-start;
   margin:0 0 14px;
   padding:0 0 11px;
 }
}
.pd-root .pd-home-cell .pd-section-heading h2,
.pd-root .pd-home-combined .pd-section-heading h2 {overflow-wrap:anywhere;}
.pd-root .pd-home-link-body,
.pd-root .pd-home-link-body strong,
.pd-root .pd-home-link-body span,
.pd-root .pd-card-body h3 {min-width:0;max-width:100%;overflow-wrap:anywhere;}
.pd-root .pd-actions {display:flex;flex-wrap:wrap;align-items:stretch;}
.pd-root .pd-actions .pd-open,
.pd-root .pd-actions a {min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;}
@media(max-width:950px){
 .pd-root .pd-home-mixed{grid-template-columns:repeat(2,minmax(0,1fr));}
 .pd-root .pd-home-mixed>.pd-home-cell>.pd-section>.pd-section-heading,
 .pd-root .pd-home-mixed>.pd-home-combined>.pd-section-heading{min-height:0;}
}
@media(max-width:760px){
 .pd-root,.pd-root.pd-compact,.pd-root .pd-home-mixed{width:100%;max-width:100%;min-width:0;}
 .pd-root .pd-home-mixed{grid-template-columns:minmax(0,1fr);gap:24px;}
 .pd-root .pd-home-cell,.pd-root .pd-home-combined,.pd-root .pd-home-link,
 .pd-root .pd-section,.pd-root .pd-card,.pd-root .pd-card-body {width:100%;min-width:0;max-width:100%;}
 .pd-root .pd-home-doc .pd-cards,.pd-root .pd-cards{grid-template-columns:minmax(0,1fr);}
 .pd-root .pd-section-verm .pd-card,
 .pd-root .pd-home-doc .pd-section-verm .pd-card {grid-template-columns:minmax(64px,82px) minmax(0,1fr);}
 .pd-root .pd-home-doc .pd-section-verm .pd-card-body{min-width:0;padding:10px;}
 .pd-root .pd-actions{width:100%;gap:7px;}
 .pd-root .pd-actions .pd-open,.pd-root .pd-actions a{flex:0 1 auto;max-width:100%;font-size:.78rem;padding:7px 11px;}
 .pd-root .pd-home-link-body strong{font-size:1.05rem;}
 .pd-root .pd-home-combined .pd-section-heading,
 .pd-root .pd-home-doc .pd-section-heading{min-height:0;margin-bottom:14px;}
 /* Modal bleibt im sichtbaren Viewport, ohne zusätzliche horizontale Breite. */
 html body .pd-modal{width:100%!important;max-width:100%!important;left:0!important;right:0!important;box-sizing:border-box!important;overflow:hidden!important;}
 html body .pd-modal .pd-dialog{min-width:0!important;max-width:100%!important;overflow:hidden!important;}
 html body .pd-modal .pd-toolbar{min-width:0;max-width:100%;overflow:hidden;}
 html body .pd-modal .pd-toolbar strong{flex:1 1 0;min-width:0;}
 html body .pd-modal .pd-toolbar a{flex:0 1 auto;min-width:0;overflow-wrap:anywhere;white-space:normal!important;line-height:1.2;}
 html body .pd-modal .pd-close{flex:0 0 auto;}
}
@media(max-width:390px){
 .pd-root .pd-home-doc .pd-section-verm .pd-card{grid-template-columns:68px minmax(0,1fr);}
 .pd-root .pd-home-doc .pd-section-verm .pd-card-body{padding:8px;}
 .pd-root .pd-home-doc .pd-section-verm .pd-actions .pd-open,
 .pd-root .pd-home-doc .pd-section-verm .pd-actions a{font-size:.72rem;padding:6px 9px;}
}

/* v0.4.4: Überschriften direkt über den Karten; alle drei Spalten
   reichen von derselben Kartenoberkante bis zur selben Unterkante. */
@media (min-width:951px){
 .pd-root .pd-home-mixed{align-items:stretch;}
 .pd-root .pd-home-mixed>.pd-home-cell{display:flex;flex-direction:column;min-width:0;}
 .pd-root .pd-home-mixed>.pd-home-cell>.pd-section{display:flex;flex-direction:column;flex:1;min-height:0;}
 .pd-root .pd-home-mixed>.pd-home-cell>.pd-section>.pd-section-heading,
 .pd-root .pd-home-mixed>.pd-home-combined>.pd-section-heading{
   min-height:0;height:auto;display:block;flex:0 0 auto;
   margin:0 0 12px;padding:0 0 10px;
 }
 .pd-root .pd-home-mixed .pd-section-heading h2{margin:0 0 5px;}
 .pd-root .pd-home-mixed .pd-section-heading p{margin:0;}
 .pd-root .pd-home-mixed .pd-home-doc .pd-cards{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));}
 .pd-root .pd-home-mixed .pd-home-doc .pd-section-info .pd-cards{grid-template-rows:minmax(0,1fr);}
 .pd-root .pd-home-mixed .pd-home-doc .pd-card{height:100%;}
 .pd-root .pd-home-mixed .pd-home-combined{gap:12px;}
 .pd-root .pd-home-mixed .pd-home-combined .pd-home-link{flex:1;min-height:0;}
}

/* v0.4.5: Der zusätzliche Flex-Gap der linken Spalte hatte sich
   zum unteren Abstand der Überschrift addiert (12px + 12px).
   Ein einheitlicher Abstand richtet alle Kartenoberkanten aus. */
@media (min-width:951px){
 .pd-root .pd-home-mixed>.pd-home-combined{gap:0;}
 .pd-root .pd-home-mixed>.pd-home-combined>.pd-section-heading{margin-bottom:12px;}
 .pd-root .pd-home-mixed>.pd-home-combined>.pd-home-link:first-of-type{margin-bottom:12px;}
}

/* v0.4.6: Die winzige, in der schmalen KW-Spalte abgeschnittene
   Wiederholung "Vermeldungen" ausblenden. Die Abschnittsüberschrift
   bleibt sichtbar; KW und Jahr werden unverändert angezeigt. */
.pd-root .pd-home-doc .pd-section-verm .pd-week-eyebrow{display:none!important;}
/* v0.4.7: PDF.js-Seitenbreitenanpassung, besonders für iOS Safari */
.pd-modal .pd-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.pd-modal .pd-toolbar{flex:0 0 auto;min-width:0;box-sizing:border-box}
.pd-modal .pd-scroll{flex:1 1 auto;min-height:0;min-width:0;width:100%;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#e9ebed}
.pd-modal .pd-pages{width:100%;min-width:0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0;margin:0}
.pd-modal .pd-pdf-page{display:block;max-width:none;flex-shrink:0;background:white;box-shadow:0 1px 4px #0002}
.pd-modal .pd-viewer-status{text-align:center;padding:12px;color:#263746}
.pd-modal .pd-viewer-status[hidden],.pd-modal .pd-fallback[hidden]{display:none!important}
.pd-modal .pd-viewer-controls{display:flex;align-items:center;gap:4px}
.pd-modal .pd-viewer-controls button{border:1px solid #ddd;background:white;color:#16365b;border-radius:4px;min-height:32px;min-width:32px;cursor:pointer;padding:2px 7px}
.pd-modal .pd-fallback{width:100%;height:100%;box-sizing:border-box}
.pd-modal .pd-fallback iframe{display:block;width:100%;height:calc(100% - 55px);border:0}
@media(max-width:650px){.pd-modal .pd-dialog{inset:0!important;border-radius:0!important;margin:0!important}.pd-modal .pd-toolbar{padding:8px!important;gap:5px!important;flex-wrap:wrap}.pd-modal #pd-title{font-size:14px!important;max-width:42%}.pd-modal #pd-download{font-size:12px!important}.pd-modal .pd-viewer-controls button{font-size:12px}.pd-modal .pd-scroll{padding:0!important}.pd-modal .pd-pages{gap:5px!important}}

/* v0.4.8: Vollständige Titelseite ohne Beschnitt, in allen Ansichten. */
.pd-root .pd-section-info .pd-visual.pd-cover-trigger{
 height:auto!important; min-height:0!important; aspect-ratio:auto!important;
 padding:12px!important; display:flex; align-items:center; justify-content:center;
 overflow:visible!important;
}
.pd-root .pd-section-info .pd-cover-img{
 display:block; width:auto!important; height:auto!important; max-width:100%!important;
 max-height:none!important; object-fit:contain!important; object-position:center;
}
.pd-root .pd-section-info .pd-cover-fallback{min-height:200px;}
@media(max-width:760px){
 .pd-root .pd-section-info .pd-visual.pd-cover-trigger{height:auto!important;padding:10px!important;}
}

/* v0.4.9: Kleineres, weiterhin vollständig sichtbares Titelblatt. */
.pd-root .pd-section-info .pd-cover-img{
  max-height:190px!important;
  max-width:100%!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}
@media(max-width:760px){
  .pd-root .pd-section-info .pd-cover-img{max-height:155px!important;}
}

/* v0.5.0: Speichern im PDF-Lesefenster, auch auf kleinen Displays. */
.pd-modal .pd-save{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:6px 12px;border-radius:20px;background:#e87516;color:#fff!important;text-decoration:none!important;font-weight:600;font-size:14px;line-height:1.3;white-space:nowrap}
.pd-modal .pd-save:hover,.pd-modal .pd-save:focus{background:#bf5c0a;color:#fff!important}
@media(max-width:650px){.pd-modal .pd-toolbar{display:flex;flex-wrap:wrap!important;gap:6px!important}.pd-modal .pd-save{padding:6px 9px;font-size:12px}.pd-modal #pd-title{max-width:none!important;flex:1 1 38%;min-width:100px}.pd-modal .pd-viewer-controls{order:3;width:100%;justify-content:center}.pd-modal .pd-close{margin-left:auto}}

/* v0.5.1: Klickbare PDF-Links als transparente Annotationsebene. */
.pd-modal .pd-page-wrap{position:relative;flex:0 0 auto;background:#fff;box-shadow:0 1px 4px #0002}
.pd-modal .pd-page-wrap .pd-pdf-page{box-shadow:none!important}
.pd-modal .pd-annotation-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.pd-modal .pd-annotation-link{position:absolute;display:block;pointer-events:auto;cursor:pointer;background:transparent;touch-action:manipulation}
.pd-modal .pd-annotation-link:focus-visible{outline:2px solid #e87516;outline-offset:-2px;background:rgba(232,117,22,.12)}
