/*
	Iridium by TEMPLATED
    templated.co @templatedco
    Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
*/

/*********************************************************************************/
/* Basic                                                                         */
/*********************************************************************************/

	body,input,textarea,select
	{
		line-height: 1.75em;
		font-size: 10.5pt;
		letter-spacing: 0;
	}

	body
	{
	}

	h2, h3, h4, h5, h6
	{
		font-size: 1.5em;
	}

	section,
	article
	{
		clear: both;
		margin: 2em 0 2em 0 !important;
	}

	section > :first-child,
	article > :first-child
	{
		margin-top: 0 !important;
	}

	section:first-child,
	article:first-child
	{
		margin-top: 0 !important;
	}

	.container
	{
		padding: 0em 2em;
	}
	
	.button
	{
		display: block;
		width: 100%;
		text-align: center;
	}
	
/*********************************************************************************/
/* UI                                                                            */
/*********************************************************************************/

	#titleBar
	{
		background: none;
	}

		#titleBar .title
		{
			display: none;
			color: #fff;
			text-align: center;
			line-height: 44px;
		}

			#titleBar .toggle:before
			{
				content: '';
				display: block;
				width: 60px;
				height: 44px;
				background: rgba(0,0,0,0.5);
				border-radius: 4px;
				position: absolute;
				left: 5px;
				top: 5px;
			}

			#titleBar .toggle:after
			{
				content: '';
				display: block;
				width: 20px;
				height: 20px;
				position: absolute;
				left: 25px;
				top: 20px;
				background: url('images/mobileUI-site-nav-opener-bg.svg') 0px 0px no-repeat;
				opacity: 0.50;
			}

			#titleBar .toggle:active:after
			{
				opacity: 0.5;
			}

	#navPanel
	{
		background: #111111;
	}

		#navPanel .link
		{
			display: block;
			color: #888;
			text-decoration: none;
			height: 44px;
			line-height: 44px;
			border-top: solid 1px #1b1b1b;
			padding: 0 1em 0 1em;
		}
		
			#navPanel .link:first-child
			{
				border-top: 0;
			}
			
			#navPanel .link.depth-0
			{
				color: #fff;
			}

			#navPanel .indent-1 { display: inline-block; width: 1em; }
			#navPanel .indent-2 { display: inline-block; width: 2em; }
			#navPanel .indent-3 { display: inline-block; width: 3em; }
			#navPanel .indent-4 { display: inline-block; width: 4em; }
			#navPanel .indent-5 { display: inline-block; width: 5em; }
			#navPanel .depth-0 { color: #fff; }
			
/*********************************************************************************/
/* Header                                                                        */
/*********************************************************************************/

	#header
	{
		padding: 6em 0em 4em 0em;
		text-align: center;
	}

/*********************************************************************************/
/* Logo                                                                          */
/*********************************************************************************/

	#logo
	{
		margin-bottom: 3em;
	}
	
		#logo h1
		{
			color: #FFF;
		}
	
		#logo h1 a
		{
			display: block;
			letter-spacing: 1px;
			text-decoration: none;
			text-transform: uppercase;
			font-size: 3em;
			font-weight: 900;
			color: #FFF;
		}

		#logo span
		{
			display: block;
			padding-top: 1em;
			letter-spacing: 1px;
			text-transform: uppercase;
			font-size: 1em;
			color: rgba(255,255,255,.5);
		}			
	
	#nav
	{
		display: none;
	}
	
/*********************************************************************************/
/* Main                                                                          */
/*********************************************************************************/

	#main
	{
		padding: 4em 0em 1em 0em;
	}

	#content
	{
	}
	
	#content header
	{
		margin-bottom: 2em;
	}
	
	#content header h2
	{
		line-height: 1em;
		font-size: 1.8em;
	}
	
	#content header .byline
	{
		line-height: 1.5em;
		font-size: 1.20em;
	}
	
	#sidebar h2
	{
		display: block;
		padding-bottom: 1em;
		font-size: 1.4em;
	}
	

/*********************************************************************************/
/* Featured                                                                      */
/*********************************************************************************/
	
	#featured
	{
		padding: 4em 0em 4em 0em;
	}
	
/*********************************************************************************/
/* Footer                                                                        */
/*********************************************************************************/
	
	#footer
	{
		padding: 4em 0em 2em 0em;
	}
	
	#footer h2
	{
		padding-bottom: 2em;
		font-size: 1.4em;
	}
	
/* =========================================================
   BBBE: Mobile title bar branding
   Paste at BOTTOM of css/style-mobile.css
   ========================================================= */

#titleBar .title {
  display: block; /* was none in the template */
  text-align: center;
  line-height: 44px;
  padding: 0 3.25rem; /* keep clear of hamburger */
}

/* Make the copied #logo compact inside the title bar */
#titleBar .title .brand-link { gap: 0.5rem; }
#titleBar .title .brand-mark { width: 26px; height: 26px; }
#titleBar .title .brand-name { font-size: 0.9em; white-space: nowrap; }

/* ============================
   Phone-specific fixes
   (safe: affects only <= 736px)
   ============================ */
@media screen and (max-width: 736px) {

  /* FAILSAFE: if skel-noscript.css ever applies, undo its desktop-only min-width */
  html, body {
    min-width: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Tighten default template spacing that makes phones feel "floaty" */
  #main {
    padding-top: 1.5em !important;
    padding-bottom: 1.5em !important;
  }

  /* Make “below the banner” content a readable column */
  .post-banner-content,
  #main .container {
    width: 92% !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Your pages use a lot of inline font-size: 1.25em; override it on phones */
  #main p {
    font-size: 1.05em !important;
    line-height: 1.55 !important;
  }

  /* If you have big centered title lines (3em) in headers, shrink them on phones */
  #main header p[style*="font-size: 3em"] {
    font-size: 1.75em !important;
    line-height: 1.2 !important;
  }
  #main header p[style*="font-size: 2em"] {
    font-size: 1.25em !important;
    line-height: 1.2 !important;
  }

  /* If your hero overlay exists on phones, keep it compact */
  .banner-overlay {
    width: 92% !important;
    left: 4% !important;
    right: 4% !important;
    top: 1.2em !important;
    padding: 1.0em !important;
  }

  /* Buttons: keep them nice, but not comically huge */
  .banner-overlay .button,
  .banner-overlay button,
  .banner-overlay a.button {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0.9em 1.2em !important;
    font-size: 1.0em !important;
  }
}


/* =========================================================
   Mobile header cleanup: use Skel titleBar/navPanel only
   ========================================================= */
@media screen and (max-width: 736px) {

  /* Hide the desktop-style frosted header bar on phones */
  .site-header {
    display: none !important;
  }

  /* Make Skel’s title bar readable and clean */
  #titleBar {
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18) !important;
  }

  /* If you want NO title text in the title bar (hamburger only), keep it hidden */
 /* #titleBar .title {
    display: none !important;
  } */
	
	#titleBar .title {
  display: block !important;
  color: #1f2a1f !important;
  text-align: center;
  line-height: 44px;
  font-weight: 700;
  font-size: 0.95em;
  padding: 0 3.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

  /* Ensure the hamburger button stays visible */
  #titleBar .toggle {
    color: #1f2a1f !important;
  }

  /* Pull banner overlay up a bit since the big frosted bar is gone */
  .banner-overlay {
    margin-top: 0.5rem !important;
  }
}

@media screen and (max-width: 736px) {
  .board-grid {
    grid-template-columns: 1fr;
  }

  .board-photo {
    width: 96px;
    height: 96px;
  }
}


@media screen and (max-width: 736px) {
  .topics-fold .row > div {
    width: 100% !important;
    margin-bottom: 0.75rem;
  }
}

@media screen and (max-width: 736px) {
  .board-photo {
    width: 96px !important;
    height: 96px !important;
  }
}
