@charset "UTF-8";
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  font-size: 62.5%;
}

body {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

a,
input[type=submit] {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

li {
  list-style: none;
}

input,
fieldset,
textarea {
  border: none;
  background: none;
  outline: none;
  border-radius: 0.5rem;
}

.ad-style {
  width: 100%;
  height: auto;
  margin: calc(1rem + 2vh) 0;
}

p img {
  max-width: 800%;
  height: auto !important;
  display: block;
  margin: auto;
}

/* --- Pagination container --- */
.my-pagination {
  display: flex;
  justify-content: center;
  gap: 8px; /* távolság az oldalszámok között */
  list-style: none;
  padding: 1.5rem 0;
  margin: 0;
  font-size: 14px;
  flex-wrap: wrap; /* mobilon törjön új sorba ha kell */
}

/* --- Linkek --- */
.my-pagination a {
  display: inline-block;
  padding: 6px 10px;
  color: #555;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

/* --- Hover effekt --- */
.my-pagination a:hover {
  background: #f0f0f0;
  color: #000;
}

/* --- Aktív oldal --- */
.my-pagination .active span {
  font-weight: bold;
  color: #1f1f1f;
  background: #ececec;
  padding: 6px 10px;
  border-radius: 4px;
}

/* --- Inaktív / disabled --- */
.my-pagination .disabled span {
  color: #aaa;
  padding: 6px 10px;
}

/* --- "…" jelzés --- */
.my-pagination .dots {
  padding: 6px 10px;
  color: #6f6f6f;
}

.my-pagination li {
  display: inline-flex; /* inline-block helyett inline-flex */
  align-items: center; /* vertikálisan középre */
}

/* --- Előző / Következő gombok --- */
.my-pagination li:first-child,
.my-pagination li:last-child {
  font-weight: bold;
}

/* --- Mobil optimalizáció --- */
@media (max-width: 480px) {
  .my-pagination {
    font-size: 12px;
    gap: 4px;
  }
  .my-pagination a,
  .my-pagination .active span,
  .my-pagination .disabled span,
  .my-pagination .dots {
    padding: 4px 6px;
  }
}
.container {
  display: grid;
  grid-template-columns: [container-start] repeat(18, 1fr) [container-end];
  justify-content: center;
}

.overall-layout {
  grid-column: container-start/container-end;
}

.sec-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.padd-d-mc {
  padding: calc(1rem + 6vh) calc(1rem + 4vw);
}

.padd-d-s-l {
  padding: calc(1rem + 1vh) calc(0.5rem + 0.5vw);
}

.padd-d-sc-0 {
  padding: calc(1rem + 1vh) 0;
}

.padd-d-xs-bottom {
  padding-bottom: calc(0.2rem + 0.3vh);
}

.padd-d-xs-s {
  padding: calc(0.2rem + 0.3vh) calc(0.5rem + 0.5vw);
}

.padd-d-sl0l {
  padding: calc(0.5rem + 0.5vh) calc(0.1rem + 4vw) 0 calc(0.1rem + 4vw);
}

.padd-left-xl {
  padding-left: calc(0.1rem + 4vw);
}

.padd-right-xl {
  padding-right: calc(0.1rem + 4vw);
}

.padd-d-scl {
  padding: calc(1rem + 1vh) calc(0.1rem + 4vw);
}

.padd-left-sx {
  padding-left: calc(1rem + 2vw);
}

.padd-top {
  padding-top: calc(1rem + 1vh);
}

.padd-right-sx {
  padding-right: calc(1rem + 2vw);
}

@media (max-width: 900px) {
  .padd-left-sx {
    padding-left: calc(1rem + 1vw);
  }
  .padd-right-sx {
    padding-right: calc(1rem + 1vw);
  }
}
.red-wrapped-title {
  display: inline-block;
  background-color: #a51e25;
  padding: calc(0.2rem + 0.3vh) calc(0.5rem + 0.5vw);
  font-family: "Roboto", sans-serif;
  font-size: calc(1.4rem + 0.1vw);
  font-weight: 500;
  color: white;
  margin: 2rem 0 0.2rem 0;
  letter-spacing: 0.1rem;
}

.red-title {
  padding: calc(0.5rem + 0.5vh) 0;
  font-size: calc(1.4rem + 0.1vw);
  font-weight: 700;
  color: #a51e25;
  margin-bottom: 0.15rem;
}

.sec-category-arrows {
  font-size: calc(1.5rem + 0.65vw);
  font-weight: 700;
  color: #a51e25;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.sec-mini-title {
  font-family: "Playfair Display", serif;
  color: #353539;
  font-size: calc(1.3rem + 0.15vw);
  font-weight: 500;
  line-height: 1.4;
  padding: 1rem 0 0 0;
}

.sec-middlemini-title {
  font-family: "Playfair Display", serif;
  color: #353539;
  font-size: calc(1rem + 0.35vw);
  font-weight: 500;
  line-height: 1.3;
  padding-top: 0.5rem;
}

.sec-middle-title {
  font-family: "Playfair Display", serif;
  color: #353539;
  font-size: calc(1.5rem + 0.3vw);
  font-weight: 500;
  line-height: 1.3;
  padding-top: 0.5rem;
}

.sec-middlemax-title {
  font-family: "Playfair Display", serif;
  color: #353539;
  font-size: calc(1.5rem + 0.65vw);
  font-weight: 500;
  line-height: 1.3;
  padding-top: 0.5rem;
}

.sec-title {
  font-family: "Playfair Display", serif;
  color: #494a4b;
  font-size: calc(1.5rem + 0.8vw);
  font-weight: 700;
  line-height: 1.3;
}

.sec-subscript {
  font-family: "Roboto", sans-serif;
  font-size: calc(1rem + 0.2vw);
  font-weight: 400;
  color: #8c8c8c;
  align-self: flex-start;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  line-height: 1;
}
.sec-subscript:hover {
  color: white !important;
}
.sec-subscript__bold {
  font-size: calc(1.3rem + 0.15vw);
  font-weight: 500;
  align-self: flex-start;
  padding: 1rem 0;
}

.link-hover {
  padding: 0 0.7rem 0.7rem 0.7rem;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}
.link-hover::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 15%;
  left: 0;
  height: 80%;
  width: 100%;
  transform: scaleX(0.05);
  transform-origin: left;
  background-color: #a51e25;
  z-index: -1;
  transition: transform 0.5s ease-in-out;
}
.link-hover:hover::before {
  transform: scaleX(1);
}

.sec-category-name {
  align-self: center;
  font-size: calc(1.4rem + 0.1vw);
  line-height: 1.4;
}

.link-hover_category::before {
  top: 0%;
  height: 80%;
}
.link-hover_category:hover::before {
  transform: scaleX(1);
}

.sec-para, .sec-para-top-0 {
  color: #494a4b;
  font-size: calc(1.3rem + 0.15vw);
  font-weight: 400;
  padding: calc(1rem + 1vh) 0 calc(1rem + 3vh) 0;
  text-align: justify;
  hyphens: auto;
  line-height: 1.6;
}

.sec-para-home {
  color: #494a4b;
  font-size: calc(1.3rem + 0.15vw);
  font-weight: 400;
  padding: calc(1rem + 1vh) 0 0 0;
  text-align: justify;
  hyphens: auto;
  line-height: 1.6;
}

.sec-para-sidebar {
  color: #494a4b;
  font-size: calc(1.3rem + 0.15vw);
  font-weight: 400;
  padding: calc(1rem + 1vh) 0 calc(0.5rem + 0.5vh) 0;
  text-align: justify;
  hyphens: auto;
  line-height: 1.6;
}

.sec-para p:not(:first-of-type), .sec-para-top-0 p:not(:first-of-type) { /* minden, nem első bekezdésre hat, függetlenül attól, mi van előtte. */
  margin-top: 1em;
}

.sec-para-top-0 {
  padding-top: 0;
  line-height: 1.6;
}

.sec-para img, .sec-para-top-0 img {
  max-width: 80%;
  width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
}

.highlighted-paragraph {
  text-align: left;
  color: #a51e25;
  border-left: 4px solid #a51e25;
  padding-left: 12px;
  margin: 1.5em 0;
  font-size: calc(1rem + 0.45vw);
  font-weight: 700;
}

.gal__imgs {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2.5rem;
}

.gal__imgs--img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 5px;
}

.gal__imgs--img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gal__imgs--img:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.modal-img {
  width: 100%;
  height: auto;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

.gallery_prev, .gallery_next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: 0.3s;
}

.gallery_prev {
  left: 10%;
}

.gallery_next {
  right: 10%;
}

.gallery_prev:hover, .gallery_next:hover {
  color: #f1f1f1;
}
@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: whitesmoke;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .sec-para img, .sec-para-top-0 img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
  }
  .modal-content {
    width: 100%;
  }
}
.red-button {
  background-color: #a51e25;
  padding: calc(0.2rem + 0.3vh) calc(0.5rem + 0.5vw);
  font-family: "Roboto", sans-serif;
  font-size: calc(1.4rem + 0.1vw);
  font-weight: 700;
  color: white;
  max-width: -moz-fit-content;
  max-width: fit-content;
  /* A tartalomhoz igazodik a szélesség */
}

.newspaper {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: calc(1rem + 1vh) 0;
}
.newspaper__img {
  width: calc(6rem + 4vw);
  margin: 0.5rem;
}
.newspaper__img img {
  max-width: 100%;
}

.social, .social-x, .social-telegram, .social-facebook {
  width: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(0.5rem + 0.5vh) calc(0.5rem + 0.5vw);
  font-size: calc(1.2rem + 0.15vw);
  font-weight: 400;
  color: white;
  margin: 1rem 0 0.2rem 0;
  border-radius: 2rem;
}

.social-facebook {
  background-color: #3b5998;
}

.social-telegram {
  background-color: #0088cc;
}

.social-x {
  background-color: #353539;
}

.social-x {
  background-color: #353539;
}

.search, .search-type, .search-button, .search-input {
  width: 80%;
  justify-self: center;
  display: flex;
  justify-content: space-between;
  padding: calc(0.5rem + 0.5vh) calc(0.5rem + 0.5vw);
  font-size: calc(1.2rem + 0.15vw);
  font-weight: 400;
  color: #494a4b;
  margin: 1rem 0 0.2rem 0;
  border-radius: 4rem;
  min-height: auto;
  height: auto;
  flex-shrink: 0;
  background-color: #ebebeb;
}

.search-input {
  width: 40%;
  margin: 0.2rem;
  padding: calc(0.5rem + 0.5vh) calc(0.5rem + 0.5vw);
  background-color: white;
  color: #cecece;
}

.search-button {
  width: auto;
  margin: 0.2rem;
  padding: calc(0.5rem + 0.5vh) calc(0.5rem + 0.5vw);
  background-color: #cecece;
  border: 0;
  cursor: pointer;
}

.search-button:disabled {
  opacity: 0.5; /* áttetsző */
  cursor: not-allowed; /* tilos jel */
}

.search-type {
  width: 30%;
  margin: 0.2rem;
  padding: calc(0.5rem + 0.5vh) calc(0.5rem + 0.5vw);
  background-color: white;
  border: 0.1rem solid #ebebeb;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.pagination ul {
  list-style: none;
  display: flex;
  gap: 5px;
  padding: 0;
}
.pagination ul li {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f9f9f9;
}
.pagination ul li.active {
  background: #007bff;
  color: white;
  font-weight: bold;
}
.pagination ul li.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.pagination ul li a {
  text-decoration: none;
  color: #333;
}
.pagination ul li a:hover {
  color: #007bff;
}

.topbar {
  background-color: #a51e25;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.topbar__info, .topbar__search {
  color: white;
  font-size: calc(1rem + 0.2vw);
}
.topbar__info--social, .topbar__search--social {
  color: white;
  font-size: calc(1.5rem + 0.3vw);
  padding-right: 1rem;
}

.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: all 0.6s ease;
  /* Hamburger Menü */
  /* Mobil Menü */
}
.header__logo {
  display: flex;
  justify-content: space-between;
  width: 75%;
}
.header__logo--img {
  border-bottom: 0.1rem solid #494a4b;
}
.header__logo--img img {
  width: calc(18rem + 10vw);
  transition: transform 0.6s ease;
}
.header__logo--nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 0.5rem 2rem;
  width: 100%;
  border-bottom: 0.1rem solid #494a4b;
}
.header__logo--nav__search {
  align-self: flex-end;
  display: flex;
  align-items: center;
  border: 0.1rem solid #ccc;
  border-radius: 25px;
  overflow: hidden;
  width: 25rem;
  margin-top: 2rem;
}
.header__logo--nav__search--input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.6rem 1rem;
  font-size: 14px;
  color: #7f7f7f;
}
.header__logo--nav__search--button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem 0 1rem;
  font-size: 2rem;
}
.header__logo--nav__links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5vw;
}
.header__logo--nav__links__link {
  font-family: "Roboto", sans-serif;
  text-wrap: nowrap;
  color: #494a4b;
  font-size: calc(1rem + 0.45vw);
  font-weight: 400;
}
.header__logo--nav__links__link:hover {
  color: #a51e25;
}
.header__logo--nav__links .active {
  color: #a51e25;
}
.header__egyesulet {
  display: flex;
  width: 25%;
  justify-content: center;
  align-self: center;
  padding-top: 1rem;
}
.header__egyesulet--logo {
  height: calc(6rem + 3vw);
}
.header__egyesulet--logo img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}
.header.sticky {
  position: fixed;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(0.1rem);
  animation: smoothScroll 1s ease forwards;
  padding: 0 3rem;
  height: auto;
  border-bottom: 0.1rem solid #cecece;
}
.header.sticky .header__logo--img {
  border-bottom: none;
}
.header.sticky .header__logo--img img {
  transform: scale(0.8);
}
.header.sticky .header__logo--nav {
  padding-bottom: 2rem;
  border-bottom: none;
}
.header.sticky .header__egyesulet--logo {
  height: 10rem;
}
.header.sticky .header__egyesulet--logo img {
  height: 100%;
  transform: scale(0.9);
}
@media (max-width: 1274px) {
  .header.sticky .hamburger {
    padding-top: 2rem;
  }
}
.header:not(.sticky) .header__logo--img img {
  transition: transform 0.6s ease;
  transform: scale(1);
}
.header:not(.sticky) .header__egyesulet--logo {
  transition: transform 0.6s ease;
}
.header:not(.sticky) .header__egyesulet--logo img {
  transition: transform 0.6s ease;
  transform: scale(1);
}
@keyframes smoothScroll {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.header .hamburger {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  padding: 1rem 0 0 4rem;
  z-index: 1100;
}
@media (max-width: 450px) {
  .header .hamburger {
    padding: 0;
  }
}
.header .hamburger span {
  width: 2.5rem;
  height: 0.1rem;
  background-color: #494a4b;
  transition: all 0.4s ease;
}
.header .mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(0.1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: right 0.4s ease;
  z-index: 1000;
}
.header .mobile-menu__link {
  color: #494a4b;
  font-size: calc(1.5rem + 0.65vw);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}
.header .mobile-menu__link:hover {
  color: #a51e25;
}
.header .mobile-menu.active {
  right: 0;
}
@media (max-width: 1350px) {
  .header .header__egyesulet {
    order: 3;
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
  }
}
@media (max-width: 1440px) {
  .header__logo--nav__links {
    gap: calc(0.5rem + 1.5vw);
  }
}
@media (max-width: 1250px) {
  .header__logo--img img {
    width: calc(14rem + 10vw);
  }
  .header__logo--nav__links {
    gap: calc(0.3rem + 1vw);
  }
}
@media (max-width: 1050px) {
  .header__logo--nav {
    align-self: flex-end;
    padding: 0 0 1rem 0.5rem;
  }
  .header__egyesulet--logo {
    height: calc(5.5rem + 2vw);
  }
}
@media (max-width: 999px) {
  .header {
    justify-content: space-between;
  }
  .header .header__logo--nav {
    display: none;
  }
  .header .hamburger {
    order: 2;
    display: flex;
    margin-left: auto;
    padding-right: 2rem;
  }
  .header .header__egyesulet {
    order: 3;
    flex: 0 0 auto;
    width: auto;
  }
}

.first-section {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 1rem;
}
.first-section__card {
  display: grid;
  position: relative;
  width: 100%;
  height: 20rem;
}
.first-section__card img {
  height: 100%;
  width: 100%;
  border-radius: 0.5rem;
  -o-object-fit: cover;
     object-fit: cover;
  overflow: hidden;
}
.first-section__card--title {
  position: absolute;
  font-family: "Roboto", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: left;
  padding: 0.5rem 1rem;
  font-size: calc(1rem + 0.35vw);
  line-height: 1.4;
  color: #ffffff;
  bottom: 3%;
  left: 3%;
  right: 3%;
  -webkit-backdrop-filter: blur(15px);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(0.1rem);
}
.first-section__card:hover .first-section__card--title {
  background: rgba(98, 0, 0, 0.23);
}

/* Tablet firstot feloszatni, sidebarokat összehozni, main lent*/
@media (min-width: 770px) and (max-width: 1175px) {
  .first-section {
    grid-template-columns: repeat(2, minmax(25rem, 1fr));
    gap: 1.5rem;
  }
}
.sidebar {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sidebar__box {
  width: 100%;
  font-size: calc(1.2rem + 0.15vw);
  font-weight: 400;
  color: rgba(53, 53, 57, 0.8);
  align-self: flex-start;
  border: 1px solid rgba(53, 53, 57, 0.15);
  margin: 1.5rem 0 1rem 0;
}
.sidebar__placecard {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(1rem + 1vh) 0;
  border-bottom: solid 0.1rem #cecece;
}
.sidebar__placecard--img {
  width: calc(6rem + 4vw);
  margin: 0.5rem;
}
.sidebar__placecard--img img {
  max-width: 100%;
}
.sidebar__placecard--info {
  font-size: calc(1.2rem + 0.15vw);
  font-weight: 400;
  color: #353539;
  text-align: justify;
  hyphens: auto;
  overflow-wrap: break-word;
  word-spacing: 0.1rem;
}
.sidebar__placecard--info a {
  color: #494a4b;
  display: flex;
  flex-direction: column;
}
.sidebar__placecard--info a:hover {
  color: #353539;
}
.sidebar__recent {
  width: 100%;
  display: flex;
}
.sidebar__recent--img {
  margin: 2rem 1.5rem 0 0;
  width: 15rem;
  height: 10rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.sidebar__recent--title {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}
.sidebar__popular {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.sidebar__popular--img {
  margin: 2rem 1.5rem 0 0;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.sidebar__popular--title {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}
.sidebar__tags {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.main-content {
  display: grid;
  grid-template-columns: [container-start] repeat(18, 1fr) [container-end];
}
.main-content .main {
  grid-column: span 8;
}
.main-content .main__post {
  display: flex;
  flex-direction: column;
  padding-bottom: calc(0.5rem + 0.5vh);
  border-bottom: 0.1rem solid rgba(73, 74, 75, 0.2);
}
.main-content .main__post--document {
  padding-top: calc(0.5rem + 0.5vh);
}
.main-content .main__post--document:hover {
  color: #494a4b;
}
.main-content .main__post--title {
  display: block;
  padding-top: calc(0.5rem + 0.5vh);
  padding-bottom: calc(1rem + 1vh);
}
.main-content .main__post--title:hover {
  color: #a51e25;
}
.main-content .main__post img {
  width: 100%;
}
@media (max-width: 900px) {
  .main-content {
    grid-template-columns: [container-start] repeat(16, 1fr) [container-end];
    grid-template-rows: auto auto;
  }
  .main-content .sidebar:first-of-type {
    grid-column: span 8;
    grid-row: 1;
  }
  .main-content .sidebar:last-of-type {
    grid-column: span 8;
    grid-row: 1;
  }
  .main-content .main {
    grid-column: span 16;
    grid-row: 2;
    padding: 0 calc(0.1rem + 4vw);
  }
}

.meta {
  font-size: calc(1rem + 0.2vw);
  font-weight: 400;
  color: rgba(73, 74, 75, 0.5);
  padding-left: calc(0.1rem + 0.2vw);
}

.subscript {
  align-self: flex-start;
  font-size: calc(1rem + 0.2vw);
  color: rgba(73, 74, 75, 0.8);
  padding: calc(1rem + 1vh) 0;
}

.category {
  align-self: flex-start;
  padding-bottom: calc(0.5rem + 0.5vh);
}

.date {
  font-family: "Roboto", sans-serif;
  align-self: flex-start;
  padding: calc(0.2rem + 0.3vh) 0 calc(0.5rem + 0.5vh) 0;
}

.author {
  align-self: flex-start;
  padding-top: calc(0.5rem + 0.5vh);
}

.viewers {
  align-self: flex-end;
  padding-top: calc(0.5rem + 0.5vh);
}

.tag {
  margin: 0.6rem;
  padding: 0.2rem 0.8rem;
  font-size: 10px;
  color: rgba(73, 74, 75, 0.5);
  border-radius: 1rem;
  border: 1px solid rgba(73, 74, 75, 0.5);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.tag:hover {
  color: #cecece;
  border-color: #cecece;
}

.tovabb {
  font-size: calc(1.5rem + 0.65vw);
  font-weight: 500;
  color: rgba(165, 30, 37, 0.6);
  margin-left: auto;
  font-style: italic;
}
.tovabb:hover {
  color: #a51e25;
}

.footer {
  background-color: #353539;
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: start;
  -moz-column-gap: 8rem;
       column-gap: 8rem;
  padding-top: calc(1rem + 1vw);
}
.footer__col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__col--title {
  color: white;
  border-bottom: 0.1rem solid #a51e25;
  font-family: "Roboto", sans-serif;
  font-size: calc(1.5rem + 0.65vw);
  font-weight: 400;
}
.footer__col--title-mini {
  font-family: "Roboto", sans-serif;
  font-size: calc(1.2rem + 0.15vw);
  font-weight: 300;
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.2rem;
}
.footer__col--text {
  font-family: "Roboto", sans-serif;
  font-size: calc(1.2rem + 0.15vw);
  font-weight: 300;
  text-align: justify;
  hyphens: auto;
  color: #ebebeb;
  padding-top: 0;
}
@media (max-width: 900px) {
  .footer {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 4rem;
  }
  .footer__col:first-child {
    grid-column: span 2;
  }
}
.footer .copyright {
  grid-column: 1/-1;
  font-family: "Roboto", sans-serif;
  font-size: calc(1rem + 0.2vw);
  font-weight: 300;
  color: #ebebeb;
  margin: auto;
}

.total img {
  width: 100%;
}

.columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: calc(0.8rem + 2.5vw);
       column-gap: calc(0.8rem + 2.5vw);
}
.columns__post {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(1rem + 1vh) 0;
  border-bottom: 0.1rem solid rgba(73, 74, 75, 0.2);
}
.columns__post--document {
  padding-top: calc(0.5rem + 0.5vh);
}
.columns__post--document:hover {
  color: #494a4b;
}
.columns__post--title {
  display: block;
  padding-bottom: calc(1rem + 1vh);
}
.columns__post--title:hover {
  color: #a51e25;
}
.columns__post img {
  width: 100%;
}
.columns__media {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.columns__media--img {
  width: 65%;
  margin: 0 auto;
  position: relative;
}
.columns__media--img__title {
  position: absolute;
  top: 4rem;
  left: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: left;
  padding: 1rem 2rem;
  font-size: calc(1.3rem + 0.15vw);
  color: rgba(255, 255, 255, 0.6588235294);
  background: rgba(15, 15, 15, 0.15);
  border-radius: 0 8px 8px 0;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}
.columns__media--img img,
.columns__media--img video {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: 3px;
}
.columns__media--img iframe {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: 3px;
  aspect-ratio: 16/9;
  height: auto;
}

@media (max-width: 768px) {
  /* Ha a kijelző szélessége 768px-nél kisebb */
  .columns {
    grid-template-columns: 1fr;
    /* 1 oszlopos elrendezés */
  }
}
.category {
  display: grid;
  gap: calc(0.5rem + 1vw) calc(0.5rem + 3vw);
}
.category-header {
  grid-column: span 4;
  display: flex;
  justify-content: space-between;
}
.category__name {
  border-left: 0.3rem solid #a51e25;
  padding-left: 0.8rem;
  color: #a51e25;
}
.category__post {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 0.1rem solid rgba(73, 74, 75, 0.2);
}
.category__post img {
  width: 100%;
}
.category__post--title {
  padding-top: calc(1rem + 1vh);
}
.category__post--title:hover {
  color: #a51e25;
}
.category__post--container {
  grid-column: span 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(0.5rem + 1vw) calc(0.5rem + 3vw);
  overflow: hidden;
}

.news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: calc(0.5rem + 2.5vw);
       column-gap: calc(0.5rem + 2.5vw);
  width: 100%;
}
.news__post {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(1rem + 1vh) 0;
  border-bottom: 0.1rem solid rgba(73, 74, 75, 0.2);
}
.news__post--title {
  padding: calc(0.5rem + 0.5vh) 0;
}
.news__post--title:hover {
  color: #a51e25;
}
.news__post img {
  width: 100%;
}

@media (max-width: 768px) {
  /* Ha a kijelző szélessége 768px-nél kisebb */
  .columns {
    grid-template-columns: 1fr;
    /* 1 oszlopos elrendezés */
  }
}
.contact__form {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__form--input {
  width: 100%;
  resize: vertical;
  border: 0.1rem solid #ccc;
  border-radius: 25px;
  overflow: hidden;
  margin-top: 2rem;
  outline: none;
  padding: 0.6rem 1rem;
  font-size: 14px;
  color: #666666;
}
.contact__form--button {
  background: #c5c5c5;
  border-radius: 25px;
  overflow: hidden;
  margin-top: 2rem;
  outline: none;
  padding: 0.8rem 1.2rem;
  font-size: 14px;
  letter-spacing: 0.1rem;
  color: white;
  border: none;
  cursor: pointer;
}
.contact__form--button:hover {
  background: white;
  color: #c5c5c5;
  border: 0.1rem solid #c5c5c5;
  transition: all 0.6s ease;
}

.post {
  display: grid;
  grid-template-columns: [container-start] repeat(18, 1fr) [container-end];
  gap: calc(1rem + 2vw);
}
.post__text {
  display: grid;
  grid-column: span 12;
  position: relative;
}
.post__text--title {
  margin: 2rem 0;
}
.post__text .post-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: calc(0.5rem + 0.5vh);
  border-bottom: 0.1rem solid rgba(73, 74, 75, 0.2);
}
.post__text .post-content-wrapper img {
  padding: 0.5rem 8rem 2rem 8rem;
  width: 100%;
}
.post__text .post-content-wrapper .post__text--info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 2rem 8rem 0 8rem;
}
.post__text .post-content-wrapper .post__text--info .author-date {
  display: flex;
  flex-direction: column;
}
.post__text .post-content-wrapper .post__text--info .post-category {
  align-self: flex-end;
  padding-right: calc(0.1rem + 0.2vw);
}
.post__text .post-content-wrapper .post__text--tags {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.post__text .post-content-wrapper .post__text--social {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.post__text .post-content-wrapper .post__text--social__container .social-icon {
  font-size: 2.2rem;
  color: #494a4b;
  padding: calc(0.5rem + 0.5vh) 0 calc(0.5rem + 0.5vh) calc(0.5rem + 0.5vw);
}
.post__sidebar {
  grid-column: span 6;
  position: relative;
}
.post__sidebar .sidebar-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.prev-next {
  display: flex;
  gap: 5rem;
  justify-content: space-between;
  padding: calc(1rem + 1vh) 0 calc(0.5rem + 0.5vh) 0;
  width: 100%;
}
.prev-next .prev {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.prev-next .prev__name {
  letter-spacing: 0.2rem;
  font-size: calc(1rem + 0.2vw);
  font-weight: 500;
  color: rgba(73, 74, 75, 0.8);
  text-transform: uppercase;
  align-self: flex-start;
}
.prev-next .prev__title {
  text-align: left;
}
.prev-next .next {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.prev-next .next__name {
  letter-spacing: 0.2rem;
  font-size: calc(1rem + 0.2vw);
  font-weight: 500;
  color: rgba(73, 74, 75, 0.6);
  text-transform: uppercase;
  align-self: flex-end;
}
.prev-next .next__title {
  text-align: right;
}
.prev-next .prev:empty,
.prev-next .next:empty {
  visibility: hidden;
}

@media (max-width: 700px) {
  .post__text {
    grid-column: span 18;
  }
  .post__sidebar {
    grid-column: span 18;
  }
}
