/*!
Theme Name: Yoakum EDC
Author: Eisenberg Inc.
Version: 1.0.0
*/


.button-tabbed-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-bottom: var(--standard-padding);
}

.left-column,
.right-column {
    flex: 1;
    width: 50%;
    box-sizing: border-box;
}

.left-column-inner {
    max-width: 647px;
    margin-left: auto; /* Align to the right */
    padding-left: 40px;
    padding-top: var(--standard-padding);
    padding-right: 7%;
}

.right-column {
    background-color: var(--dark-blue);
    box-sizing: border-box;
}

.title-section {
    padding: 20px;
    text-align: left;
    background-color: var(--accent-lb);
    color: white;
    position: relative; /* Make it relative to position the pseudo-element */
}

.title-section::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-width: 48px;
    border-style: solid;
    border-color: transparent blue transparent white; /* Create the triangle with white point */
}

.title-section h2 {
	margin-bottom: 0;
	margin-left: 50px;
	z-index: 5;
    position: relative
}

.image-section img {
    width: 100%;
    height: auto;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    max-width: 647px;
    display: none;
}

.stat {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Ensure the items start from the left */
    width: calc(50% - 10px); /* Two stats per row with some spacing */
    margin-bottom: 10px;

}

.stat-title {
    font-size: 1em;
    flex: 0 0 auto;
    color: var(--orange);
    line-height: 1;
    text-align: left;
    margin-bottom: 0;
}

.stat-number {
    font-size: clamp(45px, 3.90625vw, 75px);
    font-weight: 900;
    color:	var(--accent-db);

    text-align: left;
    flex: 0 0 auto; /* Ensure the number takes up only as much space as it needs */
    margin-left: 5%; /* Adjust the space between the title and the number */
}


.content-section {
    padding: 5% 0% 5% 6%;
    max-width: 647px;
    color: #fff;

}

.tab-content {
	/*border-top: 1px solid var(--orange);*/
	padding-right: 40px;
}

.content-button {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    color: var(--light-blue) !important;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 7px 23px;
    border: 2px solid var(--accent-db);

}

.content-button:hover {
	border-color: var(--orange) !important;
    background-color: var(--orange) !important;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Adjust gap between buttons as needed */
    margin-top: 20px;
}

.tab-button {
    display: block;
    max-width: 182px;
    max-height: 172px;
    margin-bottom: 10px;
    padding: 10px;
    cursor: pointer;
    background-color: #ffffff;
    border: 2px solid var(--accent-lb);
    text-align: center;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    flex: 0 0 calc(33.333% - 10px); /* Ensures 3 buttons per row with gap */
    box-sizing: border-box;
}

.tab-button .icon-container {
    position: relative;
    width: 107px; /* Set the width of the icon container */
    height: 97px; /* Set the height of the icon container */
    margin: 0 auto 10px; /* Center icon container and add space below */
    overflow: hidden; /* Ensure that the images do not overflow the container */
}

.tab-button .icon {
    width: 100%; /* Set the width of the image to 100% of the container */
    height: auto; /* Maintain the aspect ratio */
    transition: opacity 0.3s;
}

.tab-button .icon.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.tab-button .button-label {
    display: block;
    margin-top: 10px; /* Add some space above the label */
    color: var(--accent-lb);
}

.tab-button:hover, .tab-button.active {
    background-color: blue;
    border-color: white;
    box-shadow: 0 0 0 5px blue;
}

.tab-button:hover .button-label, .tab-button.active .button-label {
	color: #fff;
}

.tab-button:hover .icon.normal, .tab-button.active .icon.normal {
    opacity: 0;
}

.tab-button:hover .icon.hover, .tab-button.active .icon.hover {
    opacity: 1;
}


/* Responsive styles */
@media (max-width: 992px) {
    .button-tabbed-content {
        flex-direction: column;
    }

    .left-column-inner,
	.stats-row,
	.content-section {
		max-width: 100%;
	}

    .left-column,
    .right-column {
        width: 100%;
    }

    .left-column-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .content-section,
    .stats-row {
        padding: 20px;
    }
}
