.news {
  width: min(var(--front-container), calc(100% - 32px));
  margin: 22px auto 50px;
  padding: 22px;
  border: 1px solid var(--front-line);
  border-radius: var(--front-radius-lg);
  background: var(--front-surface);
  box-shadow: var(--front-shadow);
  overflow: auto;
}

.news h1 {
  margin: 0 0 16px;
  color: var(--front-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.news .content_pad {
  padding: 0;
}

.news .cover_img {
  overflow: hidden;
  border-radius: var(--front-radius-md);
}

.news .cover_img .val {
  margin-bottom: 18px;
}

.news .cover_img.img_align_left,
.news .cover_img.img_align_right {
  overflow: visible;
  border-radius: 0;
}

.news .cover_img .val.img_align_left,
.news .cover_img .val.img_align_right {
  margin-bottom: 16px;
}

.news .cover_img .val.img_align_left {
  margin-right: 22px;
}

.news .cover_img .val.img_align_right {
  margin-left: 22px;
}

.news .cover_img img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--front-radius-md);
  box-shadow: var(--front-shadow);
}

.news .column.right {
  width:360px;
  margin-left:50px;
  display: block;
  float: right;
  vertical-align: top;
  overflow: auto;
}
.dane_newsa {margin-top: 20px;}

.extra_foto_wrapper {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; margin: 28px 0; text-align: center;}
.extra_foto {max-width: none; display: inline-block; vertical-align: top; margin: 0}
.extra_foto img {max-height: 250px;}
.extra_foto .fotka_podpis {max-width: 340px; font-size: .95rem; line-height: 1.45; color: var(--front-text); display: inline-block; padding-top: 10px;}


.val.projekt_opis {margin-right: 20px;}

.news_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.news .news_action,
.news .news_action a,
.news a.news_action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid var(--front-line);
  border-radius: var(--front-radius-sm);
  background: var(--front-surface);
  background-image: none;
  color: var(--front-primary-dark);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

main .news .news_actions .news_action a:not(.front-btn):not(.icon-card),
main .news .news_actions a.news_action:not(.front-btn):not(.icon-card),
main .news .news_actions .news_action a:not(.front-btn):not(.icon-card):hover,
main .news .news_actions a.news_action:not(.front-btn):not(.icon-card):hover,
main .news .news_actions .news_action a:not(.front-btn):not(.icon-card):focus-visible,
main .news .news_actions a.news_action:not(.front-btn):not(.icon-card):focus-visible {
  text-decoration: none;
}

.news div.news_action {
  padding: 0;
}

.news .news_action a,
.news a.news_action {
  padding: 11px 16px;
}

.news div.news_action a {
  width: 100%;
  background: transparent;
}

.news a.news_action {
  width: auto;
}

.news .news_action--download {
  border-color: rgba(15, 143, 122, .34);
  background: var(--front-accent-soft);
}

.news .news_action--download a {
  color: #0b6f61;
}

.news .news_action--link {
  border-color: rgba(216, 111, 60, .34);
  background: #fff1e9;
}

.news .news_action--link a {
  color: #9b4c25;
}

.news a.news_action--back {
  border-color: var(--front-line);
  background: var(--front-surface);
  color: var(--front-primary-dark);
}

.news .news_action:hover,
.news .news_action:focus-within,
.news a.news_action:hover,
.news a.news_action:focus-visible {
  border-color: var(--front-primary);
  background: #f5fbff;
  color: var(--front-primary-dark);
  box-shadow: 0 0 0 4px var(--front-focus);
  transform: translateY(-1px);
}

.news .news_action:hover a,
.news .news_action:focus-within a {
  color: var(--front-primary-dark);
}

.news .news_action--download:hover,
.news .news_action--download:focus-within {
  border-color: var(--front-accent);
  background: #d7f0eb;
}

.news .news_action--link:hover,
.news .news_action--link:focus-within {
  border-color: var(--front-warm);
  background: #ffe6d7;
}

.news .news_action--download a::before,
.news .news_action--link a::before,
.news .news_action--back::before {
  display: inline-block;
  margin-right: 8px;
  color: var(--front-primary);
  font-weight: 900;
}

.news .news_action--download a::before {
  content: "\2193";
  color: var(--front-accent);
}

.news .news_action--link a::before {
  content: "\2197";
  color: var(--front-warm);
}

.news .news_action--back::before {
  content: "\2190";
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  line-height: inherit;
}

.news a.news_action--back:hover::before,
.news a.news_action--back:focus-visible::before {
  color: var(--front-primary);
  background: transparent;
}

@media screen and (max-width:768px) {

.news {
    width: min(var(--front-container), calc(100% - 24px));
    padding: 16px;
}

.extra_foto_wrapper {
    grid-template-columns: 1fr;
}

.news_actions {
    flex-direction: column;
    align-items: flex-start;
}

.news .val {
    margin: 5px auto;
    text-align: center;
}

.news .cover_img .val.img_align_left,
.news .cover_img .val.img_align_right {
    float: none;
    max-width: 100%;
    margin: 5px auto 18px;
}

.news .cover_img img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
}
}
