/* GENERAL */
.paragraph{
  margin-top:10px;
  margin-bottom:20px;
  background-color: #FFFFFF;
  display:flex;
}
.paragraph div{
  border:none;
}
.list-teaser-container:hover{
    background-color:#ffff00;
}
.field--name-field-left-cta a:hover, .field--name-field-right-cta a:hover{
    padding:10px 20px 10px 20px;
    color:#878681;
    border-radius: 5px;
    text-decoration:underline;
}
.field--name-field-column-1-title, .field--name-field-column-right-title, .field--name-field-title{
    font-size:20px;
    font-weight:bold;
    text-transform:uppercase;
}
.cta{
  background-color: #FFE800;
  color: BLACK;
  text-transform: capitalize;
  padding:10px 20px 10px 20px;
  width:30%;
}
.cta a::after{
  content: "";
}
.cta:hover{
  cursor:pointer;
  text-transform:italic;
}
.cta a {
  color: #000;
  text-decoration: none;
  letter-spacing: 0.15em;
  display: inline-block;
  padding: 5px 5px;
  position: relative;
}
.cta a:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #000;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.cta a:hover:after {
  width: 100%;
  left: 0;
}
/*
  Voting
*/
.fivestar-summary-average-count{
  display:none;
}
/* TEXT AND IMAGE */
.paragraph--type--text-and-image{
    width: 100%;
    align-items:center;
}
.paragraph--type--text-and-image .text-image--image{
	width: 30%;
	float:left;
}
.paragraph--type--text-and-image .text-image--image img{
  width:100%;
  max-height: 280px;
  object-fit: cover;
}
.paragraph--type--text-and-image .text-image--text{
	width: 65%;
  min-width:300px;
	height:auto;
  flex: 0 1 auto;
  align-self: center;
	float:left;
}
.Left.paragraph--type--text-and-image .text-image--text{
  padding-left:10px;
}
.Right.paragraph--type--text-and-image .text-image--text{
  padding-right:10px;
}
.paragraph--type--text-and-image .text-image--text p{
  margin-top:0px;

}
/* 2 Columns */
.paragraph--type-_-column{
    width: 100%;
    align-items: stretch;   /* equal-height columns */
    gap: 20px;
}
.paragraph--type-_-column > div {
    flex: 1;
    min-width: 0;
    float: none;
    display: flex;
    flex-direction: column; /* stack title → image → text → cta */
}
.left-column,.right-column{
    padding: 10px;
}
/* CTA always sits at the bottom regardless of text length above it */
.paragraph--type-_-column .cta {
    margin-top: auto;
    padding-top: 12px;
}
.twocolumn--title{
    font-size: 2em;
    font-weight: bold;
}
.left-column .field-group-background-image,.right-column .field-group-background-image{
    min-height:250px;
    background-position:center center;
    background-size:cover;
    width:100%;
    overflow:hidden;
    position:relative;
}

/* 4 Columns */
.paragraph--type--_-column{
    width: 100%;
    display:flex;
    align-items:center;
}
.paragraph--type--_-column .column{
    flex: 1;
    padding:10px 10px 10px 10px;
    width: 25%;
}

/* Full Width Text */
.paragraph--type--full-width-text div{
  position:relative;
  flex: 0 0 100%;
}
.paragraph--type--full-width-text .full-width-container{
  display: block;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* Full width image */
.paragraph--type--full-width-image .full-width-container{
  position:relative;
  flex: 0 0 100%;
}
.full-width-container .full-width-image-foreground{
  position:relative;
  z-index:2;
  display: block;
  max-width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.full-width-container .full-width-image-background{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  -webkit-filter: blur(10px); /* Safari 6.0 - 9.0 */
  filter: blur(5px);
}
.paragraph--type--full-width-image .field-group-background-image{
	/*width: 100%;*/
  height:442px;
	align-content: center;
  background-position: center center;
  background-size:contain;
  background-repeat:no-repeat;
  position: relative;
}
.paragraph--type--full-width-image .full-width-container a{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paragraph--type--full-width-image .field-group-background-image a .title{
  background-color: #FFE800;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: capitalize;
  position: absolute;
  bottom: 0;
  left: 0;
  width:100%;
  text-align:center;
  padding-top:10px;
  padding-bottom:10px;
}
.paragraph--type--full-width-image .field-group-background-image a .title ::after{
  content: "";
}
.paragraph--type--full-width-image .field-group-background-image a .title:hover{
  cursor:pointer;
  text-transform:italic;
}
.paragraph--type--full-width-image .field-group-background-image a .title {

}
.paragraph--type--full-width-image .field-group-background-image a .title:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #000;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.paragraph--type--full-width-image .field-group-background-image a .title:hover:after {
  width: 100%;
  left: 0;
}
/* YOUTUBE EMBED */

/* Break out of the flex shrink-wrap caused by .paragraph { display: flex } */
.paragraph--type--youtube-embed,
.paragraph--type--youtube-embed .paragraph--type--youtube-embed {
  display: block !important;
  width: 100%;
}

.youtube-embed {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  display: block;
  margin: 0 auto;
}

/* IMAGE GALLERY */
#block-views-block-images-block-1-2 .views-row{
  text-align:center;
}
#block-views-block-images-block-1-2 .views-row{
  overflow:hidden;
  height:150px;
  width: 25%;
  padding:10px;
  float:left;
  min-height:150px;
}
#block-views-block-images-block-1-2 .views-row .views-field{

}
#block-views-block-images-block-1-2 .views-field .field-content img{
  /*width: 100%;
  height:auto;*/
  height:150px;
  width:auto;
}

/* Pro Con Block */
.paragraph--type--pro-con .pro-text, .paragraph--type--pro-con .con-text{
  width:45%;
  float:left;
}
.paragraph--type--pro-con .pro-text div > div, .paragraph--type--pro-con .con-text div > div{
  height:20px;
  padding-bottom:2px;
}
.paragraph--type--pro-con .pro-text div > div::before{
  content: '';
  background:url('./theme_images/plus.png');
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: bottom -1px right 5px;
  width: 16px;
  height: 16px;
  display: inline-block;
  padding-right:5px;
  overflow:visible;
}
.paragraph--type--pro-con .con-text div > div::before{
  content: '';
  background:url('./theme_images/min.png');
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: bottom -1px right 5px;
  width: 16px;
  height: 16px;
  display: inline-block;
  padding-right:5px;
  background-overflow:visible;
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.image-gallery__item {
  overflow: hidden;
  border-radius: 4px;
}

.image-gallery__item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.image-gallery__item img:hover {
  transform: scale(1.05);
}
