/* ===== CSS VARIABLES - CENTRALIZED FONT SIZING ===== */
/* Change these values to adjust ALL font sizes throughout the CV */
:root {
    --font-size-base: 12px;        /* Body text, descriptions, contact info */
    --font-size-heading-job: 14px; /* Job titles, project titles */
    --font-size-heading-main: 40px; /* Main name/heading */
    --font-size-bio: 16px;         /* Bio/introduction text */
    --font-size-meta: 10px;        /* Metadata, timestamps, certifications */
    --font-size-section-header: 12px; /* Section headers */
    --font-size-social-link: 10px; /* Social links */
    --font-size-icon: 16px;        /* Icon sizing */
}

/* ===== Original Styled-Components Classes (Gibberish Names) ===== */

.project-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.project-section {
    box-sizing: border-box;
    margin: 0px;
    margin-bottom: 12.7px;
}

.description-text {
    box-sizing: border-box;
    margin: 0px;
    font-size: var(--font-size-base);
    line-height: 1.7;
}

.section-spacer {
    box-sizing: border-box;
    margin: 0px 0px 24px;
}

.project-item {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    border-radius: 0px;
    border-bottom: 0px transparent;
}

.timeline-wrapper {
    box-sizing: border-box;
    margin: 0px 0px 0px 24px;
    padding: 0px 0px 16px;
    border-radius: 0px;
    border-bottom: 0px transparent;
    line-height: 1;
    position: relative;
}

.social-list-item {
    margin-bottom: 2px;
    font-size: var(--font-size-base);
    list-style-type: none;
}

.social-link-text {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: var(--font-size-meta);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.social-link-text:hover {
    color: #0066cc;
    text-decoration: underline;
}

.social-link-text:hover::after {
    opacity: 1;
}

.social-link-text::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    vertical-align: middle;
}

.social-link-text > svg {
    position: relative;
    display: inline-block;
    margin-right: 4px;
    font-size: var(--font-size-icon);
    vertical-align: middle;
    top: -1px;
}

.section-title-header {
    box-sizing: border-box;
    margin: 0px 0px 16px;
    border-bottom: none;
    font-weight: 600;
    text-transform: uppercase;
    background: rgb(204, 239, 255);
    padding: 2px 4px;
    border-radius: 3px;
    font-size: var(--font-size-section-header);
    display: inline-block;
    color: rgb(0, 0, 0);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.project-description-text {
    box-sizing: border-box;
    margin: 0px;
    font-size: var(--font-size-base);
    word-break: break-word;
}

.project-keyword-section {
    box-sizing: border-box;
    margin: 0px 0px 4px;
    font-size: var(--font-size-base);
    word-break: break-word;
}

.project-meta-text {
    box-sizing: border-box;
    margin: 0px 0px 4px;
    font-size: var(--font-size-meta);
    color: rgb(119, 119, 119);
}

.content-spacing-block {
    box-sizing: border-box;
    margin: 0px 0px 8px;
}

.job-duration-text {
    box-sizing: border-box;
    margin: 0px 0px 2px;
    font-size: var(--font-size-base);
    color: rgb(119, 119, 119);
    word-break: break-word;
}

.job-title-bold {
    box-sizing: border-box;
    margin: 0px 0px 4px;
    font-size: var(--font-size-heading-job);
    line-height: 1.2;
    font-weight: 400;
    word-break: break-word;
}

.info-container {
    box-sizing: border-box;
    margin: 0px;
    line-height: 1.3;
}

.text-left-align {
    box-sizing: border-box;
    margin: 0px;
    text-align: left;
}

.section-info-text {
    box-sizing: border-box;
    margin: 0px 0px 4px;
    font-size: var(--font-size-base);
    word-break: break-word;
}

.content-item {
    box-sizing: border-box;
    margin: 0px;
}

.section-block-wrapper {
    box-sizing: border-box;
    margin: 0px 0px 12px;
}

.section-title-header-alt {
    box-sizing: border-box;
    margin: 0px 0px 8px;
    border-bottom: none;
    font-weight: 600;
    text-transform: uppercase;
    background: rgb(204, 239, 255);
    padding: 2px 4px;
    border-radius: 3px;
    font-size: var(--font-size-section-header);
    display: inline-block;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color: rgb(0, 0, 0);
}

.Hobby__TagItem-igajfz-1 {
    background-color: rgb(255, 255, 255);
    display: inline-block;
    border-radius: 3px;
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 104, 153);
    font-size: var(--font-size-base);
    padding: 2px 8px;
    margin: 0px 4px 8px;
}

.Hobby__Tag-igajfz-0 {
    display: inline-block;
}

.timeline-wrapper::before {
    content: "";
    border-left: 1px solid rgb(204, 204, 204);
    position: absolute;
    left: -24px;
    height: 100%;
    top: 13px;
}

.timeline-wrapper::after {
    content: "";
    border-radius: 12px;
    width: 10px;
    height: 10px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(119, 119, 119);
    position: absolute;
    left: -28px;
    top: 2px;
}

/* ===== SEMANTIC CLASSES (Good Naming) ===== */

/* Base Reset Styles */
.base-reset {
    box-sizing: border-box;
    margin: 0px;
}

.base-reset-with-margin-bottom {
    box-sizing: border-box;
    margin: 0px 0px 4px;
}

/* Icon & SVG Styles */
.icon-wrapper {
    box-sizing: border-box;
    margin: 0px 8px 0px 0px;
    display: inline-block;
}

.icon-svg {
    display: inline-block;
    position: relative;
    top: 2px;
}

.social-icon-svg {
    position: relative;
    display: inline-block;
    margin-right: 4px;
    font-size: 16px;
    vertical-align: middle;
    top: -1px;
}

/* Contact Info Styles */
.contact-info-item {
    box-sizing: border-box;
    margin: 0px 0px 4px;
    position: relative;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.2;
    font-size: var(--font-size-base);
}

.contact-info-item-no-margin {
    box-sizing: border-box;
    margin: 0px;
    position: relative;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.2;
    font-size: var(--font-size-base);
}

/* Layout Styles */
.flex-container {
    box-sizing: border-box;
    margin: 0px;
    flex-wrap: wrap;
    display: flex;
}

.flex-spaced {
    box-sizing: border-box;
    margin: 0px;
    flex-wrap: nowrap;
    background-color: rgb(255, 255, 255);
    padding: 0px 32px;
    display: flex;
}

/* Text & Content Styles */
.work-description {
    box-sizing: border-box;
    margin: 0px;
    font-size: var(--font-size-base);
    line-height: 1.7;
}

.section-subtitle {
    box-sizing: border-box;
    margin: 0px;
    font-size: var(--font-size-base);
}

/* Spacing Utilities */
.margin-bottom-8 {
    box-sizing: border-box;
    margin: 0px 0px 8px;
}

.margin-padding-32 {
    box-sizing: border-box;
    margin: 0px;
    padding: 32px;
    background-color: rgb(255, 255, 255);
}

.margin-width-75 {
    box-sizing: border-box;
    margin: 0px;
    width: 73%;
    padding-right: 32px;
    flex-shrink: 0;
}

.margin-width-25 {
    box-sizing: border-box;
    margin: 0px;
    width: 27%;
    flex-shrink: 0;
}

/* Divider & Separator */
.divider-separator {
    box-sizing: border-box;
    color: rgb(204, 204, 204);
    padding-top: 24px;
    border-bottom: 1px solid rgb(204, 204, 204);
    margin: 0px;
    width: 100%;
}

/* Tag & Badge Styles */
.tag-inline {
    display: inline-block;
}

/* Section Header with All Styling */
.section-header-styled {
    box-sizing: border-box;
    margin: 0px 0px 8px;
    border-bottom: none;
    font-weight: 600;
    text-transform: uppercase;
    background: rgb(204, 239, 255);
    padding: 2px 4px;
    border-radius: 3px;
    font-size: var(--font-size-section-header);
    display: inline-block;
    color: rgb(0, 0, 0);
}

/* Heading & Title Styles */
.heading-large {
    box-sizing: border-box;
    margin: 0px 0px 8px;
    font-size: var(--font-size-heading-main);
    color: rgb(0, 0, 0);
    line-height: 1;
    font-weight: bold;
}

.heading-job-title {
    box-sizing: border-box;
    margin: 0px 0px 4px;
    font-size: var(--font-size-heading-job);
    font-weight: bold;
}

/* Layout Containers */
.paper-container {
    min-height: 9.3in;
    box-sizing: border-box;
    margin: 0px auto;
    width: 9.5in;
    background-color: white;
    position: relative;
    transform-origin: center top;
}

.wrapper-max-width {
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0px auto;
    position: relative;
    height: 100%;
    background: rgb(255, 255, 255);
}

/* Certification Link Styles */
.certification-link {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: var(--font-size-meta);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.certification-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

.certification-link:hover::after {
    opacity: 1;
}

.certification-link::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

/* Work Experience Timeline Wrapper */
.work-timeline-wrapper {
    box-sizing: border-box;
    margin: 0px 0px 0px 24px;
    padding: 0px 0px 16px;
    border-radius: 0px;
    border-bottom: 0px transparent;
    line-height: 1;
    position: relative;
    border-bottom: none;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

/* Project Title Styles */
.project-title {
    box-sizing: border-box;
    margin: 0px 0px 4px;
    font-size: var(--font-size-heading-job);
    font-weight: bold;
}

/* Icon Wrapper Compact */
.icon-compact {
    box-sizing: border-box;
    margin: 0px 8px 0px 0px;
    display: inline-block;
}

/* Email Link Specific */
.email-link {
    font-size: var(--font-size-base);
    color: rgb(0, 0, 0);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Social Link Specific */
.social-link {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: var(--font-size-meta);    cursor: pointer;
    transition: all 0.2s ease;
}

.social-link:hover {
    color: #0066cc;
    text-decoration: underline;}

/* Container Spacer */
.container-wrapper {
    box-sizing: border-box;
    margin: -51px 0px 102px 0px;
    padding-bottom: 50px;
}

/* ===== GLOBAL STYLES ===== */

/* CLICKABLE LINK INDICATORS - Makes all links visually obvious */
/* Features:
   - Cursor changes to pointer on hover
   - Links turn blue (#0066cc) on hover
   - Links underline on hover
   - External link icons appear next to social/certification links
   - Icons become more visible (opacity increases) on hover
*/
a {
    cursor: pointer;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
    color: #0066cc !important;
    text-decoration: underline !important;
}

body {
    box-sizing: border-box;
    margin: 0px;
    background-color: #333;
    padding: 0px;
    -webkit-font-smoothing: antialiased;
    line-height: 1.4;
    color: rgb(0, 0, 0);
    font-size: var(--font-size-base);
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
    zoom: 125%;
    -moz-transform: scale(1.25);
    -moz-transform-origin: 0 0;
}

* {
    box-sizing: border-box;
}

/* Iframe Hidden Styles */
iframe#_hjRemoteVarsFrame {
    display: none !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ===== Styled-Components Base Classes (Renamed Semantically) ===== */

/* Universal wrapper - applies box-sizing to all wrapper divs */
.styled-container {
    box-sizing: border-box;
}

/* Text and typography base styling */
.styled-text-element {
    box-sizing: border-box;
}

/* Flex layout containers */
.styled-flex-layout {
    box-sizing: border-box;
    display: flex;
}

/* Heading text styling */
.styled-heading-text {
    box-sizing: border-box;
}

/* Section/item wrapper styling */
.styled-section-wrapper {
    box-sizing: border-box;
}

/* Image element styling */
.styled-image-element {
    box-sizing: border-box;
}

/* Link element styling */
.styled-link-element {
    box-sizing: border-box;
}

/* ===== OVERRIDE INLINE STYLES WITH CSS VARIABLES ===== */

/* Bio text - override inline style font-size: 16px */
[style*="font-size: 16px"].bio-text {
    font-size: var(--font-size-bio) !important;
}

/* Base text - override inline style font-size: 12px */
[style*="font-size: 12px"] {
    font-size: var(--font-size-base) !important;
}

/* Meta text - override inline style font-size: 10px */
[style*="font-size: 10px"] {
    font-size: var(--font-size-meta) !important;
}

/* Ensure ALL contact info items use the same font size */
.ContactInfo__Hyphenate-sc-3a4fv3-1,
.contact-info-item,
.contact-info-item-text,
.contact-info-item-no-margin,
.contact-info-compact {
    font-size: var(--font-size-base) !important;
}

/* Override body tag inline style */
body[style*="font-size"] {
    font-size: var(--font-size-base) !important;
}

/* Ensure backgrounds print correctly */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    /* Prevent column wrapping in print */
    .flex-spaced {
        flex-wrap: nowrap !important;
    }
    
    /* Better word breaking for long German compound words */
    .margin-width-75,
    .margin-width-25 {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* Better handling for German language (long compound words) */
html[lang="de"] .description-text,
html[lang="de"] .section-info-text,
html[lang="de"] .job-title-text,
html[lang="de"] .project-title {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}
