/*
 Theme Name:   Flatsome Child
 Description:  This is a child theme for Flatsome Theme
 Author:       UX Themes
 Template:     flatsome
 Version:      3.0
*/

/* 1. The Wrapper (Grid Layout) */
.tarot-accordion-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 10px; /* Space between columns */
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

/* Mobile Responsive: Switch to 1 column */
@media (max-width: 768px) {
    .tarot-accordion-wrapper {
        grid-template-columns: 1fr;
    }
}

/* 2. The Individual Item Container */
.tarot-item {
    display: flex;
    flex-direction: column;
}

/* 3. The Main Button Styling */
.tarot-button {
    background-color: #000000; /* Black */
    border: 3px solid #DAC377; /* Gold Border */
    color: #DAC377;
    padding: 10px 10px;
    text-align: center;
    cursor: pointer;
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    
    /* MODIFIED: Changed transition to only animate color, not movement */
    transition: background-color 0.2s; 
    
    /* Flexbox for centering text */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px; 
}

/*  Black button */
.tarot-button-dark {
    background-color: transparent; 
    border: 3px solid #ffffff; /* White Border */
    color: #ffffff;
    padding: 10px 10px;
    text-align: center;
    cursor: pointer;
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    
    /* MODIFIED: Changed transition to only animate color, not movement */
    transition: background-color 0.2s; 
    
    /* Flexbox for centering text */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px; 
}

.tarot-button span{
	color: #DAC377;
}

.tarot-button:hover span{
	color: #000000;
}

/* MODIFIED: Removed 'transform: translateY' so it stays still */
.tarot-button:hover, .tarot-button.active {
    background-color: #DAC377; /* Darker purple on hover */

    /* No movement here anymore */
}

.tarot-button.active span{
	color: #000000;
}

/* 4. The Submenu (Drawer) */
.tarot-submenu {
    background-color: #333;
    border: 2px solid #DAC377;
    border-top: none; /* No top border so it looks attached */
    margin-top: 0; 
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* 5. Submenu Links */
.tarot-sub-link {
    display: block;
    color: #fff;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #444;
    transition: background 0.2s;
    font-size: 0.95em;
    font-family: "Times New Roman", Times, serif;
}

.tarot-sub-link:last-child {
    border-bottom: none;
}

.tarot-sub-link:hover {
    background-color: #DAC377;
    color: #fff;
}


.tarot-image-container {
    text-align: center; /* Center the image */
    margin-bottom: 30px; /* Space between image and text */
    width: 100%;
}

.tarot-image-container img {
    max-width: 100%; /* Ensure it fits on mobile */
    height: auto;
    border-radius: 5px; /* Optional: Rounded corners */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Optional: Slight shadow */
}