/*** From my own ***/
:root {
  --accent: #9f9fdf;
  --h2epos:#e6ffff;
}
.button {
  font-size: 14px;
  padding:3px 5px;
}
a {
    text-decoration: none;
  }

.grau{color:grey;}
a:hover {
    color: #d9d9f2;
  }

h2.epos {font-weight: bold;font-size: 1.4rem;color:var(--h2epos);}

/*** From Kev Quirk ***/
.post-link {
  font-size: 1.5rem;
  font-weight: bold;
}

.meta {
  color: var(--text-light);
  font-size: 0.7rem;
  margin: 0 0 0.5rem 0.1rem;
}
.betont {
  color: red;
  font-size: 1rem;
  margin: 1rem 0 0.5rem 0.1rem;
}

nav a.current {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

.medium {
  font-size: 1.4rem;
}

/*** For Bludit ***/
body {
  grid-template-columns: 1fr min(65rem, 90%) 1fr;
}

.small {
  font-size: smaller;
}

.wrapper {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

/** Header **/
.site-logo {
  position: absolute;
  Right: 8rem;
  Top:1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  opacity: 0.85;
}

header > a, header > a:visited {
  color: inherit;
  text-decoration: none;
}

header > a:hover {
  color: var(--accent);
  .site-logo {
    opacity: 1;
    outline: 3px solid var(--);
  }
}

header > h1{
  font-size: 1.9rem;
  color: orange;
}

header {
    height: 100;   /* Höhe direkt festlegen */
    padding: 40px 20px; /* zusätzlicher Innenabstand */
}

/** Main **/
main {
  min-width: 66%;
  padding-top: 0;
}

main h2 {
  margin-top: 0;
}

article h2, .cover-image + h2 {
  margin: 1rem 0;
    color: #b3c4ff;
}

article + nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.blog-item {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: white;
}

.blog-article {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.meta-icon {
  vertical-align: middle;
  transform: translateY(-10%);
}

.meta-icon:not(:first-child) {
  margin-left: 1rem;
}

.meta-tag {
  margin: 0 0.1rem;
  font-size: smaller;
}

.meta-profile-picture {
  border-radius: 50%;
  float: left;
}

.cover-image {
  display: flex;
  margin: 0 auto;
  width: 100%;
  object-fit: cover;
}

.bild-rechts {
    float: right;
    width: 250px; /* oder auto */
    margin: 0 0 1rem 1rem; /* Abstand zum Text */
    text-align: center; /* Bildquelle zentrieren */
}

.bild-rechts img {
    max-width: 100%;
    height: auto;
    display: block;
}

.bild-rechts figcaption {
    font-size: 0.8rem;
    color: #c6d9ec;
 }

/* bisher
.readmore-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #c33; 
    padding: 4px 0;
    transition: color 0.25s ease;
}

.readmore-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #9f9fdf; 
    padding: 4px 0;
    transition: color 0.25s ease;
}*/

/* Icon (kleiner Kreis mit Pfeil) 
.readmore-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23c33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
    <circle cx='7' cy='7' r='6'/>\
    <polyline points='5,4 9,7 5,10'/>\
    </svg>");
    transition: filter 0.25s ease;
}*/

/* Hover-Effekt 
.readmore-link:hover {
    color: #e44; 
}

.readmore-link:hover .readmore-icon {
    filter: drop-shadow(0 0 4px #e44);
}
*/

/* Grundlink */
.readmore-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #9f9fdf; /* normale Linkfarbe */
    padding: 4px 0;
    transition: color 0.25s ease;
}

/* Besuchter Link */
.readmore-link:visited {
    color: #00cc00; /* grün */
}

/* Hover */
.readmore-link:hover {
    color: #9fcfff; /* hellblau wie Seitenleiste */
}

/* Icon: Kreis + Dreieck nach rechts */
.readmore-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

/* Icon-Farben dynamisch an Linkfarbe koppeln 
.readmore-link .readmore-icon {
    background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239f9fdf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
    <circle cx='7' cy='7' r='6'/>\
    <polygon points='6,4 10,7 6,10' fill='%239f9fdf' stroke='none'/>\
    </svg>");
}*/

/* Hover-Icon 
.readmore-link:hover .readmore-icon {
    background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239fcfff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
    <circle cx='7' cy='7' r='6'/>\
    <polygon points='6,4 10,7 6,10' fill='%239fcfff' stroke='none'/>\
    </svg>");
    filter: drop-shadow(0 0 4px #9fcfff);
}*/

/* Visited-Icon 
.readmore-link:visited .readmore-icon {
    background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2300cc00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
    <circle cx='7' cy='7' r='6'/>\
    <polygon points='6,4 10,7 6,10' fill='%2300cc00' stroke='none'/>\
    </svg>");
}*/

/** Sidebar **/
aside {
  min-width: 30%;
}

/* Pagination 
a.active {
  font-weight: bolder;
  color: var(--text);
  text-decoration: none;
}*/


/** Footer **/
footer ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    font-size: x-large;
    padding: 0;
}

footer ul li img {
	max-width: 1.375rem;
	min-height: 1.375rem;
	aspect-ratio: 1 / 1;
  padding: 0.1rem;
  border-radius: 40%;
}

/* Socials */
.social a {
  display: block;
  background-color: #f5f7ff;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  position: relative;
}

.social a::after {
  z-index: 1;
  content: '';
  display: block;
  height: 1.4rem;
  width: 1.4rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  right: 0;
  top: 50%;
}

.social a:hover {
  background-color: var(--marked);
}

.social span {
  clip      : rect(1px, 1px, 1px, 1px);
  clip-path : inset(50%);
  height    : 1px;
  width     : 1px;
  margin    : -1px;
  overflow  : hidden;
  padding   : 0;
  border    : 0;
  position  : absolute;
}

.social .social-bluesky a::after {
  background-image: url(../img/socials/bluesky.svg);
}

.social .social-codepen a::after {
  background-image: url(../img/socials/codepen.svg);
}

.social .social-facebook a::after {
  background-image: url(../img/socials/facebook.svg);
}

.social .social-github a::after {
  background-image: url(../img/socials/github.svg);
}

.social .social-gitlab a::after {
  background-image: url(../img/socials/gitlab.svg);
}

.social .social-googleplus a::after {
  background-image: url(../img/socials/googleplus.svg);
}

.social .social-instagram a::after {
  background-image: url(../img/socials/instagram.svg);
}

.social .social-linkedin a::after {
  background-image: url(../img/socials/linkedin.svg);
}

.social .social-mastodon a::after {
  background-image: url(../img/socials/mastodon.svg);
}

.social .social-rss a::after {
  background-image: url(../img/socials/rss.svg);
}

.social .social-telegram a::after {
  background-image: url(../img/socials/telegram.svg);
}

.social .social-twitter a::after {
  background-image: url(../img/socials/twitter.svg);
}

.social .social-xing a::after {
  background-image: url(../img/socials/xing.svg);
}

.social .social-youtube a::after {
  background-image: url(../img/socials/youtube.svg);
}

/* From blogx theme */
.plugin {
	margin-top: 3rem;
}

.plugin-label {
	font-size: 1em;
	text-transform: uppercase;
}

.plugin ul {
	list-style: none;
	padding: 0 0 0 10px;
}

/* From Bootstrap */
.sr-only {
	position: absolute;
	width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Smaller screens */
@media only screen and (max-width: 720px) {
  body > header {
    padding: 0 .5rem 1rem;
  }

  body > header p {
    margin: 0.5rem auto;
  }

  .wrapper {
    flex-wrap: wrap;
  }

  aside {
    margin-top: 2rem;
  }

  article + nav {
    gap: 0.375rem;    
    flex-wrap: wrap;
    justify-content: space-around;
  }

  body > footer {
    margin-top: 2rem;
  }
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2000;
    background: #333;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Overlay Menü */
.mobile-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    z-index: 3000;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu.open {
    display: block;
}

/* Close Button */
.menu-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: red;
    cursor: pointer;
}

/* Smartphone: Sidebar ausblenden, Hamburger zeigen */
@media (max-width: 768px) {
    aside {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
    .site-logo {
        display: none;
    }
}

/* Aurora-Infobox */
.pym-infobox {
  width: 95%;
  font-size: 0.9rem;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0 0 1rem;
  background: rgba(50, 50, 50, 0.85);
  border: 1px solid #999;
  border-left: 4px solid #b44; /* warmes Rot*/
  border-radius: 4px;
  color: #ddd;
  backdrop-filter: blur(2px);
}
/* Titel */
.pym-infobox h3 {
  margin-top: 0;
  font-size: 2.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

/* Optionales Symbol vor dem Titel */
.pym-infobox h3::before {
  content: "✦";
  margin-right: 0.4rem;
  color: #b44;
}

/* Wrapper: hält Icon und Box zusammen */
/* Wrapper */
.pym-toolbox-wrapper {
  position: relative;
  width: 100%;
  text-align: right;
  margin: 1rem 0;
}

/* Icon-Container */
.pym-toolbox-icon {
  display: inline-block;
  padding: 0.3rem 0.4rem;
  margin-right: 1rem;
  background: rgba(50,50,50,0.85);
  border: 1px solid #ccc; /* hellgrauer Rahmen */
  border-radius: 4px;
  color: #b44; /* weinrotes Icon */
  font-size: 1.2rem; /* größer der Toolbox? */
  cursor: default;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* SVG-Icon */
.pym-icon-svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Hover-Effekt Icon */
.pym-toolbox-icon:hover {
  box-shadow: 0 0 10px rgba(200,200,200,0.7);
  transform: translateY(-2px);
}

/* Toolbox */
.pym-toolbox {
  position: absolute;
  right: 65px; /* etwas nach links verschoben */
  top: -45px;  /* etwas nach oben verschoben */
  width: 240px;
  font-size: 0.85rem;
  padding: 0.1rem 1.6rem;
  background: rgba(30,30,30,0.90);
  border: 1px solid #8c8c8c; /* dünner heller Rahmen */
  border-left: 4px solid #b44;
  border-radius: 4px;
  color: #ddd;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Sichtbar beim Hover */
.pym-toolbox-wrapper:hover .pym-toolbox {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Titel */
.pym-toolbox h3 {
  margin-top: 0;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

/* Untertitel / Sektionen */
.pym-toolbox h4 {
  margin-top: 1.2rem;
  color: #eee;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.ritual-bar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    z-index: 10000;
    padding: 6px 12px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    border-radius: 8px;
}

.ritual-thumb {
    text-align: center;
    cursor: pointer;
}

.ritual-thumb img {
    width: 110px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}

.ritual-thumb img:hover {
    transform: scale(1.05);
}

.ritual-label {
    margin-top: 4px;
    font-size: 0.85rem;
    color: #eee;
}

.ritual-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.88);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(6px);
}

.ritual-lightbox.active {
    display: flex;
}

.ritual-lightbox-content {
    width: 92%;
    max-width: 760px;
    max-height: 82vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.ritual-item {
    opacity: 0;
    display: none;
    transition: opacity 0.6s ease-in-out;
}

.ritual-item.active {
    opacity: 1;
    display: block;
}

.ritual-video-frame {
    background: #0a0a0a;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #333;
    box-shadow: 0 0 22px rgba(0,0,0,0.7);
}

.ritual-video-frame video {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.ritual-text-box {
    background: #111;
    padding: 26px;
    border-radius: 6px;
    border: 1px solid #333;
    color: #dbe4ff;
    font-size: 1.2rem;
    line-height: 1.65;
    letter-spacing: 0.3px;
    box-shadow: 0 0 18px rgba(0,0,0,0.6);
    font-family: "Georgia", "Times New Roman", serif;
}

@media (max-width: 720px) {

    .ritual-bar {
        gap: 12px;
        padding: 4px 8px;
    }

    .ritual-thumb img {
        width: 80px;
    }

    .ritual-lightbox-content {
        width: 96%;
        max-width: 96%;
        max-height: 86vh;
        padding: 14px;
    }

    .ritual-text-box {
        font-size: 1.05rem;
        padding: 18px;
    }
}

/* --- Roter Close Button --- */
.ritual-close {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 42px;
    height: 42px;
    background: #b30000;
    color: #fff;
    font-size: 32px;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 12000;
    box-shadow: 0 0 12px rgba(0,0,0,0.7);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ritual-close:hover {
    transform: scale(0.85);
    box-shadow: 0 0 18px rgba(255,0,0,0.8);
}
/* --- Vignette / Iris-Close Effekt --- */
.ritual-lightbox.iris-close {
    animation: irisClose 0.7s ease forwards;
    overflow: hidden;
}

@keyframes irisClose {
    0% {
        clip-path: circle(75% at 50% 50%);
    }
    100% {
        clip-path: circle(0% at 50% 50%);
    }
}
/* Video-Bild Fade-Out */
.ritual-video-frame.fade-out video {
    opacity: 0;
    transition: opacity 0.6s ease;
}
/* --- Iris-Open Effekt (Film öffnet sich) --- */
.ritual-lightbox.iris-open {
    animation: irisOpen 0.7s ease forwards;
    overflow: hidden;
}

@keyframes irisOpen {
    0% {
        clip-path: circle(0% at 50% 50%);
    }
    100% {
        clip-path: circle(75% at 50% 50%);
    }
}
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 3rem 0;
    font-size: 1rem;
}

.pagination a {
    color: #444;
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #f2f2f2;
    border-color: #bbb;
}

.pagination a.active,
.pagination a[aria-current="page"] {
    background: #000;
    color: #fff;
    border-color: #000;
    cursor: default;
}

.pagination a.prev,
.pagination a.next {
    font-weight: bold;
}