/*
 * HSC DEVELOPER NOTE
 * Purpose: Primary content component styles.
 * Where to change: Styles reusable content features/components extracted from the former custom.css. Use for shared components, not page-only rules.
 * Load order/conditions are defined in inc/theme/assets.php.
 */

/* Hero */

.hero {
   
    background-repeat: no-repeat;
	margin: 0px 0px 0px 0px;
	
}

.hero-content-box {

	width: 70%;
	 background: #00000074;
	 max-width: 1024px;
    padding: 1rem; 
    border-radius: 12px;
}

 .hero-content-box h1,
 .hero-content-box h2{
      font-weight:600;
  font-size:2em;
  line-height:1.2;
  margin:0;
	}

.hero-home {
	padding-left: 0.9rem; 
}

.hero-type1 H1,
.hero-type1 H2{
    font-size: 2.5rem;
    font-weight: 600;
	
   	margin-bottom: 0
}

.hero-type1 .hero-summary {
	color: #000;
	font-weight: 300;
	font-size: 1.2em;
	
}

.hero-summary p {
    margin-bottom: 0rem !important;
}


/* Optional call-to-action used by flexible-content Hero sections. */
.hero-button-wrap {
    margin-top: 1rem;
}

.hero-button-wrap .hero-button {
    display: inline-block;
    margin-bottom: 0;
    text-decoration: none;
}

.leaflet-container {
	    margin-bottom: var(--default-margin-bottom) !important;
	
}

/* News/Posts */


					.paddingTop {
							padding-top:0.35rem;
						}
						
						.paddingTop10 {
							padding-top:0.75rem  !important;
						}
						
						.paddingTop20 {
							padding-top:1.5rem !important;
						}
						.paddingTop30 {
							padding-top:2rem !important;
						}
						.paddingTop40 {
							padding-top:2.5rem !important;
						}
						
						
						.padding10 {
							padding:10px !important;
						}
						
						.padding20 {
							padding:20px !important;
						}

						.subNewsPic {
							 width: 100%;
						}
						
						.news-content {
							margin-bottom: 1.25em;
							/*padding-right: .5375rem!important; 
    						padding-left: .5375rem!important; */
						
						}
						
						img.mainNewsPic,img.subNewsPic {
							width:100%;
							padding-bottom: 1.2em;
						}
						
						.news-content h2{
							font-size:  1.7rem;
						}
						
						.news-content h3{
							margin-top: 10px;
							font-size: 1em;
							 min-height: 100px;
						}
						.NewsSpacer {
							margin-top: var(--default-margin-bottom);
						}
						
						
						
						
						
						
							/* Side-by-side at all sizes */
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: nowrap;          /* never wrap to a new line */
  /*padding-right: .5375rem!important; 
  padding-left: .5375rem!important; */
}


/* The image column is responsive but fixed-width style:
   min 120px, max 240px, ~30vw in between */
.news-item__media {
  flex: 0 0 clamp(150px, 30vw, 220px);
  max-width: 100%;
}

.news-item__media_large {
	 flex: 0 0 clamp(150px, 30vw, 350px);
  max-width: 100%;
}

.news-item__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  /* Optional consistent crop:
  aspect-ratio: 2 / 1;
  object-fit: cover;
  */
}

/* Text column fills remaining space */
.news-item__content {
  flex: 1 1 auto;
  min-width: 0;               /* allows wrapping instead of overflow */
}

.firstNews {
  margin: 0 0 .35rem 0;
  font-size: clamp(1rem, 1.1vw + .85rem, 1.8rem) !important;
  line-height: 1.25;
}

.firstNews a{
  text-decoration: none!important;
  font-weight:550;
}

/* Headline + link */
.news-item__title {
  margin: 0 0 .35rem 0;
  font-size: clamp(1rem, 1.1vw + .85rem, 1.2rem);
  line-height: 1.25;
}

.news-item__title a{
  text-decoration: none!important;
   font-weight:500;
}

.news-item__title a:hover,
.news-item__title a:focus {
  text-decoration: underline;
}

.news-item__date {
  display: inline-block;
  font-size: .875rem;

}

/* Safety for very long words/URLs in titles */
.news-item__content,
.news-item__title a {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
		

 .newsExcerpt {
	 margin-top: 0.2rem!important;
	 margin-bottom: 0rem !important;
 }	 
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						.newsFeaturedHeadline2 {
							
							font-size: 1.1rem;
						}
						
						.newsFeaturedHeadline3 {
							
							font-size: 1.2rem;
						}

						.news-headline {
							padding-top:1.2em;
						}
						
						.news-headline a {
							padding-top:1.2em;
						}
						
						.news-headline a:hover {
							 border-bottom: 2px solid;
						}
						

						

						.news-img img{
							width: 100%;
							max-height: 150px;
						}


						.news-text{
							font-size:1.15em;
						}

.news-text a{
 /* text-decoration: underline;
text-decoration-thickness: max(1px, .0625rem);*/
    text-underline-offset: .1578em;
	font-weight: 500;
}

.post-text{

	font-weight: 550;
	font-size:1.025em;
}
 
  h2.categoryHeading {
	 font-weight: 550;
 }
 
 h3.categoryHeading {
	 font-size:1.15rem;
	 
 }
 
.categoryHeading a { 
	text-decoration: none !important;
    text-decoration-thickness: max(1px, .0625rem);
    text-underline-offset: .1578em;
    font-weight: 500;
}

.categoryHeading a:hover { 
	border-bottom: 2px solid; 
}
 
 
 .news-panel {
    border-style: solid;
    border-width: 1px;
    border-color: #d9d9d9;
    padding: 0.75em;
    background: var(--highlight-bg-colour);
    flex: 1;
}
 

