/*! AMNZ Uutiset — Nordic Broadsheet Design System v20.0 (Helsinki) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://amnz.press/assets/InterVariable-E2m9P1kL.woff2') format('woff2');
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #111111;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img, picture {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/* Light Newspaper Date & Utility Bar */
.top-bar {
  background: #ffffff;
  color: #555555;
  font-size: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555555;
  font-weight: 400;
}

.top-bar-links {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #555555;
}

.top-bar-links a {
  cursor: pointer;
}

.top-bar-links a:hover {
  color: #111111;
  text-decoration: underline;
}

/* Newspaper Masthead Header */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-brand-row {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  cursor: pointer;
}

.brand-title {
  margin: 0;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111111;
  line-height: 1;
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: #d4d4d4;
  display: inline-block;
  align-self: center;
}

@media (max-width: 640px) {
  .brand-title { font-size: 30px; }
  .brand-divider { display: none; }
}

.brand-subtitle {
  margin: 0;
  font-size: 13px;
  color: #666666;
  font-weight: 400;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: center;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-svg {
  position: absolute;
  left: 9px;
  color: #666666;
  pointer-events: none;
}

.search-input {
  width: 240px;
  padding: 6px 28px 6px 30px;
  border: 1px solid #cccccc;
  border-radius: 0;
  font-size: 13px;
  background: #ffffff;
  color: #111111;
  font-family: inherit;
}

.search-input:focus {
  outline: 1px solid #111111;
  border-color: #111111;
}

.search-clear {
  position: absolute;
  right: 8px;
  background: none;
  border: 0;
  font-size: 15px;
  color: #666666;
  cursor: pointer;
  display: none;
  padding: 0 4px;
}

.search-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  width: 390px;
  max-width: 92vw;
  max-height: 420px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #111111;
  border-radius: 0;
  display: none;
  z-index: 95;
}

.search-dropdown.open {
  display: block;
}

.search-dd-header {
  padding: 7px 12px;
  background: #f6f6f4;
  border-bottom: 1px solid #e2e2e2;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #444444;
  display: flex;
  justify-content: space-between;
}

.search-dd-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #e2e2e2;
  cursor: pointer;
  background: #ffffff;
  color: #111111;
}

.search-dd-item:last-child {
  border-bottom: 0;
}

.search-dd-item:hover {
  background: #f6f6f4;
}

.search-dd-thumb {
  width: 60px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
  background: #111111;
  border-radius: 0;
}

.search-dd-body {
  flex: 1;
  min-width: 0;
}

.search-dd-meta {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b91c1c;
  margin-bottom: 2px;
}

.search-dd-title {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
}

/* Navigation Bar with Classic Double Top Rule & Single Bottom Rule */
.nav-bar-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-bar {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  border-top: 3px double #111111;
  border-bottom: 1px solid #111111;
}

.nav-link {
  padding: 9px 2px 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #262626;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  color: #b91c1c;
}

.nav-link.active {
  color: #111111;
  border-bottom: 2px solid #b91c1c;
}

/* Strict Nordic Market & Energy Bar */
.nordic-market-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.nordic-market-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 6px 0;
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
  font-size: 11.5px;
  color: #111111;
  overflow-x: auto;
  white-space: nowrap;
}

.market-items-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.market-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.04em;
}

.market-label {
  font-weight: 700;
  text-transform: uppercase;
  color: #555555;
}

.market-val {
  font-weight: 700;
  color: #111111;
}

.market-sep {
  color: #d4d4d4;
}

.m-up {
  color: #15803d;
  font-size: 10px;
}

.m-down {
  color: #b91c1c;
  font-size: 10px;
}

/* Main Newspaper Layout Grid with Vertical Column Rule */
.portal-container {
  max-width: 1240px;
  margin: 18px auto 14px !important;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(310px, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 960px) {
  .portal-container {
    grid-template-columns: 1fr;
  }
}

/* Lead Story (Pääuutinen) */
.lead-article {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  padding: 0 0 26px 0;
  margin-bottom: 26px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .lead-article {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.lead-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 340px;
  background: #111111;
  overflow: hidden;
}

.lead-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b91c1c;
}

.badge-tuoreimmat, .badge-section {
  color: #b91c1c;
  background: none;
  padding: 0;
}

.lead-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.lead-title, .lead-title a {
  margin: 0 0 12px;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #111111;
}

.lead-article:hover .lead-title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.lead-desc {
  margin: 0 0 12px;
  font-size: 15.5px;
  color: #262626;
  line-height: 1.55;
}

.lead-meta {
  font-size: 12px;
  color: #666666;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Section Header */
.section-divider {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 18px;
  padding: 10px 0 0;
  border-top: 2px solid #111111;
}

.section-divider h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111111;
}

.section-count {
  font-size: 12px;
  color: #666666;
  font-weight: 400;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  padding: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #111111;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  font-size: 11px;
  color: #666666;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-subtag {
  color: #b91c1c;
  font-weight: 700;
}

.card-title, .card-title a {
  margin: 0 0 7px;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: #111111;
}

.news-card:hover .card-title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.card-desc {
  margin: 0;
  font-size: 14px;
  color: #262626;
  line-height: 1.5;
}

/* Clean Yle-style Nordic Article View (/uutiset/*.html) */
.article-view {
  background: #ffffff;
  border: 0;
  padding: 4px 0 32px;
}

.article-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e2e2;
}

.article-breadcrumbs {
  font-size: 11.5px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-breadcrumbs a {
  color: #111111;
  cursor: pointer;
}

.article-breadcrumbs a:hover {
  text-decoration: underline;
}

.back-home-btn {
  display: inline-block;
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.back-home-btn:hover {
  background: #111111;
  color: #ffffff;
}

.article-cat-pill {
  display: block;
  color: #b91c1c;
  background: none;
  font-size: 11.5px;
  font-weight: 800;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.article-h1 {
  margin: 0 0 14px;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.14;
  color: #111111;
  letter-spacing: -0.015em;
}

@media (max-width: 640px) {
  .article-h1 { font-size: 29px; }
}

.article-lead {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  color: #222222;
}

.article-byline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 11px 0;
  margin-bottom: 18px;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
  font-size: 11.5px;
  color: #555555;
}

.byline-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.byline-stamp {
  font-weight: 800;
  color: #111111;
}

.byline-sep {
  color: #cccccc;
}

.byline-readtime {
  font-weight: 700;
  color: #444444;
}

.article-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.art-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  color: #111111;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.art-action-btn:hover {
  border-color: #111111;
  background: #f6f6f4;
}

.share-toast {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111111;
  background: #f6f6f4;
  border: 1px solid #111111;
  padding: 4px 8px;
  display: none;
}

.article-hero-wrap {
  margin: 0 0 22px;
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111111;
}

.article-caption {
  margin: 8px 0 0;
  padding-bottom: 10px;
  font-size: 12.5px;
  color: #666666;
  border-bottom: 1px solid #eeeeee;
}

.article-paragraphs {
  max-width: 660px;
}

.article-paragraphs p {
  margin: 0 0 1.25em;
  font-size: 17.5px;
  line-height: 1.68;
  color: #181818;
}

.press-subhead {
  margin: 28px 0 12px;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
  letter-spacing: -0.01em;
}

.article-footer-meta {
  max-width: 660px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid #eeeeee;
}

.aiheet-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.aiheet-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111111;
  margin-right: 4px;
}

.aiheet-tag {
  background: #ffffff;
  border: 1px solid #cccccc;
  color: #111111;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.aiheet-tag:hover {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.korjaus-link-row {
  margin-top: 6px;
}

.korjaus-text-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  color: #666666;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.korjaus-text-btn:hover {
  color: #111111;
}

.korjaus-form-wrap {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  background: #f8f8f6;
  border: 1px solid #e2e2e2;
}

.korjaus-form-wrap.open {
  display: block;
}

.related-box {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 2px solid #111111;
}

.related-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111111;
}

/* Info / Editorial Page View */
.info-view {
  background: #ffffff;
  border: 0;
  padding: 4px 0 32px;
  max-width: 720px;
}

.info-view h1 {
  margin: 0 0 16px;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 700;
  color: #111111;
}

.info-view h2, .info-view h3 {
  margin: 24px 0 8px;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
}

.info-view p, .info-view li {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #262626;
}

.cookie-setting-row {
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}

/* Right Newspaper Column (<aside>) */
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid #e5e5e5;
  padding-left: 24px;
  position: sticky;
  top: calc(var(--header-h, 150px) + 20px);
  align-self: start;
}

@media (max-width: 960px) {
  .sidebar-col {
    position: static;
    border-left: 0;
    padding-left: 0;
  }
}

.load-more-wrap {
  margin-top: 24px;
  text-align: center;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.load-more-btn:hover {
  background: #111111;
  color: #ffffff;
}

.sidebar-widget {
  background: transparent;
  border: 0;
  border-top: 2px solid #111111;
  padding: 12px 0 0 0;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin-bottom: 14px;
}

.widget-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111111;
}

.stream-frame-wrap {
  position: relative;
  width: 100%;
  height: 215px;
  background: #111111;
  overflow: hidden;
  border: 0;
}

.stream-frame-wrap iframe {
  width: 100%;
  height: 215px;
  border: 0;
  display: block;
}

/* Luetuimmat 1-5 */
.most-read-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.most-read-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.most-read-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.most-read-num {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  color: #111111;
  line-height: 1;
  min-width: 20px;
  padding-top: 2px;
}

.most-read-body {
  flex: 1;
}

.most-read-cat {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #b91c1c;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.most-read-title {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  line-height: 1.28;
  display: block;
}

.most-read-item:hover .most-read-title {
  text-decoration: underline;
}

/* Fast News Ticker (Nopeat uutiset) */
.ticker-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticker-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.ticker-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ticker-time {
  font-size: 11px;
  font-weight: 700;
  color: #b91c1c;
  min-width: 56px;
  padding-top: 2px;
  white-space: nowrap;
}

.ticker-content {
  flex: 1;
}

.ticker-cat {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666666;
  margin-bottom: 2px;
}

.ticker-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #111111;
  line-height: 1.35;
  display: block;
}

.ticker-item:hover .ticker-link {
  text-decoration: underline;
}

/* News Tip Form (Uutisvinkki) */
.vinkki-box {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  background: #f6f6f4;
  border: 1px solid #e2e2e2;
  border-top: 2px solid #111111;
  padding: 20px;
  align-items: start;
}

@media (max-width: 768px) {
  .vinkki-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.vinkki-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vinkki-contact {
  font-size: 12.5px;
  color: #666666;
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px solid #e2e2e2;
}

.vinkki-contact strong {
  color: #111111;
}

.tip-desc {
  margin: 0;
  font-size: 13.5px;
  color: #262626;
  line-height: 1.5;
}

.tip-form-group {
  margin-bottom: 12px;
}

.tip-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111111;
  margin-bottom: 5px;
}

.tip-input, .tip-textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #cccccc;
  font-size: 13.5px;
  color: #111111;
  background: #ffffff;
  font-family: inherit;
}

.tip-textarea:focus, .tip-input:focus {
  outline: 1px solid #111111;
  border-color: #111111;
}

.tip-textarea {
  min-height: 68px;
  resize: vertical;
}

.tip-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tip-file-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tip-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  user-select: none;
}

.tip-file-btn:hover {
  background: #111111;
  color: #ffffff;
}

.tip-file-name {
  font-size: 12px;
  color: #666666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.tip-submit-btn {
  width: auto;
  padding: 10px 24px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 0;
  cursor: pointer;
}

.tip-submit-btn:hover {
  background: #262626;
}

.tip-status-msg {
  margin-top: 10px;
  padding: 9px 11px;
  font-size: 12.5px;
  font-weight: 600;
  display: none;
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
}

/* Laki 460/2003 § 4 Compliant Footer */
.site-footer {
  background: #ffffff;
  color: #555555;
  padding: 12px 20px 4px !important;
  margin: 0 !important;
  font-size: 12.5px;
  border-top: 3px double #111111;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal-meta {
  font-size: 12px;
  color: #555555;
  line-height: 1.6;
}

.footer-legal-meta strong {
  color: #111111;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #262626;
  font-weight: 600;
  cursor: pointer;
}

.footer-links a:hover {
  color: #111111;
  text-decoration: underline;
}

/* Finnish GDPR Cookie Consent Bar */
.consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111111;
  color: #f5f5f5;
  border-top: 2px solid #b91c1c;
  padding: 14px 20px;
  z-index: 120;
  display: none;
}

.consent-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.consent-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: #e5e5e5;
  max-width: 820px;
}

.consent-text a {
  color: #ffffff;
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-btn-primary {
  background: #ffffff;
  color: #111111;
  border: 1px solid #ffffff;
  padding: 7px 16px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.consent-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #737373;
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

@media print {
  .top-bar, .nav-bar-wrap, .nordic-market-wrap, .sidebar-col, .vinkki-box, .article-actions, .korjaus-link-row, .related-box, .consent-bar {
    display: none !important;
  }
  .portal-container {
    display: block;
  }
}

/* v22 Compact Footer & Zero Bottom Whitespace */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}
.portal-container {
  margin: 18px auto 14px !important;
}
.site-footer {
  padding: 12px 20px 4px !important;
  margin: 0 !important;
}
.footer-inner,
.footer-top-row,
.footer-legal,
.footer-legal-meta,
.footer-legal p,
.footer-links,
.site-footer div,
.site-footer p {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
  padding-bottom: 0 !important;
  line-height: 1.3 !important;
}
.site-footer *:last-child,
.footer-legal p:last-child,
.footer-legal-meta:last-child {
  margin-bottom: 0 !important;
}
.consent-bar:not(.visible),
.modal-backdrop:not(.open) {
  display: none !important;
}
