/*
Theme Name: Buttonwood Coming Soon
Theme URI: https://buttonwood.com
Author: Chainlink Marketing
Description: Minimal coming soon theme for Buttonwood
Version: 1.0
*/

/* ===========================
   RESET & BASE
=========================== */
:root{
	--tiempos:'TiemposText';
	--apris:'Apris';
	--instrument:'InstrumentSans';
	--red:#ac0000;
	--peach:#fdecd0;
}
				
body {
    color: var(--red);
    background: var(--peach);
    font-size: 16px;
    line-height: 1.4em;
    font-family: var(--instrument);
}
.bw-about {
    font-size: 26px;
    line-height: 1.2em;
    font-family: var(--tiempos);
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100dvh;
}

/* Hide default WP header & footer */
.site-header,
.site-footer,
#wpadminbar ~ .site-header,
header.site-header,
footer.site-footer {
    display: none !important;
}

/* ===========================
   PAGE WRAPPER
=========================== */
.bw-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* ===========================
   HEADER BAR
=========================== */
.bw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    padding: 20px;
}
.bw-logo {
    width: 368px;
}
img {
    display: block;
}

.bw-logo-text {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bw-coming-soon {
    align-self: baseline;
}

/* ===========================
   CONTENT AREA
=========================== */
.bw-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    padding: 2rem 20px 3rem;
    align-items: end;
    flex: 1;
}
.bw-headline {
    font-size: 58px;
    line-height: 1em;
    font-family: var(--apris);
    padding: 0 0 1em;
    font-weight: 500;
    max-width: 480px;
}
.gform-footer.gform_footer.top_label {
    height: 0;
    overflow: hidden;
    padding: 0!important;
    margin: 0!important;
}
.bw-form * {
    font-size: 16px!important;
    font-family: var(--instrument)!important;
    line-height: 1.4em;
    color: var(--red)!important;
}
#field_submit {
    width: fit-content;
    grid-column: auto;
    max-width: fit-content;
}
#gform_submit_button_1 {
    border: none;
    background: transparent;
    width: fit-content;
    cursor: pointer;
}
#gform_fields_1 {
    display: grid;
    grid-template-columns: 1fr auto !important;
}
#field_1_1 {
    grid-column: auto!important;
}
#input_1_1 {
    background: transparent;
    border: none;
    padding: 0;
    outline: none!important;
}
#input_1_1::placeholder {
    color: var(--red);
    opacity: 0.5;
}
.bw-form {
    border-bottom: 1px solid;
    max-width: 480px;
    max-width: max(calc((120vw - 58px) / 4),480px);
}
/* ===========================
   GALLERY — DESKTOP GRID
=========================== */
.bw-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    width: 120vw;
    transform: translateX(-10vw);
}
.bw-gallery-grid .bw-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hide carousel on desktop */
.bw-gallery-carousel {
    display: none;
}

/* ===========================
   GALLERY — MOBILE CAROUSEL
   (below 980px)
=========================== */
@media (min-width:980px){
.mobile-only{
		display:none;
	}	
}
@media ( max-width: 979px ) {

	.bw-content {
		grid-template-columns: 1fr;
		padding: 1.5rem;
		padding: 1em 16px 3em 60px;
		/*flex:0;*/
	}

	.bw-about p {
		max-width: 100%;
	}

	/* Hide grid, show carousel */
	.bw-gallery-grid {
		display: none;
	}

	.bw-gallery-carousel {
		display: block;
	}


	.bw-logo {
		width: 211px;
	}
	.bw-coming-soon {
		font-size: 11px;
	}
	header.bw-header {
		padding: 10px 16px;
		padding: 10px 8px;
	}
	.desk-only{
		display:none;
	}
	.bw-headline {
		font-size: 38px;
		font-size: 36px;
		max-width: 330px;
		padding: 0 0 0.25em;
	}
	.bw-about p {
		font-size: 17px;
		line-height: 23px;
		max-width: 270px;
	}
	.bw-about {
		padding: 0 0 2em;
	}
	.bw-form * {
		font-size: 11px!important;
		line-height: 1.4em!important;
		min-height: 0em!important;
	}
	.owl-stage-outer {
		transform: translateX(calc(-100vw  - -46px))!important;
		width: calc(200vw);
	}
}