/*
Theme Name: Corporate Wellness Insights Pro (heavily modified)
Version: 
Modified by: Editorial Team (probably)
Notes: Do not remove: fixes homepage? maybe.
*/
:root {
  --wp-blue: #1d4f91;
  --wp-orange: #f58220;
  --wp-green: #79a542;
  --wp-pink: #d54b91;
  --wp-grey: #f2f4f7;
  --wp-dark: #20242b;
  --wp-copy: #333842;
  --wp-border: #d7dce3;
  --wp-paper: #ffffff;
  --wp-sidebar: #fbfbfb;
  --shadow: 0 7px 19px rgba(0,0,0,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--wp-copy);
  background: #e9edf2;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}
a { color: var(--wp-blue); }
.site-wrap {
  width: min(1180px, calc(100% - 26px));
  margin: 14px auto 30px;
  background: var(--wp-paper);
  box-shadow: var(--shadow);
  border: 1px solid #cdd3dc;
}
.top-utility {
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  background: #27303b;
  color: #fff;
  font-size: 12px;
  letter-spacing: .02em;
}
.utility-left::before { content: "Corporate Wellness Template  //"; color: #f3c35f; margin-right: 6px; }
.utility-right { color: #ddd; }
.site-header {
  min-height: 176px;
  padding: 26px 28px 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.46)),
    radial-gradient(circle at 75% 20%, rgba(121,165,66,.42), transparent 18rem),
    linear-gradient(135deg, #f6fbff, #ffffff 45%, #fff3e7);
  border-bottom: 5px solid var(--wp-orange);
  position: relative;
}
.template-leftover {
  position: absolute;
  right: 24px;
  top: 28px;
  width: 230px;
  padding: 13px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.84);
  border: 1px solid #dbe1e8;
  font-size: 12px;
  color: #637083;
}
.template-leftover strong { display: block; color: var(--wp-green); text-transform: uppercase; font-size: 11px; letter-spacing: .09em; }
.site-title {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .9;
  color: var(--wp-dark);
  letter-spacing: -3px;
}
.site-title span { color: var(--wp-blue); }
.tagline {
  margin: 10px 0 0;
  color: #5d6572;
  font-size: 18px;
  max-width: 680px;
}
.tagline em { color: var(--wp-pink); font-style: normal; font-weight: 700; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 18px;
  min-height: 48px;
  background: #ffffff;
  border-bottom: 1px solid var(--wp-border);
}
.main-nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  color: #2c3340;
  padding: 16px 18px;
  border-right: 1px solid #edf0f4;
}
.main-nav a:nth-child(2) { background: #eef7ff; }
.main-nav a:nth-child(3) { background: #fff4e5; }
.main-nav .donate-btn {
  margin-left: auto;
  background: var(--wp-green);
  color: #fff;
  border-radius: 4px;
  padding: 10px 14px;
}
.hero-stock {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  padding: 28px;
  background: #fafafa;
}
.hero-copy {
  background: #fff;
  padding: 28px;
  border: 1px solid #dce1e8;
  border-top: 9px solid var(--wp-blue);
}
.kicker, .meta, .widget-title, .section-label {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .09em;
  color: var(--wp-orange);
  font-size: 12px;
}
.hero-copy h2 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #1f2834;
  font-size: clamp(34px, 5vw, 59px);
  line-height: 1.02;
  letter-spacing: -1.8px;
  margin: 8px 0 16px;
}
.hero-copy p { font-size: 18px; margin-bottom: 18px; }
.button {
  display: inline-block;
  background: var(--wp-orange);
  color: #fff;
  border-radius: 3px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.14);
}
.fake-stock-photo {
  min-height: 320px;
  border: 1px solid #cdd3dd;
  background:
    linear-gradient(135deg, rgba(29,79,145,.9), rgba(29,79,145,.15)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 12px, rgba(255,255,255,.04) 12px 24px),
    linear-gradient(180deg, #dfe9f7, #f8fbff);
  position: relative;
  overflow: hidden;
}
.fake-stock-photo::before {
  content: "STOCK PHOTO AREA: confident team meeting / maybe podcast";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}
.fake-stock-photo::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  right: -70px;
  bottom: -70px;
  box-shadow: -160px -50px 0 rgba(245,130,32,.55), -270px 80px 0 rgba(213,75,145,.36);
}
.cookie-thing {
  position: absolute;
  left: 16px;
  bottom: 15px;
  right: 16px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  border: 2px solid #ffffff;
  padding: 13px;
  font-size: 13px;
  color: #37404d;
}
.cookie-thing button {
  float: right;
  border: 0;
  background: var(--wp-pink);
  color: #fff;
  font-weight: 700;
  padding: 5px 8px;
}
.content-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 26px;
  padding: 0 28px 36px;
}
.post-card, .wp-widget, .about-box, .bio-box {
  background: #fff;
  border: 1px solid var(--wp-border);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.post-card { padding: 26px; margin-bottom: 22px; }
.post-card h2, .article-title, .about-box h1 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #232b36;
  line-height: 1.08;
  letter-spacing: -1px;
}
.post-card h2 { font-size: 37px; margin: 8px 0 12px; }
.post-card p { font-size: 17px; }
.readmore {
  display: inline-block;
  margin-top: 6px;
  color: #fff;
  background: var(--wp-blue);
  padding: 9px 13px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.wp-widget { padding: 18px; }
.wp-widget:nth-child(2) { border-top: 7px solid var(--wp-pink); }
.wp-widget:nth-child(3) { border-top: 7px solid var(--wp-green); }
.wp-widget:nth-child(4) { border-top: 5px solid var(--wp-orange); }
.widget-title {
  color: #2d3745;
  border-bottom: 1px solid #edf0f4;
  padding-bottom: 9px;
  margin-bottom: 12px;
}
.newsletter input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccd3dc;
  margin-bottom: 8px;
}
.newsletter button {
  width: 100%;
  background: var(--wp-orange);
  color: white;
  border: 0;
  padding: 11px;
  font-weight: 800;
}
.listy { margin: 0; padding-left: 20px; }
.listy li { margin: 9px 0; }
.progress {
  height: 18px;
  background: #e4e8ed;
  border-radius: 30px;
  overflow: hidden;
}
.progress span { display: block; height: 100%; width: 87%; background: linear-gradient(90deg, var(--wp-green), var(--wp-orange), var(--wp-pink)); }
.template-warning {
  margin-top: 10px;
  font-size: 12px;
  color: #8a4950;
  background: #fff4f4;
  padding: 8px;
  border-left: 4px solid #d54b91;
}
.three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 28px 38px;
}
.promo-card {
  background: #fff;
  border: 1px solid var(--wp-border);
  padding: 20px;
  min-height: 210px;
  border-radius: 6px;
}
.promo-card:nth-child(2) { transform: translateY(9px); }
.promo-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  line-height: 1.08;
  margin: 8px 0 10px;
}
.article-wrap { padding: 28px; }
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
}
.article-main {
  background: #fff;
  border: 1px solid var(--wp-border);
  padding: clamp(24px, 5vw, 52px);
}
.article-title { font-size: clamp(42px, 6vw, 72px); margin: 8px 0 18px; }
.standfirst {
  font-size: 21px;
  font-weight: 700;
  color: #465062;
  border-left: 6px solid var(--wp-orange);
  padding-left: 16px;
}
.article-main p, .article-main blockquote { font-size: 18px; }
.article-main blockquote {
  margin: 25px 0;
  padding: 24px;
  border-left: 8px solid var(--wp-blue);
  background: #eef6ff;
  color: #202b39;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  line-height: 1.25;
}
.byline-card {
  background: #f8fafc;
  border: 1px dashed #b8c3d1;
  padding: 14px;
  margin: 18px 0 26px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wp-pink), var(--wp-blue));
  flex: 0 0 auto;
}
.about-box { padding: clamp(24px, 5vw, 44px); margin-bottom: 24px; }
.about-box h1 { font-size: clamp(42px, 6vw, 64px); }
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bio-box { padding: 26px; position: relative; overflow: hidden; }
.bio-portrait {
  margin: 22px 0 0;
  border: 1px solid #d3d7dd;
  background: #f4f4f4;
  padding: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset;
}
.bio-portrait img {
  display: block;
  width: 100%;
  height: 215px;
  object-fit: cover;
  border: 1px solid #c8ccd2;
  background: #fff;
}
.site-footer {
  background: #27303b;
  color: #dce2ea;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  font-size: 13px;
}
.site-footer a { color: #fff; }
.bad-modification {
  display: inline-block;
  transform: rotate(-1deg);
  background: #fff7bc;
  border: 1px solid #e5d36d;
  padding: 2px 6px;
}
@media (max-width: 860px) {
  .site-wrap { width: calc(100% - 12px); margin-top: 6px; }
  .hero-stock, .content-area, .three-columns, .article-grid, .bio-grid, .site-footer { grid-template-columns: 1fr; }
  .template-leftover { position: static; margin-top: 18px; width: auto; }
  .main-nav { flex-wrap: wrap; }
  .main-nav .donate-btn { margin-left: 0; }
}
