.bio-title h1{
    font-weight: 800;
    line-height: 1.1;
    font-size: 3.3rem;
    color: #fdf6e3;
            text-align: center;
            margin-bottom: 30px;
}

/* Responsive Typography */
@media (max-width: 1200px) {
  .bio-title h1 { font-size: 2.9rem; }
}

@media (max-width: 992px) {
  .bio-title h1 { font-size: 2.3rem; }
}

@media (max-width: 768px) {
  .bio-title h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .bio-title h1 { font-size: 1.7rem; }
}


.corner {
  position: absolute;
  width: 43vw;   /* responsive */
  max-width: 350px;
  min-width: 150px;

  height: auto;  /* keeps proportions */
  object-fit: contain;

  mix-blend-mode: darken;
  pointer-events: none;
}

/* Positions */
.top-left       { top: 0; left: 0; transform: rotate(0deg) scaleY(-1); }
.top-right      { top: 0; right: 0; transform: rotate(180deg); }
.bottom-left    { bottom: 0; left: 0; }
.bottom-right   { bottom: 0; right: 0; transform: rotate(180deg) scaleY(-1); }

/* Small phones */
@media (max-width: 600px) {
  .corner {
    width: 45vw;
    max-width: 240px;
  }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 992px) {
  .corner {
    width: 32vw;
    max-width: 260px;
  }
}

        /* Hub Landing Section */
        #bio-landing {
            position: relative;
            min-height: 100vh;
            background-color: #e3e3db;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 40px 10px #b89d5a; /* temple gold glow */
        }

        #bio-landing::before {
            content: "";
            position: absolute;
            inset: 0;
            background:

    url("../Images/old-wall.png"),
    url("../Images/asfalt-dark.png");
            background-blend-mode: multiply;
            opacity: 0.6;
            mix-blend-mode: multiply;
            pointer-events: none;
            z-index: 1;
        }

 .responsive-heading {
    margin-top: 1em; /* Default for desktop */
  }

  @media (max-width: 768px) { /* Mobile screens */
    .responsive-heading {
    padding-right: 0.1em;
        padding-left: 0.1em;
      margin-top: 1em;
    }
  }


/* Full-width Banner */
.key-details-banner {
    width: 100%;
    height: 180px; /* adjust as needed */
    overflow: hidden;
    margin: 0; /* no padding/margin around */
}

.key-details-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hub Info */
.hub-info {
    text-align: center;
    margin: 20px 0 30px 0;
}

.family-name {
    font-size: 1.6rem;
    color: #fdf6e3;
    font-weight: 700;
    margin-bottom: 6px;
}

.hub-location {
        font-size: 1.1rem;
    color: var(--dark-gold);
}

/* Small Team Grids */
.team-section-small {
    margin-bottom: 25px;
}

.team-section-small h4 {
    font-size: 1.1rem;
    color: var(--dark-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}
/* Masters Grid */
.masters-grid, .members-grid {
    display: flex;
    gap: 2em;
    overflow-x: auto; /* horizontal scroll on small screens */
    flex-wrap: nowrap; /* keep in one line */
    justify-content: center;
    padding-bottom: 10px; /* optional spacing under row */
}

/* Team Member Base */
.team-member-small {
    display: flex;
    flex-direction: column;
    align-items: center; /* center image & text */
    text-align: center;  /* center text */
    gap: 4px; /* space between image and text */
    cursor: pointer;
    flex-shrink: 0; /* prevent shrinking */
    width: 100px; /* fixed width for centering consistency */
}

/* Master PFP */
.team-member-small.master img {
    width: 100px;
    height: 100px;
    border: 2px solid var(--gold);
    object-fit: cover;
    transition: transform 0.3s ease;
}


/* Team Member PFP */
.team-member-small.member img {
    width: 80px;
    height: 80px;
    border: 2px solid var(--gold);
    border-radius:50px;
    object-fit: cover;
    transition: transform 0.3s ease;
}


/* Name and Role */
.team-name-small {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.1; /* prevent wrapping from pushing layout */
    word-wrap: break-word;
}

.team-role-small {
    font-size: 0.65rem;
    line-height: 1.1;
    word-wrap: break-word;
}

/* Optional: tooltip on hover for long names */
.team-member-small:hover .team-name-small,
.team-member-small:hover .team-role-small {
    color: var(--dark-gold);
}

/* Stats Section */
.stats-section {
    margin-top: 20px;
}



.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--dark-gold);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1rem;
}



/* Premium Floating Portrait */
.bio-image-container {
    margin: 0 0px 30px 0;     /* Balanced spacing */
}

/* Image styling */
.bio-premium-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    filter: contrast(105%) saturate(108%);
}

/* Make sure text doesn’t break strangely */
.biography-text::after {
    content: "";
    display: table;
    clear: both;
}
.biography-text{
padding-bottom:30px;}
/* Mobile handling */
@media(max-width: 900px){
    .bio-image-container {
        max-width: 100%;
        text-align: center;
    }

    .bio-premium-img {
        margin: auto;
    }
}

/* Buttons container */
.hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 25px;
    justify-content:center;
    flex-wrap: wrap;
}

/* Match entrance-call but for hero area */
.hero-btn-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    color: var(--temple-gold);
}

/* Icon size */
.hero-btn-custom i {
    font-size: 1.3rem;
}

/* Make hover effect apply nicely */
.hero-btn-custom:hover {
    color: var(--temple-gold);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }

    .hero-btn-custom {
        width: 100%;
    }
}

