/* home */

/* hero */

.hero {
  width: 100%;
  height: 100dvh;
  margin-block: 0 38px;
  position: relative;
}

.hero .main-header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.heroSwiper {
  height: inherit;
}
.heroSwiper .card-wrapper {
  height: inherit;
}
.heroSwiper .card--image {
  height: 100%;
}
.heroSwiper .card--info {
  display: none;
}

.hero-thumbnails {
  bottom: 47px;
  right: var(--padding);
  position: absolute;
  width: calc(100% - 102px - var(--padding));
}
.hero-thumbnails .swiper-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: 45% 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px 11px;
}

.hero-thumbnails .swiper-wrapper > div {
  width: 100% !important;
  cursor: pointer;
  box-sizing: border-box;
}
.hero-thumbnails .card {
  background-color: rgba(18, 28, 35, 0.7);
  padding: 12px 14px;
  color: #fff;
}
.hero-thumbnails .comment-icon {
  filter: brightness(0) invert(1);
}
.hero-thumbnails .card--details {
  display: none;
}
.hero-thumbnails .swiper-wrapper > .swiper-slide-thumb-active {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  width: 100%;
  position: relative;
}
.swiper-slide-thumb-active .card {
  display: block;
  padding: 34px 37px;
}
.swiper-slide-thumb-active .card .card--info {
  height: 100%;
  padding-left: 0;
}
.swiper-slide-thumb-active .card--image {
  display: none;
}
.swiper-slide-thumb-active .card--details {
  margin-top: auto;
  display: flex;
}
.hero-thumbnails .swiper-slide-thumb-active .card .title {
  font-size: 40px;
}
.hero-thumbnails .card .title {
  font-size: 20px;
}
.hero-thumbnails .card .card--image {
  width: 150px;
  height: 103px;
}
.hero-thumbnails .swiper-slide.swiper-slide-thumb-active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 9px;
  transform-origin: left;
  left: 0;
  bottom: 0;
  background-color: #cb2329;
  transform: scaleX(var(--time));
}

@media screen and (max-width: 1760px) {
  .hero-thumbnails {
    width: calc(100% - 2 * var(--padding));
  }
}
@media screen and (max-width: 1580px) {
  .hero-thumbnails .swiper-wrapper {
    grid-template-columns: auto 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .hero-thumbnails .card--info {
    display: none;
    padding-right: 0;
  }
  .swiper-slide-thumb-active .card .card--info {
    display: block;
  }
  .hero-thumbnails .card--image {
    height: auto !important;
    aspect-ratio: 16/9;
  }
  .hero-thumbnails .swiper-slide {
    height: 100%;
  }
}
@media screen and (max-width: 1320px) {
  .hero-thumbnails .swiper-slide-thumb-active .card .title {
    font-size: 30px;
  }
  .hero-thumbnails .swiper-wrapper {
    gap: 4px 8px;
  }
  .swiper-slide-thumb-active .card {
    padding: 28px 1rem 25px 24px;
  }
  .hero-thumbnails {
    bottom: 2rem;
  }
}
@media screen and (max-width: 1120px) {
  .hero-thumbnails .card {
    padding: 6px 8px;
  }
}
@media screen and (max-width: 920px) {
  .hero-thumbnails {
    bottom: 1rem;
  }
  .hero-thumbnails .swiper-wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr auto;
  }
  .hero-thumbnails .swiper-wrapper > .swiper-slide-thumb-active {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }
  .hero-thumbnails .card--image {
    width: 100% !important;
  }
}
@media screen and (max-width: 720px) {
  .hero {
    height: auto;
    margin-top: 0;
  }
  .hero-thumbnails {
    display: none;
  }
  .heroSwiper .swiper-wrapper {
    flex-direction: column;
  }
  .heroSwiper .card--info {
    display: block;
    margin-top: 0;
    box-sizing: border-box;
    width: 100%;
    background-color: transparent;
    color: var(--colorTxt);
    padding: 1rem var(--padding) 31px;
  }
  .heroSwiper .card--image {
    height: calc(100vw * 9 / 16);
  }
  .heroSwiper .card .title {
    font-size: 30px;
    line-height: 1;
  }
}

@media screen and (max-width: 520px) {
  .heroSwiper .card--info {
    padding-top: 11px;
  }
}
@media screen and (max-width: 460px) {
  .heroSwiper .card--image {
    aspect-ratio: 1;
    height: auto;
    overflow: hidden;
  }
}

/* top */

.home-top-section {
  margin-bottom: 69px;
}

.top-grid {
  display: grid;
  grid-template-columns: 404px 55px 1fr 71px;
  padding-left: var(--padding);
}

.top-grid .latest-news {
  grid-column: 1 / 2;
  grid-row: 1 / 5;
}

.top-grid .major-news {
  grid-column: 3 / -1;
  grid-row: 1 / 2;
}
.top-grid .sec-news {
  grid-column: 3 / -2;
  grid-row: 2 / 3;
}
.top-grid .para-news {
  grid-column: 3 / -2;
  grid-row: 3 / 4;
}
.top-grid .space-news {
  grid-column: 3 / -2;
  grid-row: 4 / 5;
}

@media screen and (max-width: 1780px) {
  .top-grid {
    grid-template-columns: 404px 2rem 1fr 71px;
  }
}
@media screen and (max-width: 1680px) {
  .top-grid .latest-news {
    grid-row: 1 / 4;
  }
  .top-grid .space-news {
    grid-column: 1 / -2;
  }
}
@media screen and (max-width: 1420px) {
  .top-grid .latest-news {
    grid-row: 1 / 3;
  }
  .top-grid .para-news {
    grid-column: 1 / -2;
  }
}
@media screen and (max-width: 1020px) {
  .top-grid {
    padding-left: 0;
    grid-template-columns: var(--padding) 1fr var(--padding);
  }
  .top-grid .major-news {
    grid-column: 1 / -1;
  }
  .top-grid .latest-news,
  .top-grid .para-news,
  .top-grid .space-news,
  .top-grid .sec-news {
    grid-column: 2 / 3;
  }
  .top-grid .latest-news {
    grid-row: 3 / 4;
    margin-bottom: 52px;
  }
  .top-grid .para-news {
    grid-row: 4 / 5;
  }
  .top-grid .space-news {
    grid-row: 5 / 6;
  }
  .top-grid .space-news,
  .top-grid .para-news {
    grid-column: 1 / -1;
  }
}

/* major news */

.major-news {
  background-color: #121c23;
  padding: 42px 0 40px 130px;
  margin-bottom: clamp(52px, 6vw, 100px);
}

.major-news aside {
  display: none;
}

.major-wrapper .section-header {
  display: block;
  color: #fff;
}

.major-wrapper {
  padding-inline: 2rem;
  max-width: 1122px;
  gap: 100px;
}

.major-news .comment-icon {
  filter: brightness(0) invert(1);
}

@media screen and (max-width: 1780px) {
  .major-news {
    padding-inline: 3rem;
  }
}
@media screen and (max-width: 1560px) {
  .major-news {
    padding-inline: 0;
  }
  .major-wrapper {
    gap: 3rem;
    padding-inline: var(--padding);
  }
}
@media screen and (max-width: 1360px) {
  .major-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
}
@media screen and (max-width: 520px) {
  .major-wrapper {
    gap: 70px;
  }
  .major-news .card--info {
    margin-top: 0;
    width: 100%;
    padding: 25px 0 0;
  }
  .major-news .card--image {
    width: calc(100% + 2 * var(--padding));
    margin-left: calc(-1 * var(--padding));
  }
  .major-news aside {
    display: block;
    order: 1;
    margin-bottom: 0;
  }
  .major-opinion-card {
    order: 2;
  }
}

/* top second level  news */

.sec-news-wrapper {
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: clamp(65px, 6vw, 103px);
}

.sec-news-wrapper > div {
  flex: 1;
}

.sec-news-wrapper .comment-icon {
  filter: brightness(0) invert(1);
}

.sec-news aside {
  display: none;
}

@media screen and (max-width: 1720px) {
  .sec-news-wrapper {
    gap: 20px;
  }
}
@media screen and (max-width: 1620px) {
  .sec-news-wrapper > div:first-child {
    width: 100%;
    flex: unset;
  }
}
@media screen and (max-width: 1280px) {
  .sec-news-wrapper > div {
    width: 100%;
    flex: unset;
  }
}
@media screen and (max-width: 1020px) {
  .sec-news-wrapper .comment-icon {
    filter: brightness(0);
  }
}

@media screen and (max-width: 820px) {
  .sec-news-wrapper .card .card--info {
    padding: 0 0 0 1rem;
  }
}
@media screen and (max-width: 820px) {
  .sec-news aside {
    display: block;
    margin: 65px auto 0;
  }
}

/* home latest */

.top-grid .latest-news > aside {
  display: none;
}

@media screen and (max-width: 820px) {
  .top-grid .latest-news > aside {
    display: block;
    margin: 0 auto;
  }
}

/* para news */

.para-news {
  margin-bottom: clamp(62px, 6.5vw, 114px);
  position: relative;
  min-height: 416px;
  background-color: var(--colorTxt);
  padding: 64px 53px;
}

.para-news .section-header {
  display: block;
  color: #fff;
  position: relative;
  z-index: 2;
}

.para-news .card--image {
  position: absolute;
  right: 0;
  top: 0;
  width: 63%;
  height: 100%;
}

.para-news .card--image::after {
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  background: #121c23;
  background: linear-gradient(
    90deg,
    rgba(18, 28, 35, 1) 0%,
    rgba(18, 28, 35, 0) 100%
  );
}

.para-news .card--info {
  margin: 0;
  width: 50%;
  padding: 0 0 2rem;
  background-color: transparent;
  max-width: 522px;
}
.para-news .card .title {
  font-size: 40px;
  line-height: 50px;
}

@media screen and (max-width: 1580px) {
  .para-news {
    padding: 2rem;
  }
  .para-news .card .title {
    font-size: 35px;
    line-height: 40px;
  }
}

@media screen and (max-width: 1020px) {
  .para-news .card .title {
    font-size: 30px;
    line-height: 1;
  }
}
@media screen and (max-width: 820px) {
  .para-news {
    height: 507px;
  }
  .para-news .card--image {
    width: 100%;
    top: unset;
    bottom: 0;
    height: 300px;
  }
  .para-news .card--image::after {
    background: linear-gradient(
      180deg,
      rgba(18, 28, 35, 1) 0%,
      rgba(18, 28, 35, 0) 100%
    );
  }
  .para-news .card--info {
    width: 100%;
    max-width: 600px;
  }
}
/* space news */

.space-news {
  background: #333;
  background-size: cover;
  padding-block: 39px 67px;
}

.space-news-wrapper {
  padding-inline: 50px;
}

.space-news .section-header {
  color: #fff;
  display: block;
}

.space-news .main-card .card--info {
  color: #fff;
}
.space-news .column .card--info {
  background-color: rgba(18, 28, 35, 0.5);
  color: #fff;
  padding: 28px 35px 18px 24px;
}

.space-news .column > div:not(:last-of-type) {
  margin-bottom: 17px;
}

.space-news .comment-icon {
  filter: brightness(0) invert(1);
}
@media screen and (max-width: 1420px) {
  .space-news-wrapper {
    padding-inline: 2rem;
  }
}
@media screen and (max-width: 1120px) {
  .space-news .inner-grid {
    flex-direction: column;
  }
  .space-news .inner-grid > div {
    width: 100%;
  }
  .space-news .inner-grid .column {
    padding-left: 0;
  }
  .space-news .column .card--info {
    padding: 0 0 0 24px;
    background-color: transparent;
  }
  .space-news .column > div:not(:last-of-type) .card {
    border-bottom: 1px solid #fff;
    padding-bottom: 1rem;
  }
}
@media screen and (max-width: 620px) {
}

/* latest */

.latest-container {
  position: sticky;
  top: 0;
}

.latest-header {
  font-size: 40px;
  line-height: 45px;
  border-bottom: 4px solid var(--colorTxt);
  margin-bottom: 18px;
  position: relative;
  font-family: "Ubuntu Condensed", sans-serif;
  font-weight: 400;
}

.latest-header::after {
  content: "";
  border-bottom: 1px solid var(--colorTxt);
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -8px;
}

.latest-wrapper {
  background-color: #e6e6e6;
  padding: 19px 13px 30px 15px;
}

.latest-wrapper > div {
  border-bottom: 1px solid var(--colorTxt);
}
.latest-wrapper .card--info {
  margin-block: 12px 22px;
}

.latest-news aside {
  margin-block: 17px 22px;
}

/* navy */

.home-navy-section {
  margin-bottom: 71px;
}
/* army */

.home-army-section {
  margin-bottom: 73px;
}

/* podcast */

.podcast-section {
  margin-block: 27px 98px;
}

.podcast-section .wrapper {
  background-color: #e6e6e6;
}

.home-podcast-wrapper {
  padding-block: 60px 66px;
  max-width: 1376px;
  margin-inline: auto;
}

.podcast-cards {
  gap: 16px;
}

.podcast-cards > div {
  flex: 1;
  align-items: stretch;
}

.podcast-cards .card--info {
  padding: 31px 22px 20px;
  width: calc(100% - 18px);
  margin-top: -1rem;
  flex-grow: 1;
}

.podcast-cards .card .card--info {
  min-height: unset;
}

.podcast-cards > div:nth-of-type(2) .card--info {
  background-color: #505860;
}
.podcast-cards > div:nth-of-type(3) .card--info {
  background-color: #b48c79;
}
.podcast-cards > div:nth-of-type(4) .card--info {
  background-color: #cb2329;
}

.podcast-cards .comment-icon {
  filter: brightness(0) invert(1);
}
.podcast-cards .card--details {
  padding-top: 2rem;
}

@media screen and (max-width: 1320px) {
  .podcast-cards .card .card--info {
    min-height: 400px;
  }
}
@media screen and (max-width: 1080px) {
  .podcast-cards {
    flex-wrap: wrap;
  }
  .podcast-cards > div {
    flex: 0 0 calc((100% - 16px) / 2);
  }
  .podcast-cards .card .card--info {
    min-height: 330px;
  }
}
@media screen and (max-width: 820px) {
  .podcast-cards {
    gap: 21px 18px;
  }
  .podcast-cards .card .card--info {
    flex-grow: 1;
  }
  .podcast-cards > div {
    flex: 0 0 calc((100% - 18px) / 2);
    overflow: hidden;
  }
}
@media screen and (max-width: 620px) {
  .podcast-cards .card .card--info {
    width: 100%;
    margin-top: 0;
    padding: 15px 9px 22px;
  }
}
@media screen and (max-width: 520px) {
  .podcast-cards .card .card--image {
    aspect-ratio: 1;
  }
}

/* video section */

.video-section {
  background-color: var(--colorTxt);
  min-height: 100dvh;
  padding-block: 63px 92px;
  margin-bottom: 54px;
}

.video-section .section-header {
  color: #fff;
  justify-content: center;
}

.video-section-wrapper {
  gap: 44px;
}

.video-card {
  width: 100%;
}

.video-iframe {
  width: 100%;
  aspect-ratio: 1.78;
}
.video-iframe iframe {
  width: inherit;
  height: 100%;
}

.video-card .card--info {
  color: #fff;
  background-color: transparent;
  margin: 0;
  padding: 35px 30px 0 0;
  max-width: 606px;
}

.video-section .box.tab {
  display: none;
}

@media screen and (max-width: 1420px) {
  .video-section-wrapper {
    gap: 2rem;
  }
  .video-section {
    min-height: unset;
  }
  .video-section .box.long {
    display: none;
  }
  .video-section .box.tab {
    display: block;
  }
}
@media screen and (max-width: 1080px) {
  .video-section {
    padding-block: 2rem;
  }
  .video-section .video-section-wrapper {
    display: block;
  }
  .video-section .box.tab {
    display: none;
  }
}
@media screen and (max-width: 620px) {
  .video-section {
    padding: 26px 8px 15px;
  }
}

/* stratos */

.stratos-section {
  margin-bottom: 60px;
}

.stratos-section .mag-section {
  background-color: #121c23;
  border-radius: 5px;
  padding: 31px 45px 41px;
  text-align: center;
  color: #fff;
  height: fit-content;
  margin-left: 35px;
}
.stratos-section .mag-section h4 {
  font-size: 25px;
  line-height: 30px;
  margin-bottom: 25px;
  font-family: "Ubuntu Condensed", sans-serif;
  font-weight: 400;
}
.stratos-section .mag-section h4 span {
  display: block;
}
.stratos-section .magazine-link {
  border: 1px solid #fff;
  padding: 12px;
  margin-top: 46px;
}
.magazine-img {
  width: 312px;
  height: 435px;
  margin-inline: auto;
}

@media screen and (max-width: 1060px) {
  .stratos-section .fixed-right.grid-wrapper {
    display: flex;
    flex-direction: column;
  }
  .stratos-section .mag-section {
    margin: 45px 0 0;
    order: 2;
  }
}

/* opinion */

.opinion-section {
  margin-bottom: 92px;
}

.opinion-columns {
  border-top: 1px solid var(--colorTxt);
  border-bottom: 1px solid var(--colorTxt);
  position: relative;
  padding-block: 72px;
  --gap: 62px;
  gap: var(--gap);
}
.opinion-columns::before,
.opinion-columns::after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  border-top: 4px solid var(--colorTxt);
}

.opinion-columns::before {
  top: -8px;
}
.opinion-columns::after {
  bottom: -8px;
}

.opinion-column {
  position: relative;
  container-name: opinionColumn;
  container-type: inline-size;
  width: 100%;
}
.opinion-column--image img {
  margin-inline: auto;
}

.opinion-column--details {
  align-items: center;
  justify-content: space-between;
  height: 50px;
  border-top: 4px solid var(--colorTxt);
  gap: 2ch;
  font-family: "Ubuntu Condensed", sans-serif;
  font-weight: 400;
}
.opinion-column--details .name {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.opinion-column--details .more {
  font-size: 15px;
  line-height: 1;
  text-align: right;
}

.opinion-column .card--info {
  margin-block: 20px;
}

.opinion-column .card .title {
  font-size: 22px;
  font-weight: 500;
}

.opinion-columns > div:first-child::before,
.opinion-columns > div:last-child::before {
  content: "";
  height: 100%;
  border-left: 1px solid var(--colorTxt);
  position: absolute;
  top: 0;
}

.opinion-columns > div:first-child::before {
  right: calc(var(--gap) / -2);
}
.opinion-columns > div:last-child::before {
  left: calc(var(--gap) / -2);
}

.opinion-column .card-wrapper {
  border-bottom: 1px solid var(--colorTxt);
}

@media screen and (max-width: 1620px) {
  .opinion-columns {
    --gap: 3rem;
  }
}
@media screen and (max-width: 1420px) {
  .opinion-columns {
    --gap: 2rem;
  }
}
@media screen and (max-width: 1220px) {
  .opinion-columns {
    flex-direction: column;
  }
  .opinion-columns > div:first-child::before,
  .opinion-columns > div:last-child::before {
    display: none;
  }
}
@media screen and (max-width: 720px) {
  .opinion-section .grid-wrapper aside {
    grid-column: 1 / -1;
    grid-row: 3 /4;
    margin-top: 38px;
  }
  .opinion-columns {
    grid-column: 1 / -1;
    grid-row: 2 /3;
  }
}

@container opinionColumn (width < 320px) {
  .opinion-column--details .name {
    font-size: 20px;
  }
  .opinion-column--details .more {
    font-size: 14px;
  }
}
@container opinionColumn (width < 280px) {
  .opinion-column .card .title {
    font-size: 20px;
  }
  .opinion-column--details .name {
    max-width: 55%;
  }
}

/* epikairotita */

.home-epikairotita {
  margin-bottom: 94px;
}

@media screen and (max-width: 1320px) {
  .home-epikairotita .section-grid.cols .column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-epikairotita .section-grid.cols .column-grid::before {
    display: none;
  }
  .home-epikairotita .section-grid.cols .column-grid::after {
    --borderPosition: 50%;
  }
  .home-epikairotita .section-grid.cols .column-grid > div:nth-last-of-type(3) {
    border-bottom: 1px solid var(--colorTxt);
  }
}
@media screen and (max-width: 1060px) {
  .home-epikairotita .section-grid.cols .column-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-epikairotita .section-grid.cols .column-grid::after,
  .home-epikairotita .section-grid.cols .column-grid::before {
    display: block;
  }
  .home-epikairotita .section-grid.cols .column-grid::before,
  .home-epikairotita .section-grid.cols .column-grid::after {
    --borderPosition: 32%;
  }
  .home-epikairotita .section-grid.cols .column-grid > div:nth-last-of-type(3) {
    border-bottom: none;
  }
}
@media screen and (max-width: 740px) {
  .home-epikairotita .section-grid.cols .column-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }
  .home-epikairotita .section-grid.cols .column-grid::before,
  .home-epikairotita .section-grid.cols .column-grid::after {
    display: none;
  }
  .home-epikairotita .section-grid.cols .column-grid > div:nth-last-of-type(3) {
    border-bottom: 1px solid var(--colorTxt);
  }
}

@media screen and (max-width: 520px) {
  .home-epikairotita .section-grid.cols .column-grid {
    gap: 0 18px;
  }
}
/* category */

.category-top .section-header {
  margin-top: 54px;
}
.category-top .section-header,
.category-top-grid {
  padding-left: 102px;
}
.category-top-grid {
  max-width: 1406px;
  margin-bottom: 61px;
  padding-right: 2rem;
}
.category-bottom {
  margin-block: 74px 143px;
}
.category-bottom .section-grid {
  margin-left: 72px;
}
.category-bottom .section-grid.cols .column-grid {
  gap: 0 64px;
}
.section-grid.cols aside {
  grid-row: span 2;
}
.category-top aside .tab {
  display: none;
}
@media screen and (max-width: 1720px) {
  .category-bottom .section-grid {
    margin-left: 2rem;
  }
}
@media screen and (max-width: 1600px) {
  .section-grid.cols aside {
    grid-column: -3 / -1;
    grid-row: 2 / 4;
    background-color: var(--colorBg);
    padding-block: 2rem;
    z-index: 2;
  }
}
@media screen and (max-width: 1620px) {
  .category-top .section-header,
  .category-top-grid {
    padding-left: 2rem;
  }
}
@media screen and (max-width: 1420px) {
  .category-bottom .section-grid.cols .column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-bottom .section-grid.cols .column-grid::after {
    display: none;
  }
  .category-bottom .section-grid.cols .column-grid::before {
    --borderPosition: 50%;
  }
  .category-bottom .section-grid.cols .column-grid > div:nth-last-of-type(3) {
    border-bottom: 1px solid var(--colorTxt);
  }
}
@media screen and (max-width: 1180px) {
  .category-top-grid .section-grid {
    display: block;
  }
  .category-top-grid .section-grid .main-card {
    padding-right: 0;
  }
  .category-top-grid .section-grid .column {
    margin-top: 3rem;
    padding-left: 0;
    border: none;
  }
}
@media screen and (max-width: 1080px) {
  .category-bottom .grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 45px;
  }

  .category-bottom .latest-container {
    max-width: 620px;
  }

  .category-bottom .section-grid {
    margin-left: 0;
  }

  .category-bottom .section-grid.cols .column-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-bottom .section-grid.cols .column-grid::after {
    display: block;
  }
  .category-bottom .section-grid.cols .column-grid::before {
    --borderPosition: 32%;
  }
  .category-bottom .section-grid.cols .column-grid > div:nth-last-of-type(3) {
    border-bottom: none;
  }
}
@media screen and (max-width: 920px) {
  .category-bottom .section-grid.cols .column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-bottom .section-grid.cols .column-grid::after {
    display: none;
  }
  .category-bottom .section-grid.cols .column-grid::before {
    --borderPosition: 50%;
  }
  .category-bottom .section-grid.cols .column-grid > div:nth-last-of-type(3) {
    border-bottom: 1px solid var(--colorTxt);
  }
  .category-top aside .wide {
    display: none;
  }
  .category-top aside .tab {
    display: block;
  }
  .category-top .column {
    display: flex;
    flex-direction: column;
  }
  .category-top .column > div:nth-child(1) {
    order: -3;
  }
  .category-top .column > div:nth-child(2) {
    order: -2;
    margin-bottom: 0 !important;
  }
  .category-top .column > aside {
    order: -1;
    margin-block: 34px;
  }
}
@media screen and (max-width: 620px) {
  .category-top .section-header,
  .category-top-grid {
    padding-inline: var(--padding);
  }
  .category-bottom .section-grid.cols .column-grid {
    gap: 0 32px;
  }
}
@media screen and (max-width: 520px) {
  .category-bottom .section-grid.cols .column-grid {
    gap: 0 20px;
  }
}


/* Προσθήκη στο CSS αρχείο σου */

.load-more-section {
    width: 100%;
    margin: 40px 0;
    text-align: center;
}

.load-more-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.load-more-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.load-more-btn:active {
    transform: translateY(0);
}

#loading-spinner {
    padding: 20px;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #333;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* Προσθήκη στο CSS αρχείο σου */

.load-more-section {
    width: 100%;
    margin: 40px 0;
    text-align: center;
}

.no-more-posts {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    border-top: 1px solid #e0e0e0;
}

.no-more-posts.error {
    color: #d32f2f;
}

/* Smooth animation για τα νέα άρθρα */
.card-wrapper {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}