/*!
Theme Name: Divide by Two Starter Theme
Theme URI: https://dividebytwo.pt
Author: Divide by Two
Author URI: https://dividebytwo.pt
Description: A starter theme for websites built by Divide by Two.


Features to add:
Under construction page


/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {

}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 0;
}

p {
	margin: 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: auto;
	border: 0;
	margin: 0;
	padding: 0;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */


/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {

}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {

}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.entry-footer{
	display: none;
}



/* GLOBAL STYLES DIVIDE BY TWO */


/* menu */

.header {
	position: fixed;
	top: 0;
	width: 100vw;
	height: auto;
	z-index: 1000;
}

.menu_container {
	  color: #fff; 
	  position: absolute;
	  right: 5vw;
	  top: 0px;
	  width: auto;
	  padding: 0 40px;
}

.menu_container a{
	margin: 15px 20px;
}

.toggle{
	position: absolute;
	  right: 3vw;
	  top: 62px;
	  width: 30px;
	  height: 21px;
	  cursor: pointer;
	  z-index: 10001;
	  display: flex;
	  flex-direction: column;
	  justify-content: space-between;
	  
	  display: none;
}


.toggle span {
	display: block;
	width: 100%;
	height: 1px;
	background-color: white;
	transition: all 0.3s ease;
	transform-origin: center;
}

.toggle span:nth-child(1) {
	transform: translateY(0);
}

.toggle span:nth-child(2) {
	opacity: 1;
}

.toggle span:nth-child(3) {
	transform: translateY(0);
}

.toggle.active span{
	background-color: black;
}

/* Toggle Active State (X) */
.toggle.active span:nth-child(1) {
	transform: translateY(10px) rotate(45deg);
}
.toggle.active span:nth-child(2) {
	opacity: 0;
}
.toggle.active span:nth-child(3) {
	transform: translateY(-10px) rotate(-45deg);
}

/* Hamburger Overlay */
.hamburger_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hamburger_overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Hamburger Container */
.hamburger_container {
	position: absolute;
	top: 0;
	right: 0;
	width: 40vw;
	height: 100%;
	background-color: #fff;
	padding: 80px 40px 40px;
	transform: translateX(100%);
	transition: transform 0.4s ease;
	overflow-y: auto;
	
	display: flex;     
	align-items: center; 
}

.hamburger_overlay.active .hamburger_container {
	transform: translateX(0);
}



/* ANIMATIONS: SCALE REVEAL */

.scale-reveal {
	overflow: hidden;
	transform-origin: center center;
	border-radius: 3em;
}

.scale-reveal video,
.scale-reveal img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* PRELOADER */

.preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
	opacity: 0;
	visibility: hidden;
}

.preloader-logo {
	position: relative;
	width: 600px;
	height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.preloader-logo img {
	width: 200px;
	height: auto;
	position: relative;
	z-index: 2;
}

.preloader-circle {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	z-index: 1;
	display: none;
}

.preloader-circle-bg {
	fill: none;
	stroke: rgba(255, 255, 255, 0.2);
	stroke-width: 2;
}

.preloader-circle-fill {
	fill: none;
	stroke: #ff0000;
	stroke-width: 2;
	stroke-dasharray: 283;
	stroke-dashoffset: 283;
	animation: fillCircle 2s ease-in-out infinite;
}

@keyframes fillCircle {
	0% {
		stroke-dashoffset: 283;
	}
	50% {
		stroke-dashoffset: 0;
	}
	100% {
		stroke-dashoffset: 283;
	}
}



/* -------- SLIDE ---------------*/
.slide_gallery .dbt-slide{
	width: 70%;
	height: 40vw;
	overflow: hidden;
	padding: 0 1%;
}
.slide_gallery .dbt-slide-image img{
	width: 100%;
	height: 40vw;
	object-fit: cover;
	object-position: center center;
}
.slide_gallery img{
	
}
.slide_gallery .dbt-slide .dbt-slide-inner{
	transform: scale(0.8);
	transition: transform 0.3s ease;
}
.slide_gallery .is-selected .dbt-slide-inner{
	transform: scale(1) !important;
	transition: transform 0.3s ease;
}
.slide_gallery .dbt-slide-inner{
	position: relative;
}
.slide_gallery .dbt-slide-caption{
	position: absolute;
	bottom: 10%;
}
.slide_gallery .dbt-slide-caption{
	width: 40%;
	text-align: left;
	color: white;
	padding-left: 5%;
}
.slide_gallery h1{
	line-height: 1em;
	margin: 0;
	font-size: clamp(26px, 3vw, 60px);
	font-weight: 300;
}
.slide_gallery p{
	margin: 0;
}
.slide_gallery .flickity-prev-next-button.previous{
	left: 10.5vw;
}
.slide_gallery .flickity-prev-next-button.next{
	right: 10.5vw;
}
.slide_gallery .flickity-button{
	background: none;
	color: #c8322a;
	transition: all ease-in-out 0.2s;
}
.slide_gallery .flickity-button:hover{
	background: none;
	color: #951912;
}

/* ANIMATION HELPER */

.line-mask {
	overflow: hidden;
	display: block;
}


[data-animate="reveal"],
[data-animate="fade-up"],
[data-animate="fade-in"],
[data-animate="slide-left"],
[data-animate="slide-right"],
[data-animate="zoom-in"],
[data-animate="blur-in"],
[data-animate="rotate-in"],
[data-animate="clip-up"] {
	opacity: 0;
}
















/* SITE CODE STARTS HERE */

/*
font-family: "Instrument Serif", serif;
font-family: "Inter", sans-serif;

*/

/* LOGO VISIBILITY AND MENU COLOURS */

.menu-light .logo_black{
	display: none;
}

.menu-light .menu_container a{
	color: white;
}

.menu-dark .logo_white{
	display: none;
}

.menu-dark .menu_container a{
	color: black;
}


/* EVENTS PAGE */

.page-id-174 .logo_black{
	display: none;
}


.page-id-174 .menu_container a{
	color: white;
}

/* SINGLE EVENT */

.single-event .logo_black{
	display: none;
}


.single-event .menu_container a{
	color: white;
}






:root {
	--teal: #2d9ead;
	--blue: #1d4499;
	--pink: #f05e74;
	--yellow: #fad721;
	--green: #74c269;
	--purple: #8273ad;
	--navy: #3d416d;
	--light-grey: #f4f4f4;
}

h2{
	font-weight: 300;
	font-size: clamp(20px, 3vw, 80px);
	color: black;
}

p{
	line-height: 1.8em;
	font-family: Helvetica, Arial, sans-serif;
	color: black;
	font-weight: 200;
}

body{
	
	overflow-x: hidden;
}

*{
	font-family: 'VAG Rounded Next', sans-serif;
}

.top_bar {
	width: 100%;
	height: 40px;
	background-color: var(--teal);
	display: flex;
	align-items: center;
	justify-content: center;
}
.top_bar a {
	color: white;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	text-decoration: none;
}

.header{
	width: 100%;
	height: auto;
	top: 70px;
}

.logo{
	width: 200px;
	left: 5vw;
	position: relative;
}

.logo img{
	width: 100%;
}

.menu_container a{
	text-decoration: none;
}

.entry-header{
	display: none;
}

.home_top_slider{
	min-height: 100vh;
	background-color: var(--blue);
}

.dbt-slide {
	height: 100vh;
}

.dbt-slide-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.home_top_slider .dbt-slide-caption h1{
	color: white;
	font-weight: 100;
	font-size: clamp(20px, 5vw, 80px);
}

.home_top_slider .dbt-slide-caption h1 span {
	font-weight: 600;
	position: relative;
	display: inline-block;
}
.home_top_slider .dbt-slide-caption h1 span::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px; /* increase this to push the bar further up/into the text */
	height: 10px;
	background-color: var(--yellow);
	z-index: -1;
}

.home_top_slider .dbt-slide-caption a{
	background-color: var(--yellow);
	border-radius: 8px;
	padding: 16px 32px;
	border: none;
	color: var(--blue);
	font-family: Helvetica, Arial, sans-serif;
	font-size: 17px;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	margin-top: 70px;
}

.asterisk_wrap {
	position: relative;
	display: inline-block;
}
.asterisk_home_top {
	position: absolute;
	width: 0.6em;
	height: auto;
	top: -1em;
	right: -0.7em;
	animation: rotate-asterisk 6s linear infinite;
}

@keyframes rotate-asterisk {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.star_wrap {
	position: relative;
	display: inline-block;	
}
.star_home_top {
	position: absolute;
	width: 2.5em;
	height: auto;
	top: 0.5em;
	left: -20em;
	animation: float-star 2s ease-in-out infinite;
}

@keyframes float-star {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}


.flickity-button {
	position: absolute;
	background-color: var(--yellow);
	border: none;
	border-radius: 50%;
	width: 56px;
	height: 56px;
}

.flickity-button::before {
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background-color: var(--blue);
	-webkit-mask-image: url('images/seta.svg');
	mask-image: url('images/seta.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.flickity-button-icon {
	display: none;
}

.flickity-prev-next-button.next::before {
	transform: translate(-50%, -50%) rotate(180deg);
}

.flickity-prev-next-button.next{
	right: 3vw;
}

.flickity-prev-next-button.previous {
	left: 3vw;
}

.img_home{
	border-radius: 5vw;
	overflow: hidden;
	margin-top: -10vw;
}


.destaque_home h3{
	text-align: center;
	font-weight: 500;
	font-size: clamp(20px, 2vw, 80px);
	color: black;
}

.destaque_homeimg img{
	width: 5vw;
}

#home_img_one img{
	animation: rotate-asterisk 6s linear infinite;
}

#home_img_two img{
	animation: float-star 2s ease-in-out infinite;
}

#home_img_three img{
	animation: float-star 3s ease-in-out infinite;
}

.blue{
	background-color: var(--blue);
}

.blue h3, .blue h2, .blue p{
	color: white;
}

#asterisk_home_two{
	position: relative;
}

#asterisk_home_two img {
	  width: 10vw;
	  right: 10%;
	  top: 3vw;
	  position: absolute;
	  animation: rotate-asterisk 6s linear infinite;
}

.destaque_bluegrid_home{
	padding-top: 30px;
	padding-bottom: 150px;
	border-top: 1px solid white;
}

.blue h3{
	font-size: clamp(20px, 2vw, 80px);
	font-weight: 300;
}

.destaque_bluegrid_home_a {
	display: inline-block;
	width: 35px;
	height: 35px;
	background-color: var(--yellow);
	-webkit-mask-image: url('images/seta.svg');
	mask-image: url('images/seta.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transform: rotate(180deg);
	float: right;
	margin-top: 50px;
}

.blue {
	display: flex;
	justify-content: flex-end; /* pushes the arrow to the right */
	align-items: center;
}


.footer{
	background-color: var(--navy);
	padding: 5% 10% 2% 10%;
}

.footer:first-child{
	padding-bottom: 200px !important;
}

.footer h1{
	font-size: clamp(20px, 3vw, 80px);
	font-weight: 500;
	line-height: 1.2em;
	color: white;
}

.footer h2{
	font-size: clamp(20px, 1.5vw, 80px);
	font-weight: 100;
	color: white;
	font-style: italic;
}


.footer a.button {
	  background-color: var(--yellow);
	  border-radius: 8px;
	  padding: 16px 32px;
	  border: none;
	  color: var(--navy);
	  font-family: Helvetica, Arial, sans-serif;
	  font-size: 17px;
	  text-decoration: none;
	  display: inline-block;
	  cursor: pointer;
	  margin-top: 50px;
}

#footer_logo img{
	width: 200px;
}



.menu-main-menu-container ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-main-menu-container ul.menu li {
	display: block;
	margin: 10px 0px;
	padding: 0;
}

.menu-main-menu-container ul.menu li a {
	font-size: clamp(20px, 1.5vw, 80px);
	text-decoration: none;
	font-weight: 300;
	
	color: white;
}

#secondary{
	background: var(--navy);
	padding-bottom: 50px;
}

#copy, #copy a, #copy p{
	color: white;
	font-size: 13px;
}




/**
 * Site-specific override for the Divide by Two Video Slider
 * Scope: .inspiring_girls_slide
 *
 * Loads AFTER the base dbt-video-slider.css.
 *
 * Desktop (min-width: 961px): two-column layout, image left / purple
 * content panel right.
 * Mobile (max-width: 960px): reverts to a single stacked image with a
 * plain caption bar at the bottom - no menu, no title, no two-column split.
 *
 * ASSUMPTION: this slider instance uses transitionEffect: 'fade'
 * (all slides stacked in place, opacity-toggled). If not, the caption
 * bleed trick below will break.
 *
 * TODO adjust to brand:
 * - purple panel background color
 * - active tab underline color
 * - card height / min-height
 * - side padding
 */

@media (min-width: 961px) {

/* Outer card: one continuous rounded shape, two columns inside it */
.inspiring_girls_slide .dbt-video-slider-wrapper {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	border-radius: 3em;
	min-height: 620px; /* TODO adjust - sized to fit your longest caption text at current padding/font-size */
	/* hard split so the purple lives behind everything, not tied to any child's z-index */
	background: linear-gradient(to right, transparent 50%, #8677b8 50%);
}



/* Left column: image/video half */
.inspiring_girls_slide .dbt-video-slider-wrapper .swiper {
	flex: 0 0 50%;
	width: 50%;
	height: auto;
	/* must be visible so the caption below can bleed into the right column */
	overflow: visible;
	border-radius: 0;
}
.inspiring_girls_slide .dbt-video-slider-wrapper .swiper-slide {
	overflow: visible;
}
/* Hide dots/arrows - not present in this layout */
.inspiring_girls_slide .dbt-video-slider-wrapper .swiper-pagination,
.inspiring_girls_slide .dbt-video-slider-wrapper .swiper-button-prev,
.inspiring_girls_slide .dbt-video-slider-wrapper .swiper-button-next {
	display: none;
}
/* Caption: repositioned from an image overlay into the right-hand panel */
.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-slide-caption {
	position: absolute;
	top: 0;
	left: 100%;   /* starts exactly where the 50%-wide slide ends */
	width: 100%;  /* 100% of slide width = matches the right column, since split is 50/50 */
	height: auto; /* was 100% - box now just hugs its content instead of stretching the full column */
	margin-top: 195px; /* fixed clearance below the menu row (title + tabs) - was padding-top under a 100%-height box */
	display: flex;
	flex-direction: column;
	padding: 0 60px 60px 60px;
	text-align: left;
	color: #fff;
	z-index: 5;
	box-sizing: border-box;
}
.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-slide-caption p{
	color: white;
	padding-bottom: 30px;
}
/* Right column: purple panel holding the menu (title comes later) */
.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-slider-menu {
	flex: 0 0 50%;
	width: 50%;
	height: auto; /* only as tall as its content - background now lives on the wrapper */
	position: relative;
	margin-top: 0;
	display: block; /* was flex - block flow lets the ::before title sit on its own line above the tabs */
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
	border-radius: 0;
	padding: 60px 60px 0;
}

.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-slider-menu::before {
	content: "Tipos de Sessões"; /* hardcoded - not pulled from the widget's admin title field */
	display: block;
	font-size: 24px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 20px;
}
.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-menu-item {
	display: inline-block; /* parent is no longer flex, so this needs to be explicit */
	position: relative; /* anchors the underline bar + star pseudo-elements below/above */
	vertical-align: middle;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
	border-right: none;
	border-bottom: none; /* underline is now a background bar below, not a border - guarantees flat square ends */
	padding: 0 0 12px 0;
	font-size: 15px;
	margin-right: 25px;
	white-space: nowrap; /* stop a single tab's own label from wrapping */
	
}

.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-menu-item.is-active::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: #f2c94c; /* TODO replace with brand yellow/accent */
}

.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-menu-item.is-active::after {
	content: "\2731"; /* heavy asterisk/star glyph, closer to the reference than a plain "*" */
	position: absolute;
	top: -14px;
	right: -18px;
	font-size: 22px;
	line-height: 1;
	color: #f2c94c; /* TODO replace with brand yellow/accent */
}
.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-menu-item.is-active {
	color: #fff;
}

} /* end desktop (min-width: 961px) */


@media (max-width: 960px) {

/* Plain stacked layout: no flex split, no purple panel, no min-height */
.inspiring_girls_slide .dbt-video-slider-wrapper {
	display: block;
	overflow: hidden;
	background: none;
	min-height: 0;
	border-radius: 2em; /* TODO adjust to taste for mobile */
}

/* Full-width image, back to a normal single block, clipped again */
.inspiring_girls_slide .dbt-video-slider-wrapper .swiper {
	width: 100%;
	overflow: hidden;
	border-radius: 0;
}
.inspiring_girls_slide .dbt-video-slider-wrapper .swiper-slide {
	overflow: hidden;
}

/* No title, no tabs on mobile */
.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-slider-menu,
.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-slider-menu::before {
	display: none;
}

/* Caption: plain block of text below the image, normal document flow */
.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-slide-caption {
	position: static;
	width: 100%;
	height: auto;
	margin-top: 0;
	display: block;
	padding: 20px;
	text-align: left;
	color: #000;
	background: none;
	z-index: auto;
	box-sizing: border-box;
}
.inspiring_girls_slide .dbt-video-slider-wrapper .dbt-slide-caption p {
	color: #000;
	padding-bottom: 12px;
}

}




.page_header h1{
	color: white;
	font-weight: 100;
	font-size: clamp(60px, 4vw, 80px);
}

.page_header h1 span {
	font-weight: 100;
	position: relative;
	display: inline-block;
	
	margin-bottom: 10px;
	position: relative;
	z-index: 2;
}
.page_header h1 span::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px; /* increase this to push the bar further up/into the text */
	height: 10px;
	background-color: var(--yellow);
	z-index: 0;
}

.page_header p{
	color: white;
	max-width: 420px;
	font-weight: 200;
}

.page_header a{
	background-color: var(--yellow);
	border-radius: 8px;
	padding: 16px 32px;
	border: none;
	color: var(--blue);
	font-family: Helvetica, Arial, sans-serif;
	font-size: 17px;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	margin-top: 70px;
}

.page_header{
	min-height: 600px;
	padding-top: 200px;
	padding-left: 10%;
	background-color: var(--blue);
}


.star_sobrenos{
	width: 25vw;
	  right: 15vw;
	  top: -10vw;
	  position: absolute;
	  animation: float-star-two 2s ease-in-out infinite;
}

@keyframes float-star-two {
	0%, 100% {
		transform: translateY(0) rotate(45deg);
	}
	50% {
		transform: translateY(-10px) rotate(45deg);
	}
}


.big_number h1{
	font-size: clamp(60px, 8vw, 160px);
	text-align: center;
	color: var(--purple);
	font-weight: 400;
}

.destaques_sobrenos h5{
	padding-top: 20px;
}

.destaques_sobrenos{
	text-align: center;
}


.destaques_sobrenos .panel-grid-cell {
	padding: 0 5vw; 
}

.destaques_sobrenos .panel-grid-cell:not(:last-child) {
	border-right: 1px solid rgba(0, 0, 0, 0.3);
}


.team_row{
	text-align: center;
	padding: 2% 0;
}

.team_row h2{
	font-weight: 300;
	font-size: clamp(20px, 2vw, 80px);
	color: black;
}

.team_row p{
	color: var(--purple);
	font-size: clamp(20px, 1vw, 40px);
}

.team_row img{
	width: 100%;
	margin-bottom: 20px;
	border-radius: 3vw;
}

.asterisk_sobrenos{
	width: 35vw;
	left: -5vw;
	top: 0vw;
	position: absolute;
	z-index: -10;
	animation: rotate-asterisk 6s linear infinite;
}

#sessoes_slider{
	background-color: var(--purple);
	margin-top: 5%;
}

#sessoes_slider .inspiring_girls_slide .dbt-video-slider-wrapper{
	background: white !important;
	
}

#sessoes_slider .inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-menu-item.is-active, #sessoes_slider .dbt-slide-caption, #sessoes_slider .dbt-slide-caption p, #sessoes_slider .dbt-video-slider-wrapper .dbt-video-menu-item, #sessoes_slider .inspiring_girls_slide .dbt-video-slider-wrapper .dbt-video-slider-menu::before {
	color: black;	
}

#contactos .page_header{
	text-align: center;
	padding-left: 0;
	background: none;
	min-height: 300px;
	padding-top: 85px;
}

#contactos .page_header h1{
	color: black;

}

#contactos .page_header p{
	color: black;
	max-width: none;
}

.contactos_girls img{
	position: relative;
	z-index: 0;
}

.contactos_asterisk img{
	position: absolute;
	width: 40vw;
	top: 0;
	z-index: -10;
	animation: rotate-asterisk 6s linear infinite;
}


/*----- contact ------- */


#wpcf7-f162-p159-o1 label {
	display: block;
	font-size: 20px;
	font-weight: 400;
	color: #000;
}

#wpcf7-f162-p159-o1 input[type="text"],
#wpcf7-f162-p159-o1 input[type="email"],
#wpcf7-f162-p159-o1 textarea {
	width: 100%;
	box-sizing: border-box;
	background: #f5f5f5;
	border: none;
	border-radius: 30px; /* TODO adjust - pill-shaped single-line fields */
	padding: 20px 25px;
	font-size: 16px;
	color: #333;
	margin-bottom: 20px;
}

#wpcf7-f162-p159-o1 textarea {
	border-radius: 20px; /* less rounded than the pill inputs, matches the big rectangle look */
	min-height: 220px;
	resize: vertical;
}

#wpcf7-f162-p159-o1 input::placeholder,
#wpcf7-f162-p159-o1 textarea::placeholder {
	color: #999;
}

#wpcf7-f162-p159-o1 p:last-of-type {
	text-align: right; /* pushes the submit button to the right, like your reference */
}

#wpcf7-f162-p159-o1 input[type="submit"] {
	background: #8677b8; /* TODO replace with your actual brand purple */
	color: #fff;
	border: none;
	border-radius: 30px;
	padding: 15px 40px;
	font-size: 16px;
	cursor: pointer;
}

#wpcf7-f162-p159-o1.wpcf7-form p:last-of-type {
	display: flex;
	justify-content: flex-end;
}

.wpcf7-spinner{
	position: absolute;
	
}




/* EVENTS */


.events_header {
	background-color: var(--blue);
	height: 400px;
	padding-top: 140px;
	text-align: center;
}

.events_header h1 {
	display: inline-block;
	position: relative;
	color: white;
	font-weight: 100;
	font-size: clamp(20px, 5vw, 80px);
	margin: 0;
}

.events_header h1 span {
	position: relative;
}

.events_header h1 span::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	height: 10px;
	background-color: var(--yellow);
	z-index: 1;
}


.events-year-group {
	padding: 0% 15% 5% 15%;
}

.events-year-group:first-child{
	padding-top:8%;
}

.events-year-heading {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.events-year-items {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.event-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 3 / 4;
}

.event-card a {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	color: #fff;
	text-decoration: none;
}

.event-card img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.event-card::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60%;
	background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
	z-index: 2;
	pointer-events: none;
}

.event-card h3,
.event-card .event-date {
	position: relative;
	z-index: 3;
}

.event-card h3 {
	position: absolute;
	bottom: 2.5rem;
	left: 1.25rem;
	right: 1.25rem;
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.3;
}

.event-card .event-date {
	position: absolute;
	bottom: 1rem;
	left: 1.25rem;
	font-size: 0.85rem;
	opacity: 0.85;
}


.event-card .card-arrow {
	position: absolute;
	bottom: 1.25rem;
	right: 1.25rem;
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--yellow);
	display: flex;
	align-items: center;
	justify-content: center;
}

.event-card .card-arrow::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	background-color: var(--blue);
	-webkit-mask-image: url('images/seta.svg');
	mask-image: url('images/seta.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transform: rotate(180deg);
}





.events-year-group:first-of-type .events-year-items .event-card:first-child {
	grid-column: span 2;
	aspect-ratio: auto;
	background-color: var(--blue);
}
.events-year-group:first-of-type .events-year-items .event-card:first-child img {
	width: 50%;
	height: 100%;
}
.events-year-group:first-of-type .events-year-items .event-card:first-child a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5rem;
	padding-left: 55%;
	padding-right: 1.5rem;
	box-sizing: border-box;
}
.events-year-group:first-of-type .events-year-items .event-card:first-child h3,
.events-year-group:first-of-type .events-year-items .event-card:first-child .event-date {
	position: static;
	transform: none;
	left: auto;
	right: auto;
	bottom: auto;
	top: auto;
}
.events-year-group:first-of-type .events-year-items .event-card:first-child::after {
	display: none;
}

@media (max-width: 1024px) {
	.events-year-items {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.events-year-items {
		grid-template-columns: 1fr;
	}
}



/* SINGLE EVENT */

.single-event .post-thumbnail{
	display: none;
}

.event_header{
	background-color: var(--blue);
	text-align: center;
	padding-top: 160px;
}

.event_header h1{
	display: none;
}

.single_header{
	background-color: var(--blue);
	text-align: center;
	padding-bottom: 200px;
}

.event_date{
	color: var(--yellow);
}

.single_header h2 {
	color: white;
	line-height: 1.3em;
	position: relative;
	padding-bottom: 50px;
	margin-bottom: 0;
}

.single_header h2::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 200px;
	height: 10px;
	background-color: var(--yellow);
}

.single_header_img{
	margin-top: -100px;
	padding-bottom: 50px;

}

.single_header_img .sow-image-container{
	border-radius: 5vw;
	overflow: hidden;
}

.single-event .panel-layout{
	padding: 0% 10% 5% 10%;
}


.single-event .navigation{
	display: none;
}


.back_to_events {
	border-top: 1px solid #ccc;
	padding-top: 100px;
	padding-bottom: 100px;
	margin: 0 10%;
	text-align: center;
}

.back_button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background-color: var(--purple);
	color: white;
	text-decoration: none;
	font-weight: 600;
	padding: 0.5rem 1.5rem 0.5rem 0.5rem;
	border-radius: 999px;
}

.back_arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--yellow);
	flex-shrink: 0;
}

.back_arrow::before {
	content: '';
	display: block;
	width: 16px;
	height: 16px;
	background-color: var(--blue);
	-webkit-mask-image: url('images/seta.svg');
	mask-image: url('images/seta.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;

}