/*
 Theme Name:   bta
 Theme URI:    https://thebta.org
 Description:  Child theme for Avada
 Author:       Russell Cleverly
 Template:     Avada
 Version:      1.0.0
*/

/* You can add custom CSS below this line */

.bta-container {
	width: 1000px;
	margin: auto;
}

.bta-text-section {
    background: #fff !important;
    padding: 40px 30px !important;
    border-radius: 4px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
    max-width: 1000px !important;
    margin: 0 auto 0 auto !important;
    line-height: 1.7 !important;
    color: #333 !important;
	width: 100% !important;
}

.bta-text-section.bta-margin {
	margin-bottom: 25px !important;
}

.bta-hover-card {
	transition: transform 0.2s, box-shadow 0.2s;
}

.bta-hover-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.bta-text-section h1 {
	margin-top: 0 !important;
}

.bta-text-section h2 {
    font-size: 2em !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin-bottom: 20px !important;
}

.bta-text-section h3 {
    font-size: 1.5em !important;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

.bta-text-section.bta-blue h3 {
	color: #1a65a9 !important;
}

.bta-text-section p {
    margin-bottom: 15px !important;
    font-size: 1.1em !important;
}

.bta-text-section ul {
	margin-top: 12px !important;
    margin-bottom: 12px !important;
    padding-left: 20px !important;
	list-style: none !important;
}

.bta-text-section ul li {
    margin-bottom: 12px !important;
    position: relative !important;
}

.bta-text-section ul li::before {
    content: "•" !important;
    color: #1a65a9 !important;
    font-weight: bold !important;
    display: inline-block !important;
    width: 1em !important;
    margin-left: -1em !important;
}

a.bta-btn {
	text-decoration: none;
	color: #fff !important;
	background: #1a65a9;
	font-weight: 400;
	padding: 12px 22px;
	border-radius: 2px;
	display: inline-block;
	transition: background 0.2s, transform 0.2s;
	text-align: center;
	text-transform: uppercase;
}

a.bta-btn:hover {
	background: #050f19;
	transform: translateY(-2px);
}

a.bta-link {
	color: #1a65a9;
	font-weight: 600;
	transition: 0.2s;
}

a.bta-link:hover {
	color: #050f19;
}

.bta-text-soft {
	font-size: 0.95em;
	color: #777;
	margin-bottom: 10px;
}

.bta-text-bold {
	font-weight: 700 !important;
}

.bta-text-lg {
	font-size: 1.25em;
}

.bta-fullwidth-flex {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 40px;
}

.bta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
	gap: 30px;
	max-width: 100%;
	margin: auto;
}

.bta-grid .bta-grid-item {
	padding: 30px 30px !important;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.2s, box-shadow 0.2s;
}

.membership-price {
	font-size: 1.35em;
	font-weight: 600;
	color: #1a65a9;
	margin-bottom: 20px;
}

.bta-pagination { 
	margin-top: 35px;
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap; 
}

.bta-pagination a { 
	padding: 8px 14px; 
	border: 1px solid #ddd; 
	border-radius: 6px; 
	text-decoration: none; 
	color: #1a65a9; 
	font-weight: 500; 
	transition: background 0.2s, color 0.2s;

}
.bta-pagination a:hover { 
	background: #1a65a9;
	color: #fff; 
}

.bta-pagination span.current { 
	font-weight: 700;
	background: #1a65a9;
	color: #fff;
	padding: 8px 14px;
	border-radius: 6px;
	display: inline-block; 
}

.gform_title h3 {
	display: none !important;
}

.event-title {
    margin: 0 0 10px;
    font-size: 1.4em;
    font-weight: 700;
}

.event-meta {
    margin-bottom: 15px;
}

.event-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.95em;
    margin-bottom: 4px;
}

.event-meta-row .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.event-excerpt {
    color: #444;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* keeps the button pushed to bottom while using your flex card */
}


@media (max-width: 768px) {
    .bta-text-section {
        padding: 25px 20px !important;
    }
    .bta-text-section h2 {
        font-size: 1.7em !important;
    }
    .bta-text-section h3 {
        font-size: 1.3em !important;
    }
    .bta-text-section p,
    .bta-text-section ul li {
        font-size: 1em !important;
    }
}
