:root {
  --tif-navy: #071421;
  --tif-navy-2: #0e2132;
  --tif-ink: #13202b;
  --tif-gold: #c99742;
  --tif-gold-soft: #e8cf9d;
  --tif-paper: #fbfaf6;
  --tif-line: #d8d1c2;
  --tif-muted: #5f6870;
  --tif-alert: #9b2424;
  --tif-white: #ffffff;
}

.tif-site-front,
.tif-newsroom-view .site-main {
  color: var(--tif-ink);
}

.tif-site-front {
  max-width: 1240px;
  margin: 0 auto;
}

.tif-masthead {
  overflow: hidden;
  border-bottom: 4px solid var(--tif-gold);
  background: var(--tif-navy);
  box-shadow: 0 8px 30px rgba(7,20,33,.16);
}

.tif-masthead img {
  display: block;
  width: 100%;
  height: auto;
}

.tif-alert-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 11px 16px;
  background: var(--tif-alert);
  color: var(--tif-white);
  font-size: .9rem;
  letter-spacing: .01em;
}

.tif-alert-strip span {
  font-weight: 800;
  letter-spacing: .08em;
}

.tif-alert-strip a {
  color: var(--tif-white);
  text-decoration: none;
  font-weight: 700;
}

.tif-alert-strip time {
  opacity: .85;
  white-space: nowrap;
}

.tif-intro {
  padding: clamp(30px, 6vw, 72px) clamp(20px, 5vw, 64px);
  text-align: center;
  background: var(--tif-paper);
  border-left: 1px solid var(--tif-line);
  border-right: 1px solid var(--tif-line);
}

.tif-intro .tif-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  font-size: .78rem;
  color: #7a5a22;
}

.tif-intro h1 {
  margin: 0 auto 15px;
  max-width: 920px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--tif-navy);
}

.tif-intro p:last-child {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
  color: #3d4952;
}

.tif-section-heading {
  margin: 48px 0 22px;
  border-top: 1px solid var(--tif-line);
  border-bottom: 1px solid var(--tif-line);
  padding: 10px 0;
  color: var(--tif-navy);
}

.tif-section-heading span {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.tif-alert-heading span {
  color: var(--tif-alert);
}

.tif-lead {
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-top: 28px;
  background-color: var(--tif-navy-2);
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  overflow: hidden;
}

.tif-lead-overlay {
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(7,20,33,.04) 25%, rgba(7,20,33,.96) 100%);
}

.tif-lead-content {
  max-width: 900px;
  padding: clamp(28px, 6vw, 64px);
  color: var(--tif-white);
}

.tif-lead h2 {
  margin: 12px 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.tif-lead h2 a {
  color: var(--tif-white);
  text-decoration: none;
}

.tif-lead p {
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 780px;
}

.tif-badge {
  display: inline-block;
  padding: 5px 9px;
  background: var(--tif-gold);
  color: #17202a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}

.tif-lead-location,
.tif-card-location,
.tif-dateline {
  margin-left: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.tif-byline,
.tif-card-meta {
  font-size: .83rem;
  opacity: .82;
}

.tif-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.tif-card {
  background: var(--tif-white);
  border: 1px solid #e1ddd3;
  box-shadow: 0 7px 24px rgba(7,20,33,.07);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tif-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(7,20,33,.12);
}

.tif-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9e5dd;
}

.tif-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tif-card-body {
  padding: 20px;
}

.tif-card h3 {
  margin: 10px 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.42rem;
  line-height: 1.18;
}

.tif-card h3 a {
  color: var(--tif-navy);
  text-decoration: none;
}

.tif-card p {
  color: #49545d;
  line-height: 1.55;
}

.tif-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0 0 18px;
}

.tif-story-meta .tif-dateline {
  color: var(--tif-muted);
}

.tif-note {
  margin-top: 34px;
  padding: 20px 22px;
  border-left: 4px solid var(--tif-gold);
  background: #f7f3ea;
}

.tif-note h3 {
  margin-top: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--tif-navy);
}

.tif-correction {
  border-left-color: var(--tif-alert);
  background: #fbefef;
}

.tif-ai {
  background: #f1f4f6;
  border-left-color: #587086;
}

.tif-article-footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--tif-line);
  color: var(--tif-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.tif-tip-box,
.tif-empty {
  padding: 28px;
  border: 1px solid var(--tif-line);
  background: var(--tif-paper);
}

.tif-tip-box h2,
.tif-empty h2 {
  margin-top: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--tif-navy);
}

@media (max-width: 900px) {
  .tif-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tif-lead,
  .tif-lead-overlay {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .tif-alert-strip {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .tif-alert-strip time {
    font-size: .75rem;
  }
  .tif-grid {
    grid-template-columns: 1fr;
  }
  .tif-lead,
  .tif-lead-overlay {
    min-height: 390px;
  }
  .tif-lead-content {
    padding: 26px 20px;
  }
  .tif-lead h2 {
    font-size: 2.2rem;
  }
  .tif-lead-location,
  .tif-card-location,
  .tif-dateline {
    display: block;
    margin: 8px 0 0;
  }
}

/* v0.2.0 Daily Ten + versioning */
.tif-public-version{display:inline-block;font-size:.78rem;font-weight:700;opacity:.7;margin-left:8px}.tif-daily-ten-section{margin:34px 0}.tif-daily-ten-section .tif-section-heading{display:flex;justify-content:space-between;align-items:center}.tif-daily-ten-section .tif-section-heading a{font-size:.9rem}.tif-daily-ten-card{background:#fff;border:1px solid #d8d8d8;border-top:6px solid #1d3557;padding:22px;margin:16px 0;box-shadow:0 4px 16px rgba(0,0,0,.05)}.tif-daily-ten-kicker{text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#8b1f27;font-size:.75rem}.tif-daily-ten-card h2{margin:.35rem 0 .15rem}.tif-daily-ten-date{color:#666;font-size:.9rem;margin-bottom:14px}.tif-daily-ten-list{margin:0;padding-left:1.5rem}.tif-daily-ten-list li{padding:11px 0;border-bottom:1px solid #eee;line-height:1.5}.tif-daily-ten-list li:last-child{border-bottom:0}.tif-daily-ten-more{margin-top:15px;font-weight:800}.tif-daily-ten-archive{display:grid;gap:12px}.tif-daily-ten-archive article{padding:15px;border-bottom:1px solid #ddd}.tif-daily-ten-archive h3{margin:0 0 4px}

/* v0.3.0: columns, resources, contact/CRM intake, and sharing */
.tif-column-label{display:inline-block;margin-left:7px;padding:4px 8px;border:1px solid var(--tif-gold);font-size:.72rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#6b4e16}.tif-section-intro,.tif-op-ed-notice{padding:14px 16px;margin:0 0 18px;background:#fff8e7;border-left:4px solid var(--tif-gold)}.tif-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0 36px}.tif-resource-card{background:#fff;border:1px solid var(--tif-line);padding:18px;box-shadow:0 5px 18px rgba(7,20,33,.06)}.tif-resource-card h3{margin:7px 0 8px;font-family:Georgia,'Times New Roman',serif;color:var(--tif-navy)}.tif-resource-kind{font-size:.72rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:var(--tif-muted)}.tif-resource-button,.tif-submit{display:inline-block;padding:9px 12px;border:0;border-radius:3px;background:var(--tif-navy);color:#fff;text-decoration:none;font-weight:800;cursor:pointer}.tif-contact-form{padding:22px;border:1px solid var(--tif-line);background:var(--tif-paper)}.tif-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.tif-contact-form input[type=text],.tif-contact-form input[type=email],.tif-contact-form input[type=tel],.tif-contact-form select,.tif-contact-form textarea{width:100%;padding:10px;border:1px solid #b9c1cb;background:#fff;font:inherit}.tif-form-note,.tif-contact-email{font-size:.87rem;color:var(--tif-muted)}.tif-honeypot{position:absolute!important;left:-9999px!important;height:1px!important;width:1px!important;overflow:hidden!important}.tif-form-success{margin:16px 0;padding:14px 16px;background:#eef8ef;border-left:4px solid #397943}.tif-share-box{margin:30px 0 16px;padding:15px 0;border-top:1px solid var(--tif-line);border-bottom:1px solid var(--tif-line)}.tif-share-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.tif-share-actions a,.tif-share-actions button{padding:7px 10px;border:1px solid var(--tif-line);background:#f3f5f6;color:var(--tif-navy);text-decoration:none;font:inherit;font-weight:800;cursor:pointer}@media(max-width:900px){.tif-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.tif-resource-grid,.tif-form-grid{grid-template-columns:1fr}}

.tif-newsletter-optin{margin:18px 0;padding:14px 16px;border:1px solid var(--tif-line);border-left:4px solid var(--tif-gold);background:#fff}.tif-newsletter-optin label{display:block}.tif-newsletter-optin small{display:block;margin:6px 0 0 24px;color:var(--tif-muted);line-height:1.45}.tif-receipt{display:inline-block;margin-left:6px;font-size:.85em;color:#397943}.tif-form-error{margin:16px 0;padding:14px 16px;background:#fff0f0;border-left:4px solid var(--tif-alert)}

.tif-newsletter-box{margin:26px 0;padding:20px;border:1px solid var(--tif-line);border-left:5px solid var(--tif-gold);background:var(--tif-paper)}
.tif-newsletter-box>div{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;margin-bottom:12px}.tif-newsletter-box>div strong{font-family:Georgia,'Times New Roman',serif;font-size:1.3rem;color:var(--tif-navy)}.tif-newsletter-box>div span{color:var(--tif-muted)}
.tif-newsletter-box form{display:flex;gap:9px;max-width:640px}.tif-newsletter-box input[type=email]{flex:1;min-width:0;padding:11px 12px;border:1px solid var(--tif-line);background:#fff}.tif-newsletter-box button{border:0;background:var(--tif-navy);color:#fff;font-weight:800;padding:11px 16px;cursor:pointer}.tif-newsletter-box small{display:block;margin-top:9px;color:var(--tif-muted)}
@media(max-width:640px){.tif-newsletter-box form{display:grid}.tif-newsletter-box button{width:100%}}


/* v0.8.0 Media Library */
.tif-media-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;margin:24px 0 36px}.tif-media-card{border:1px solid #dde1e6;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 4px 18px rgba(15,27,45,.07)}.tif-media-thumb{display:block;background:#eef1f4;aspect-ratio:4/3;overflow:hidden}.tif-media-thumb img{width:100%;height:100%;object-fit:cover;display:block}.tif-media-card-body{padding:16px}.tif-media-card h3{margin:0 0 8px;color:#0f1b2d;font-family:Georgia,'Times New Roman',serif}.tif-media-meta{font-size:.82rem;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}.tif-resource-button{display:inline-block;background:#0f1b2d;color:#fff!important;text-decoration:none;border-radius:6px;padding:9px 13px;font-weight:700}.tif-resource-button:hover,.tif-resource-button:focus{background:#b3262e}.tif-ad-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#6b7280;margin-bottom:6px}
/* v0.8.0 community calendar / SEO support */
.tif-article-hashtags{margin:28px 0 8px;padding-top:14px;border-top:1px solid #dde1e6;color:#315a86;font-weight:700;line-height:1.8}
.tif-community-calendar{display:grid;gap:14px}
.tif-calendar-event{display:grid;grid-template-columns:86px 1fr;gap:18px;padding:18px;border:1px solid #dde1e6;border-radius:10px;background:#fff}
.tif-calendar-date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:78px;background:#0f1b2d;color:#fff;border-radius:8px;text-align:center}
.tif-calendar-date strong{font-size:1.2rem}.tif-calendar-date span{font-size:.82rem;opacity:.8}
.tif-calendar-event h3{margin:0 0 5px}.tif-event-meta,.tif-event-contact{margin:.35rem 0;color:#50575e}
.tif-calendar-disclaimer{margin-top:20px;padding:14px 16px;background:#f4f5f7;border-left:4px solid #d3a449;font-size:.9rem}
.tif-support-box{padding:20px;border:1px solid #dde1e6;border-radius:10px;background:#f8fafc;margin:20px 0}.tif-support-box strong{font-size:1.2rem}
@media(max-width:600px){.tif-calendar-event{grid-template-columns:1fr}.tif-calendar-date{max-width:110px}}
