/* =========================================================
   DARK TIDES · COMPENDIUM ORBIS MARIS
   Standalone WordPress fragment · HTML + CSS only
========================================================= */
.dt-comp {
    --ink:#382219;
    --soft:#654936;
    --gold:#966b3e;
    --gold2:#c6a174;
    --paper:#f5ede0;
    --paper2:#eadac4;
    --dark:#24150f;
    --dark2:#321e16;
    --line:rgba(74,45,29,.20);
    --line2:rgba(150,107,62,.42);
    width:min(1080px,calc(100% - 34px));
    margin:0 auto;
    padding:18px 0 56px;
    color:var(--ink);
    font-family:Georgia,"Times New Roman",serif;
}
.dt-comp *, .dt-comp *::before, .dt-comp *::after { box-sizing:border-box; }
.dt-comp a { color:inherit; }
.dt-comp .dt-crumbs {
    margin:0 0 22px;
    color:var(--gold);
    font-size:.72rem;
    letter-spacing:.08em;
}
.dt-comp .dt-crumbs a { text-decoration:none; border-bottom:1px dotted var(--line2); }
.dt-comp .dt-hero {
    position:relative;
    overflow:hidden;
    padding:clamp(34px,6vw,70px);
    border:1px solid var(--line2);
    background:
      radial-gradient(circle at 82% 18%,rgba(198,161,116,.12),transparent 25%),
      radial-gradient(circle at 15% 88%,rgba(255,255,255,.05),transparent 28%),
      linear-gradient(145deg,var(--dark),var(--dark2));
    box-shadow:0 20px 45px rgba(44,25,16,.13);
}
.dt-comp .dt-hero::after {
    content:"";
    position:absolute;
    inset:16px;
    border:1px solid rgba(220,191,151,.12);
    pointer-events:none;
}
.dt-comp .dt-kicker {
    position:relative;
    z-index:2;
    margin:0 0 10px;
    color:var(--gold2);
    font-size:.67rem;
    font-weight:700;
    letter-spacing:.22em;
    text-transform:uppercase;
}
.dt-comp h1 {
    position:relative;
    z-index:2;
    max-width:820px;
    margin:0 0 14px;
    color:#f2e5d0;
    font-size:clamp(2.6rem,6vw,5rem);
    font-weight:400;
    line-height:.98;
    letter-spacing:-.045em;
}
.dt-comp .dt-subtitle {
    position:relative;
    z-index:2;
    max-width:720px;
    margin:0;
    color:rgba(242,229,208,.82);
    font-size:clamp(1.02rem,1.8vw,1.22rem);
    line-height:1.72;
}
.dt-comp .dt-stamp {
    position:absolute;
    z-index:1;
    right:clamp(24px,5vw,58px);
    bottom:22px;
    width:112px;
    height:112px;
    border:1px solid rgba(198,161,116,.25);
    border-radius:50%;
    color:rgba(198,161,116,.25);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
    transform:rotate(-11deg);
}
.dt-comp .dt-facts {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:1px;
    margin:0;
    border-right:1px solid var(--line);
    border-bottom:1px solid var(--line);
    border-left:1px solid var(--line);
    background:var(--line);
}
.dt-comp .dt-fact {
    min-height:102px;
    padding:20px;
    background:var(--paper);
}
.dt-comp .dt-fact span {
    display:block;
    margin-bottom:7px;
    color:var(--gold);
    font-size:.62rem;
    font-weight:700;
    letter-spacing:.14em;
    text-transform:uppercase;
}
.dt-comp .dt-fact strong {
    display:block;
    color:var(--ink);
    font-size:1rem;
    font-weight:400;
    line-height:1.45;
}
.dt-comp .dt-section {
    padding:clamp(42px,6vw,65px) 0 0;
}
.dt-comp .dt-section-head {
    max-width:760px;
    margin-bottom:24px;
}
.dt-comp .dt-section-head .dt-kicker { color:var(--gold); }
.dt-comp h2 {
    margin:0 0 12px;
    color:var(--ink);
    font-size:clamp(2rem,4vw,3.1rem);
    font-weight:400;
    line-height:1.03;
    letter-spacing:-.035em;
}
.dt-comp h3 {
    margin:0 0 9px;
    color:var(--ink);
    font-size:clamp(1.35rem,2.3vw,1.85rem);
    font-weight:400;
    line-height:1.12;
}
.dt-comp p {
    margin:0 0 1em;
    color:var(--soft);
    font-size:1rem;
    line-height:1.76;
}
.dt-comp .dt-lead {
    color:var(--ink);
    font-size:1.12rem;
    line-height:1.72;
}
.dt-comp .dt-grid-2 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}
.dt-comp .dt-grid-3 {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.dt-comp .dt-card {
    position:relative;
    overflow:hidden;
    padding:25px;
    border:1px solid var(--line);
    background:linear-gradient(145deg,#f8f1e7,var(--paper));
    box-shadow:0 10px 24px rgba(53,31,20,.06);
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.dt-comp a.dt-card { display:block; text-decoration:none; }
.dt-comp .dt-card:hover {
    transform:translateY(-3px);
    border-color:var(--line2);
    box-shadow:0 16px 30px rgba(53,31,20,.10);
}
.dt-comp .dt-card-no {
    display:block;
    margin-bottom:13px;
    color:var(--gold);
    font-size:.65rem;
    font-weight:700;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.dt-comp .dt-card p:last-child { margin-bottom:0; }
.dt-comp .dt-card-link {
    display:inline-block;
    margin-top:12px;
    color:var(--gold);
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.dt-comp .dt-quote {
    margin:30px 0 0;
    padding:23px 25px;
    border-left:2px solid var(--gold);
    background:rgba(150,107,62,.07);
    color:var(--ink);
    font-size:clamp(1.08rem,2vw,1.3rem);
    font-style:italic;
    line-height:1.65;
}
.dt-comp .dt-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.dt-comp .dt-tag {
    padding:6px 9px;
    border:1px solid var(--line2);
    color:var(--gold);
    font-size:.62rem;
    font-weight:700;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.dt-comp details {
    margin:0 0 12px;
    border:1px solid var(--line);
    background:var(--paper);
}
.dt-comp details[open] { border-color:var(--line2); }
.dt-comp summary {
    position:relative;
    padding:18px 52px 18px 20px;
    color:var(--ink);
    cursor:pointer;
    font-size:1.05rem;
    font-weight:700;
    list-style:none;
}
.dt-comp summary::-webkit-details-marker { display:none; }
.dt-comp summary::after {
    content:"+";
    position:absolute;
    right:20px;
    top:50%;
    color:var(--gold);
    font-size:1.4rem;
    font-weight:400;
    transform:translateY(-50%);
}
.dt-comp details[open] summary::after { content:"–"; }
.dt-comp .dt-detail-body {
    padding:0 20px 20px;
    border-top:1px solid var(--line);
}
.dt-comp .dt-detail-body > *:first-child { margin-top:18px; }
.dt-comp .dt-route-box {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-top:26px;
    padding:22px;
    border:1px dashed var(--line2);
    background:rgba(150,107,62,.045);
}
.dt-comp .dt-route-box strong {
    color:var(--ink);
    font-weight:400;
    font-size:1.08rem;
}
.dt-comp .dt-route-box span {
    color:var(--soft);
    font-size:.82rem;
    text-align:right;
}
.dt-comp .dt-dark-panel {
    padding:clamp(25px,4vw,38px);
    background:var(--dark);
    border:1px solid var(--line2);
}
.dt-comp .dt-dark-panel h2,
.dt-comp .dt-dark-panel h3 { color:#f2e5d0; }
.dt-comp .dt-dark-panel p { color:rgba(242,229,208,.80); }
.dt-comp .dt-dark-panel .dt-kicker { color:var(--gold2); }
.dt-comp .dt-term {
    position:relative;
    display:inline-block;
    border-bottom:1px dotted var(--gold);
    cursor:help;
    outline:none;
}
.dt-comp .dt-term::after {
    content:" ?";
    color:var(--gold);
    font-size:.7em;
    font-weight:700;
    vertical-align:super;
}
.dt-comp .dt-term-box {
    position:absolute;
    z-index:50;
    left:50%;
    bottom:calc(100% + 10px);
    width:260px;
    padding:12px 14px;
    border:1px solid var(--line2);
    background:#2a1912;
    color:#f2e5d0;
    box-shadow:0 12px 28px rgba(0,0,0,.24);
    font-size:.78rem;
    font-style:normal;
    font-weight:400;
    line-height:1.5;
    opacity:0;
    visibility:hidden;
    transform:translateX(-50%) translateY(5px);
    pointer-events:none;
    transition:.18s ease;
}
.dt-comp .dt-term:hover .dt-term-box,
.dt-comp .dt-term:focus .dt-term-box {
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}
.dt-comp .dt-bottom-nav {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:44px;
}
.dt-comp .dt-bottom-nav a {
    padding:16px 18px;
    border:1px solid var(--line);
    background:var(--paper);
    text-decoration:none;
    color:var(--ink);
    line-height:1.4;
}
.dt-comp .dt-bottom-nav a:last-child { text-align:right; }
.dt-comp .dt-bottom-nav small {
    display:block;
    margin-bottom:4px;
    color:var(--gold);
    font-size:.6rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.dt-comp .dt-note {
    margin-top:18px;
    color:rgba(101,73,54,.72);
    font-size:.75rem;
    font-style:italic;
    line-height:1.55;
}
@media(max-width:820px){
    .dt-comp .dt-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dt-comp .dt-grid-3 { grid-template-columns:1fr; }
    .dt-comp .dt-grid-2 { grid-template-columns:1fr; }
    .dt-comp .dt-stamp { opacity:.45; }
}
@media(max-width:540px){
    .dt-comp { width:min(100% - 20px,1080px); padding-top:8px; }
    .dt-comp .dt-hero { padding:36px 25px; }
    .dt-comp .dt-facts { grid-template-columns:1fr 1fr; }
    .dt-comp .dt-fact { min-height:90px; padding:15px; }
    .dt-comp .dt-route-box { align-items:flex-start; flex-direction:column; }
    .dt-comp .dt-route-box span { text-align:left; }
    .dt-comp .dt-bottom-nav { grid-template-columns:1fr; }
    .dt-comp .dt-bottom-nav a:last-child { text-align:left; }
    .dt-comp .dt-term-box { width:min(240px,74vw); }
}

/* =========================================================
   WordPress-Seitenintegration
========================================================= */
body.dark-tides-kompendium-page .entry-title,
body.dark-tides-kompendium-page .wp-block-post-title,
body.dark-tides-kompendium-page .page-title {
    display:none !important;
}

body.dark-tides-kompendium-page .entry-content,
body.dark-tides-kompendium-page .wp-block-post-content {
    overflow:visible;
}

body.dark-tides-kompendium-page .dt-comp {
    clear:both;
}

.dt-comp .dt-atlas-link {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin:0 0 28px;
    padding:22px 24px;
    border:1px dashed var(--line2);
    background:rgba(150,107,62,.06);
    text-decoration:none;
}
.dt-comp .dt-atlas-link strong {
    display:block;
    margin-bottom:4px;
    color:var(--ink);
    font-size:1.06rem;
    font-weight:400;
}
.dt-comp .dt-atlas-link span {
    color:var(--soft);
    font-size:.83rem;
    line-height:1.5;
}
.dt-comp .dt-atlas-link b {
    flex:0 0 auto;
    color:var(--gold);
    font-size:1.4rem;
    font-weight:400;
}
