/* Guide Base Styles - Common styles for all guide pages */

/* Guide Container */
.guide-container {
    width: 100%;
    margin: 0;
  
}

/* Guide Section */
.guide-section {
   
    margin-bottom: 30px;
}

/* Guide Typography */
.guide-container p {
    color: #e6e6e6;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 18px;
}

.guide-container li {
    color: #e6e6e6;
    line-height: 1.6;
    margin-bottom: 8px;
}

.guide-section p {
    color: #e6e6e6;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 18px;
}

.guide-section li {
    color: #e6e6e6;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Liste mit Character-Links: Text und Karten inline, vertikal zentriert */
.guide-section li:has(.character-link-card) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    list-style-position: inside;
}

.guide-section h2 {
    color: rgb(230, 230, 230);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-section h3 {
    color: #e6e6e6;
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
}

.guide-section h4 {
    color: #e6e6e6;
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Guide Intro */
.guide-intro {
    color: rgb(230, 230, 230);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 40px;
}

.guide-intro h1 {
    text-shadow: 1px 2px 1px rgb(0, 0, 0);
    color: #e6e6e6;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.guide-intro-image {
    display: block;
    width: 100%;
    max-width: 920px;
    height: auto;
    
}

.guide-picture {
    display: flex;
    justify-content: flex-start;
    margin: 16px 0 0;
}

@media (min-width: 1024px) {
    .guide-picture .guide-intro-image {
        max-width: 820px;
    }
}

.guide-intro p {
    color: #a0a0a0;
    font-size: 1.2rem;
    margin-top: 0;
}

.guide-intro p:last-of-type {
    color: #7a5af8a1;
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Guide Highlight */
.guide-highlight,
.guide-highlight.medium {
    background: rgba(122, 90, 248, 0.1);
    border: 1px solid rgba(122, 90, 248, 0.3);
    border-radius: 2px;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
}

.guide-highlight h4 {
    color: #7a5af8a1;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.guide-highlight strong {
    color: #7a5af8a1;
}

strong {
    color: #e6e6e6;
}

/* Guide Alert boxes (e.g. for warnings, callouts) */
.guide-alert {
    background: rgba(122, 90, 248, 0.1);
    border: 1px solid rgba(122, 90, 248, 0.3);
    border-radius: 4px;
    padding: 16px 20px;
    margin: 20px 0;
    color: #e6e6e6;
}

.guide-alert.red {
    background: rgba(229, 62, 62, 0.1);
    border-color: rgba(229, 62, 62, 0.4);
}

.guide-alert .title {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Guide Videos */
.guide-video {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 50px;
    width: 100%;
}

.guide-video-item {
    flex: 1 1 480px;
    max-width: 720px;
}

.guide-video-title {
    text-align: center;
    margin-bottom: 8px;
}

.guide-video-embed {
    position: relative;
    padding-top: 56.25%;
}

.guide-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Character Link Card – gleiche Styles wie character-link-card (Tier List, Character List) */
.character-link-card {
  display: inline-block;
  text-decoration: none;
  vertical-align: middle;
  position: relative;
  padding: 0 8px;
  color: inherit;
  flex: 0 0 auto;
  width: 80px;
  box-sizing: border-box;
}

/* Avatar (mit und ohne char-avatar-bsr – Reroll Guide nutzt simpleCard) */
.character-link-card > div {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  vertical-align: middle;
  display: block;
  background: linear-gradient(160deg, #2d2f4d 0%, #4a4a6a 65%);
}

.character-link-card .char-avatar-bsr img,
.character-link-card > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.character-link-card .char-avatar-bsr.Character-SSR {
  background: linear-gradient(160deg, #6e4c42 0%, #e0c870 65%);
}

.character-link-card .char-avatar-bsr.Character-SR {
  background: linear-gradient(160deg, #2d2f4d 0%, #7a5af8 65%);
}

/* Flex-Container für Character-Links (Reroll Guide etc.) – mittig zentriert */
.character-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  margin: 16px 0;
}

.character-links-row .character-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.character-link-card > span {
  color: inherit;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
  display: block;
  margin-top: 2px;
  width: 64px;
  min-height: 2.4em;
}

/* Anpassungen für Guides auf Mobilgeräten */
@media (max-width: 768px) {
    

    .guide-section {
        padding: 15px;
    }

    .guide-section h2 {
        font-size: 1.5rem;
    }

    .guide-intro {
        text-align: center !important;
        padding: 0 10px !important;
    }

    .guide-intro h1 {
        font-size: 1.8rem !important;
    }
}

