
a,
a:visited,
a:hover,
a:focus {
  text-decoration: none !important;
}
/* ===== Download cards for WordPress File blocks ===== */

.wp-block-file {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin: 1.5em 0;
  padding: 16px 18px;
  font-size: 1rem;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 3%, transparent);
}

/* Document icon */
.wp-block-file::before {
  content: "";
  flex: none;
  width: 30px;
  height: 36px;
  background: currentColor;
  opacity: 0.55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* File name */
.wp-block-file > a:not(.wp-block-file__button) {
  flex: 1 1 180px;
  min-width: 0;
  color: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.wp-block-file > a:not(.wp-block-file__button):hover { text-decoration: underline; }

/* Little "PDF" label under the name (only shows on PDFs) */
.wp-block-file > a[href$=".pdf" i]:not(.wp-block-file__button)::after {
  content: "PDF";
  display: block;
  margin-top: 3px;
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

/* The button */
.wp-block-file .wp-block-file__button {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin: 0 0 0 auto;
  padding: 0.65em 1.2em;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: #1d1d1b;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.wp-block-file .wp-block-file__button::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-file .wp-block-file__button:hover { opacity: 0.85; color: #fff; }
.wp-block-file .wp-block-file__button:focus-visible { outline: 3px solid #1d1d1b; outline-offset: 3px; }

/* Phones: button goes full width under the name */
@media (max-width: 480px) {
  .wp-block-file .wp-block-file__button { flex: 1 1 100%; justify-content: center; margin: 0; }
}

/* ===== Show full featured image in homepage big-post block (was cropping bottom) ===== */
.jeg_postblock_16 .jeg_postbig .thumbnail-container {
  padding-bottom: 71.5% !important;
}
