/* IQCB homepage: News & Events agenda + latest news (CE "IQCB news & events"). Data: news-events.json, script news-events.js. */
.iq-ne {background: #fff; color: #11262a; font-family: OpenSans, Arial, sans-serif; padding: 0 20px;}
/* The theme puts 110px below the network section and 120px below this one: about half the former white space above and below. */
#iq-news-events {margin-top: -40px; margin-bottom: 108px;}
.iq-ne-wrap {max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px;}
.iq-ne a {color: #1f7a70; text-decoration: none;}
.iq-ne svg, .iq-ne svg * {fill: none !important;}   /* the theme fills inline SVG paths */
.iq-ne a:hover {color: #11262a;}
.iq-ne-head {text-align: center;}
.iq-ne h2 {margin: 0; font-family: JosefinSansLight, Helvetica, Arial; font-weight: 600; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: 1px; text-transform: none; color: #425159;}
.iq-ne-cols {display: flex; flex-wrap: wrap; gap: 48px;}
.iq-ne-agenda {flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column;}
.iq-ne-news {flex: 2 1 360px; min-width: 0; display: flex; flex-direction: column;}
.iq-ne-colhead {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; box-sizing: content-box; min-height: 44px; padding-bottom: 8px; border-bottom: 2px solid #11262a;}
.iq-ne h3 {margin: 0; font: 700 14px/1 OpenSans, Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #11262a;}
.iq-ne-mores {display: flex; flex-wrap: wrap; gap: 0 48px;}
.iq-ne-more {align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 15px; font-weight: 600;}
.iq-ne-fallback {margin: 20px 0; font-size: 16px; color: #46565d;}
.iq-ne-sr {position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;}

/* Subscribe menu */
.iq-ne-subscribe {position: relative;}
.iq-ne-subscribe summary {display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: #1f7a70;}
.iq-ne-subscribe summary::-webkit-details-marker {display: none;}
.iq-ne-subscribe summary:hover {color: #11262a;}
.iq-ne-subscribe-menu {position: absolute; right: 0; top: 100%; z-index: 20; width: 300px; max-width: calc(100vw - 40px); display: flex; flex-direction: column; gap: 4px;
  padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #d6e3e4; box-shadow: 0 12px 32px rgba(17,38,42,.16);}
.iq-ne-subscribe-menu p {margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: #46565d;}
.iq-ne-subscribe-menu a, .iq-ne-subscribe-menu button {display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 0; background: #f2f7f7;
  font: 600 14px/1.2 OpenSans, Arial, sans-serif; color: #11262a !important; text-align: left; cursor: pointer;}
.iq-ne-subscribe-menu a:hover, .iq-ne-subscribe-menu button:hover {background: #e1efed;}

/* Agenda rows */
.iq-ne-ev {display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 22px 0; border-bottom: 1px solid #d6e3e4;}
.iq-ne-date {flex: 0 0 76px; height: 84px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: #e8f2f1; color: #11262a;}
.iq-ne-date .m {font: 700 12px/1 OpenSans, Arial, sans-serif; letter-spacing: 1.5px;}
.iq-ne-date .d {font: 600 32px/1.05 JosefinSansLight, Helvetica, Arial; margin-top: 5px; white-space: nowrap;}
.iq-ne-date .w {font-size: 12px; line-height: 1; margin-top: 3px;}
.iq-ne-ev.is-next .iq-ne-date {background: #11262a; color: #fff;}
.iq-ne-ev.is-range .iq-ne-date .d {font-size: 24px;}
.iq-ne-body {flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px;}
.iq-ne-tags {display: flex; flex-wrap: wrap; align-items: center; gap: 8px;}
.iq-ne-type {font: 700 11px/1.3 OpenSans, Arial, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #1f7a70;}
.iq-ne-type.k-workshop, .iq-ne-type.k-meetup {color: #1b6f8a;}
.iq-ne-type.k-symposium {color: #a8471f;}
.iq-ne-badge {font: 600 11px/1 OpenSans, Arial, sans-serif; padding: 5px 9px; border-radius: 999px; background: #fff1d6; color: #7a4b00;}
.iq-ne-badge.is-recent {background: #eef2f3; color: #46565d;}
.iq-ne-title {font: 600 20px/1.3 OpenSans, Arial, sans-serif; color: #11262a !important;}
.iq-ne-title.is-caps {font-size: 16px; letter-spacing: .5px;}
.iq-ne-title:hover {color: #1f7a70 !important;}
.iq-ne-sub {margin: 0; font-size: 15px; line-height: 1.5; color: #46565d;}
.iq-ne-meta {margin: 2px 0 0; display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; color: #56666d;}
.iq-ne-meta svg {flex: 0 0 auto; margin-top: 1px;}
.iq-ne-actions {flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px;}
.iq-ne-btn {display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 22px; border-radius: 999px; background: #1f7a70; color: #fff !important; font-size: 14px; font-weight: 600;}
.iq-ne-btn:hover {background: #11262a;}
.iq-ne-cal {display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 600;}
.iq-ne-ev.is-recent .iq-ne-date {background: #f1f4f5; color: #56666d;}
.iq-ne-ev.is-recent .iq-ne-title {color: #2d3d44 !important;}
.iq-ne-notice {margin: 20px 0 4px; padding: 16px 18px; border-radius: 12px; background: #f2f7f7; font-size: 15px; line-height: 1.5; color: #2d3d44;}

/* News */
.iq-ne-feature {display: flex; flex-direction: column; gap: 14px; margin-top: 24px; padding: 30px 28px 28px; border-radius: 18px; background: #e8f2f1; color: #11262a !important;}
.iq-ne-feature:hover {background: #dcebe9;}
.iq-ne-feature .when {font: 600 12px/1 OpenSans, Arial, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #1f7a70;}
.iq-ne-feature .t {font: 600 26px/1.25 JosefinSansLight, Helvetica, Arial; letter-spacing: .5px;}
.iq-ne-feature .t.is-caps {font-size: 22px; letter-spacing: 1.5px;}
.iq-ne-feature .x {font-size: 15px; line-height: 1.6; color: #2d3d44;}
.iq-ne-feature .go {font-size: 14px; font-weight: 600; color: #1f7a70;}
.iq-ne-item {display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid #d6e3e4;}
.iq-ne-item .when {font: 600 12px/1 OpenSans, Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #56666d;}
.iq-ne-item .t {font: 600 16px/1.4 OpenSans, Arial, sans-serif; color: #11262a;}
.iq-ne-item .t.is-caps {font-size: 14px; letter-spacing: .5px;}
.iq-ne-item:hover .t {color: #1f7a70;}

@media (max-width: 640px) {
  .iq-ne {padding: 0 16px;}
  #iq-news-events {margin-top: -16px; margin-bottom: 92px;}   /* the theme's gap above is only 60px here */
  .iq-ne-ev {gap: 12px 16px;}
  .iq-ne-date {flex-basis: 64px; height: 74px;}
  .iq-ne-date .d {font-size: 28px;}
  .iq-ne-body {flex-basis: calc(100% - 80px);}
  .iq-ne-actions {flex-direction: row; flex-wrap: wrap; align-items: center; margin-left: 80px;}
  .iq-ne-subscribe-menu {left: 0; right: auto;}
}
