/* CMS Styles */
:root {
    --body-font: Lato, sans-serif;
    --body-font-size: 18px;
    --body-font-weight: 400;
    --h1-font: Lato, sans-serif;
    --h1-font-size: 50px;
    --h1-font-weight: 700;
    --h1-font-style: normal;
    --h2-font: Lato, sans-serif;
    --h2-font-size: 30px;
    --h2-font-weight: 600;
    --h2-font-style: normal;
    --h3-font: Lato, sans-serif;
    --h3-font-size: 26px;
    --h3-font-weight: 600;
    --h3-font-style: normal;
    --h4-font: Lato, sans-serif;
    --h4-font-size: 22px;
    --h4-font-weight: 600;
    --h4-font-style: normal;
    --h5-font: Lato, sans-serif;
    --h5-font-size: 22px;
    --h5-font-weight: 600;
    --h5-font-style: normal;
    --h6-font: Lato, sans-serif;
    --h6-font-size: 22px;
    --h6-font-weight: 600;
    --h6-font-style: normal;
    --color-font: #00345d;
    --link-decoration: underline;
    --link-decoration-hover: underline;
    --link-color: #00345d;
    --link-color-hover: #f37021;
    --color-primary: #f2f2f2;
    --color-secondary: #00345d;
    --color-accent: #f37021;
    --color-quaternary: #f2f2f2;
    --color-background: #ffffff;
}

/* Custom CSS */
/* ==========================================
   GLOBAL FISH ARTICLE DESIGN SYSTEM v1.0
   Test: Summary box and data table
   ========================================== */

/* Executive summary */

.gf-summary {
  background: #f4f8fa;
  border: 1px solid #d4dee4;
  border-left: 6px solid #cd8346;
  padding: 20px 24px;
  margin: 20px 0 28px;
  color: #123f61;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.gf-summary p {
  margin: 0;
}

/* Data tables */

.gf-data-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #0b4b75;
  border-top: 5px solid #cd8346;
  margin: 24px 0;
  font-size: 16px;
}

.gf-data-table th,
.gf-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #d4dee4;
}

.gf-data-table thead th {
  background: #073956;
  color: #ffffff;
  text-align: left;
  font-weight: 700;
}

.gf-data-table tbody tr:nth-child(even) {
  background: #f3f7f9;
}

.gf-data-table tbody tr.gf-highlight {
  background: #edf4f6;
  color: #073956;
  font-weight: 700;
}

.gf-data-table .gf-number {
  text-align: right;
  white-space: nowrap;
}

/* Mobile */

@media (max-width: 600px) {
  .gf-summary {
    padding: 16px;
    font-size: 16px;
  }

  .gf-data-table {
    font-size: 14px;
  }

  .gf-data-table th,
  .gf-data-table td {
    padding: 10px 8px;
  }
}
/* Global Fish – table layout correction */

table.gf-data-table {
  display: table !important;
  width: 100% !important;
  table-layout: auto !important;
  border-spacing: 0;
}

table.gf-data-table thead {
  display: table-header-group !important;
}

table.gf-data-table tbody {
  display: table-row-group !important;
}

table.gf-data-table tr {
  display: table-row !important;
  width: 100%;
}

table.gf-data-table th,
table.gf-data-table td {
  display: table-cell !important;
  box-sizing: border-box;
}

table.gf-data-table th:first-child,
table.gf-data-table td:first-child {
  width: 75%;
  text-align: left;
}

table.gf-data-table th:last-child,
table.gf-data-table td:last-child {
  width: 25%;
  text-align: right;
}
/* ==========================================
   GLOBAL FISH ARTICLE DESIGN SYSTEM v1.1
   Insight, Nuance and Related Articles
   ========================================== */

/* Important insight */

.gf-insight {
  background: #00345d;
  color: #ffffff;
  padding: 28px 32px;
  margin: 28px 0;
  border-radius: 3px;
}

.gf-insight h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}

.gf-insight p {
  color: #ffffff;
  margin: 0;
  line-height: 1.65;
}

.gf-insight strong {
  color: #ffffff;
}

/* Important nuance */

.gf-nuance {
  background: #f4f8fa;
  border-left: 5px solid #cd8346;
  padding: 22px 26px;
  margin: 28px 0;
}

.gf-nuance h3 {
  color: #00345d;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.gf-nuance p {
  margin: 0;
  line-height: 1.65;
}

/* Related articles */

.gf-related {
  background: #f4f8fa;
  border-top: 3px solid #00345d;
  padding: 22px 26px;
  margin: 32px 0;
}

.gf-related h3 {
  color: #00345d;
  font-size: 20px;
  margin: 0 0 14px;
}

.gf-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gf-related li {
  margin: 0 0 10px;
}

.gf-related li:last-child {
  margin-bottom: 0;
}

.gf-related a {
  color: #00345d;
  text-decoration: underline;
  font-weight: 600;
}

/* Mobile */

@media (max-width: 600px) {

  .gf-insight,
  .gf-nuance,
  .gf-related {
    padding: 18px 20px;
    margin: 24px 0;
  }

  .gf-insight h3,
  .gf-nuance h3,
  .gf-related h3 {
    font-size: 18px;
  }

}
/* ==========================================
   GLOBAL FISH ARTICLE DESIGN SYSTEM
   Article module spacing
   ========================================== */

section.article:has(.gf-summary) .textarea,
section.article:has(.gf-data-table) .textarea,
section.article:has(.gf-insight) .textarea,
section.article:has(.gf-nuance) .textarea,
section.article:has(.gf-related) .textarea {
    padding-top: 24px;
    padding-bottom: 24px;
}
/* ==========================================
   GLOBAL FISH ARTICLE DESIGN SYSTEM v1.2
   Sources and Author
   ========================================== */

/* Sources */

.gf-sources {
  border-top: 1px solid #d4dee4;
  padding: 20px 0 0;
  margin: 32px 0 16px;
  color: #34536a;
  font-size: 14px;
  line-height: 1.7;
}

.gf-sources h3 {
  color: #00345d;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}

.gf-sources p {
  margin: 0 0 10px;
}

.gf-sources a {
  color: #00345d;
  text-decoration: underline;
}

/* About the author */

.gf-author {
  background: #f2f2f2;
  border-left: 5px solid #f37021;
  padding: 24px 28px;
  margin: 32px 0;
  color: #00345d;
  line-height: 1.65;
}

.gf-author h3 {
  color: #00345d;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
}

.gf-author .gf-author-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.gf-author .gf-author-role {
  margin: 0 0 18px;
}

.gf-author .gf-author-bio {
  margin: 0 0 18px;
}

.gf-author a {
  color: #00345d;
  font-weight: 700;
  text-decoration: underline;
}

/* Compact spacing for these modules */

section.article:has(.gf-sources) .textarea,
section.article:has(.gf-author) .textarea {
  padding-top: 24px;
  padding-bottom: 24px;
}

/* Mobile */

@media (max-width: 600px) {
  .gf-sources {
    font-size: 13px;
  }

  .gf-author {
    padding: 18px 20px;
  }

  .gf-author h3 {
    font-size: 21px;
  }
}
section.article:has(.gf-article-text) .textarea {
  padding-top: 24px;
  padding-bottom: 24px;
}
