:root {
  --fluid-min-width: 320;
  --fluid-max-width: 2560;
  --fluid-min-font: 14;
  --fluid-max-font: 24;
  --fluid-viewport: calc(100vw);
  --fluid-scale: calc((var(--fluid-viewport) - var(--fluid-min-width) * 1px) / (var(--fluid-max-width) - var(--fluid-min-width)));
  --fluid-font-size: clamp(var(--fluid-min-font) * 1px, calc(var(--fluid-min-font) * 1px + (var(--fluid-max-font) - var(--fluid-min-font)) * var(--fluid-scale)), var(--fluid-max-font) * 1px);
}
html {
  font-size: var(--fluid-font-size);
}
:root {
  --cream: #f7f4ee;
  --warm-white: #fdfcf9;
  --paper: #faf8f3;
  --sage: #8ba888;
  --sage-light: #c8dbca;
  --slate: #5c7a8c;
  --slate-light: #b8cdd6;
  --amber: #c8924a;
  --amber-light: #edd9bc;
  --ink: #2d3a2e;
  --ink-mid: #4a5c4b;
  --ink-light: #7a8c7b;
  --sand: #e8e0d0;
  --rose-dust: #d4bdb0;
}
.episteme-page {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
}
.episteme-page {
  background: var(--cream);
  min-height: 100vh;
  position: relative;
}
.episteme-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--sand) 1px, transparent 1px),
    linear-gradient(90deg, var(--sand) 1px, transparent 1px);
  background-size: 3.000rem 3.000rem;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.ep-section-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-weight: 500;
  margin-bottom: 1.750rem;
  display: flex;
  align-items: center;
  gap: 0.750rem;
}
.ep-section-label::before {
  content: "";
  width: 2.000rem;
  height: 1.5px;
  background: var(--sage);
  display: block;
  flex-shrink: 0;
}
.ep-hero {
  position: relative;
  z-index: 5;
  max-width: clamp(1280px, 94vw, 3840px);
  margin: 0 auto;
  padding: 3.750rem 5vw 3.000rem;
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 3.750rem;
  align-items: center;
}
.ep-hero-left {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.ep-hero-left h1 {
  font-family: "Lora", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 1.125rem;
  grid-column: 1;
  grid-row: 1;
}
.ep-hero-left h1 em {
  font-style: italic;
  color: var(--slate);
}
.ep-hero-left p {
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.75;
  font-weight: 300;
  max-width: 27.500rem;
  grid-column: 1;
  grid-row: 2;
}
.ep-hero-stats {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.000rem;
  margin-top: 0;
  justify-content: center;
}
.ep-stat-pill {
  background: var(--warm-white);
  border: 1.5px solid var(--sand);
  border-radius: 0.5rem;
  padding: 0.875rem 1.250rem;
  text-align: center;
}
.ep-stat-pill .num {
  font-family: "Lora", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.ep-stat-pill .label {
  font-size: 0.72rem;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.313rem;
  font-weight: 400;
}
.ep-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.ep-molecule-svg {
  width: 100%;
  max-width: 21.250rem;
  opacity: 0.85;
  animation: ep-float 6s ease-in-out infinite;
}
@keyframes ep-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-0.625rem);
  }
}
.ep-filter-bar {
  position: relative;
  z-index: 5;
  max-width: clamp(1280px, 94vw, 3840px);
  margin: 0 auto;
  padding: 0 5vw 2.000rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.ep-filter-btn {
  background: var(--warm-white);
  border: 1.5px solid var(--sand);
  border-radius: 0.5rem;
  padding: 0.500rem 1.250rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.ep-filter-btn:hover,
.ep-filter-btn.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.ep-filter-btn.f-ecology.active {
  background: #4a7a4a;
  border-color: #4a7a4a;
}
.ep-filter-btn.f-climate.active {
  background: #2a6a6a;
  border-color: #2a6a6a;
}
.ep-filter-btn.f-neuro.active {
  background: #7a4a7a;
  border-color: #7a4a7a;
}
.ep-filter-btn.f-physics.active {
  background: var(--slate);
  border-color: var(--slate);
}
.ep-blog-section {
  position: relative;
  z-index: 5;
  max-width: clamp(1280px, 94vw, 3840px);
  margin: 0 auto;
  padding: 0 5vw 5.000rem;
}
.ep-blog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.250rem;
}
.ep-card-tag {
  display: inline-block;
  background: var(--amber-light);
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.313rem 0.750rem;
  border-radius: 0.5rem;
  margin-bottom: 0.875rem;
}
.ep-card-tag.ecology {
  background: #d4edd4;
  color: #4a7a4a;
}
.ep-card-tag.physics {
  background: var(--slate-light);
  color: var(--slate);
}
.ep-card-tag.neuro {
  background: #e8d4e8;
  color: #7a4a7a;
}
.ep-card-tag.climate {
  background: #d4e8e8;
  color: #2a6a6a;
}
.ep-card-featured {
  grid-column: span 7;
  background: var(--warm-white);
  border: 1.5px solid var(--sand);
  border-radius: 0.5rem;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.ep-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.000rem 3.000rem rgba(45, 58, 46, 0.09);
  color: inherit;
  text-decoration: none;
}
.ep-card-featured-img {
  height: 15.000rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-card-featured-img::after {
  content: "";
  position: absolute;
  width: 15.000rem;
  height: 15.000rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  right: -3.750rem;
  top: -3.750rem;
}
.ep-card-featured-img .ep-img-label {
  font-family: "Lora", serif;
  font-size: 3.5rem;
  opacity: 0.25;
  user-select: none;
}
.ep-card-featured-body {
  padding: 2.000rem;
}
.ep-card-featured-body h2 {
  font-family: "Lora", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.750rem;
}
.ep-card-featured-body p {
  color: var(--ink-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.500rem;
}
.ep-card-stack {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 1.000rem;
}
.ep-card-small {
  background: var(--warm-white);
  border: 1.5px solid var(--sand);
  border-radius: 0.5rem;
  padding: 1.250rem;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.ep-card-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.500rem 1.750rem rgba(45, 58, 46, 0.08);
  color: inherit;
  text-decoration: none;
}
.ep-card-small-icon {
  width: 2.750rem;
  height: 2.750rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.250rem;
  flex-shrink: 0;
}
.ep-icon-sage {
  background: #eaf2ea;
}
.ep-icon-slate {
  background: #e0ecf2;
}
.ep-icon-amber {
  background: #f2e8da;
}
.ep-icon-rose {
  background: #f2e4e0;
}
.ep-card-small-body h3 {
  font-family: "Lora", serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.375rem;
}
.ep-card-small-body p {
  font-size: 0.82rem;
  color: var(--ink-mid);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 0;
}
.ep-card-medium {
  grid-column: span 4;
  background: var(--warm-white);
  border: 1.5px solid var(--sand);
  border-radius: 0.5rem;
  padding: 1.750rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.ep-card-medium:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.625rem 2.000rem rgba(45, 58, 46, 0.08);
  color: inherit;
  text-decoration: none;
}
.ep-card-medium h3 {
  font-family: "Lora", serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--ink);
  margin: 0.625rem 0 0.625rem;
}
.ep-card-medium p {
  font-size: 0.87rem;
  color: var(--ink-mid);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.250rem;
}
.ep-card-meta {
  display: flex;
  align-items: center;
  gap: 0.750rem;
  margin-top: 0.500rem;
}
.ep-author-avatar {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.750rem;
  font-weight: 500;
  color: white;
  flex-shrink: 0;
}
.ep-author-avatar.sm {
  width: 1.625rem;
  height: 1.625rem;
  font-size: 0.688rem;
}
.ep-av-sage {
  background: #8ba888;
}
.ep-av-slate {
  background: #5c7a8c;
}
.ep-av-amber {
  background: #c8924a;
}
.ep-av-rose {
  background: #b87a7a;
}
.ep-author-info .ep-name {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.ep-author-info .ep-date {
  font-size: 0.72rem;
  color: var(--ink-light);
  font-weight: 300;
}
.ep-read-time {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--ink-light);
  font-weight: 300;
  white-space: nowrap;
}
.ep-grad-sage {
  background: linear-gradient(135deg, #c8dbca 0%, #b8cdd6 100%);
}
.ep-grad-ecology {
  background: linear-gradient(135deg, #c8dbca 0%, #b8cdd6 100%);
}
.ep-grad-climate {
  background: linear-gradient(135deg, #b8d4d4 0%, #c8dbca 100%);
}
.ep-grad-neuro {
  background: linear-gradient(135deg, #d4c0d4 0%, #d4bdb0 100%);
}
.ep-grad-physics {
  background: linear-gradient(135deg, #b8cdd6 0%, #c8dbca 100%);
}
.ep-grad-bio {
  background: linear-gradient(135deg, #d4e8bc 0%, #bcdbbc 100%);
}
.ep-load-more-wrap {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 5vw 3.750rem;
}
.ep-btn-load-more {
  background: var(--warm-white);
  border: 1.5px solid var(--sand);
  color: var(--ink);
  border-radius: 0.5rem;
  padding: 0.875rem 2.500rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.03em;
}
.ep-btn-load-more:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.ep-submit-section {
  position: relative;
  z-index: 5;
  max-width: clamp(1280px, 94vw, 3840px);
  margin: 0 auto;
  padding: 0 5vw 5.000rem;
}
.ep-submit-card {
  background: var(--warm-white);
  border: 1.5px solid var(--sand);
  border-radius: 0.5rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ep-submit-info {
  padding: 3.250rem 3.000rem;
  background: linear-gradient(
    145deg,
    var(--sage-light) 0%,
    var(--slate-light) 100%
  );
  position: relative;
  overflow: hidden;
}
.ep-submit-info::before {
  content: "⬡";
  position: absolute;
  font-size: 12.500rem;
  color: rgba(255, 255, 255, 0.15);
  right: -2.500rem;
  bottom: -2.500rem;
  line-height: 1;
}
.ep-submit-info h2 {
  font-family: "Lora", serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.875rem;
}
.ep-submit-info h2 em {
  font-style: italic;
  color: var(--slate);
}
.ep-submit-info > p {
  font-size: 0.95rem;
  color: var(--ink-mid);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.750rem;
}
.ep-guidelines {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.ep-guideline {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.88rem;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.5;
}
.ep-guideline::before {
  content: "○";
  color: var(--sage);
  font-size: 0.65rem;
  margin-top: 4px;
  flex-shrink: 0;
}
.ep-submit-form {
  padding: 3.250rem 3.000rem;
  text-align: left;
}
.ep-submit-form h3 {
  font-family: "Lora", serif;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 1.750rem;
  font-weight: 600;
}
.ep-form-group {
  margin-bottom: 1.125rem;
}
.ep-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.438rem;
}
.ep-form-group input,
.ep-form-group select,
.ep-form-group textarea {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--sand);
  border-radius: 0.5rem;
  padding: 0.750rem 0.938rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 300;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.ep-form-group input:focus,
.ep-form-group select:focus,
.ep-form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(139, 168, 136, 0.15);
}
.ep-form-group textarea {
  resize: none;
  height: 5.500rem;
  line-height: 1.6;
}
.ep-form-row {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}
.ep-form-row > .ep-form-group {
  flex: 1;
}
.ep-drop-zone {
  border: 2px dashed var(--sand);
  border-radius: 0.5rem;
  padding: 1.500rem;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  background: var(--cream);
  margin-bottom: 1.125rem;
  position: relative;
}
.ep-drop-zone:hover,
.ep-drop-zone.dragging {
  border-color: var(--sage);
  background: rgba(139, 168, 136, 0.06);
}
.ep-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.ep-drop-icon {
  font-size: 1.8rem;
  margin-bottom: 0.500rem;
}
.ep-drop-zone p {
  font-size: 0.85rem;
  color: var(--ink-light);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}
.ep-drop-zone strong {
  color: var(--slate);
  font-weight: 500;
}
.ep-btn-submit {
  width: 100%;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 0.5rem;
  padding: 0.938rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition:
    background 0.2s,
    transform 0.15s;
}
.ep-btn-submit:hover {
  background: var(--slate);
  transform: translateY(-1px);
}
.ep-toast {
  position: fixed;
  bottom: 2.000rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: var(--cream);
  padding: 0.813rem 1.750rem;
  border-radius: 0.5rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  z-index: 9999;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.ep-toast.show {
  transform: translateX(-50%) translateY(0);
}
.ep-card-hidden {
  display: none !important;
}
.ep-page-top-spacer {
  height: 5.000rem;
}
@media (max-width: 900px) {
  .ep-hero {
    grid-template-columns: 1fr;
    padding-top: 2.500rem;
  }
  .ep-hero-visual {
    display: none;
  }
  .ep-hero-left {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ep-hero-left h1,
  .ep-hero-left p {
    grid-column: 1;
    grid-row: auto;
  }
  .ep-hero-stats {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ep-hero-stats .ep-stat-pill {
    flex: 1;
  }
  .ep-blog-grid {
    grid-template-columns: 1fr;
  }
  .ep-card-featured,
  .ep-card-stack,
  .ep-card-medium {
    grid-column: span 1;
  }
  .ep-submit-card {
    grid-template-columns: 1fr;
  }
  .ep-form-row {
    flex-direction: column;
  }
  .ep-submit-info,
  .ep-submit-form {
    padding: 2.250rem 1.750rem;
  }
  .ep-card-featured-body {
    padding: 1.375rem;
  }
  .ep-card-medium {
    padding: 1.250rem;
  }
}
@media (max-width: 600px) {
  .ep-hero-stats {
    gap: 0.750rem;
  }
  .ep-stat-pill {
    padding: 0.625rem 0.875rem;
  }
  .ep-stat-pill .num {
    font-size: 1.45rem;
  }
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ep-spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid rgba(139, 168, 136, 0.25);
  border-top-color: var(--sage);
  border-radius: 0.5rem;
  animation: ep-spin 0.9s linear infinite;
}
@keyframes ep-spin {
  to {
    transform: rotate(360deg);
  }
}
.ep-home-btn {
  position: absolute;
  top: 1.125rem;
  right: 1.375rem;
  z-index: 9999;
  width: 2.500rem;
  height: 2.500rem;
  border-radius: 0.5rem;
  background: rgba(247, 244, 238, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(139, 168, 136, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a5c4b;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.18s,
    box-shadow 0.2s;
}
.ep-home-btn:hover {
  background: rgba(139, 168, 136, 0.22);
  border-color: rgba(139, 168, 136, 0.7);
  box-shadow: 0 4px 1.125rem rgba(139, 168, 136, 0.25);
  transform: translateY(-1px);
  color: #2d3a2e;
  text-decoration: none;
}
.ep-home-btn i {
  pointer-events: none;
}
.ep-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45, 58, 46, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.250rem;
}
.ep-modal-backdrop.open {
  display: flex;
}
.ep-modal-box {
  background: #fdfcf9;
  border-radius: 0.5rem;
  box-shadow: 0 1.500rem 3.750rem rgba(45, 58, 46, 0.18);
  max-width: 90vw;
  width: 90vw;
  max-height: 90vh;
  height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  animation: epModalIn 0.28s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}
.ep-modal-box::-webkit-scrollbar {
  display: none;
}
@keyframes epModalIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.ep-modal-close {
  position: absolute;
  top: 0.875rem;
  right: 1.125rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #7a8c7b;
  cursor: pointer;
  line-height: 1;
  padding: 4px 0.500rem;
  border-radius: 0.5rem;
  transition:
    background 0.15s,
    color 0.15s;
  z-index: 1;
}
.ep-modal-close:hover {
  background: #ede9e0;
  color: #2d3a2e;
}
.ep-submit-card {
  max-height: 90vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.ep-submit-card::-webkit-scrollbar {
  display: none;
}
.ep-btn-submit-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.500rem;
  background: #2d3a2e;
  color: #f7f4ee;
  border: none;
  border-radius: 0.5rem;
  padding: 0.813rem 1.875rem;
  font-size: 0.88rem;
  font-family: inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.18s,
    box-shadow 0.2s;
  margin-top: 0.625rem;
}
.ep-btn-submit-trigger:hover {
  background: #3e5240;
  transform: translateY(-2px);
  box-shadow: 0 0.375rem 1.250rem rgba(45, 58, 46, 0.22);
}
@media (max-width: 768px) {
  .ep-reader-box {
    padding: 1.875rem 1.250rem;
  }
  .ep-reader-box h1 {
    font-size: 1.8rem;
  }
}
.blog-view-wrapper {
  width: 100%;
  margin: 0;
  padding: 2.500rem 0 7.500rem;
  position: relative;
  z-index: 5;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.750rem;
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2.500rem;
  margin-left: 3vw;
  transition: all 0.2s;
  padding: 0.500rem 1.000rem;
  border-radius: 0.5rem;
  background: var(--sand);
}
.back-link:hover {
  color: var(--ink);
  background: var(--sage-light);
  text-decoration: none;
  transform: translateX(-4px);
}
.blog-content-card {
  background: var(--warm-white);
  border-top: 1.5px solid var(--sand);
  border-bottom: 1.5px solid var(--sand);
  padding: 5.000rem 3vw;
  min-height: 80vh;
}
.blog-header {
  max-width: 1500px;
  margin: 0 auto 3.750rem;
}
.blog-discipline {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 1.500rem;
  display: block;
  color: var(--sage);
}
.blog-header h1 {
  font-family: "Lora", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.875rem;
  font-weight: 400;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.938rem;
  padding-bottom: 2.188rem;
  border-bottom: 1px solid var(--sand);
  margin-bottom: 2.500rem;
}
.author-avatar {
  width: 3.000rem;
  height: 3.000rem;
  border-radius: 0.5rem;
  background-size: cover;
  background-position: center;
  background-color: var(--sand);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}
.author-info .name {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}
.author-info .date-read {
  font-size: 0.85rem;
  color: var(--ink-light);
  margin-top: 4px;
}
.blog-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #1a1a1a !important;
  font-family: "DM Sans", sans-serif;
  font-weight: 300 !important;
  max-width: 1500px;
  margin: 0 auto;
}
.blog-body p {
  margin-bottom: 1.8em;
  color: #1a1a1a !important;
  text-align: justify;
}
.blog-body h2 {
  font-family: "Lora", serif;
  font-size: 1.9rem;
  margin: 2.2em 0 1.2em;
  color: var(--ink);
}
.blog-body h3 {
  font-family: "Lora", serif;
  font-size: 1.5rem;
  margin: 1.8em 0 1em;
  color: var(--ink);
}
.blog-body blockquote {
  font-style: italic;
  border-left: 4px solid var(--sage);
  padding: 0.625rem 0 0.625rem 1.875rem;
  margin: 2.5em 0;
  color: var(--ink-mid);
  font-size: 1.3rem;
  line-height: 1.6;
}
.blog-body img {
  width: 100%;
  border-radius: 0.5rem;
  margin: 2.5em 0;
}
.blog-body a {
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ep-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7.500rem 0;
}
.ep-loader p {
  margin-top: 1.500rem;
  color: var(--ink-light);
  font-weight: 300;
  letter-spacing: 0.05em;
}
.ep-blog-content {
  display: none;
}
.ep-error-box {
  text-align: center;
  padding: 2.500rem;
}
.ep-error-icon {
  font-size: 3rem;
  color: #b87a7a;
  margin-bottom: 1.250rem;
}
.ep-error-title {
  font-family: "Lora", serif;
  color: var(--ink);
}
.ep-error-back {
  display: inline-block;
  margin-top: 1.875rem;
  text-decoration: none;
}
@media (max-width: 768px) {
  .blog-content-card {
    padding: 2.500rem 1.875rem;
    border-radius: 0.5rem;
  }
  .blog-view-wrapper {
    padding-top: 5.000rem;
  }
}
.ep-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.500rem 5vw;
  position: relative;
  z-index: 5;
}
.ep-404 h1 {
  font-family: "Lora", serif;
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 600;
  line-height: 1;
  color: var(--sage);
  margin-bottom: 0.500rem;
}
.ep-404 h2 {
  font-family: "Lora", serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.875rem;
}
.ep-404 p {
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.7;
  max-width: 30.000rem;
  margin: 0 auto 2.125rem;
}
.ep-404 .ep-btn-load-more {
  display: inline-block;
  text-decoration: none;
}
.ep-hidden {
  display: none;
}
.ep-filter-hidden {
  display: none !important;
}
.ep-noscript-note {
  padding: 1.250rem 5vw 3.750rem;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.7;
}
.ep-submit-trigger-wrap {
  text-align: center;
  padding: 1.750rem 0 3.000rem;
}
.ep-modal-narrow {
  max-width: 90vw;
}
.ep-submit-card--modal {
  display: block;
  border-radius: 0.5rem;
  padding: 2.500rem;
  box-shadow: none;
}
.ep-submit-header {
  text-align: center;
  margin-bottom: 2.188rem;
}
.ep-submit-title {
  font-family: "Lora", serif;
  font-size: 2rem;
  margin-bottom: 0.938rem;
  color: #2d3a2e;
}
.ep-submit-intro {
  color: #5d705e;
  line-height: 1.6;
  font-size: 1rem;
  max-width: 31.250rem;
  margin: 0 auto;
}
.ep-submit-msg {
  text-align: center;
  font-size: 0.72rem;
  color: #a4b2a5;
  margin-top: 0.938rem;
}
.ep-form-group--mb0 {
  margin-bottom: 0;
}
.ep-form-group input[type="file"] {
  background: #fff;
  padding: 0.625rem;
}
.ep-form-group textarea.ep-textarea-sm {
  height: 3.750rem;
}
.ep-form-group textarea.ep-textarea-lg {
  height: 7.500rem;
}
.ep-btn-submit--modal {
  width: auto;
  display: inline-block;
  padding: 0.625rem 1.875rem;
  background: #2d3a2e;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  margin-top: 1.250rem;
}
.ep-empty-state {
  text-align: center;
  grid-column: 1 / -1;
  color: var(--ink-light);
  margin-top: 2.500rem;
}
.ep-avatar-photo {
  border: 2px solid #e8e0d0;
  padding: 0;
  overflow: hidden;
}
.ep-avatar-photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.ep-card-tag.ep-tag-sm {
  font-size: 0.62rem;
  padding: 3px 0.563rem;
  margin-bottom: 0.375rem;
}
.ep-card-meta--mt {
  margin-top: 0.625rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════════════════════════════════
   BENTO GRID STYLES
   ═══════════════════════════════════════════════════════════════════════════════════════════════════════════ */
.ep-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  grid-auto-flow: dense;
}

.ep-bento-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.ep-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(45, 58, 46, 0.09);
  color: inherit;
  text-decoration: none;
}

.ep-bento-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ep-bento-body--center {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ep-bento-card h2 {
  font-family: "Lora", serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

.ep-bento-card h3 {
  font-family: "Lora", serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-top: 0.75rem;
}

.ep-bento-card p {
  color: var(--ink-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1rem;
  text-align: justify;
}

/* Specific Sizes for Bento Pattern */
.bento-large {
  grid-column: span 7;
  grid-row: span 2;
}

.bento-tall {
  grid-column: span 5;
  grid-row: span 1;
}

.bento-wide {
  grid-column: span 6;
  grid-row: span 1;
}

.bento-standard {
  grid-column: span 4;
}

.bento-small {
  grid-column: span 3;
}

/* Image Headers for Featured */
.ep-bento-img {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ep-bento-img::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  right: -60px;
  top: -60px;
}

.ep-bento-img .ep-img-label {
  font-family: "Lora", serif;
  font-size: 3.5rem;
  opacity: 0.25;
  user-select: none;
}

.ep-bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

/* Mobile Responsiveness for Bento Grid */
@media (max-width: 1024px) {
  .bento-large { grid-column: span 12; grid-row: auto; }
  .bento-tall { grid-column: span 6; }
  .bento-wide { grid-column: span 12; }
  .bento-small { grid-column: span 4; }
}

@media (max-width: 768px) {
  .bento-tall, .bento-small { grid-column: span 6; }
}

@media (max-width: 480px) {
  .bento-tall, .bento-small, .bento-standard { grid-column: span 12; }
}

/* ═══════════════════════════════════════════════════════════════════════════════════════════════════════════
   FOOTER STYLES
   ═══════════════════════════════════════════════════════════════════════════════════════════════════════════ */
.ep-footer {
  background: var(--warm-white);
  border-top: 1px solid var(--sand);
  padding: 4rem 3vw;
  margin-top: 4rem;
  color: var(--ink-mid);
  text-align: center;
}

.ep-footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.ep-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ep-footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.ep-footer-title {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.ep-footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 400px;
}

.ep-footer-text a {
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.ep-footer-text a:hover {
  color: var(--sage-dark, #7A9877);
  text-decoration: underline;
}

.ep-footer-copyright {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 1rem;
}

.ep-hero .ep-submit-trigger-wrap {
  grid-column: 1 / -1;
  padding: 0;
  margin-top: -2rem;
  margin-bottom: -1.5rem;
  text-align: center;
}


/* Visually hidden but available to assistive tech & crawlers */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;font-family:inherit;font-size:14px;line-height:1;z-index:9999}.skip-link:focus{left:8px;top:8px;width:auto;height:auto;padding:10px 14px;background:#fff;color:#0b2545;border:2px solid #0b2545;border-radius:6px;text-decoration:none;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.2)}
