/* Title/role styling */
.vcard-title {
    font-style: italic;
    font-weight: 500;
    color: #AAB7C4;
    margin-bottom: 0.5em;
}
/* Photo column for vertical layout */
.vcard-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 140px;
    max-width: 180px;
    height: 100%;
    gap: 1.2em;
}
/* Contact icons styles */
.contact-icons {
    display: flex;
    gap: 1.1em;
    margin-top: 1.2em;
}
.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, box-shadow 0.15s;
    border-radius: 50%;
    padding: 0.18em;
}
.icon-link:hover, .icon-link:focus {
    background: #232A34;
    box-shadow: 0 2px 8px 0 #232A3444;
    transform: scale(1.12);
}
/* Contact form styles */
.contact-form {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.7em;
}

.contact-input {
    background: #232A34;
    color: #E3EAF2;
    border: 1.5px solid #6C7A89;
    border-radius: 3px;
    padding: 0.35em 0.7em;
    font-size: 1em;
    outline: none;
    transition: border 0.2s;
}
.contact-input:focus {
    border-color: #AAB7C4;
}

.contact-btn {
    background: #6C7A89;
    color: #232A34;
    border: none;
    border-radius: 3px;
    padding: 0.38em 1.1em;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.contact-btn:hover, .contact-btn:focus {
    background: #AAB7C4;
    color: #232A34;
}
body {
    background: #232A34; /* Gunmetal Blue */
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.profile-blurb {
    margin-bottom: 1.2em;
    word-break: break-word;
}

.vcard-box {
    background: #3B4656; /* Blue Grey */
    border: 1.5px solid #6C7A89; /* Soft Steel */
    padding: 1.5rem 2.5rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 700px;
    max-width: 700px;
    min-height: 300px;
    max-height: 600px;
    position: relative;
}

.vcard-content-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2.5rem;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Vertically center the photo in the card */
.vcard-photo {
    margin-top: 0;
    margin-bottom: 0;
}

.vcard-texts {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1 1 0;
    height: 100%;
    min-width: 0;
    margin-top: 0.2rem;
    overflow: hidden;
    box-sizing: border-box;
}
.vcard-texts p, .vcard-texts h1 {
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
}

.vcard-box::before,
.vcard-box::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    height: 0;
    border-top: 2px dashed #AAB7C4; /* Pale Blue Grey */
    pointer-events: none;
}
.vcard-box::before { top: 6px; }
.vcard-box::after { bottom: 6px; }

/* Vertical dashed lines */
.vcard-box::marker { display: none; }
.vcard-box .vcard-vert-line {
    position: absolute;
    top: 6px;
    bottom: 6px;
    width: 0;
    border-left: 2px dashed #AAB7C4; /* Pale Blue Grey */
    pointer-events: none;
}
.vcard-box .vcard-vert-line.left {
    left: 6px;
}
.vcard-box .vcard-vert-line.right {
    right: 6px;
}

.vcard-photo {
    width: 160px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0;
    margin-right: 0;
    margin-top: 0;
    margin-left: 0;
    /* Ensure same distance to top and left dashed lines */
    position: relative;
    top: 6px;
    left: 6px;
}

h1 {
    margin: 0.5rem 0 0.2rem 0;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #AAB7C4; /* Pale Blue Grey */
}
p {
    margin: 0.2rem 0;
    color: #E3EAF2;
    font-size: 1.1rem;
}