body {
	padding:20px;
	}

*
{
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	color:#333333;
	line-height:18px;
}



/* GRID */

.container {
    display: grid;
    grid-template-columns:
        minmax(300px, 300px)  /* column 1 min width */
        repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}


/* LEFT COLUMN */
.col-span-1 {
    grid-column: span 1;
    background: #fff;

    display: flex;
    flex-direction: column;
    gap: 4px;
}
.col-span-2 {
    grid-column: span 2;
    background: #fff;

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.col-span-3 {
    grid-column: span 3;
    background: #fff;

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.col-span-4 {
    grid-column: span 4;
    background: #fff;

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.col-span-1,
.col-span-2,
.col-span-3,
.col-span-4 {
    padding-bottom: 30px; 
    box-sizing: border-box;
}


.menu {
	background-color: rgba(30, 136, 229, 0.2);
	padding:20px;
	border-radius:4px;
}

/* TOPIC BUTTONS */
.topic {
    width: 100%;              /* full width */

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    background: #1e88e5;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
	
	box-sizing: border-box;
}

.topic:hover {
    background: #156cb3;
}

.topic.active {
    background: #156cb3;      /* darker blue */
}

/* BUTTONS */
.btn {
    min-width: 100px;      /* base width */
    width: auto;
	flex: 0 0 auto;

    display: inline-flex;  /* important */
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    background: #1e88e5;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
	margin-bottom:10px;
}

.btn:hover {
    background: #156cb3;
}








.logo {
  width: 100%; /* or whatever size fits */
  height:auto;
  padding-bottom:20px;
}


.text-right {
	align-items: flex-end;
	text-align: right;
	}
.date {
    font-size: 14px;
    font-weight: 600;
}

.align-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}




/* Search form layout */
#searchForm {
    display: flex;
    gap: 8px;
	margin-bottom: 20px;
}

/* Text input styled like topic */
#searchForm input[type="text"] {
    flex: 1;
    box-sizing: border-box;

    padding: 10px 18px;
    background: #fff;
    color: #333;

    border-radius: 4px;
    border: 1px solid #1e88e5;

    font-size: 14px;
    font-weight: 600;
    outline: none;
}

/* Focus state */
#searchForm input[type="text"]:focus {
    border-color: #156cb3;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}


.fa-circle-x {
    display: flex;
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
	font-size:32px;
	cursor:pointer;
	color:#1e88e5;
}


#results {
    font-size: 14px;
    font-weight: 600;
    outline: none;
	max-height:800px;
	overflow:scroll;
	padding-right:20px;
}

.info {
	padding-top:10px;
    font-size: 11px;
}


.pulsetopicheader {
    font-size: 18px;
    font-weight: 700;
    color: #1e88e5;

    padding-bottom: 6px;
    margin-bottom: 10px;
	border-bottom: 1px solid rgba(30, 136, 229, 0.4);
}



.articles {
  display: grid;
  gap: 10px;
  margin-bottom:20px;
}

.article {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  padding: 12px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: start;
}

.article__img {
  width: 100%;
  height: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.article__title, .article__title span {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.article__body, .article__body span {
  margin-bottom: 10px;
  font-size: 12.5px;
  line-height: 18px;
  color: #333;
}

.article__createdby {
  margin-top: 10px;
  font-size: 12px;
  line-height: 18px;
  color: #888;
}

/* Stack image on top for narrow screens */
@media (max-width: 600px) {
  .article {
    grid-template-columns: 1fr;
  }

  .article__img {
    max-height: 180px;
  }

}

.search-highlight {
    border-bottom: 2px dotted #1e88e5;
    padding-bottom: 1px;
}



/* NEWSLETTER BUTTONS */
.newsletter {
    width: 100%;              /* full width */

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    background: #43A047;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
	
	box-sizing: border-box;
}

.newsletter:hover {
    background: #4CAF50;
}

.newsletter.active {
    background: #388E3C;      /* darker green */
}


.select-green {
  appearance: none;
  background-color: #fff;
  border: 1px solid #1e88e5;
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: pointer;
  color: #2e2e2e;
    font-size: 14px;
    font-weight: 600;
}

.select-green:hover {
  border-color: #156cb3;
}

.select-green:focus {
  outline: none;
  border-color: #156cb3;
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}


#pulsecontent {
	background-color:#E2E3E4;
	font-weight:normal;
	padding:20px;
}


