/* Blog listing */
.wofdi-blog-post {
  --navy:   #2F3759;
  --navy-d: #1e2440;
  --orange: #CC6C2B;
  --orange2:#e07a35;
  --cream:  #f4f1eb;
  --white:  #ffffff;
  --ink:    #1a1c24;
  --muted:  #7c8090;
  --rule:   #e0dbd2;
  --blog-width: 820px;
  font-family: 'Open Sans', sans-serif;
  color: var(--ink);
}

.wofdi-blog-post,
.wofdi-blog-post *,
.wofdi-blog-post *::before,
.wofdi-blog-post *::after {
  box-sizing: border-box;
}

.wofdi-blog-post .blog-layout {
  width: 100%;
  max-width: var(--blog-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ── HERO IMAGE ── */
.wofdi-blog-post .post-hero-wrap {
  position: relative;
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  line-height: 0;
  background: var(--cream);
}
.wofdi-blog-post .post-hero {
  width: 100%;
  max-width: 100%;
  height: 300px;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.wofdi-blog-post .post-hero--align-top {
  object-position: center top;
}
.wofdi-blog-post .post-hero--align-center {
  object-position: center;
}
.wofdi-blog-post .post-hero--align-bottom {
  object-position: center bottom;
}
.wofdi-blog-post .post-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: none;
  pointer-events: none;
}
.wofdi-blog-post .blog-hero__copy {
  text-align: center;
  max-width: 640px;
}
.wofdi-blog-post .hero-title {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.3px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(0, 0, 0, 0.5);
}
.wofdi-blog-post .hero-title em {
  font-style: italic;
  color: #f0c98a;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.65),
    0 0 20px rgba(0, 0, 0, 0.55);
}
.wofdi-blog-post .hero-sub {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .3px;
  line-height: 1.45;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.6);
}

.wofdi-blog-post .blog-post-page__body {
  background: var(--cream);
  padding: 44px 0 80px;
}

.wofdi-blog-post .blog-admin-notice {
  margin-bottom: 24px;
  padding: 14px 18px;
  background: #fff3e6;
  border: 1px solid var(--orange);
  border-left: 4px solid var(--orange);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* ── ARTICLE ── */
.wofdi-blog-post .article {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ── TAG ROW ── */
.wofdi-blog-post .tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.wofdi-blog-post .tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}
.wofdi-blog-post .tag-filled { background: var(--navy); color: white; }
.wofdi-blog-post .tag-filled.orange { background: var(--orange); }
.wofdi-blog-post .tag-outline { border: 1.5px solid var(--rule); color: var(--muted); }
.wofdi-blog-post .tag-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--muted);
  margin-left: auto;
}

/* ── TITLE ── */
.wofdi-blog-post h1.post-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.3px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--rule);
}

/* ── BODY ── */
.wofdi-blog-post .post-body {
  overflow-x: hidden;
  max-width: 100%;
}
.wofdi-blog-post .post-body img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  vertical-align: top;
}
.wofdi-blog-post .post-body p {
  font-size: 16px;
  line-height: 1.78;
  color: #3a3d4a;
  margin-bottom: 20px;
}
.wofdi-blog-post .post-body p.lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 28px;
}
.wofdi-blog-post .post-body h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.1px;
  margin: 36px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
}
.wofdi-blog-post .post-body blockquote {
  background: var(--white);
  border-left: 3px solid var(--orange);
  padding: 16px 22px;
  margin: 28px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
}
.wofdi-blog-post .post-body .inline-img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 3px;
  margin: 28px auto;
  display: block;
}

/* ── GALLERY ── */
.wofdi-blog-post .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 28px 0;
}
.wofdi-blog-post .photo-grid img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity .2s;
}
.wofdi-blog-post .photo-grid img:hover { opacity: .85; }
.wofdi-blog-post .photo-grid .wide { grid-column: span 2; }
.wofdi-blog-post .grid-caption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: -14px;
  margin-bottom: 24px;
  font-style: italic;
}

/* ── VIDEO ── */
.wofdi-blog-post .video-wrap {
  position: relative;
  width: 100%;
  padding-top: 52%;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: 3px;
}
.wofdi-blog-post .video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  cursor: pointer;
  background-size: cover; background-position: center;
}
.wofdi-blog-post .video-overlay { position: absolute; inset: 0; background: rgba(15,20,40,.55); }
.wofdi-blog-post .play-btn {
  position: relative; z-index: 2;
  width: 64px; height: 64px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(204,108,43,.5);
  transition: transform .2s, box-shadow .2s;
}
.wofdi-blog-post .video-placeholder:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(204,108,43,.65);
}
.wofdi-blog-post .play-btn svg { fill: white; width: 24px; margin-left: 4px; position: relative; z-index: 2; }
.wofdi-blog-post .video-label {
  position: relative; z-index: 2;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* ── TIMELINE (for video post) ── */
.wofdi-blog-post .timeline {
  margin: 28px 0;
  border-left: 2px solid var(--rule);
  padding-left: 24px;
  display: flex; flex-direction: column; gap: 22px;
}
.wofdi-blog-post .tl-item { position: relative; }
.wofdi-blog-post .tl-item::before {
  content: '';
  position: absolute;
  left: -30px; top: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--orange);
}
.wofdi-blog-post .tl-time {
  font-size: 10px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 4px;
}
.wofdi-blog-post .tl-item p { font-size: 15px; line-height: 1.65; color: #3a3d4a; margin: 0; }

/* ── SHARE FOOTER ── */
.wofdi-blog-post .post-foot {
  padding: 20px 0 0;
  margin-top: 48px;
  border-top: 1px solid var(--rule);
}

.wofdi-blog-post .share-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.wofdi-blog-post .share-row .s-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
  flex-shrink: 0;
}

.wofdi-blog-post .share-row .sb {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  background-image: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: transparent;
  font-size: 0;
  line-height: 0;
  vertical-align: top;
  transition: opacity 0.15s, transform 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.wofdi-blog-post .share-row .sb:hover {
  opacity: 0.78;
  transform: translateY(-2px);
}

.wofdi-blog-post .share-row .sb.fb { background: #1877F2; }
.wofdi-blog-post .share-row .sb.tw { background: #000; }
.wofdi-blog-post .share-row .sb.wa { background: #25D366; }
.wofdi-blog-post .share-row .sb.li { background: #0A66C2; }
.wofdi-blog-post .share-row .sb.cp { background: var(--navy); }

.wofdi-blog-post .share-row .sb svg {
  display: block;
  fill: #fff;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── BACK BTN ── */
.wofdi-blog-post .back-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 44px;
  background: var(--navy);
  color: white; text-decoration: none;
  font-size: 11px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 11px 20px; border-radius: 2px;
  transition: background .18s;
}
.wofdi-blog-post .back-btn:hover { background: var(--orange); }
.wofdi-blog-post .back-btn svg { fill: white; }
.wofdi-blog-post .back-btn--top {
  margin-top: 0;
  margin-bottom: 20px;
}

/* ── LIGHTBOX ── */
.wofdi-blog-post .lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 999; align-items: center; justify-content: center; }
.wofdi-blog-post .lightbox.open { display: flex; }
.wofdi-blog-post .lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 3px; object-fit: contain; }
.wofdi-blog-post .lb-close { position: absolute; top: 18px; right: 22px; background: none; border: none; color: white; font-size: 30px; cursor: pointer; line-height: 1; }

@media (max-width: 640px) {
  .wofdi-blog-post .hero-title {
    font-size: 26px;
  }
  .wofdi-blog-post .article { padding: 28px 16px 60px; }
  .wofdi-blog-post h1.post-title { font-size: 22px; }
  .wofdi-blog-post .post-body p { font-size: 15px; }
  .wofdi-blog-post .photo-grid { grid-template-columns: repeat(2,1fr); }
  .wofdi-blog-post .photo-grid .wide { grid-column: span 2; }
}