/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/** BASIC STYLES **/
@media (min-width: 1281px) {
     #brxe-khwxca .repeater-item {
       background-color: unset !important;
    }
}
/*Links*/
main a:not(main nav.brxe-breadcrumbs a, main a.bricks-button, main .bricks-button a, main div.dynamic a, main .destaques h2 a) {
	color: #000000 !important;
	text-decoration: none;
	font-weight: 500;
}
main a:not(main nav.brxe-breadcrumbs a, main a.bricks-button, main .bricks-button a, main div.dynamic a, main .destaques h2 a):hover, footer a:hover  {
	color: #9e3223 !important;
}
nav.brxe-breadcrumbs a:hover {
	color: #fa8166 !important;
}
footer ul.brxe-social-icons a i:hover {
	color: #fa8166 !important;
}
/*Buttons*/
.bricks-button:not(.bricks-button.bricks-background-secondary, .bricks-button.bricks-background-primary, .bricks-button.bricks-background-dark):hover {
	background-color: #1d1d1b !important;
	border-color: #1d1d1b !important;
}
.bricks-button.bricks-background-primary:hover {
	background-color: #ffffff !important;
	border-color: #ffffff !important;
}
.bricks-button.bricks-background-secondary:hover {
	background-color: #ffffff !important;
	color: #e1251b !important;	
}
.bricks-button.bricks-background-dark:hover {
	background-color: #ffffff !important;
	border-color: #ffffff !important;
	color: #9e3223 !important;	
}
.noticias div.dynamic:hover {
	background-color: #fa8166 !important;
}
/*Images*/
.noticias img {
	border-radius: 3px;
}
.related-posts img {
	border-radius: 3px;
}
/*Forms*/
#formulario_inscricao form .form-group:nth-child(5) {
	padding-bottom: 0.7rem;
	margin-top: 1rem;
}
#contactos form .form-group:nth-child(4) {
	padding-bottom: 0.7rem;
	margin-top: 1rem;
}
form input:focus-visible:not(footer form input:focus-visible), form textarea:focus-visible {
	outline: none !important;
	border: 1px solid #9e3223 !important;
}
form input[type=checkbox]+label:not(footer form input[type=checkbox]+label) {
	font-family: "Open Sans" !important;
    font-size: 13px !important;
}
footer form input:focus-visible {
	outline: none !important;
	border: 1px solid #e1251b !important;
}
footer form .form-group:nth-child(2) {
	padding-bottom: 0.5rem;
}
footer form input[type=checkbox]+label {
	font-family: "Open Sans" !important;
    font-size: 13px !important;
	color: #ffffff;
}


/** HEADER **/
header li a:hover, li.menu-item-has-children:hover [aria-expanded]  {
	color: #9e3223 !important;
}
.sub-menu li a:hover {
	background-color: #fdf1ef !important;
}
.sub-menu {
	margin-top: 1rem;
}
/*Pesquisa*/
.bricks-search-overlay .close {
	font-size: 6rem !important;
	color: #ffffff !important;
}
.bricks-search-overlay .close:hover {
	color: #1d1d1b !important;
}
@media (max-width: 767px) {
	.bricks-search-overlay .bricks-search-form  {
		max-width: 300px;
	}
}


/** MAIN **/
/*Query Loop Related Posts*/
.related-posts p.dynamic:nth-child(1) {
	margin-top: 1.2rem !important;
	width: fit-content;
}
.related-posts p:nth-child(3) {
	margin-top: 0.4rem !important;
}
.related-posts div.dynamic a {
	background-color: #1d1d1b;
	padding: 0.7rem 1.4rem;
	border-radius: 2px;
}
/*Query Loop Notícias*/
h3.dynamic, h2.dynamic {
	margin-top: 1rem !important;
	margin-bottom: 0 !important;
}
.noticias p:nth-child(1).dynamic {
	margin-top: 1.2rem !important;
	margin-bottom: 0 !important;
}
.noticias p:nth-child(3).dynamic {
	margin-top: 0.4rem !important;
	margin-bottom: 0 !important;
}
div.dynamic {
	margin-top: 1.8rem !important;
	margin-bottom: 0 !important;
}
.noticias-hp img, .noticias-hp figure {
	aspect-ratio: 16/9 !important;
	height: fit-content !important;
}
/*Filtros*/
ul.bricks-isotope-filters {
	margin-bottom: 2rem;
}


/** HOMEPAGE **/
/*Destaques*/
main .destaques h2 a:hover {
	color: #1d1d1b !important;
}
/*Eventos*/
.eventos .row-with-image-on-hover--cat a {
	color: #fa8166 !important;
}
.eventos .icon {
	padding-top: 0.3rem;
}
.eventos .brxe-otoikw.brxe-code {
	background-color: unset !important;
}
.eventos time {
	background-color: #fdf1ef;
	color: #e1251b;
	padding: 0.6rem 1.2rem;
	border-radius: 4px;
}
.eventos time i {
	margin-right: 0.6rem;
}


/** CALENDÁRIO **/
div.tribe-common.tribe-events.tribe-events-view.tribe-events-view--month.alignwide.tribe-common--breakpoint-xsmall.tribe-common--breakpoint-medium.tribe-common--breakpoint-full {
	width: 100%;
	padding: 4rem 0 6rem 0;
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-l-container {
	padding: 2rem 2rem 4rem 2rem;
	margin: 0;
	justify-self: center;
}


/** EVENTS PAGE **/
@media (max-width: 1024px) {
	.events-menu {
		display: none !important;
	}
}
@media (min-width: 1281px) {
    .events-menu a.brxe-text-link:hover {
        background-color: unset !important;
    }
}
html {
  scroll-behavior: smooth;
}
.tribe-events-widget-events-list__header {
	margin-bottom: 4rem !important;
}
.tribe-events-widget-events-list__header-title.tribe-common-h6.tribe-common-h--alt {
	font-family: "Fervojo" !important;
	text-transform: uppercase !important;
    color: #1d1d1b !important;
	line-height: 1.1 !important;
}
@media (max-width: 800px) {
    .tribe-events-widget-events-list__header-title.tribe-common-h6.tribe-common-h--alt {
        font-size: 20px !important;
    }
}
@media (min-width: 801px) {
    .tribe-events-widget-events-list__header-title.tribe-common-h6.tribe-common-h--alt {
        font-size: 26px !important;
    }
}


/** SINGLE EVENTS **/
#tribe-events-content {
	max-width: 1500px;
    padding-right: 4.6rem;
    padding-left: 4.6rem;
}
.tribe-events-hero img {
	height: unset !important;
}
.tribe-events-event-image img {
	border-radius: 4px !important;
}
.tribe-events-hero-content {
	padding-bottom: 8rem !important;
	border-radius: 4px !important;
}
.tribe-events-single-event-title {
	font-family: "Fervojo";
	font-weight: 600;
	text-transform: uppercase;
}
.tribe-events-schedule {
	display: none;
}
@media (max-width: 800px) {
	#tribe-events-content {
		padding-bottom: 6rem;
	}
	.tribe-events-hero-content {
		padding-right: 4rem !important;
		padding-left: 4rem !important;
	}
	.tribe-events-event-image img {
		aspect-ratio: 1.7;
	}
	.tribe-events-single-event-title {
		font-size: 36px;
	}
}
@media (min-width: 801px) {
	#tribe-events-content {
		padding-bottom: 10rem;
	}
	.tribe-events-hero-content {
		padding-right: 8rem !important;
		padding-left: 8rem !important;
	}
	.tribe-events-event-image img {
		aspect-ratio: 2.7;
	}
	.tribe-events-single-event-title {
		font-size: 56px;
	}
}
@media (min-width: 1025px) {
	.tribe-events-hero-content {
		padding-right: 12rem !important;
		padding-left: 12rem !important;
	}
}
.tribe-events-content-wrapper {
	margin-top: 6rem !important;
	gap: 8rem !important;
}
.tribe-events-meta-group-details {
	border-radius: 4px !important;
	padding: 4rem !important;
	background-color: #fbece7 !important;
}
.tribe-events-single-section-title {
	font-size: 26px !important;
	border-bottom: unset !important;
	color: #9e3223 !important;
	font-weight: 500 !important;
	margin-bottom: 0 !important;
	
}
.tribe-events-meta-group-details dl {
	gap: 0 !important;
}
dd time {
	font-weight: 500 !important;
	font-size: 1.6rem !important;
}
dt {
	color: #5d5d5d !important;
	margin-top: 2.4rem !important;
	font-size: 1.4rem !important;
	font-weight: 500;
}
dt i {
	font-size: 2.2rem !important;
	color: #9e3223 !important;
	margin-bottom: 0.4rem !important;
}
dd {
	color: #1d1d1b !important;
	font-weight: 600 !important;
}
dd a {
	color: #1d1d1b !important;
}
.tribe-events-event-categories a {
	color: #9e3223 !important;
}
.tribe-events-event-categories a:hover {
	color: #ffffff !important;
}










/* Event Single Page Styles */
/* Override default constraints */
.tribe-events-pg-template {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Event Single Page Styles */
.tribe-events-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.tribe-events-hero {
    position: relative;
    margin: 0 0 40px;
    background: var(--tec-color-background);
    min-height: 200px;
}

.tribe-events-hero.has-thumbnail {
    background: none;
}

.tribe-events-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.tribe-events-hero-content {
    position: relative;
}

.has-thumbnail .tribe-events-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.tribe-events-hero-content h1,
.tribe-events-hero-content h2,
.tribe-events-hero-content a,
.tribe-events-hero-content .tribe-events-schedule,
.tribe-events-hero-content .tribe-events-cost {
    color: #fff;
}

/* Two Column Layout */
.tribe-events-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Main Content */
.tribe-events-main-content {
    min-width: 0;
}

/* Sidebar */
.tribe-events-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}


/* Responsive Design */
@media (max-width: 768px) {
    .tribe-events-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tribe-events-hero img {
        height: 300px;
    }
    
    .tribe-events-hero-content {
        padding: 20px;
    }
}


/* Meta Information Redesign */
.tribe-events-meta-group-details {
    background: #e1e1e1;
    border-radius: 12px;
    padding: 20px;
	width:100%;
}

.tribe-events-meta-group-details .tribe-events-single-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--tec-color-border-secondary);
}

.tribe-events-meta-group-details dl {
    display: grid;
    gap: 16px;
    margin: 0;
}

.tribe-events-meta-group-details dt {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--tec-color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.tribe-events-meta-group-details dd {
    margin: 0;
    font-size: 1.5rem;
    color: var(--tec-color-text-primary);
}

/* Date Display */
.tribe-events-meta-group-details .tribe-events-start-date-label,
.tribe-events-meta-group-details .tribe-events-end-date-label {
    display: none;
}

.tribe-events-meta-group-details .tribe-events-start-date,
.tribe-events-meta-group-details .tribe-events-end-date {
    display: inline;
}

.tribe-events-meta-group-details .tribe-events-start-date:after {
    content: " - ";
    margin: 0 4px;
}

/* Location and other details */
.tribe-events-meta-group-details .tribe-events-meta-group-venue {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--tec-color-border-secondary);
}

/* Icons for meta items */
.tribe-events-meta-group-details dt:before {
    font-family: "dashicons";
    margin-right: 8px;
    vertical-align: middle;
    color: var(--tec-color-accent-primary);
}


.tribe-events-meta-group dt i {
    margin-right: 10px;
    color: #9e3223;
    font-size: 18px;
    vertical-align: middle;
}

.tribe-events-meta-group dd a {
    color: #9e3223;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tribe-events-meta-group dd a:hover {
    color: #1d1d1b;
}

.tribe-events-gmap {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
}

/* Categories styling */
.tribe-events-meta-group-details .tribe-events-event-categories a {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px 4px 2px 0;
    border-radius: 16px;
    background: var(--tec-color-background-secondary);
    color: var(--tec-color-text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    transition: background 0.2s ease;
}

.tribe-events-meta-group-details .tribe-events-event-categories a:hover {
    background: var(--tec-color-accent-primary);
    color: #fff;
}

.tribe-events-c-subscribe-dropdown__button{
	min-width:265px;
}
