.ralr-resume,
.ralr-resume * {
    box-sizing: border-box;
}

.ralr-resume {
    /*
	 * Layout-specific variables only.
	 * The orange fallback matches the color used throughout the theme.
	 */
    --ralr-accent: var(--wp--preset--color--orange, #ff9400);
    --ralr-border: #d8d8d8;

    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 2% 0 0;

    /*
	 * Inherit Figtree, text size, line height and colors
	 * from WordPress Global Styles.
	 */
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: transparent;
}

/*
 * Form controls do not always inherit typography automatically.
 */
.ralr-resume button,
.ralr-resume input,
.ralr-resume select,
.ralr-resume textarea {
    font: inherit;
}

/* Allow WordPress to control normal link appearance. */
.ralr-resume a {
    color: inherit;
}

/* =========================
   Resume header
   ========================= */

.ralr-resume-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 0 0 30px;
    border-bottom: 1px solid var(--ralr-border);
}

.ralr-resume-header__identity {
    min-width: 0;
}

.ralr-resume-name {
    margin-top: 0;
    margin-bottom: 0;
    font-family: inherit;
    text-transform: none;
}

.ralr-resume-name span {
    color: var(--ralr-accent);
}

.ralr-resume-title {
    margin: 4px 0 18px;
    color: var(--ralr-accent);
    font-family: inherit;
}

/* =========================
   Contact information
   ========================= */

.ralr-contact-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 30px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.ralr-contact-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    margin-block-end: 0 !important;
    padding: 0;
}

.ralr-contact-list li:last-child {
    margin-bottom: 0;
}

.ralr-contact-list a {
    color: inherit;
    text-decoration: none;
}

.ralr-contact-list a:hover,
.ralr-contact-list a:focus-visible {
    color: var(--ralr-accent);
    text-decoration: underline;
}

.ralr-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    color: var(--ralr-accent);
}

/* =========================
   Export button
   ========================= */

.ralr-resume-header__actions {
    flex: 0 0 auto;
    padding-top: 4px;
}

/*
 * WordPress controls the visual button styling.
 * This rule only controls the internal layout.
 */
.ralr-export-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    cursor: pointer;
}

/* =========================
   Section headings
   ========================= */

.ralr-resume-section h2,
.ralr-sidebar-section h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-family: inherit;
    text-transform: uppercase;
}

/* =========================
   Executive summary
   ========================= */

.ralr-summary {
    padding: 2% 0 2%;
    border-bottom: 1px solid var(--ralr-border);
}

.ralr-summary p {
    max-width: none;
    margin: 0;
}

/* =========================
   Main two-column layout
   ========================= */

.ralr-resume-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 34px;
    padding-top: 2%;
}

.ralr-resume-main {
    min-width: 0;
    padding-right: 10px;
}

.ralr-resume-sidebar {
    min-width: 0;
    padding-left: 32px;
    border-left: 1px solid var(--ralr-border);
}

/* =========================
   Experience
   ========================= */

.ralr-experience {
    margin: 0 0 30px;
}

.ralr-experience-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 12px;
}

.ralr-experience-role {
    margin: 0;
    font-family: inherit;
}

.ralr-experience-company {
    margin: 4px 0 0;
    color: var(--ralr-accent);
    font-family: inherit;
    text-transform: uppercase;
    font-weight: 700;
}

.ralr-experience-dates {
    flex: 0 0 auto;
    margin: 0;
    font-style: italic;
    white-space: nowrap;
}

.ralr-experience-bullets,
.ralr-sidebar-section ul {
    margin: 0;
    padding-left: 1.15rem;
}

.ralr-experience-bullets li,
.ralr-sidebar-section li {
    padding-left: 1px;
}

/*
 * Your theme already adds spacing between content list items.
 * This fallback applies only if the shortcode is outside the
 * normal post-content wrapper.
 */
.ralr-experience-bullets li:not(:last-child),
.ralr-sidebar-section li:not(:last-child) {
    margin-bottom: 0.5rem;
}

/* =========================
   Sidebar
   ========================= */

.ralr-sidebar-section {
    margin-bottom: 34px;
}

.ralr-sidebar-section h3 {
    margin: 0 0 2px;
    font-family: inherit;
    text-transform: uppercase;
}

.ralr-sidebar-section p {
    margin: 0 0 10px;
}

.ralr-competency-group {
    margin-top: 26px;
}

.ralr-competency-group:first-of-type {
    margin-top: 8px;
}

.ralr-competency-group h3 {
    margin-bottom: 5px;
}

/* =========================
   Error message
   ========================= */

.ralr-error {
    padding: 16px;
    color: #8a1f11;
    background: #fff2f0;
    border: 1px solid #e6b8b2;
    border-radius: 4px;
}

/*
 * Prevent constrained Gutenberg layouts from making individual
 * résumé elements narrower than the résumé container.
 */
.ralr-resume h1,
.ralr-resume h2,
.ralr-resume h3,
.ralr-resume p,
.ralr-resume ul,
.ralr-resume li {
    max-width: none;
}

/* =========================
   Tablet
   ========================= */

@media (max-width: 980px) {
    .ralr-resume-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .ralr-resume-main {
        padding-right: 0;
    }

    .ralr-resume-sidebar {
        padding: 30px 0 0;
        border-top: 1px solid var(--ralr-border);
        border-left: 0;
    }
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 760px) {
    .ralr-resume {
        padding-top: 24px;
    }

    .ralr-resume-header {
        flex-direction: column;
    }

    .ralr-resume-header__actions {
        width: 100%;
        padding-top: 0;
    }

    .ralr-resume-header__actions .wp-block-buttons,
    .ralr-resume-header__actions .wp-block-button {
        width: 100%;
    }

    .ralr-export-button {
        width: 100%;
    }

    .ralr-contact-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ralr-experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .ralr-experience-dates {
        white-space: normal;
    }

    .ralr-resume-columns {
        gap: 24px;
    }
}

/* =========================
   Print / PDF preparation
   ========================= */

@media print {
    .ralr-resume-header__actions {
        display: none;
    }

    .ralr-resume {
        padding: 0;
    }

    .ralr-resume-columns {
        grid-template-columns: 2fr 1fr;
    }

    .ralr-resume-sidebar {
        padding-left: 20px;
        border-top: 0;
        border-left: 1px solid var(--ralr-border);
    }

    .ralr-experience {
        break-inside: avoid;
    }
}


/* =========================
   Resume Dropdown Icon
   ========================= */

.resume-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.resume-dropdown-wrapper::before {
    content: "\f15b";
    /* Font Awesome File icon */
    font-family: "Font Awesome 7 Free";
    font-weight: 400;
    /* Regular style */

    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);

    color: #FF9400;
    pointer-events: none;
}

.resume-dropdown {
    padding-left: 48px;
}

h4.resume-job-title {
    margin-top: 0.5%;
}

.resume-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.resume-contact>* {
    flex: 0 0 auto;
}


.resume-left {
    border-right: 2px solid #d9d9d9;
    padding-right: 30px;
}

.resume-right {
    padding-left: 30px;
}

/* =========================
   Tailer Resume Button
   ========================= */

.ralr-tailor-button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 6px;
}

/* =========================
   Export Button
   ========================= */

.ralr-export-button {
    border-radius: 6px;
}

.ralr-resume-header__actions .wp-block-button.is-style-outline .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    color: var(--ralr-accent);
    background: transparent;
    border: 2px solid currentColor;
}

.ralr-resume-header__actions .material-symbols-outlined {
    font-size: 1.25em;
    line-height: 1;
}

.ralr-resume-header__actions .wp-block-button.is-style-outline .wp-block-button__link:hover,
.ralr-resume-header__actions .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

/* =========================
   Header Spacings
   ========================= */

.ralr-resume h5 {
    margin: 0 0 1rem;
}

.ralr-resume h6 {
    margin: 0;
}


/* =========================
   Living Resume Header
   ========================= */

.ralr-living-resume-intro {
    position: relative;
    padding: 20px 0 30px;
    background: transparent;
    isolation: isolate;
}

.ralr-living-resume-intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f1f1f1;
}

.ralr-living-resume-intro__inner {
    width: 100%;
    margin-inline: auto;
}

.ralr-living-resume-intro__heading {
    margin: 0;
}

.ralr-living-resume-intro__description {
    max-width: 1300px;
    margin: 5px 0 0;
}

.ralr-living-resume-intro__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}

.ralr-tailor-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ralr-verification-message {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: #666;
}

.ralr-verification-message .material-symbols-outlined {
    color: inherit;
}

@media (max-width:700px) {
    .ralr-living-resume-intro__actions {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================
   1px border above Additional Experience Section
   ========================= */
.ralr-additional-experience {
    border-top: 1px solid #d6d6d6;
    margin-top: 2rem;
    padding-top: 3%;
}


/* =========================
   Tailor Resume Drawer
   ========================= */

:root {
    --ralr-accent: #f58200;
    --ralr-drawer-width: 760px;
    --ralr-drawer-border: #d8d8d8;
    --ralr-drawer-muted: #666666;
    --ralr-drawer-header: #f1f1f1;
}

/*
 * Shift the page when the drawer opens.
 * The resume remains visible and there is no modal overlay.
 */
body {
    transition: padding-right 250ms ease;
}

body.ralr-drawer-open {
    padding-right: min(var(--ralr-drawer-width), 100vw);
    overflow-x: hidden;
}

/* Drawer shell */
.ralr-tailor-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
}

.ralr-tailor-drawer.is-open {
    visibility: visible;
}

/* Right-side panel */
.ralr-tailor-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;

    width: min(var(--ralr-drawer-width), 100vw);
    height: 100dvh;

    overflow: hidden;
    pointer-events: auto;

    color: inherit;
    background: #ffffff;
    border-left: 1px solid var(--ralr-drawer-border);
    box-shadow: -6px 0 18px rgb(0 0 0 / 10%);

    transform: translateX(100%);
    transition: transform 250ms ease;
}

.ralr-tailor-drawer.is-open .ralr-tailor-drawer__panel {
    transform: translateX(0);
}

/* Drawer header */
.ralr-tailor-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 50px 40px 24px;
    background: var(--ralr-drawer-header);
    border-bottom: 1px solid var(--ralr-drawer-border);
}

.ralr-tailor-drawer__heading-group {
    flex: 1 1 auto;
    min-width: 0;
}

.ralr-tailor-drawer__header>div {
    min-width: 0;
}

.ralr-tailor-drawer__title {
    margin: 0;
    white-space: nowrap;
}

.ralr-tailor-drawer__description {
    max-width: none;
    margin: 8px 0 0;
    line-height: 1.45;
}

/* Close button */
.ralr-tailor-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin: 6px -8px 0 0;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.ralr-tailor-drawer__close:hover,
.ralr-tailor-drawer__close:focus-visible {
    background: rgb(0 0 0 / 7%);
}

/* Scrollable drawer content */
.ralr-tailor-drawer__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 28px 40px 40px;
}

.ralr-tailor-drawer__profiles,
.ralr-tailor-drawer__job-description {
    margin: 0;
}

.ralr-tailor-drawer__job-description {
    margin-top: 35px;
    padding-top: 24px;
    border-top: 1px solid var(--ralr-drawer-border);
}

/* The space between the text box and the button */
.ralr-tailor-job-button {
    margin-top: 20px;
}

/* Section headings and descriptions */
.ralr-tailor-section__title {
    margin: 0;
    text-transform: uppercase;
}

.ralr-tailor-section__description {
    margin: 6px 0 16px;
    line-height: 1.4;
}

/*
 * These selectors support your current PHP
 * before you add the new section classes.
 */
.ralr-tailor-drawer__profiles>h5,
.ralr-tailor-drawer__job-description>h5 {
    margin: 0;
    text-transform: uppercase;
}

.ralr-tailor-drawer__profiles>p,
.ralr-tailor-drawer__job-description>p {
    margin: 6px 0 16px;
    line-height: 1.4;
}

/* Profile card grid */
.ralr-profile-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* Profile card */
.ralr-profile-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    font-family: "Figtree", sans-serif;

    width: 100%;
    min-height: 210px;

    padding: 20px;

    color: inherit;
    text-align: left;

    background: #fff;
    border: 1px solid var(--ralr-drawer-border);
    border-radius: 10px;

    cursor: pointer;

    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        transform 150ms ease;
}

.ralr-profile-card:hover {
    border-color: var(--ralr-accent);
}

.ralr-profile-card:focus-visible {
    outline: 2px solid var(--ralr-accent);
    outline-offset: 2px;
}

.ralr-profile-card.is-selected {
    border-color: var(--ralr-accent);
    box-shadow: 0 0 0 1px var(--ralr-accent);
}

.ralr-profile-card__selected-icon {
    position: absolute;
    top: 12px;
    right: 12px;

    font-size: 40px;
    line-height: 1;

    color: #666666;

    opacity: 0;
    transform: scale(.8);
    transition:
        opacity 150ms ease,
        transform 150ms ease;
}

.ralr-profile-card.is-selected .ralr-profile-card__selected-icon {
    opacity: 1;
    transform: scale(1);
}

/* Profile badge */
.ralr-profile-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    color: #ffffff;
    background: var(--ralr-accent);
    border-radius: 50%;

    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

/* Profile badge small */
.ralr-profile-card__badge--small {
    font-size: 13px;
}

/* Profile text */
.ralr-profile-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;

    width: 100%;
}

.ralr-profile-card__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.ralr-profile-card__title {
    min-width: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.ralr-profile-card__chevron {
    flex: 0 0 auto;
    font-size: 28px;
    line-height: 1;
}

.ralr-profile-card__description {
    display: block;

    margin-top: 4px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;

    color: #333;
}

/* Job-description field */
.ralr-tailor-drawer__textarea {
    box-sizing: border-box;
    display: block;

    width: 100%;
    min-height: 120px;
    padding: 16px;

    color: inherit;
    background: #ffffff;
    border: 1px solid var(--ralr-drawer-border);
    border-radius: 10px;

    font: inherit;
    line-height: 1.45;
    resize: vertical;
}

.ralr-tailor-drawer__textarea:focus {
    border-color: var(--ralr-accent);
    outline: 2px solid rgb(245 130 0 / 20%);
    outline-offset: 1px;
}

.ralr-tailor-drawer__textarea::placeholder {
    color: #888888;
}

/* Tailor button */
.ralr-tailor-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    border-radius: 6px;
}

.ralr-tailor-submit .material-symbols-filled {
    color: inherit;
}

.ralr-tailor-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ralr-tailor-submit-wrapper,
.ralr-tailor-submit-wrapper .wp-block-button {
    width: 100%;
}

.ralr-tailor-submit[aria-busy="true"],
.ralr-tailor-submit[aria-busy="true"]:disabled {
    background-color: #000;
    border-color: #000;
    color: #fff;
    cursor: wait;
    opacity: 1;
}

.ralr-tailor-submit[aria-busy="true"] .material-symbols-filled {
    animation: ralr-loading-spin 0.9s linear infinite;
}

@keyframes ralr-loading-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mobile */
@media (max-width: 900px) {
    :root {
        --ralr-drawer-width: 100vw;
    }

    body.ralr-drawer-open {
        padding-right: 0;
    }
}

@media (max-width: 600px) {

    .ralr-tailor-drawer__header,
    .ralr-tailor-drawer__body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ralr-tailor-drawer__footer {
        padding-right: 24px;
        padding-left: 24px;
    }

    .ralr-profile-list {
        grid-template-columns: 1fr;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    body,
    .ralr-tailor-drawer__panel {
        transition: none;
    }
}


/* For Relevant Projects Section */
.ralr-relevant-projects .wp-block-post[hidden] {
    display: none !important;
}


/* Tailored with Ross AI using verified experiece quote when the resume is tailored by Ross AI. */
.ralr-resume-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.ralr-resume-title-row .ralr-resume-title {
    margin: 0;
}

.ralr-tailored-message {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 8px 0 0;
    font-size: 1rem;
    font-weight: 400;
    color: #767676;
}

.ralr-tailored-message .material-symbols-outlined {
    font-size: 1.05rem;
}

@media (max-width: 700px) {
    .ralr-resume-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }
}


/* Clear Button for Tailor AI Text field */
.ralr-tailor-field-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.ralr-tailor-clear {
    padding: 6px 10px;
    color: #444;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ralr-tailor-clear:hover:not(:disabled) {
    color: #222;
    background: #eeeeee;
    border-color: #cfcfcf;
}

.ralr-tailor-clear:focus-visible {
    outline: 2px solid #444;
    outline-offset: 2px;
}

.ralr-tailor-clear:disabled {
    color: #999;
    background: #f7f7f7;
    border-color: #e0e0e0;
    cursor: default;
    opacity: 0.55;
}


/* =========================================================
   Modal Popup for Unable to Tailor Resume
   ========================================================= */

/* Unable-to-tailor modal overlay */
.ralr-tailor-error-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.ralr-tailor-error-modal[hidden] {
    display: none;
}

.ralr-tailor-error-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.ralr-tailor-error-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 570px);
    padding: 1.75rem 1.75rem 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow:
        0 1rem 3rem rgba(0, 0, 0, 0.2);
}

.ralr-tailor-error-modal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: #222;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.ralr-tailor-error-modal__close .material-symbols-outlined {
    font-size: 1.35rem;
}

.ralr-tailor-error-modal__title {
    margin: 0 2rem 0.9rem 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.ralr-tailor-error-modal__message {
    margin: 0;
    line-height: 1.45;
}

.ralr-tailor-error-modal__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

.ralr-tailor-error-modal__actions .wp-block-buttons {
    margin: 0;
}

.ralr-tailor-error-modal__dismiss {
    min-width: 5.75rem;
    border-radius: 6px;
}

@media (max-width: 600px) {
    .ralr-tailor-error-modal {
        padding: 1rem;
    }

    .ralr-tailor-error-modal__dialog {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .ralr-tailor-error-modal__title {
        font-size: 1.25rem;
    }
}



/* =========================================================
   Resume PDF / Print layout
   ========================================================= */

@page {
    size: Letter;
    margin: 0.4in 0.45in;
}

/* Hide the print footer on the website. */
.ralr-print-footer {
    display: none;
}

@media print {

    /*
     * Hide the full website while allowing the resume
     * and its children to remain visible.
     */
    body * {
        visibility: hidden !important;
    }

    .ralr-resume,
    .ralr-resume * {
        visibility: visible !important;
    }

    html,
    body {
        width: 100%;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    body {
        color: #000;
        font-family: Figtree, Arial, sans-serif;
        font-size: 9.5pt;
        line-height: 1.35;
    }

    /*
     * Remove the resume from the website layout and place
     * it at the beginning of the printed document.
     */
    .ralr-resume {
        position: absolute;
        top: 0;
        left: 0;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #fff !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /*
     * Hide website-only interface elements.
     */
    .ralr-resume-header__actions,
    .ralr-tailor-drawer,
    .ralr-tailor-drawer__panel,
    .ralr-living-resume-intro,
    .ralr-relevant-projects,
    .site-header,
    .wp-block-template-part,
    #wpadminbar,
    .ross-ai-panel {
        display: none !important;
    }

    /*
     * Resume header.
     */
    .ralr-resume-header {
        display: block !important;

        margin: 0 0 10px !important;
        padding: 0 0 9pt !important;

        border-bottom: 1px solid #d8d8d8;
    }

    .ralr-resume-header__identity {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        justify-content: flex-start !important;

        gap: 4px 2px !important;
    }

    .ralr-resume-name,
    .ralr-resume-title {
        margin: 0 !important;
        padding: 0 !important;
    }

    .ralr-resume-name {
        font-size: 20pt !important;
        line-height: 1.05 !important;
    }

    .ralr-resume-title {
        color: var(--ralr-accent) !important;
        font-size: 15pt !important;
        line-height: 1.1 !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    .ralr-resume-title::before {
        content: "–";
        display: inline-block;

        margin-right: 4px;

        color: #666;
        font-size: 0.65em;
        font-weight: 400;
        line-height: 1;
        vertical-align: 0.08em;
    }

    /*
     * Contact details.
     */
    .ralr-contact-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;

        flex-basis: 100% !important;
        width: 100% !important;

        column-gap: 12pt !important;
        row-gap: 2pt !important;

        margin: 8px 0 0 !important;
        padding: 0 !important;

        list-style: none !important;
        font-size: 8pt !important;
        line-height: 1.2 !important;
    }

    .ralr-contact-list li {
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        white-space: nowrap !important;
    }

    .ralr-contact-list i {
        flex: 0 0 auto;
        margin-right: 3pt !important;
    }

    /*
     * Executive summary.
     */
    .ralr-summary {
        margin-bottom: 10px !important;
        padding-top: 8px !important;
        padding-bottom: 30px !important;
    }

    .ralr-summary p {
        margin: 0 0 8px !important;

        font-size: 8.75pt !important;
        line-height: 1.35 !important;
    }

    /*
     * Keep the primary resume and sidebar in two columns.
     */
    .ralr-resume-columns {
        display: grid !important;
        grid-template-columns: minmax(0, 2fr) minmax(0, 0.9fr) !important;

        gap: 18pt !important;
        align-items: start !important;

        padding-top: 6px !important;
    }

    .ralr-resume-main,
    .ralr-resume-sidebar {
        min-width: 0 !important;
    }

    .ralr-resume-sidebar {
        padding-top: 0 !important;
        border-color: #d8d8d8 !important;
    }

    /*
     * Section spacing and headings.
     */
    .ralr-resume-section,
    .ralr-sidebar-section {
        margin: 0 0 10pt !important;
        padding: 0 !important;
    }

    .ralr-resume-section>h5,
    .ralr-sidebar-section>h5 {
        margin: 0 0 5pt !important;
        padding: 0 0 2pt !important;

        border-bottom: 1px solid #d8d8d8;

        font-size: 9pt !important;
        line-height: 1.2 !important;
        letter-spacing: 0.04em !important;
    }

    /*
     * Experience entries.
     */
    .ralr-experience {
        margin: 0 0 15px !important;
        padding: 0 !important;
    }

    .ralr-experience-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: baseline !important;

        gap: 10pt !important;

        margin: 0 0 5px !important;
    }

    .ralr-experience-role {
        margin: 0 !important;
        padding: 0 !important;

        font-size: 10pt !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
    }

    .ralr-experience-company {
        margin: 1pt 0 0 !important;
        padding: 0 !important;

        font-size: 8.75pt !important;
        line-height: 1.2 !important;
    }

    .ralr-experience-dates {
        flex: 0 0 auto !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 8pt !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .ralr-experience-bullets {
        margin: 0 !important;
        padding-left: 14pt !important;

        font-size: 8.75pt !important;
        line-height: 1.3 !important;
    }

    .ralr-experience-bullets li {
        margin: 0 0 2.5pt !important;
        padding: 0 !important;
    }

    /*
     * Additional Experience.
     */
    .ralr-additional-experience {
        margin-top: 0 !important;
        padding-top: 8px !important;
        border-top-color: #d8d8d8 !important;
    }

    .ralr-additional-experience>h5 {
        margin-top: 8px !important;
    }

    /*
     * Sidebar content.
     */
    .ralr-education-item,
    .ralr-competency-group {
        margin: 0 0 7pt !important;
        padding: 0 !important;
    }

    .ralr-education-institution {
        margin: 0 0 1pt !important;
        padding: 0 !important;

        font-size: 8.75pt !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
    }

    .ralr-competency-group h6 {
        margin: 0 0 1pt !important;
        padding: 0 !important;

        font-size: 8.25pt !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
    }

    .ralr-education-location,
    .ralr-education-degree {
        margin: 0 0 1pt !important;
        padding: 0 !important;

        font-size: 8pt !important;
        line-height: 1.25 !important;
    }

    .ralr-competency-list {
        margin: 0 !important;
        padding-left: 12pt !important;

        font-size: 8pt !important;
        line-height: 1.25 !important;
    }

    .ralr-competency-item {
        margin: 0 0 3pt !important;
        padding: 0 !important;
    }

    /*
     * Prevent awkward page breaks where practical.
     */
    .ralr-resume-header,
    .ralr-summary,
    .ralr-experience-header,
    .ralr-education-item,
    .ralr-competency-group,
    .ralr-resume-section>h5,
    .ralr-sidebar-section>h5,
    .ralr-print-footer {
        break-inside: avoid-page;
        page-break-inside: avoid;
    }

    .ralr-experience-bullets li {
        break-inside: avoid-page;
        page-break-inside: avoid;
    }

    /*
     * Print footer.
     */
    .ralr-print-footer {
        position: fixed !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 10 !important;

        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 18pt !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 5pt 0 0 !important;

        color: #444 !important;
        background-color: #fff !important;
        border-top: 1px solid #d8d8d8;

        font-size: 7.5pt !important;
        line-height: 1.3 !important;

        break-inside: avoid-page;
        page-break-inside: avoid;
    }

    .ralr-print-footer p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .ralr-print-footer__ross-ai {
        flex: 1 1 auto;
    }

    .ralr-print-footer__tailored-note {
        flex: 0 0 auto;
        max-width: 190pt;

        font-style: italic;
        text-align: right;
    }

    /*
     * Allow the AI workflow to reveal this later.
     */
    .ralr-print-footer__tailored-note:not([hidden]) {
        display: block !important;
    }

    /*
     * Print links as normal text without appended URLs.
     */
    a,
    a:visited {
        color: #000 !important;
        text-decoration: none !important;
    }

    a[href]::after {
        content: none !important;
    }

    /*
     * Preserve colors where the browser supports it.
     */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .ralr-resume-title-row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.7rem;
    }

    .ralr-tailored-message {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        margin: 0;
        font-size: 6.5pt;
        font-weight: 500;
        white-space: nowrap;
        position: relative;
        top: 2px;
    }

    .ralr-tailored-message .material-symbols-outlined {
        font-size: 11pt;
    }

    /* Hide the tailored by Ross AI message meant for the web on printed version.
    .ralr-tailored-message {
        display: none;
    } */
}