.famous-tabs {
    display: flex;
    border-bottom: 2px solid #6b4a27; /* Match the medieval-styled border */
    gap: 0; /* Remove extra spacing between tabs */
}

.famous-tabs a {
    display: block;
    padding: 10px 20px;
    text-decoration: none; /* Remove underline */
    background-color: #f4e3c2; /* Light parchment color for inactive tabs */
    color: #6b4a27; /* Medieval brown text color */
    border: 2px solid #6b4a27; /* Border for inactive tabs */
    border-bottom: none; /* Remove bottom border for tab-like effect */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-right: 5px; /* Space between tabs */
    cursor: pointer; /* Pointer for clickable tabs */
}

.famous-tabs a:hover {
    background-color: #d6c2a6; /* Slightly darker parchment */
    color: #6b4a27; /* Maintain text color */
}

.famous-tabs .tab.active {
    background-color: #6b4a27; /* Rich medieval brown for active tab */
    color: white; /* White text for active tab */
    font-weight: bold;
    border: 2px solid #6b4a27;
    border-bottom: none; /* Remove bottom border for active tab */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    z-index: 1; /* Ensure active tab is on top */
    margin-right: 5px; /* Space between tabs */
}

.famous-tabs a.active {
    background-color: #6b4a27; /* Rich medieval brown for active tab */
    color: white; /* White text for active tab */
    font-weight: bold;
    border: 2px solid #6b4a27; /* Border for active tab */
    border-bottom: none; /* Remove bottom border for active tab */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    z-index: 1; /* Ensure active tab is on top */
    pointer-events: auto; /* Prevent clicking the active tab */
}
