/**
 * The Electric Duo - Custom Blocks CSS
 * Used in frontend and Gutenberg editor
 */

/* ==========================================================================
   Base Take / Card Container
   ========================================================================== */
.fathom-take.eduo-take-block,
.fathom-take {
  background: #0b1329;
  border: 1px solid #1e293b;
  border-left: 5px solid #00B1E2;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
  color: #f8fafc;
  box-shadow: 0 10px 25px -5px rgba(0, 177, 226, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.fathom-take-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.fathom-take-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.fathom-take-title {
  color: #00B1E2 !important;
  margin: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  font-family: 'Oswald', sans-serif !important;
  text-transform: uppercase;
}

.fathom-take-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.fathom-take-body p {
  margin: 0 0 1em;
  color: #e2e8f0 !important;
  font-size: inherit;
  line-height: inherit;
}

.fathom-take-body p:last-child {
  margin-bottom: 0;
}

.fathom-take-body a {
  color: #00B1E2;
  text-decoration: underline;
}

.fathom-take-body strong {
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   Eduo Block (Right Border Highlight, No Lightning Icon)
   ========================================================================== */
.fathom-take.eduo-standard-block {
  border-left: 1px solid #1e293b;
  border-right: 5px solid #00B1E2;
}

/* ==========================================================================
   Eduo Warn Block (#F2A33C Amber Border & Accent, Warning Icon)
   ========================================================================== */
.fathom-take.eduo-warn-block {
  border-left: 5px solid #F2A33C;
  box-shadow: 0 10px 25px -5px rgba(242, 163, 60, 0.18), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

.fathom-take.eduo-warn-block .fathom-take-title {
  color: #F2A33C !important;
}

.fathom-take.eduo-warn-block .fathom-take-body a {
  color: #F2A33C;
}

/* ==========================================================================
   Read More Block
   ========================================================================== */
.fathom-read-more-wrapper.eduo-read-more-block,
.fathom-read-more-wrapper {
  margin: 32px 0;
  display: block;
}

.fathom-read-more-wrapper.align-center {
  text-align: center;
}

.fathom-read-more-wrapper.align-right {
  text-align: right;
}

.fathom-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00B1E2 0%, #0284c7 100%);
  color: #ffffff !important;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0, 177, 226, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
}

.fathom-read-more-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 177, 226, 0.45);
  color: #ffffff !important;
}

.fathom-read-more-arrow {
  font-size: 1.1rem;
  transition: transform 0.15s ease;
}

.fathom-read-more-btn:hover .fathom-read-more-arrow {
  transform: translateX(3px);
}

/* Gutenberg Editor helpers */
.editor-styles-wrapper .fathom-take {
  margin-top: 16px;
  margin-bottom: 16px;
}
.editor-styles-wrapper .fathom-read-more-wrapper {
  margin-top: 16px;
  margin-bottom: 16px;
}
.eduo-empty-placeholder {
  opacity: 0.6;
  font-style: italic;
}