/* Override Cargo defaults */

body, html {
    background-color: #c41e1e !important;
    color: #000 !important;
    font-family: 'Times New Roman', Times, serif !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
}

#page, .page, .content, main {
    background-color: #c41e1e !important;
    padding: 40px !important;
    max-width: 600px !important;
}

h1 {
    font-size: 18px !important;
    font-weight: normal !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


h1 + p {
    margin-top: 0 !important;
}

.bio {
    margin-bottom: 0 !important;
}

.section-label {
    margin-bottom: 0.5em !important;
    font-style: italic !important;
}

ul {
    list-style: none !important;
    padding-left: 0 !important;
}

li {
    margin-bottom: 0.25em !important;
}

a {
    color: #000 !important;
    text-decoration: underline !important;
}

a:hover {
    text-decoration: none !important;
}

.contact {
    margin-top: 3em !important;
}

::selection {
    background: #000;
    color: #c41e1e;
}

body, html, #page, .page, .content, main, div, p, h1, ul, li {
    text-align: left !important;
}

#page, .page, .content, main, .container, .page-container, article, section, .wrapper, #container {
    margin-left: 0 !important;
    margin-right: auto !important;
    padding-left: 40px !important;
    left: 0 !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
}

p, h1, ul, li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

h1 {
    margin-bottom: 1.5em !important;
}

.bio, p.bio {
    margin-bottom: 2em !important;
}

.section-label, p.section-label {
    margin-bottom: 0.4em !important;
}

li {
    margin-bottom: 0.15em !important;
}

.contact, p.contact {
    margin-top: 2em !important;
}

li::before {
    content: "* " !important;
}

.photographer-link:hover {
    background-color: #000 !important;
    color: #c41e1e !important;
    padding: 0 4px !important;
    margin: 0 -4px !important;
}

.photographer-link {
    text-decoration: none !important;
}

/* Photo Overlay */
.photo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #c41e1e;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.photo-overlay::-webkit-scrollbar {
    display: none;
}

.photo-overlay.active {
    opacity: 1;
    visibility: visible;
}

.photo-container {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 40px;
    gap: 40px;
}

.photo-container img {
    height: 80vh;
    width: auto;
    flex-shrink: 0;
}

.photo-container::after {
    content: "";
    padding-right: 40px;
}

.photo-spacer {
    min-width: 40px;
    flex-shrink: 0;
}

.close-hint {
    position: fixed;
    bottom: 40px;
    right: 40px;
    font-size: 14px;
    font-style: italic;
    color: #000;
    pointer-events: none;
}


a, .photographer-link {
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-underline-offset: 3px !important;
}



a:hover, .photographer-link:hover {
    text-decoration: none !important;
}

.profile-contact {
  word-break: break-all;
}