/* Small layout fixes for the template. */

/* A .container placed inside another .container (e.g. the projects grid and the
   "free consultation" box inside .latest-project-area) must not keep Bootstrap's fixed
   width, or it sticks out of its parent and the page scrolls sideways on tablets. */
.container .container {
	width: auto;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* -------------------------------------------------------------------------
   Section titles were <h1>; now <h2 class="rp-h1"> so every page has one H1 (SEO).
   These rules give the h2 exactly the old h1 look (style.css, service-glow.css).
   ------------------------------------------------------------------------- */
h2.rp-h1 { font-size: clamp(2.2rem, 3vw, 3rem); font-weight: 800; line-height: 1.2; }
h2.rp-h1 span { display: inline; }
.sec-title h2.rp-h1 {
	color: #292929;
	font-size: 30px;
	font-weight: 600;
	line-height: 36px;
	text-transform: uppercase;
	margin-top: -7px;
	font-family: 'IranSansBold';
}
.latest-project-area .sec-title h2.rp-h1 { color: #f64848; }
.caption-area h2.rp-h1 { color: #ffffff; font-size: 30px; font-weight: 400; line-height: 42px; margin: 0 0 29px; }
.sidebar-wrapper .single-sidebar .sidebar-title h2.rp-h1 {
	color: #292929;
	font-size: 1.3em;
	-webkit-text-stroke: 0.7px;
	text-transform: uppercase;
	margin: 0 0 17px;
	line-height: 1.2;
}
.services-area.rp-services-home .sec-title h2.rp-h1 { color: #ffffff; }
.services-area.rp-services-home .sec-title h2.rp-h1 .highlight-red { color: #fb4848; }

/* -------------------------------------------------------------------------
   IranSans weight scale (see css/fonts.css for the full list)
   ------------------------------------------------------------------------- */
h1 { font-family: 'IranSansBlack', 'IranSans', sans-serif; font-weight: normal; }         /* page title: Black */
h1 small, h1 .rp-brand-more { font-family: 'IranSans', sans-serif; }                        /* sub-line inside an H1 stays Regular */
.sec-title p { font-family: 'IranSansMedium', 'IranSans', sans-serif; }                     /* eyebrow above section titles: Medium */
.main-menu .navigation > li > a { font-family: 'IranSansMedium', 'IranSans', sans-serif; }  /* menu links: Medium */
.main-menu .navigation li ul li a { font-family: 'IranSans', sans-serif; }                  /* dropdown links: Regular */
.thm-btn, .sec-btn, .sec-btn2, .rp-nav-cta { font-family: 'IranSansMedium', 'IranSans', sans-serif; }
p { font-weight: normal; }
