/* AKBAN franchise journal v5.43 — large editorial image cards, understated section */
.fx-journal {
  position: relative;
  padding: 28px 0 30px;
  color: #f5f8fa;
  background: linear-gradient(145deg, #09263a 0%, #0d354d 58%, #08283d 100%);
  border-top: 1px solid rgba(238,204,127,.20);
  border-bottom: 1px solid rgba(238,204,127,.16);
}
.fx-journal .fx-container {
  width: min(1040px, calc(100% - 48px));
  max-width: 1040px;
  min-width: 0;
  margin-inline: auto;
}
.fx-journal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 15px;
}
.fx-journal-heading-copy { max-width: 740px; min-width: 0; }
.fx-journal .fx-eyebrow {
  color: #dfbd70;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.fx-journal-head h2 {
  margin: 6px 0 0;
  color: #f7fafb !important;
  font: 800 clamp(20px, 1.9vw, 25px)/1.2 Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.fx-journal-head h2 em { color: #f0c96e !important; font-style: normal; }
.fx-journal-all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(237,201,112,.55);
  border-radius: 9px;
  color: #efd38a;
  font: 750 11px/1.2 Manrope, "Segoe UI", Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.fx-journal-all:hover { background: rgba(237,201,112,.08); border-color: rgba(237,201,112,.9); }
.fx-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}
.fx-journal-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5e0e3;
  border-radius: 16px;
  background: #fbfcfb;
  color: #173348;
  box-shadow: 0 4px 14px rgba(0,0,0,.09);
}
.fx-journal-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2.3 / 1;
  background: #153b53;
}
.fx-journal-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}
.fx-journal-card:hover .fx-journal-image img { transform: scale(1.02); }
.fx-journal-image-label {
  position: absolute;
  left: 13px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(225,202,145,.55);
  border-radius: 999px;
  background: rgba(7,36,53,.88);
  color: #f3d17b;
  font: 800 9px/1 Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: .09em;
}
.fx-journal-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 14px 15px 15px;
}
.fx-journal-tag {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8f1ec;
  color: #087b48;
  font: 800 9px/1.2 Manrope, "Segoe UI", Arial, sans-serif;
}
.fx-journal-body h3 {
  margin: 9px 0 7px;
  color: #173348;
  font: 800 16px/1.3 Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: -.018em;
  overflow-wrap: anywhere;
}
.fx-journal-body p {
  margin: 0 0 12px;
  color: #607582;
  font: 500 12px/1.5 Manrope, "Segoe UI", Arial, sans-serif;
}
.fx-journal-card-meta { display: flex; align-items: center; width: 100%; margin-top: auto; }
.fx-journal-card-meta > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #087b48;
  font: 800 11px/1.3 Manrope, "Segoe UI", Arial, sans-serif;
  text-decoration: none;
}
.fx-journal-card-meta > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fx-journal a:focus-visible { outline: 2px solid #f0c96e; outline-offset: 3px; }

/* Tablet: two columns, calm editorial cards. */
@media (max-width: 1020px) and (min-width: 761px) {
  .fx-journal .fx-container { width: min(880px, calc(100% - 40px)); }
  .fx-journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .fx-journal-card:last-child { grid-column: 1 / -1; width: calc(50% - 7px); }
  .fx-journal-card:last-child .fx-journal-image { aspect-ratio: 2.35 / 1; }
}

/* Mobile: one card per row, with the large full-width image above the text. */
@media (max-width: 760px) {
  .fx-journal { padding: 22px 0 24px; }
  .fx-journal .fx-container { width: calc(100% - 32px); }
  .fx-journal-head { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
  .fx-journal .fx-eyebrow { font-size: 8px; letter-spacing: .09em; }
  .fx-journal-head h2 { margin-top: 5px; font-size: clamp(18px, 5vw, 21px); line-height: 1.2; }
  .fx-journal-all { min-height: 31px; padding: 0 9px; font-size: 9.5px; }
  .fx-journal-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .fx-journal-card { display: flex; flex-direction: column; border-radius: 18px; }
  .fx-journal-image { width: 100%; aspect-ratio: 1.78 / 1; }
  .fx-journal-image-label { left: 12px; bottom: 11px; min-height: 25px; font-size: 8px; }
  .fx-journal-body { padding: 14px 16px 15px; }
  .fx-journal-tag { min-height: 20px; font-size: 9px; }
  .fx-journal-body h3 { margin: 8px 0 6px; font-size: clamp(19px, 5.1vw, 22px); line-height: 1.25; }
  .fx-journal-body p { margin-bottom: 11px; font-size: 14px; line-height: 1.45; }
  .fx-journal-card-meta > a { font-size: 14px; }
}
@media (max-width: 380px) {
  .fx-journal .fx-container { width: calc(100% - 24px); }
  .fx-journal-head { align-items: flex-start; flex-direction: column; }
  .fx-journal-all { align-self: flex-start; }
  .fx-journal-image { aspect-ratio: 1.72 / 1; }
  .fx-journal-body { padding: 13px 14px 14px; }
  .fx-journal-body h3 { font-size: 19px; }
  .fx-journal-body p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-journal-card, .fx-journal-image img, .fx-journal-all { transition: none !important; }
}
