/*
Theme Name: Pimpampum theme
Theme URI: https://www.pimpampum.net
Author: Pimpampum.net
Author URI: https://www.pimpampum.net
Description: Tema a mida basat en Underscores
Version: 1.0.0
License: GNU General Public L1icense v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
 */
@import url("style_menu.css");

/* Afegit PPP */
.video_wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}
.video_wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
img,
canvas {
	max-width: 100%;
	height: auto;
	display: block;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
	content-visibility: auto;
}

:root {
	--bodytext: #282828;
	--lila: #9db8ff;
	--groc: #f4ec69;
	--bggris: #e8e8e8;
	--border: 1px solid #d9cfb9;
	--gap: 24px;
	--miggap: 12px;
	--dosgap: 48px;
}

/**************************
PPP - Estuctura
***************************/

html {
	font-size: 15px;
}

body,
button,
input,
select,
textarea {
	font-family: "Neue Haas Grotesk Text Pro", helvetica, arial, sans-serif;
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.444;
	color: var(--bodytext);
}

.wrap {
	width: 90%;
	max-width: 1380px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.grid3 {
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 30px;
}

#noticies .grid3 {
	row-gap: 90px;
}

/**************************
Generals
***************************/

a,
a:visited {
	color: var(--bodytext);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-decoration-color: var(--bodytext);
	text-underline-offset: 3px;
}

a:hover,
a:focus,
a:active {
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

h2,
#home_films h3,
#home_films h4,
.activitat_info h3,
#home_curtmetratges h3,
.teaser_noticia h3,
.noticia-txt h1 {
	font-size: 1.875rem;
	line-height: 1.2;
	font-weight: 700;
}

h3 a {
	text-decoration: none;
}

h3 a:hover {
	text-decoration: underline;
}

section > h2,
section > .wrap > h2 {
	font-weight: 400;
}

img,
.video_wrapper iframe {
	border-radius: 10px;
	overflow: hidden;
}

footer img {
	border-radius: 0;
}

.boto a,
.wp-block-buttons a {
	font-size: 1.5rem;
	line-height: 1.2;
	display: block;
	padding: 16px 16px 14px 16px;
	border: 1px solid var(--bodytext);
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
}

.boto a:hover,
.wp-block-buttons a:hover {
	text-decoration: underline;
}

.wp-block-button .wp-block-button__link.is-style-outline,
.wp-block-button.is-style-outline > .wp-block-button__link {
	padding: 16px 16px 14px 16px;
	border: 1px solid var(--bodytext);
}

/**************************
PPP - HEADER
***************************/

#masthead {
	padding-top: 40px;
}

.masthead-nav ul a {
	text-decoration: none;
	font-size: 1.5rem;
}
.masthead-nav ul a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-decoration-color: var(--bodytext);
	text-underline-offset: 0.3em;
}



.masthead-title {
	padding: 10px 0;
	background-color: #E8E8E8;

	.wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	}

	h1 a {
		text-indent: -9999px;
		background: url("img/SDA.svg") no-repeat;
		width: 280px;
		height: 43px;
		background-size: cover;
		display: block;
	}
	
	img {
	border-radius: 0;
	}
}

/*
#site-navigation {
	position: relative;
	top: 10px;
}*/

/**************************
PPP - FOOTER
***************************/

footer {
	background-color: var(--groc);
	margin-top: 150px;
}

.footer1 > *,
.footer2 > *,
.footer3 > * {
	margin-bottom: 30px;
}

.footer1 {
	padding: 60px 0;
}

.footer1 > img {
	margin-right: auto;
}

ul.social {
	display: flex;
	gap: 30px;
	list-style-type: none;
}

.footer2 {
	padding-top: 10px;
	padding-bottom: 40px;
	border-top: 1px solid var(--bodytext);
	font-size: 0.875rem;
	line-height: 1.857;
}

.footer2 p,
.footer2 img {
	margin-bottom: 20px;
}

.footer3 {
	padding-top: 10px;
	padding-bottom: 54px;
	border-top: 1px solid var(--bodytext);
}

.footer3 a {
	text-decoration: none;
}

.footer3 a:hover {
	text-decoration: underline;
}

.postfooter {
background-color: #000;
padding: 42px;
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
color: #fff;
font-size: 1.25rem;
}

.postfooter a,
.postfooter a:visited {
color: #fff;
font-size: 1.25rem;
display: flex;
gap: 8px;
}

/**************************
PPP - HOME
***************************/

.home_intro {
	/*padding-top: 84%;
	background: url(img/SDA_18MOSTRA.jpg) no-repeat center top;
	background-size: contain;*/
	margin-top: 20px;

	display: flex;
	flex-direction: column;
	justify-content: end;
	margin-bottom: 145px;
}

.home_intro h2 {
	font-size: 1.875rem;
	font-weight: 400;
}

.home_intro .grid > * {
	margin-bottom: 30px;
}

/* Fitxa film gran */

#home_films {
	background: linear-gradient(to top, white 180px, #f5cbcb 180px);
/*background-color: var(--lila);
margin-bottom: 160px*/
}

#home_films .wrap {
	position: relative;
	top: -75px;
}

.home_films_info.grid3 {
	row-gap: 0;
}

.film_meta {
margin-bottom: 2em;
}

.home_films_media {
	grid-column: 1 / -1;
	margin-bottom: 23px;
}

#home_films h2 {
	margin-bottom: 12px;
}

#home_films h3 {
	margin-bottom: 0.6em;
	padding-top: 13px;
}

#home_films h4 {
	margin-bottom: 24px;
	font-weight: 400;
	margin-top: 40px;
}

#home_films .boto {
	margin-bottom: 40px;
}

dl {
	padding-top: 60px;
	margin-bottom: 60px;
}

dt {
	font-weight: 700;
}

dd {
	margin-bottom: 28px;
}

/* Curtmeratges */

#home_curtmetratges {
	padding-bottom: 70px;
}

#home_curtmetratges,
#home_activitats {
	padding-top: 28px;
	border-top: 1px solid var(--bodytext);
}

#home_curtmetratges h2,
#home_activitats h2 {
	margin-bottom: 26px;
}

#home_curtmetratges h3 {
	margin-bottom: 20px;
}

.un_curt {
	margin-bottom: 60px;
}

.director {
	font-weight: 700;
}

.curt_meta {
	margin-bottom: 20px;
}

.un_curt img {
	margin-bottom: 20px;
}

/* Activitats */

.llistat_activitats li {
	list-style-type: none;
	background-color: var(--bggris);
	padding: 30px;
	border-radius: 10px;
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
}

.activitat_meta {
	order: 2;
}

.activitat_data {
	font-weight: 700;
}

.activitat_info {
	order: 1;
	margin-bottom: 30px;
}

/* Notícies */

#home_noticies {
	padding-bottom: 70px;
}

.home_noticies_header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-top: 1px solid var(--bodytext);
	border-bottom: 1px solid var(--bodytext);
	padding: 28px 0;
	font-size: 1.875rem;
	line-height: 1.2;
	margin-bottom: 23px;
}

.home_noticies_header h2 {
	font-weight: 400;
}

.home_noticies_header a {
	text-decoration: none;
	font-size: 0.875rem;
}

.home_noticies_header a:hover {
	text-decoration: underline;
}

.home_noticies_header img {
	margin-left: 6px;
	border-radius: 0;
	display: inline-block;
	width: 10px;
}

.teaser_noticia {
	margin-bottom: 60px;
}

.teaser_noticia img {
	margin-bottom: 20px;
}

.data {
	font-size: 0.875rem;
	line-height: 1.857;
	margin-bottom: 10px;
}

.teaser_noticia h3 {
	margin-bottom: 24px;
}

/**************************
PPP - INTERIORS
***************************/

/* Llistat notícies i activitats */

.llistat_interior h1,
p.titol {
	border-top: 1px solid var(--bodytext);
	border-bottom: 1px solid var(--bodytext);
	padding: 16px 0;
	margin-top: 40px;
	margin-bottom: 40px;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.444;
}

/* Single noticia */

.una_noticia {
	margin-bottom: 120px;
}

p.titol a {
	text-decoration: none;
}

p.titol a:hover {
	text-decoration: underline;
}

.noticia-txt h1 {
	margin-bottom: 40px;
}

.single_excerpt {
	margin-left: 60px;
	border-left: 1px solid var(--bodytext);
	padding-left: 30px;
	font-weight: 700;
	margin-bottom: 60px;
}

.single_content * {
	margin-bottom: 30px;
}

.single_content h2 {
	margin-top: 60px;
	font-size: 1.125rem;
}

/* Single activitat */

.una_activitat {
	margin-bottom: 80px;
}

.una_activitat h1 {
	margin-top: 0.5em;
	margin-bottom: 1em;
	line-height: 1.2;
}

.una_activitat_data {
	font-size: 1.125rem;
	font-weight: 700;
}

.una_activitat_content .wp-block-buttons {
	margin-top: 30px;
}

/**************************
RESPONSIVE
***************************/

/* ANCHOR 600 */

@media screen and (min-width: 600px) {
	.footer1,
	.footer2 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 60px;
		row-gap: 30px;
	}

	.footer1 {
		align-items: center;
	}

	.footer1 img {
		grid-column: 1/-1;
	}

	.footer2 > div:nth-last-of-type(2) img {
		margin-top: 30px;
	}

	.footer2 > div:last-of-type {
		grid-column: 1/-1;
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		justify-content: space-between;
		column-gap: 30px;
		row-gap: 0;
	}

	.footer2 img {
		margin: 0;
	}

	.footer2 > div:last-of-type img {
		grid-row: 2/3;
	}
}
/* ANCHOR 768 */

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
	.grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		column-gap: 60px;
		row-gap: 30px;
	}
	.home_intro h2,
	.home_films_intro {
		grid-column: 1 / -1;
	}

	/* HOME */

	.home_intro .grid > *,
	.un_curt,
	.teaser_noticia {
		margin-bottom: 0;
	}

	/* Single noticia */

	.una_noticia {
		display: grid;
		grid-template-columns: 2fr 1fr;
		column-gap: 60px;
	}

	.una_noticia .data {
		grid-column: 1/-1;
	}

	/* Footer */

	.footer1 > *,
	.footer2 > *,
	.footer3 > * {
		margin-bottom: 0;
	}

	.llistat_interior h1 {
		margin-top: 60px;
		margin-bottom: 72px;
	}
}



/* ANCHOR 900 */

@media (min-width: 900px) {
	#masthead {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		padding-top: 30px;
	}

	.masthead-title {
		padding: 30px 0;}
	.masthead-nav ul {
		display: flex;
		gap: 25px;
		list-style-type: none;
	}

	.home_intro {
	/*	height: 100vh;
	min-height: 700px;
		max-height: 880px;
	background-position: center top;*/
		margin-top: 20px;
	
	
		display: flex;
		flex-direction: column;
		justify-content: end;
		margin-bottom: 145px;
		padding-top: 0;
	}

	/* Curtmeratges */

	#home_curtmetratges {
		padding-bottom: 176px;
	}

	/* Activitats */

	.llistat_activitats li {
		display: grid;
		grid-template-columns: minmax(270px, 1fr) 3fr;
	}

	.activitat_info {
		order: 2;
		margin-bottom: 0;
		padding-left: 30px;
		border-left: 1px solid var(--bodytext);
	}

	.activitat_meta {
		order: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding-right: 10px;
		margin-bottom: 0;
	}

	.activitat_data,
	.activitat_info h3 {
		margin-bottom: 1em;
	}

	.activitat_data {
		font-size: 1.875rem;
		line-height: 1.2;
	}

	/* Single activitat */

	.una_activitat {
		display: grid;
		grid-template-columns: 1fr 2fr;
		column-gap: 90px;
		row-gap: 60px;
		margin-bottom: 150px;
		align-items: baseline;
	}

	.una_activitat h1 {
		grid-column: 2/3;
		grid-row: 1/2;
		margin: 0;
	}

	.una_activitat_data {
		grid-column: 1/2;
		grid-row: 1/2;
		font-size: 1.875rem;
		line-height: 1.2;
	}

	.una_activitat_meta {
		grid-column: 1/2;
		grid-row: 2/3;
	}

	.una_activitat_content {
		grid-column: 2/3;
		grid-row: 2/3;
	}

	/* Notícies */

	#home_noticies {
		padding-bottom: 150px;
	}

	.home_noticies_header a {
		font-size: 1.875rem;
		text-align: left;
	}

	.home_noticies_header img {
		margin-left: 28px;
		width: auto;
	}

.postfooter,
	.postfooter a,
	.postfooter a:visited {
	color: #fff;
	font-size: 1.875rem;
}

 
}

/* ANCHOR 1100 */

@media (min-width: 1100px) {
	.grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		column-gap: 60px;

		align-items: baseline;
	}

.home_films_info.grid {
align-items: start;
}

.film_meta {
padding-top: 67px
}

	#noticies.llistat_interior {
	row-gap: 40px;
	}

	/* Header */

	.masthead-title h1 a {
		width: 320px;
		height: 50px;
	}

	.masthead-nav ul {
		gap: 40px;
	}

	.masthead-nav ul a {
		font-size: 1.6875rem;
	}

	/* Home */

	/*.home_intro {
		height: calc(100vh - 180px);
	}*/
	.home_intro h2,
	.home_films_intro {
		grid-column: 1 / 2;
	}

	dl {
		padding-top: 23px;
		margin-bottom: 40px;
	}

	#home_films .boto {
		margin-bottom: 0;
	}

	#home_films h4 {
		margin-bottom: 24px;
		font-weight: 400;
		margin-top: -22px;
	}

	.un_curt {
		margin-bottom: 0;
	}

	/* Footer */

	.footer1 {
		display: flex;
		justify-content: end;
		align-items: center;
		gap: 50px;
		padding: 60px 0;
	}

	.footer2 {
		display: grid;
		grid-template-columns: 1fr 1fr 3fr;
		justify-content: space-between;
		column-gap: 40px;
	}

	.footer2 > div:last-of-type {
		grid-column: auto;
	}
}

/* ANCHOR 1300 */

@media (min-width: 1300px) {
	/* Header */

	.masthead-title h1 a {
		width: 390px;
		height: 60px;
	}

	.masthead-nav ul {
		gap: 60px;
	}

	.masthead-nav ul a {
		font-size: 1.875rem;
	}
}
