/* CSS Custom Properties */
:root {
    /* Color Palette */
    --color-primary: #5a6f4f;
    --color-primary-hover: #7a8f6f;
    --color-secondary: #8b7355;
    --color-background: #f5f1e8;
    --color-text: #3a3a3a;
    --color-card-bg: #fff;
    --color-card-border: #8b7355;
    --color-placeholder: #999;
    --color-in-progress-bg: #f8f6f2;
    --color-in-progress-text: #8b9784;
    --color-in-progress-botanical: #a89888;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;

    /* Fonts */
    --font-family-serif: 'Georgia', 'Garamond', serif;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-serif);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

/* Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Navigation placeholder - show message if JavaScript is disabled */
#nav-placeholder {
    min-height: 50px;
}

#nav-placeholder::before {
    content: "Loading navigation...";
    display: block;
    color: var(--color-placeholder);
    font-style: italic;
    text-align: center;
    padding: var(--spacing-md);
}

/* Hide loading message when navigation is injected */
.system-nav ~ #nav-placeholder::before,
#nav-placeholder:empty::before {
    display: none;
}

/* Search and Filter Section */
.search-filter-section {
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.search-filter-row {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.search-box {
    flex: 1;
    min-width: 0;
}

.search-box input {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95em;
    font-family: var(--font-family-serif);
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: var(--color-text);
    transition: border-color 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.filter-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.filter-box label {
    font-size: 0.9em;
    color: var(--color-text);
    white-space: nowrap;
}

.filter-box select {
    padding: 10px 36px 10px 12px;
    font-size: 0.95em;
    font-family: var(--font-family-serif);
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235A6F4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-box select:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.filter-box select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(90, 111, 79, 0.1);
}

/* Active Filters Display */
#active-filters {
    margin-bottom: var(--spacing-sm);
}

.active-filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(90, 111, 79, 0.12) 0%, rgba(90, 111, 79, 0.08) 100%);
    border: 1px solid rgba(90, 111, 79, 0.25);
    color: var(--color-text);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.filter-tag:hover {
    background: linear-gradient(135deg, rgba(90, 111, 79, 0.18) 0%, rgba(90, 111, 79, 0.12) 100%);
    border-color: rgba(90, 111, 79, 0.35);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.remove-filter {
    background: rgba(90, 111, 79, 0.15);
    border: none;
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    margin-left: 2px;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.remove-filter:hover {
    opacity: 1;
    background: rgba(90, 111, 79, 0.3);
    transform: scale(1.1);
}

.clear-all-filters {
    background: #fff;
    color: var(--color-text);
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.9em;
    font-family: var(--font-family-serif);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.clear-all-filters:hover {
    background-color: rgba(90, 111, 79, 0.08);
    border-color: rgba(90, 111, 79, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Results Count */
.results-count {
    color: var(--color-placeholder);
    font-size: 0.85em;
    margin-bottom: var(--spacing-sm);
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--color-placeholder);
    font-style: italic;
    font-size: 1.1em;
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Landing page background botanicals */
/* Note: Uses :has() pseudo-class - requires modern browsers (Firefox 121+, Safari 15.4+) */
/* Hops botanical illustration positioned at top right corner */
body:has(main .plant-list)::after {
    content: '';
    position: fixed;
    top: -50px;
    right: -120px;
    width: 550px;
    height: 700px;
    background-image: url('images/Humulus_lupulus.jpg');
    background-size: cover;
    background-position: -15px -5px;
    z-index: 0;
    clip-path: inset(8px 8px 12px 15px); /* Crops edges for better appearance */
    opacity: 0.35; /* Slightly more visible */
    mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%); /* Fade right/bottom edges more */
    -webkit-mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%); /* Safari support */
}

/* Gradient overlay to fade botanical image into background */
body:has(main .plant-list)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right,
            rgba(245, 241, 232, 0.98) 0%,   /* Almost solid on left */
            rgba(245, 241, 232, 0.95) 40%,  /* Strong fade */
            rgba(245, 241, 232, 0.85) 60%,  /* Continue fading */
            rgba(245, 241, 232, 0.5) 80%,   /* More transparent */
            rgba(245, 241, 232, 0.2) 90%,   /* Very transparent */
            rgba(245, 241, 232, 0) 100%);   /* Fully transparent on right */
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 1;
}

/* Ensure content appears above background effects */
body:has(main .plant-list) .container {
    position: relative;
    z-index: 1;
}

/* Nervous System page background - Valerian botanical illustration */
/* Positioned at top right corner, similar to hops on main page */
body.nervous-system-page::after {
    content: '';
    position: fixed;
    top: -50px;
    right: -120px;
    width: 550px;
    height: 700px;
    background-image: url('images/Valeriana_officinalis.jpg');
    background-size: cover;
    background-position: -15px -5px;
    z-index: 0;
    clip-path: inset(8px 8px 12px 15px); /* Crops edges for better appearance */
    opacity: 0.35; /* Slightly more visible */
    mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%); /* Fade right/bottom edges more */
    -webkit-mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%); /* Safari support */
}

/* Gradient overlay for nervous system page */
body.nervous-system-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right,
            rgba(245, 241, 232, 0.98) 0%,   /* Almost solid on left */
            rgba(245, 241, 232, 0.95) 40%,  /* Strong fade */
            rgba(245, 241, 232, 0.85) 60%,  /* Continue fading */
            rgba(245, 241, 232, 0.5) 80%,   /* More transparent */
            rgba(245, 241, 232, 0.2) 90%,   /* Very transparent */
            rgba(245, 241, 232, 0) 100%);   /* Fully transparent on right */
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 1;
}

/* Ensure content appears above nervous system background effects */
body.nervous-system-page .container {
    position: relative;
    z-index: 1;
}

/* Immune System page background - Chamomile botanical illustration */
/* Positioned at top right corner, similar to hops and valerian */
body.immune-system-page::after {
    content: '';
    position: fixed;
    top: -50px;
    right: -120px;
    width: 550px;
    height: 700px;
    background-image: url('images/Anthemis_nobilis.jpg');
    background-size: cover;
    background-position: -15px -5px;
    z-index: 0;
    clip-path: inset(8px 8px 12px 15px); /* Crops edges for better appearance */
    opacity: 0.35; /* Slightly more visible */
    mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%); /* Fade right/bottom edges more */
    -webkit-mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%); /* Safari support */
}

/* Gradient overlay for immune system page */
body.immune-system-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right,
            rgba(245, 241, 232, 0.98) 0%,   /* Almost solid on left */
            rgba(245, 241, 232, 0.95) 40%,  /* Strong fade */
            rgba(245, 241, 232, 0.85) 60%,  /* Continue fading */
            rgba(245, 241, 232, 0.5) 80%,   /* More transparent */
            rgba(245, 241, 232, 0.2) 90%,   /* Very transparent */
            rgba(245, 241, 232, 0) 100%);   /* Fully transparent on right */
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 1;
}

/* Ensure content appears above immune system background effects */
body.immune-system-page .container {
    position: relative;
    z-index: 1;
}

/* Woman Reproductive System page background - Red Clover botanical illustration */
/* Positioned at top right corner, similar to other system pages */
body.woman-reproductive-system-page::after {
    content: '';
    position: fixed;
    top: -50px;
    right: -120px;
    width: 550px;
    height: 700px;
    background-image: url('images/Trifolium_pratense.jpg');
    background-size: cover;
    background-position: -15px -5px;
    z-index: 0;
    clip-path: inset(8px 8px 12px 15px); /* Crops edges for better appearance */
    opacity: 0.35; /* Slightly more visible */
    mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%); /* Fade right/bottom edges more */
    -webkit-mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%); /* Safari support */
}

/* Gradient overlay for woman reproductive system page */
body.woman-reproductive-system-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right,
            rgba(245, 241, 232, 0.98) 0%,   /* Almost solid on left */
            rgba(245, 241, 232, 0.95) 40%,  /* Strong fade */
            rgba(245, 241, 232, 0.85) 60%,  /* Continue fading */
            rgba(245, 241, 232, 0.5) 80%,   /* More transparent */
            rgba(245, 241, 232, 0.2) 90%,   /* Very transparent */
            rgba(245, 241, 232, 0) 100%);   /* Fully transparent on right */
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 1;
}

/* Ensure content appears above woman reproductive system background effects */
body.woman-reproductive-system-page .container {
    position: relative;
    z-index: 1;
}

/* Skin System Page Styles */
/* Background botanical illustration for skin system */
body.skin-system-page::after {
    content: '';
    position: fixed;
    top: -50px;
    right: -120px;
    width: 550px;
    height: 700px;
    background-image: url('images/Anthemis_nobilis.jpg');
    background-size: cover;
    background-position: -15px -5px;
    z-index: 0;
    clip-path: inset(8px 8px 12px 15px);
    opacity: 0.35;
    mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%);
}

/* Gradient overlay for skin system page */
body.skin-system-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right,
            rgba(245, 241, 232, 0.98) 0%,
            rgba(245, 241, 232, 0.95) 40%,
            rgba(245, 241, 232, 0.85) 60%,
            rgba(245, 241, 232, 0.5) 80%,
            rgba(245, 241, 232, 0.2) 90%,
            rgba(245, 241, 232, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Ensure content appears above skin system background effects */
body.skin-system-page .container {
    position: relative;
    z-index: 1;
}

/* Male Reproductive System Page Styles */
/* Background botanical illustration for male reproductive system */
body.male-reproductive-system-page::after {
    content: '';
    position: fixed;
    top: -50px;
    right: -120px;
    width: 550px;
    height: 700px;
    background-image: url('images/Hypericum_perforatum.jpg');
    background-size: cover;
    background-position: -15px -5px;
    z-index: 0;
    clip-path: inset(8px 8px 12px 15px);
    opacity: 0.35;
    mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 120% 100% at 30% 40%, black 40%, transparent 85%);
}

/* Gradient overlay for male reproductive system page */
body.male-reproductive-system-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right,
            rgba(245, 241, 232, 0.98) 0%,
            rgba(245, 241, 232, 0.95) 40%,
            rgba(245, 241, 232, 0.85) 60%,
            rgba(245, 241, 232, 0.5) 80%,
            rgba(245, 241, 232, 0.2) 90%,
            rgba(245, 241, 232, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Ensure content appears above male reproductive system background effects */
body.male-reproductive-system-page .container {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
/* Navigation appears below header */
header {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm) var(--spacing-md);
    margin-bottom: 0;
    border-bottom: none;
}

header h1 {
    font-size: 3em;
    color: var(--color-primary);
    margin-bottom: 0;
    font-weight: normal;
    letter-spacing: 2px;
}

.subtitle {
    font-style: italic;
    color: var(--color-secondary);
    font-size: 1.2em;
    margin-top: var(--spacing-sm);
}

/* Plant List Styles */
.plant-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: var(--spacing-lg);
}

.plant-card {
    background-color: var(--color-card-bg);
    border: 2px solid var(--color-card-border);
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.plant-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* In progress plants - greyed out */
.plant-card.in-progress {
    background-color: var(--color-in-progress-bg);
    opacity: 0.7;
}

.plant-card.in-progress h3 a {
    color: var(--color-in-progress-text);
}

.plant-card.in-progress .botanical-name {
    color: var(--color-in-progress-botanical);
}

.plant-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: normal;
    font-size: 1.8em;
}

.plant-card h3 a {
    color: var(--color-primary);
    text-decoration: none;
}

.plant-card h3 a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.botanical-name {
    font-style: italic;
    color: var(--color-secondary);
    font-size: 1.1em;
}

.common-names {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}

.common-names .lang-label {
    font-weight: 600;
    color: #888;
}

/* Plant Detail Page Styles */
/* Individual plant information pages */
.plant-detail {
    background-color: var(--color-card-bg);
    padding: var(--spacing-lg);
    border: 2px solid var(--color-card-border);
    border-radius: 5px;
    margin-bottom: var(--spacing-lg);
}

.plant-detail h1 {
    color: #5a6f4f;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: normal;
}

/* Botanical illustration with caption */
/* Floats to right on desktop, centered on mobile */
.plant-illustration {
    float: right;
    margin: 0 0 var(--spacing-md) 30px;
    max-width: 350px;
    border: 1px solid var(--color-card-border);
    padding: var(--spacing-sm);
    background-color: #fafaf8;
}

.plant-illustration img {
    width: 100%;
    height: auto;
    display: block;
}

.plant-illustration figcaption {
    font-size: 0.9em;
    font-style: italic;
    color: #8b7355;
    margin-top: 10px;
    text-align: center;
}

.section {
    margin-bottom: 30px;
}

.section.clear {
    clear: both;
}

.section h2 {
    color: #5a6f4f;
    font-size: 1.5em;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-weight: normal;
    border-bottom: 1px solid #8b7355;
}

.section:not(.clear) h2 {
    display: inline-block;
    min-width: 50%;
}

.section.clear h2 {
    display: block;
}

.section h3 {
    color: #8b7355;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: normal;
}

.section p {
    margin-bottom: 15px;
    text-align: justify;
}

.field-label {
    font-weight: bold;
    color: #5a6f4f;
}

.placeholder {
    color: #999;
    font-style: italic;
    text-align: center;
    white-space: nowrap;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #5a6f4f;
    text-decoration: none;
    font-size: 1.1em;
}

.back-link:hover {
    text-decoration: underline;
}

/* System Navigation Styles */
.system-nav {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 3px double var(--color-secondary);
}

.system-nav a {
    display: inline-block;
    margin: 0 15px;
    padding: 5px 0;
    color: #8b7355;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}

.system-nav a:hover {
    color: #5a6f4f;
}

.system-nav a.active {
    color: #5a6f4f;
    border-bottom: 2px solid #5a6f4f;
}

/* System Badge Styles */
.system-badge {
    display: inline;
    font-size: 0.9em;
    color: var(--color-secondary);
    font-style: italic;
}

.system-badge::before {
    content: "• ";
    color: var(--color-secondary);
}

.system-badge.nervous,
.system-badge.immune,
.system-badge.digestive,
.system-badge.respiratory,
.system-badge.urinary,
.system-badge.cardiovascular,
.system-badge.endocrine,
.system-badge.skin,
.system-badge.woman-reproductive,
.system-badge.male-reproductive {
    background-color: transparent;
    color: var(--color-secondary);
}

/* Visually hidden text for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    border-top: 3px double #8b7355;
    margin-top: 40px;
    color: #8b7355;
    font-style: italic;
}

/* Responsive Design */

/* Small phones */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 1em;
    }

    .plant-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .plant-card {
        padding: 15px;
    }

    .plant-card h3 {
        font-size: 1.5em;
    }

    .system-nav a {
        display: block;
        margin: 8px 0;
        padding: 12px;
        border-radius: 4px;
        background-color: rgba(245, 241, 232, 0.5);
    }

    /* Fix text justification on mobile */
    .section p {
        text-align: left;
    }

    .plant-detail {
        padding: 20px;
    }
}

/* Tablets portrait */
@media (min-width: 481px) and (max-width: 768px) {
    .plant-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .plant-illustration {
        float: none;
        margin: 0 auto 20px;
        display: block;
        max-width: 300px;
    }

    header h1 {
        font-size: 2.5em;
    }

    .system-nav a {
        display: inline-block;
        margin: 8px 10px;
        padding: 10px;
        min-height: 44px;
        min-width: 44px;
    }

    /* Fix text justification on mobile */
    .section p {
        text-align: left;
    }
}

/* Tablets landscape and small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    .plant-list {
        grid-template-columns: repeat(2, 1fr);
    }

    header h1 {
        font-size: 2.8em;
    }

    .container {
        padding: 30px;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .plant-list {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Adjust background images to be closer to content on large screens */
    body:has(main .plant-list)::after,
    body.nervous-system-page::after,
    body.immune-system-page::after,
    body.skin-system-page::after,
    body.woman-reproductive-system-page::after,
    body.male-reproductive-system-page::after {
        right: calc((100vw - 1400px) / 2 - 250px); /* Position relative to container edge */
    }
}

/* Extra large screens */
@media (min-width: 1920px) {
    /* Keep background images from going too far right on very large screens */
    body:has(main .plant-list)::after,
    body.nervous-system-page::after,
    body.immune-system-page::after,
    body.skin-system-page::after,
    body.woman-reproductive-system-page::after,
    body.male-reproductive-system-page::after {
        right: calc((100vw - 1400px) / 2 - 200px); /* Closer to content */
    }
}
