:root {
  --color-primary: #2466bf;
  --color-primary-alt: #2b7ce2;
  --color-dark: #162238;
  --color-light: #ffffff;
  --color-muted: #4a5670;
  --color-surface: #f4f7fb;
  --color-border: #d6deea;
}


.responsiveTable,
#wideBlogTable {
  width: 100%;
  max-width: 95%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
}

#wideBlogTable,
#wideBlogTable tbody,
#wideBlogTable tr {
  width: 100%;
}

#wideBlogTable tbody tr {
  display: grid;
  grid-template-columns: minmax(250px, 280px) minmax(0, 960px);
  justify-content: center;
  align-items: start;
  gap: 2rem;
  width: 100%;
}

#wideBlogTable td {
  padding: 1.25rem;
  box-sizing: border-box;
}

#wideBlogTableLeftColumn {
  width: 100%;
  max-width: 280px;
  min-width: 250px;
  display: flex !important;
  flex-direction: column;
  gap: 1.5rem;
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(18, 44, 86, 0.08);
}

#wideBlogTableRightColumn {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background-color: var(--color-light);
  border-radius: 1.25rem;
  border: 1px solid var(--color-border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 16px 36px rgba(18, 44, 86, 0.08);
}

#wideBlogTableRightColumn > * {
  width: 100%;
  max-width: 960px;
}

/* Search / filter */
#blogTitleSearch {
  display: none!important;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  margin: 0 1.5rem;
  color: var(--color-dark);
}

article.newsPost.section {
  width: auto;
  max-width: 960px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

#blogTitleSearch input,
input#blogSearchInput {
  flex: 1 1 260px;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-light);
  color: var(--color-dark);
  box-shadow: 0 6px 18px rgba(18, 44, 86, 0.08);
}

#blogTitleSearch input::placeholder {
  color: rgba(44, 60, 92, 0.55);
}

#blogTitleSearch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

#blogTitleSearch a:hover,
#blogTitleSearch a:focus {
  background-color: var(--color-primary);
  color: var(--color-light);
  box-shadow: 0 6px 18px rgba(18, 44, 86, 0.2);
}

/* Category column */
.blogCategories {
  font-size: 1rem;
}

.blogCategories .blogCategoryLink {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.45rem;
  color: var(--color-primary);
  line-height: 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.blogCategories .blogCategoryLink:hover,
.blogCategories .blogCategoryLink:focus {
  color: var(--color-light);
  background-color: var(--color-primary);
}

.allBlogsWrapper {
  display: grid;
  gap: 1rem;
}

.blogLink {
  padding: 0.5rem 0;
}

.blogLink a:nth-of-type(2) {
  max-width: 900px !important;
  background-color: var(--color-surface);
  border-radius: 0.6rem;
  border: 1px solid var(--color-border);
  font-weight: 600 !important;
  font-size: 1.05rem;
  min-height: 2.8rem;
  display: flex;
  color: var(--color-dark);
  align-items: center;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 22px rgba(17, 37, 70, 0.08);
}

.blogLink a:nth-of-type(2):hover,
.blogLink a:nth-of-type(2):focus {
  color: var(--color-light);
  background-color: var(--color-primary-alt);
  box-shadow: 0 10px 28px rgba(34, 73, 130, 0.18);
}

/* Featured article */
.wideNewsContent {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

.wideNewsContent .blogTop5Image,
img.blogTop5Image {
  width: 100% !important;
  max-width: 920px;
  height: auto;
  border-radius: 0.75rem;
  margin: 0 auto;
}

.wideNewsContent span {
  margin: 0 auto !important;
  max-width: 920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blogTop5Headline,
h6.blogTop5Headline {
  margin: 0.5rem 0;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--color-dark);
}

.blogTop5Description,
span.blogTop5Description {
  display: block;
  margin-bottom: 1rem;
  max-width: 100%;
  color: var(--color-muted);
  line-height: 1.6;
  word-break: break-word;
}

a.blogTop5ReadMore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  font-weight: 600;
  color: var(--color-primary);
  background-color: var(--color-surface);
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 0.4rem 1.2rem;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(21, 46, 85, 0.08);
}

a.blogTop5ReadMore:hover,
a.blogTop5ReadMore:focus {
  color: var(--color-light);
  background-color: var(--color-primary-alt);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(34, 73, 130, 0.18);
}

/* Misc overrides */
.subscribeToRssFeed,
.blogSocialWrapper {
  display: none !important;
}

td#wideBlogTableRightColumn .wideNewsContent img {
  margin: 0 !important;
}

img.responsiveImage {
  height: auto !important;
  width: 100% !important;
}

#wideBlogTable iframe {
  width: 100% !important;
  max-width: 100%;
}

/* Responsive tweaks */
@media (max-width: 1350px) {
  .tierOneBannerContainer {
    margin-left: 2rem;
  }
  #wideBlogTableLeftColumn {
    margin-left: 1rem;
  }
}

@media (max-width: 1024px) {
  #wideBlogTableLeftColumn {
    max-width: none;
  }

  .wideNewsContent .blogTop5Image {
    width: 40%;
    max-width: 240px;
  }

  .wideNewsContent span {
    width: 95%!important;
  }
}

@media (max-width: 1000px) {
  .wideNewsContent {
    width: 90% !important;
  }
}

@media (max-width: 900px) {
  #wideBlogTable {
    display: block;
  }

  #wideBlogTable tbody {
    display: block;
  }

  #wideBlogTable tbody tr {
    display: block;
    width: 100%;
  }

  #wideBlogTable td {
    width: 100%;
    padding: 0;
  }

  #wideBlogTableLeftColumn,
  #wideBlogTableRightColumn {
    width: 100% !important;
    max-width: none;
    min-width: 0;
    flex: none;
  }

  #wideBlogTableLeftColumn {
    border-right: none !important;
    border-bottom: 1px solid var(--color-border);
    margin: 0 0 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(18, 44, 86, 0.06);
  }

  #wideBlogTableRightColumn {
    padding: 1.5rem;
    box-shadow: 0 16px 32px rgba(18, 44, 86, 0.06);
    align-items: stretch;
  }

  #wideBlogTableRightColumn > * {
    max-width: none;
  }

  article.newsPost.section {
    max-width: none;
    padding-inline: clamp(1.25rem, 5vw, 2rem);
  }

  .wideNewsContent {
    width: 100% !important;
    max-width: none;
  }

  .wideNewsContent .blogTop5Image {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 1.25rem;
  }

  .wideNewsContent span {
    max-width: none;
  }

  #wideBlogTableRightColumn > * {
    width: 100%;
  }

  .allBlogsWrapper {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .blogLink a:nth-of-type(2) {
    min-height: 4rem;
  }
}

@media (max-width: 650px) {
  #wideBlogTable,
  #wideBlogTable tbody {
    display: block;
  }
}

@media (max-width: 640px) {
  #blogTitleSearch {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  #blogTitleSearch a {
    align-self: flex-start;
  }

  article.newsPost.section {
    padding-inline: clamp(1rem, 6vw, 1.75rem);
  }

  .blogTop5Headline,
  h6.blogTop5Headline {
    font-size: 1.25rem;
  }

  .blogTop5Description,
  span.blogTop5Description {
    font-size: 0.9875rem;
  }
}

@media (max-width: 570px) {
  #wideBlogTable tbody tr,
  #wideBlogTable tbody {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #wideBlogTable td {
    padding: 1rem 0;
  }

  .blogCategories .blogCategoryLink {
    display: block;
  }

  .allBlogsWrapper {
    grid-template-columns: 1fr;
  }
}