/* Selected country design 05, shared by normal country and region archives. */
.country-main.country-cards { background: #fff; }
.country-cards .country-hero { border-bottom: 0; }
.country-cards .country-hero > .eyebrow { padding-top: 28px; border-top: 4px solid var(--country-accent); color: var(--navy-soft); }
.country-cards .country-jump a:first-child { border-color: var(--country-accent); }
.country-cards .country-title { display: flex; align-items: center; gap: 18px; font-size: clamp(48px, 5vw, 64px); }
.country-cards .country-company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.country-cards .country-company-card { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px; border: 1px solid #ccd6dd; border-top: 3px solid var(--country-accent); background: #fff; }
.country-cards .country-company-card h3 { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.35; overflow-wrap: anywhere; }
.country-cards .country-company-card h3 a { color: var(--navy); text-decoration: none; }
.country-cards .country-company-card h3 a:hover { color: var(--teal-dark); text-decoration: underline; }
.country-cards .country-card-brand { margin: 8px 0 10px; color: var(--navy-soft); font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; }
.country-cards .country-card-brand-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: 14px; }
.country-cards .country-card-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: auto; }
.country-cards .country-card-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal-dark); font-size: 16px; font-weight: 700; line-height: 1.5; text-underline-offset: 4px; }
.country-cards .country-news-list { gap: 0 22px; }
.country-cards .country-news-item { padding: 22px 0; border: 0; border-bottom: 1px solid #ccd6dd; border-radius: 0; }
.country-cards .country-news-list > .country-news-item:first-child { padding-top: 22px; }
@media (max-width: 800px) {
  .country-cards .country-company-grid { grid-template-columns: 1fr; }
  .country-cards .country-company-card { padding: 18px 20px; }
}

.country-cards .country-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
.country-cards .country-title-name { min-width: 0; overflow-wrap: anywhere; }
/* Selected standard sample: 72px wide, square corners, original national proportions. */
.country-cards .country-archive-flag { display: block; flex: 0 0 72px; width: 72px; max-width: none; height: auto; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; }
.country-cards .country-archive-flag[data-country-flag="JP"] { outline: 1px solid #ccd6dd; outline-offset: -1px; }
@media (max-width: 600px) {
  .country-cards .country-title { gap: 12px; }
}
.country-cards .country-section-heading { flex-wrap: wrap; gap: 10px; }
.country-cards .country-companies .country-section-heading h2 { font-size: 36px; }
.country-cards .country-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--teal-dark); font-size: 16px; font-weight: 650; line-height: 1.5; }
.country-cards .country-jump a:hover { background: #f8fafb; }
.country-cards .country-section-intro { font-size: 16px; line-height: 1.65; }
.country-cards .country-company-count { font-size: 14px; line-height: 1.5; }
.country-cards .news-empty-state { font-size: 16px; line-height: 1.7; }
.country-cards .country-company-bottom { font-size: 16px; line-height: 1.6; }
.country-cards .country-company-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.country-cards .country-stories { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
.country-cards .country-news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.country-cards .country-news-item { margin-bottom: 0; background: #fff; }
.country-cards .country-news-item h3 { font-size: 24px; }
.country-cards .country-news-date { font-size: 14px; line-height: 1.6; }
.country-cards .country-news-excerpt { font-size: 16px; line-height: 1.75; }
.country-cards .country-read-story { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; line-height: 1.55; }
.country-cards .country-more-news { grid-column: 1 / -1; margin-top: 14px; }
.country-cards .country-more-news[open] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
.country-cards .country-more-news summary { grid-column: 1 / -1; min-height: 44px; font-size: 16px; line-height: 1.55; }
.country-cards .story-pagination { font-size: 16px; }
.country-cards .page-numbers:not(.dots) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.country-cards .country-explore-label { font-size: 17px; }
@media (min-width: 801px) and (max-width: 1050px) {
  .country-cards .country-news-list, .country-cards .country-more-news[open] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .country-cards .country-layout { gap: 32px; }
  .country-cards .country-companies .country-section-heading h2, .country-cards .country-section-heading h2 { font-size: 28px; }
  .country-cards .archive-description { font-size: 16px; line-height: 1.8; }
  .country-cards .country-news-list, .country-cards .country-more-news[open] { grid-template-columns: 1fr; }
}

.country-main-japan.country-cards .country-hero > .eyebrow { color: #8e5151; }

/* Shared product ledger entries inside each headquarters company card. */
.country-cards .country-product-coverage-note { max-width: 80ch; margin: -4px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.country-cards .country-card-products { margin: 6px 0 16px; padding-top: 14px; border-top: 1px solid #d6dfe4; }
.country-cards .country-card-products-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; color: var(--navy); font-size: 16px; line-height: 1.5; }
.country-cards .country-card-products-heading > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal-dark); font-size: 16px; font-weight: 700; text-underline-offset: 4px; }
.country-cards .country-card-product-market { margin: 0 0 12px; color: var(--navy-soft); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.country-cards .country-card-product-types { display: grid; gap: 8px; }
.country-cards .country-card-product-types a { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #c6d4dc; border-radius: 3px; background: #f7fafb; color: var(--navy); font-size: 16px; font-weight: 650; line-height: 1.5; text-decoration: none; }
.country-cards .country-card-product-types a:hover { border-color: var(--teal); background: #edf6f7; }
.country-cards .country-card-product-types a:focus-visible, .country-cards .country-card-products-heading > a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.country-cards .country-product-type-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.country-cards .country-product-type-count { flex-shrink: 0; color: var(--teal-dark); font-size: 14px; font-weight: 700; white-space: nowrap; }
.country-cards .country-card-product-types a > span:last-child { color: var(--teal-dark); }
@media (max-width: 380px) {
  .country-cards .country-card-product-types a { gap: 8px; padding-inline: 10px; }
}
