/* Family Tree Plugin Styles */

/* Language Control Styles */
.control-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.language-controls {
    display: none;
    align-items: center;
    gap: 10px;
}

.language-controls label {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.language-selector {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.zoom-controls {
    display: flex;
    justify-content: center;
    gap: 10px; /* space between buttons */
    margin: 15px 0;
}

h1.wp-block-post-title {
    text-align: center;
    display: none;
}


.family-tree-svg-container {
    overflow: hidden;   /* 🔑 no scrollbars */
    width: 100%;
    height: 100%;
    position: relative;
}


.wp-site-blocks {
    padding-top: 0px !important;
}

.zoom-controls .btn {
    width: auto;                  /* auto width to fit content */
    min-width: 36px;              /* ensures it doesn’t get too small */
    height: 36px;                 /* button height */
    padding: 0 10px;              /* horizontal padding for icons */
    border-radius: 50%;           /* circular look */
    border: none;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    box-shadow: 1 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 16px;              /* icon font size */
    font-weight: bold;
    color: #007bff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-controls .btn:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 14px rgba(0, 123, 255, 0.4);
}

.zoom-controls .btn:active {
    transform: scale(0.92);
    background: #004085;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) inset;
}

.has-vivid-cyan-blue-to-vivid-purple-gradient-background {
    background: linear-gradient(90deg, #1680CC, #165FCC) !important;
    color: #fff !important;
  }



.zoom-controls button:hover {
    background: #f5f5f5;
    border-color: #0073aa;
}

.zoom-controls button:active {
    background: #e5e5e5;
}

.zoom-icon {
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
}

/* Language Display Control */
.family-tree-display-container.lang-english .name-hindi {
    display: none;
}

.family-tree-display-container.lang-hindi .name-english {
    display: none;
}

.family-tree-display-container.lang-hindi .name-hindi {
    font-family: 'Noto Sans Devanagari', 'Mangal', 'Kruti Dev 010', sans-serif;
    font-size: 1.1em;
}

/* Default state - show only English names */
.family-tree-display-container .name-hindi {
    display: none;
}

.family-tree-display-container .name-english {
    display: inline;
}

/* Tree View Zoom Styles */
#family-tree-svg {
    overflow: hidden;
    cursor: grab;
}

#family-tree-svg:active {
    cursor: grabbing;
}

.zoom-group {
    /* transform-origin: center center; */
    transition: opacity 0.3s ease; 
}

/* Disable zoom controls when at limits */
.zoom-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* Form Styles */
.family-tree-form-container {
    max-width: 800px;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.family-tree-form h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group .required {
    color: #d63638;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.hindi-input {
    font-family: 'Noto Sans Devanagari', 'Mangal', 'Kruti Dev 010', sans-serif;
    direction: ltr;
}

.form-actions {
    margin-top: 20px;
    text-align: right;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #0073aa;
    color: white;
}

.btn-primary:hover {
    background-color: #005a87;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #0073aa;
    color: #0073aa;
}

.btn-outline:hover,
.btn-outline.active {
    background-color: #0073aa;
    color: white;
}

/* Messages */
.form-messages {
    margin-top: 15px;
}

.success-message {
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 10px;
}

.error-message {
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Display Styles */
.family-tree-display-container {
    width: 100%;
    /* take full available width */
    max-width: 1800px;
    /* make it wider than theme default */
    margin-left: auto;
    /* center it */
    margin-right: auto;
    padding: 20px;
    /* optional: add space inside */
}

.family-tree-controls {
    display: flex;
    justify-content: center;   /* centers children horizontally */
    align-items: center;       /* centers children vertically */
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;

    position: sticky;  /* stick on scroll */
    top: 0;            /* stick to top */
    z-index: 1000;     /* stay above other content */
}


.family-tree-controls h3 {
    margin: 0;
    color: #333;
}

.view-controls {
    display: none;
    gap: 10px;
}

/* make family tree section ignore theme container limits */
.family-tree-content {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    /* padding: 20px; */
    min-height: 200px;

    width: 100%;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

/* override parent container restrictions */
.family-tree-content {
    display: block;
}

/* if parent container forces max-width, reset it */
.family-tree-content,
.family-tree-content .wp-block-group,
.family-tree-content .container {
    max-width: auto;
    width: 100% !important;
}

.tree-view-content,
.list-view-content {
    display: none;
}

.tree-view-content.active,
.list-view-content.active {
    display: block;
}

h1.wp-block-post-title {
    text-align: center;
}


.wp-block-group.has-background {
    position: sticky;
    top: 0; /* distance from the top */
    z-index: 9999; /* stay on top of other elements */
    width: 100%;
}
.wp-block-group.has-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #e3f0f8; /* keep same background */
}
body {
    padding-top: 100px; /* adjust based on header height */
}
/* Tree View Styles */
.family-tree-svg-container {
    width: 100%;
    height: auto;           /* fixed height, adjust as needed */
    min-height: 400px;
    border: 1px solid #eee;
    border-radius: 4px;
    position: relative;
    overflow: hidden;        /* 🔑 no scrollbars */
    cursor: grab;
}
.family-tree-controls-overlay {
    position: fixed;     /* ✅ stays fixed on screen */
    top: 150px;
    right: 120px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 1 2px 8px rgba(0,0,0,0.2);
    z-index: 9999;       /* make sure it’s above SVG */
  }

  @media (max-width: 768px) {
    .family-tree-controls-overlay {
        top: auto;        /* remove fixed top */
        bottom: 20px;     /* fix near the bottom */
        right: 10px;      /* smaller right margin */
        flex-direction: row;  /* horizontal layout for small screens */
        width: auto;      /* fit content */
        padding: 8px;
        gap: 6px;
    }

}
  
  .family-tree-controls-overlay button {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 50%;
  }
/* Show grabbing cursor while active */
.family-tree-svg-container:active {
    cursor: grabbing;
    /* feedback while dragging */
}

/* Ensure SVG is wider than container */
.family-tree-svg {
    display: inline-block;
    min-width: 1600px;
    /* wider */
    min-height: 1200px;
    /* taller for vertical movement */
}

/* Responsive tree view adjustments */
@media (max-width: 1024px) {
    .family-tree-svg-container {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .family-tree-svg {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    .family-tree-display-container {
        max-width: 100%;
        padding: 0px;
    }

    .family-tree-svg-container {
        min-height: 250px;
        border-radius: 6px;
    }

    .family-tree-svg {
        min-width: 320px;
    }

    /* Mobile scrollbar styling */
    .family-tree-svg-container::-webkit-scrollbar {
        height: 8px;
    }

    .family-tree-svg-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .family-tree-svg-container::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }

    .family-tree-svg-container::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}

@media (max-width: 480px) {
    .family-tree-svg-container {
        min-height: 200px;
        margin: 10px 0;
    }

    .family-tree-controls {
        padding: 10px;
    }

    .family-tree-controls h3 {
        font-size: 18px;
    }

    .view-controls .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}

.node-rect {
    /* fill: #f8f9fa;
    stroke: #dee2e6;
    stroke-width: 2; */
    fill: #4a90e2;
    /* default blue */
    stroke: none;
}

.node-rect.male {
    /* fill: #e3f2fd;
     fill: #6a5acd; /* purple */
    fill: #6a5acd;
    /* purple */
}

.node-rect.female {
    /* fill: #fce4ec;
    stroke: #e91e63; */
    fill: #ff69b4;
    /* pink */
}

.node-rect.other {
    fill: #f3e5f5;
    stroke: #9c27b0;
}

.node-name {
    /* font-weight: bold;
    font-size: 12px;
    fill: #333; */
    fill: #fff;
    font-size: 14px;
    font-weight: 600;
    text-anchor: middle;
    dominant-baseline: middle;

}

.node-name-hindi {
    font-size: 10px;
    fill: #666;
    font-family: 'Noto Sans Devanagari', 'Mangal', sans-serif;
}

.node-details {
    /* font-size: 10px;
    fill: #888; */
    fill: #f0f0f0;
    font-size: 11px;
    text-anchor: middle;
}

/* Responsive node text */
@media (max-width: 768px) {
    .node-name {
        font-size: 10px;
    }

    .node-name-hindi {
        font-size: 8px;
    }

    .node-details {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .node-name {
        font-size: 9px;
    }

    .node-name-hindi {
        font-size: 7px;
    }

    .node-details {
        font-size: 7px;
    }
}

/* List View Styles */
.family-members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.member-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.member-name {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.hindi-name {
    font-family: 'Noto Sans Devanagari', 'Mangal', sans-serif;
    color: #666;
    font-weight: normal;
    font-size: 16px;
}

.member-details {
    margin-bottom: 10px;
}

.member-details span {
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
}



/* Gogle tranlate css */

.gt_float_switcher .gt-selected .gt-current-lang {
    padding: 5px 10px !important;

}

.gt_float_switcher img {
    width: 25px !important;
}


.gender {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.gender.male {
    background-color: #e3f2fd;
    color: #1976d2;
}

.gender.female {
    background-color: #fce4ec;
    color: #c2185b;
}

.gender.other {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.birth-date,
.death-date {
    color: #666;
}

.relationship {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.member-notes {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.no-members {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-members p {
    margin: 10px 0;
    font-size: 16px;
}

main.wp-block-group#wp--skip-link--target {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.wp-block-template-part {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.wp-container-core-group-is-layout-a666d811 {
    display: none !important;
}


/* Mobile (up to 480px) */
@media (max-width: 480px) {
    .family-tree-content,
    .family-tree-content .wp-block-group,
    .family-tree-content .container,
    .family-tree-content table,
    .family-tree-content .family-tree-table {
        width: 250px !important;
        max-width: 250px !important;
        margin: 0 auto !important;
    }
  }
  
  /* Tablet (481px – 768px) */
  @media (min-width: 481px) and (max-width: 768px) {
    .family-tree-content,
    .family-tree-content .wp-block-group,
    .family-tree-content .container,
    .family-tree-content table,
    .family-tree-content .family-tree-table {
        width: 600px !important;   /* example tablet width */
        max-width: 600px !important;
        margin: 0 auto !important;
    }
  }
  
  /* Desktop (769px and up) */
  @media (min-width: 769px) {
    .family-tree-content,
    .family-tree-content .wp-block-group,
    .family-tree-content .container,
    .family-tree-content table,
    .family-tree-content .family-tree-table {
        width: 100% !important;    /* or a fixed width like 1200px */
        max-width: 1800px !important;
        margin: 0 auto !important;
    }
  }


/* responsive footer view in mobile */
@media (max-width: 768px){

    .wp-block-group.alignwide{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap; /* all in one line */
        gap: 5px;
        white-space: nowrap;
    }

    .wp-block-group.alignwide p{
        font-size: 11px;
        margin:0;
        white-space: nowrap;
    }

    .wp-block-group.alignwide img{
        max-height: 18px; /* smaller Logo */
        height: auto;
        width: auto;
    }

     /* Header main group */
  .wp-block-group.alignwide.is-content-justification-space-between {
    display: flex;
    flex-direction: row !important;  /* force horizontal */
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* prevent line breaks */
    gap: 90px;
  }

  :root :where(.is-layout-flex) {
    gap: 5px;
}

  /* Site title */
  .wp-block-site-title a {
    font-size: 16px; /* smaller for mobile */
    white-space: nowrap; /* keep in one line */
  }

  /* Language switcher */
  .gtranslate_wrapper {
    transform: scale(0.9); /* shrink slightly */
    transform-origin: center;
    white-space: nowrap;
  }

  /* Contact Us button */
  .wp-block-button__link {
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 20px;
    white-space: nowrap;
  }
}


/* Responsive Design */
@media (max-width: 768px) {
    .zoom-controls .btn {
        min-width: unset !important;  /* remove the 150px rule */
        width: 32px !important;       /* small square */
        height: 32px !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 32px !important;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .family-tree-controls {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .family-members-list {
        grid-template-columns: 1fr;
    }

    .family-tree-svg-container {
        overflow-x: scroll;
    }
}

@media (max-width: 480px) {

    .family-tree-form-container,
    .family-tree-content {
        padding: 15px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .member-card {
        padding: 15px;
    }
}

/* Admin Styles */
.family-tree-admin-dashboard {
    margin-top: 20px;
}

.dashboard-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 150px;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 32px;
    color: #0073aa;
}

.stat-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.admin-tabs .tab-content {
    display: none;
    padding: 20px 0;
}

.admin-tabs .tab-content.active {
    display: block;
}

.members-table-container {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shortcode-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.shortcode-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.shortcode-card h3 {
    margin-top: 0;
    color: #333;
}

.shortcode-card code {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Hindi Font Support */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;600&display=swap');

/* Tooltip Styles */
.member-tooltip {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    z-index: 10000;
    max-width: 350px;
    min-width: 250px;
    font-size: 14px;
    display: none;
    pointer-events: none;
}

.tooltip-header {
    background: #f8f9fa;
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

.tooltip-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.3;
}

.tooltip-header .hindi-name {
    font-family: 'Noto Sans Devanagari', 'Mangal', sans-serif;
    color: #666;
    font-weight: normal;
    font-size: 14px;
}

.tooltip-body {
    padding: 12px 15px;
}

.tooltip-row {
    margin-bottom: 8px;
    line-height: 1.4;
    color: #555;
}

.tooltip-row:last-child {
    margin-bottom: 0;
}

.tooltip-row strong {
    color: #333;
    font-weight: 600;
    min-width: 70px;
    display: inline-block;
}

/* Tooltip arrow */
.member-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ddd;
}

.member-tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 21px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
}

/* Hover effects for interactive elements */
.node:hover {
    cursor: pointer;
}

.node-rect:hover {
    stroke-width: 3px;
    filter: brightness(1.05);
}

.member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* Mobile tooltip styling */
.mobile-tooltip {
    position: fixed !important;
    max-width: calc(100vw - 20px) !important;
    min-width: 280px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px !important;
    animation: mobileTooltipSlideIn 0.3s ease-out !important;
}

@keyframes mobileTooltipSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile tooltip arrow - hide on mobile for cleaner look */
.mobile-tooltip::before,
.mobile-tooltip::after {
    display: none !important;
}



/* Hide WP navigation (hamburger menu) on mobile */
@media (max-width: 768px) {
    nav.wp-block-navigation {
      display: none !important;
    }
  }

  
/* Responsive tooltip */
@media (max-width: 768px) {
    .member-tooltip {
        max-width: calc(100vw - 20px);
        min-width: 280px;
        font-size: 13px;
        margin: 0 10px;
    }

    .tooltip-header {
        padding: 15px 18px;
        border-radius: 12px 12px 0 0;
    }

    .tooltip-header h4 {
        font-size: 16px;
        line-height: 1.2;
    }

    .tooltip-header .hindi-name {
        font-size: 14px;
        margin-top: 2px;
    }

    .tooltip-body {
        padding: 15px 18px;
    }

    .tooltip-row {
        margin-bottom: 10px;
        line-height: 1.5;
    }
}


/* Mobile (screen width <= 768px) */
@media (max-width: 768px) {
    .node-rect:hover {
      stroke-width: 1px;   /* gentler border */
      filter: brightness(1.01); /* softer highlight */
    }
  
    .member-card:hover {
      transform: none; /* less jumpy */
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }
  }




@media (max-width: 480px) {
    .member-tooltip {
        max-width: calc(100vw - 16px);
        min-width: 260px;
        font-size: 12px;
        margin: 0 8px;
    }

    .tooltip-header {
        padding: 12px 15px;
    }

    .tooltip-header h4 {
        font-size: 15px;
    }

    .tooltip-header .hindi-name {
        font-size: 13px;
    }

    .tooltip-body {
        padding: 12px 15px;
    }

    .tooltip-row {
        margin-bottom: 8px;
    }

    .tooltip-row strong {
        min-width: 60px;
        font-size: 12px;
    }
}

/* Dark mode tooltip support */
@media (prefers-color-scheme: dark) {
    .member-tooltip {
        background: #2d2d2d;
        border-color: #404040;
        color: #e0e0e0;
    }

    .tooltip-header {
        background: #1e1e1e;
        border-bottom-color: #404040;
    }

    .tooltip-header h4 {
        color: #e0e0e0;
    }

    .tooltip-header .hindi-name {
        color: #aaa;
    }

    .tooltip-row {
        color: #ccc;
    }

    .tooltip-row strong {
        color: #e0e0e0;
    }

    .member-tooltip::before {
        border-bottom-color: #404040;
    }

    .member-tooltip::after {
        border-bottom-color: #2d2d2d;
    }
}

/* Print Styles */
@media print {

    .family-tree-controls,
    .form-actions,
    .btn,
    .member-tooltip {
        display: none !important;
    }

    .family-tree-content {
        border: none;
        box-shadow: none;
    }

    .member-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}