/* =============================================================================
   12-signup.css — template_signup.php
   The #signup split, the round "Register" badge, the quote carousel arrows,
   the tabbed tips, and the news grid.
   ============================================================================= */

/* ------------------- || AGENCY 
----------------------------------------------------------------- */

.agency_intro_card {
	padding: 1.25rem;
	border: 1px solid var(--js-purple-tint);
	border-radius: 5px;
	background-color: var(--js-purple-tint);
}

#agency_info {
	padding: 2rem 0 2rem;
}

#agency_info .container .column .left {
	width: 60%;
}
#agency_info .container .column .right {
	width: 40%;
}


#agency_info ul.special {
	margin: 0;
	padding: 0;
	list-style: none;
}

#agency_info ul.special li {
	font-family: var(--js-font);
	font-size: 1.3rem;
	line-height: 1.35;
	margin-bottom: 0.9rem;
	padding: 0.3rem 0 0.9rem 2.5rem;
	list-style: none;
	background-image: url("https://assets-cdn.sums.su/MA/images/su_images/layouts/jobshop/Jobshop-list.png");
	background-repeat: no-repeat;
	background-size: 30px;
	background-position: 5px 5px;
}

#agency_info ul.special li strong {
	display: block;
	position: relative;
	top: 6px;
	font-family: var(--js-font-bold);
	font-size: 1.5rem;
	margin-bottom: 0.625rem;
}

#agency_info .card_borders {
	border: 2px solid var(--js-black);
	border-radius: 10px;
	background-color: var(--js-white);
	padding: 1.25rem;
	margin: 0 0 1.5rem;
}

ul.vacancy_criteria {
	list-style: none;
	padding: 0 1rem;
}
ul.vacancy_criteria li {
	font-size: 1.3rem;
	line-height: 1.35;
	padding: 0.1rem 0 0.5rem 1.5rem;
	list-style: none;
	background-image: url("https://assets-cdn.sums.su/MA/images/su_images/layouts/jobshop/Jobshop-list.png");
	background-repeat: no-repeat;
	background-size: 18px;
	background-position: 0 8px;
}





/* --------------------------------------------------------------------------- */

/* --- #signup: 70/30 here, 30/70 on the About page ------------------------- */
body.page-template-template_signup #signup .container .column .left {
	width: 70%;
}

body.page-template-template_signup #signup .container .column .right {
	width: 30%;
}

body.page-template-template_about #signup .container .column .left {
	width: 30%;
}

body.page-template-template_about #signup .container .column .right {
	width: 70%;
}

/* Equal width and height plus a 50% radius makes the circle; the padding is
   what vertically centres the two lines of text inside it. */
.register {
	width: 250px;
	height: 250px;
	padding: 4.25rem 1.875rem;
	margin: 0 0 3.125rem -1.875rem;
	border-radius: 50%;
	font-family: var(--js-font-bold);
	font-size: 2.5rem;
	line-height: 1;
	text-align: center;
	color: var(--js-white);
}

/* --- Quote carousel (Slick) -----------------------------------------------
   The !important flags are not optional: Slick's own stylesheet is loaded from
   the SU's CDN AFTER this file (see inc/enqueue.php), so equal-specificity
   rules here would lose. The same arrow graphic is used both sides, rotated
   180° for the previous button.
   -------------------------------------------------------------------------- */
.slick-prev,
.slick-prev:hover,
.slick-prev:focus,
.slick-next,
.slick-next:hover,
.slick-next:focus {
	width: 30px !important;
	height: 30px !important;
	z-index: 9999 !important;
	background-image: url("https://assets-cdn.sums.su/MA/images/su_images/layouts/jobshop/Jobshop-list.png") !important;
	background-size: cover !important;
	text-indent: -9999px !important;
}

.slick-next,
.slick-next:hover,
.slick-next:focus {
	right: 0 !important;
}

.slick-prev,
.slick-prev:hover,
.slick-prev:focus {
	left: 0 !important;
	transform: rotate(-180deg) !important;
}

/* Side quotes sit back and faded; Slick adds .slick-center to the middle one. */
.quotes {
	padding: 2.5rem 0;
}

.quote-wrap {
	height: auto;
	padding: 0 1.25rem;
	transform: scale(0.85);
	opacity: 0.5;
	transition: all 400ms ease-out;
}

.quote-wrap.slick-slide.slick-center {
	transform: scale(1);
	opacity: 1;
}

/* --- Tabbed tips ---------------------------------------------------------- */
.tab {
	padding-left: 2.5rem;
	transition: transform 400ms ease-out;
}

.tab.active {
	padding-left: 3.125rem;
}

.tips_title {
	position: relative;
	padding-top: 3.125rem;
	margin-top: 3.125rem;
	border-top: 1px solid var(--js-black);
}

/* --- News grid ------------------------------------------------------------
   Three floated columns. The negative margin on the wrapper cancels the
   padding on the items so the first and last align with the container edge.
   -------------------------------------------------------------------------- */
.gnews {
	line-height: normal;
	margin: 0 -0.9375rem;
	overflow: hidden;
}

.gnews .gnews_wrap {
	float: left;
	width: 33.333%;
	padding: 0 0.9375rem;
}

.gnews .gnews_title {
	padding-top: 0.625rem;
	font-size: 1.375rem;
	line-height: 1.35;
	color: var(--js-black);
}

.gnews .gnews_title p a {
	font-family: var(--js-font-bold);
	color: var(--js-black);
	text-decoration: none;
}

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

.gnews .gnews_date {
	display: block;
	font-family: var(--js-font);
	font-size: 0.8125rem;
	text-transform: uppercase;
	color: var(--js-black);
}

.gnews_article {
	margin-bottom: 1.875rem;
}

.gnews_widget h2 {
	position: relative;
	margin: 0 0 1.875rem;
	text-transform: initial;
}

/* ============================================================================= */

@media (max-width: 1000px) {
	.gnews .gnews_wrap {
		width: 50%;
	}

	.tips_title {
		text-align: left;
		margin-bottom: 0;
	}

	.tips_title svg {
		display: none;
	}

	.tips_title.news {
		margin-bottom: 1.875rem;
	}

	ul.tips li {
		list-style: initial;
	}

	/* The banner heading needs breathing room once the columns stack.
	   !important beats the h2 margin in 02-base.css. */
	.faqs {
		margin-bottom: 1.875rem !important;
	}

	/* Both columns go full width and centre. The !important matches the shell
	   rule in 03-layout.css, which these have to beat. */
	#signup .container .column .left,
	#signup .container .column .right {
		width: 100% !important;
		padding: 0;
		text-align: center;
	}

	#signup p {
		margin: 0.625rem 0 !important;
	}

	/* Centred rather than pulled left once it is no longer beside text. */
	.register {
		float: none !important;
		margin: 3.125rem auto 1.875rem;
	}
}

@media (max-width: 750px) {
	.gnews {
		margin: 0;
	}

	.gnews .gnews_wrap {
		width: 100%;
		padding: 0;
	}
}

@media (max-width: 500px) {
	.quote-wrap {
		padding: 0;
	}

	.register {
		font-size: 2.5rem;
		line-height: 1;
		padding: 4.5rem 1.875rem;
	}
}
