/* =========================
   HEADER BOX SYSTEM
========================= */

#header {
    background: var(--background);
}

#headerboxen {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 960px;
    gap: 5px;
    margin-top: 8px;
    background: var(--background);
    box-sizing: border-box;
}

#headerboxen > * {
    min-width: 0;
}

/* Verhindert, dass Inhalte andere Boxen beeinflussen */
#headerboxen > div {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

/* =========================
   BOXEN
========================= */

#headerboxen .box1 {
    flex: 0 1 30%;
    padding: 5px 0px 5px 5px;
    font-size: 12px;
    position: relative;
    box-sizing: border-box;
    border-right: 1px solid var(--linie2);
}

#headerboxen .box2 {
    flex: 1 1 27%;
    padding: 5px 15px 5px 10px;
    font-size: 12px;
    position: relative;
    box-sizing: border-box;
    border-right: 1px solid var(--linie2);
}

#headerboxen .box3 {
    flex: 0 1 10%;
    padding: 5px 0 5px 12px;
    font-size: 12px;
    position: relative;
    box-sizing: border-box;
    border-right: 1px solid var(--linie2);
}

#headerboxen .box4 {
    flex: 1 1 25%;
    padding: 5px 15px 5px 10px;
    font-size: 12px;
    box-sizing: border-box;
}

/* =========================
   TRENNSCHNITTE (SEPARATOREN)
========================= */

/*
#headerboxen .box1::after,
#headerboxen .box2::after,
#headerboxen .box3::after {
    content: "";
    position: absolute;
    top: -8px;
    bottom: -1px;
    right: 0;
    width: 13px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    pointer-events: none;
}

#headerboxen .box1::after {
    background-image: url(https://www.buffymagazin.de/CamdenVillage/images/goldrush/seperator_right.png);
}

#headerboxen .box2::after {
    background-image: url(https://www.buffymagazin.de/CamdenVillage/images/goldrush/seperator_left.png);
}

#headerboxen .box3::after {
    background-image: url(https://www.buffymagazin.de/CamdenVillage/images/goldrush/seperator_right.png);
}
*/

/* =========================
   AVATAR + WELCOME (MITGLIEDER)
========================= */

.avatar-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.avatar-wrapper .user_titel2 {
    margin: 0;
    padding: 0;
}

.avatar-text-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.welcome-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: 2px;
    min-width: 0;
    flex: 1 1 0;
}

.user_box_welcome {
    color: var(--text3);
    font-size: 12px;
	padding-bottom: 12px;
    margin-bottom: 0;
background-image: url(/CamdenVillage/images/goldrush/cv-welcome-ornament.svg);
background-repeat: no-repeat;
background-position: center bottom;
background-size: 100% 18px;
padding-bottom: 16px;
border-bottom: none;
	    margin-right: 12px;
    background-size: 100% 18px;
}

.user_titel {
    color: var(--text3);
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: "YoungSerif-Bold", sans-serif;
    white-space: nowrap;
    transform: scaleY(1.2);
    width: max-content;
    max-width: none;
}

.team_titel {
    color: var(--text3);
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: "YoungSerif-Bold", sans-serif;
    transform: scaleY(1.2);
    margin-left: 6px;
}

.welcome_gruss {
   color: var(--text1);
    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
    font-weight: normal;
    letter-spacing: 0.2px;
    text-transform: none;
    transform: none;
    margin-top: 2px;
    margin-bottom: 7px;
    white-space: nowrap;
}

/* =========================
   USER LINKS (MITGLIEDER)
========================= */

.user_linkbox {
    display: block;
    width: 100%;
}

.user_linkbox a {
    display: block;
    margin: 0;
    padding: 3px 0;
    color: var(--text1);
    text-decoration: none;
    font-family: "YoungSerif-Regular", sans-serif;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    text-transform: uppercase;
   border-bottom: 1px solid color-mix(in srgb, var(--linie2) 55%, transparent);
    transition: color 0.3s ease;
margin-right: 12px;
}

.user_linkbox a:hover {
    color: var(--hover3);
}

.user_linkbox a.logout {
    color: var(--text3);
}

.user_linkbox a.logout:hover {
    color: var(--text1);
}

/* =========================
   AVATAR (MITGLIEDER)
========================= */

.header_img_links {
    width: 100px;
    height: 100px;
    padding: 3px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--linie1);
    border-radius: 50%;
    box-sizing: border-box;
    margin-left: 15px;
}

.header_img_links2 {
    width: 100px;
    height: 100px;
    padding: 3px;
    display: block;
    margin-left: 7px;
    box-sizing: border-box;
}

/* =========================
   BESTEHENDE LOGIN/LOGOUT BOX
========================= */

.user_box_log {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    margin-top: 8px;
}

.user_box_log a {
    color: var(--links);
    text-decoration: none;
    font-family: "YoungSerif-Regular", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.user_box_log a:hover {
    color: var(--hover1);
}

/* =========================
   WETTER
========================= */

.wetter_flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.wetter_flex img {
    width: 35px;
    height: auto;
    display: block;
}

/* =========================
   INHALTE TEXTE BOXEN
========================= */

.user_inhalt3 {
    text-align: justify;
    font-family: Cambria, Georgia, serif;
    font-size: 12px;
}

.user_team {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    margin-top: 15px !important;
    margin-left: -12px;
}

.user_titel2 {
    color: var(--text3);
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: "YoungSerif-Bold", sans-serif;
    transform: scaleY(1.2);
    text-align: center;
}

.box_inhalt_ueber {
    color: var(--text3);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transform: scaleY(1.2);
    text-align: center;
}

/* =========================
   HEADER – GÄSTEBEREICH
========================= */

/* Gesamter Gästebereich */
#headerboxen .box1 .gast_wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 12px 0 5px;
}

/* Begrüßungsbereich */
#headerboxen .box1 .gast_begruessung {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Beschreibungstext */
#headerboxen .box1 .gast_inhalt {
    font-family: Cambria, Georgia, serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    text-align: justify;
   overflow-wrap: normal;
hyphens: none;
}

/* Login und Registrierung */
#headerboxen .box1 .gast_links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}

/* Links */
#headerboxen .box1 .gast_links a {
    color: var(--links);
    text-decoration: none;
    font-family: "YoungSerif-Regular", sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Hover */
#headerboxen .box1 .gast_links a:hover {
    color: var(--hover1);
}

/* =========================
   GÄSTE – TEXTGESTALTUNG
========================= */

.gast_intro {
    margin-bottom: 8px;
}

.gast_intro b {
    color: var(--text3);
}

.gast_beschreibung {
    margin-bottom: 10px;
}

.gast_fakten {
    border-top: 1px solid var(--linie2);
    padding-top: 8px;
    text-align: center;
    font-size: 11px;
    line-height: 1.7;
}

.gast_fakten_titel {
    color: var(--text3);
    font-family: "YoungSerif-Bold", sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

/* =========================
   HEADER – DAILY NEWS
========================= */

#headerboxen .box4 .news_wrapper {
    width: 100%;
    min-width: 0;
    margin-top: 15px;
    box-sizing: border-box;
}

/* Einzelne Nachricht */
#headerboxen .box4 .news_eintrag {
    padding-bottom: 24px;
    margin-bottom: 14px;
    border-bottom: none;
    background-image: url(/CamdenVillage/images/goldrush/cv-welcome-ornament.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 18px;
}

/* Letzte Nachricht ohne Trennlinie */
#headerboxen .box4 .news_eintrag:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    background-image: none;
}

/* Datum – vorhandene Schriftgestaltung */
#headerboxen .box4 .news_eintrag .box_inhalt_ueber {
    margin-bottom: 12px;
}

/* Nachrichtentext */
#headerboxen .box4 .news_eintrag .user_inhalt3 {
    line-height: 1.4;
    hyphens: none;
    overflow-wrap: normal;
}

/* Links */
#headerboxen .box4 .news_eintrag .user_inhalt3 a {
    color: var(--links);
    text-decoration: none;
    transition: color 0.3s ease;
}

#headerboxen .box4 .news_eintrag .user_inhalt3 a:hover {
    color: var(--hover1);
}

/* =========================
   HEADER – WEATHER & TIDBITS
========================= */

#headerboxen .box2 .weather_inhalt {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-family: Cambria, Georgia, serif;
    font-size: 12px;
}

/* Überschrift Herbst 1879 */
#headerboxen .box2 .weather_inhalt > .box_inhalt_ueber {
    margin-bottom: 12px;
}

/* Beschreibung */
#headerboxen .box2 .weather_beschreibung {
    margin-bottom: 12px;
    text-align: justify;
    line-height: 1.4;
    hyphens: none;
    overflow-wrap: normal;
}

/* Ingame-Zeitraum */
#headerboxen .box2 .weather_zeitraum {
    border-top: none;
    padding-top: 0;
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}


/* Überschrift Ingame-Zeitraum */
#headerboxen .box2 .weather_zeitraum_titel {
    color: var(--text3);
    font-family: "YoungSerif-Bold", sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;

}

/* Wetterbereich */
#headerboxen .box2 .weather_bereich {
    margin-top: 18px;
    text-align: center;
}

/* Überschrift WEATHER */
#headerboxen .box2 .weather_bereich .box_inhalt_ueber {
    margin-bottom: 7px;
}

/* Wettericons – vorhandene Gestaltung */
#headerboxen .box2 .weather_bereich .wetter_flex {
    margin-top: 5px;
}
/* Abstand zwischen Gästetitel und Beschreibung */
#headerboxen .box1 .gast_titel {
    margin-bottom: 15px;
}

/* =========================
   CAMDEN – WESTERN-ICONS (MITGLIEDER)
   PNG-Motive aus dem freigegebenen Entwurf
========================= */

/* Vorhandene Plugin-Container nicht umgestalten */
.user_linkbox .pn_info,
.user_linkbox .alerts {
    display: block;
}

/* Einheitliche Icon-Navigation */
.user_linkbox a.cv-nav-posts,
.user_linkbox a.cv-nav-scenes,
.user_linkbox a.cv-nav-pn,
.user_linkbox a.myalerts,
.user_linkbox a.usercp,
.user_linkbox a.modcp,
.user_linkbox a.admincp,
.user_linkbox a[href*="playerstatistic"],
.user_linkbox a.logout {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    letter-spacing: 0;
}

.user_linkbox a.cv-nav-posts::before,
.user_linkbox a.cv-nav-scenes::before,
.user_linkbox a.cv-nav-pn::before,
.user_linkbox a.myalerts::before,
.user_linkbox a.usercp::before,
.user_linkbox a.modcp::before,
.user_linkbox a.admincp::before,
.user_linkbox a[href*="playerstatistic"]::before,
.user_linkbox a.logout::before {
    content: "";
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.user_linkbox a.cv-nav-posts::before {
    background-image: url(/CamdenVillage/images/goldrush/cv-feather.png);
}
.user_linkbox a.cv-nav-scenes::before {
    background-image: url(/CamdenVillage/images/goldrush/cv-star.png);
}
.user_linkbox a.cv-nav-pn::before {
    background-image: url(/CamdenVillage/images/goldrush/cv-letter.png);
}
.user_linkbox a.myalerts::before {
    background-image: url(/CamdenVillage/images/goldrush/cv-lantern.png);
}
.user_linkbox a.usercp::before {
    background-image: url(/CamdenVillage/images/goldrush/cv-hat.png);
}
.user_linkbox a.modcp::before {
    background-image: url(/CamdenVillage/images/goldrush/cv-revolvers.png);
}
.user_linkbox a.admincp::before {
    background-image: url(/CamdenVillage/images/goldrush/cv-wheel.png);
}
.user_linkbox a[href*="playerstatistic"]::before {
    background-image: url(/CamdenVillage/images/goldrush/cv-statistics.png);
}
.user_linkbox a.logout::before {
   background-image: url(/CamdenVillage/images/goldrush/cv-horseshoe.svg);
}


/* WEATHER-Bereich höher ziehen */
.weather_bereich {
    margin-top: -12px;
}

/* Wettermonate */
.weather_bereich .wetter_flex {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 17px;
    margin-top: 2px;
}

/* Einzelner Monat */
.weather_bereich .wetter_monat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

/* Monatskürzel */
.weather_bereich .wetter_monat span {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #985344;
    font-weight: 600;
    line-height: 1;
}

/* Wettersymbole */
.weather_bereich .wetter_monat img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
    max-width: 100%;
}
#headerboxen .box2 .weather_bereich {
    margin-top: 6px;
}