/**
 * Main CSS file for DigiEDU theme
 *
 * @format
 */

/* Reset some default styles */
* {
  box-sizing: border-box;
}

html,
body {
  font-family: "Source Sans Pro", sans-serif;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Black.woff2") format("woff2"),
    url("../fonts/SourceSansPro-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-BlackIt.woff2") format("woff2"),
    url("../fonts/SourceSansPro-BlackIt.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Bold.woff2") format("woff2"),
    url("../fonts/SourceSansPro-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-ExtraLight.woff2") format("woff2"),
    url("../fonts/SourceSansPro-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-BoldIt.woff2") format("woff2"),
    url("../fonts/SourceSansPro-BoldIt.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-It.woff2") format("woff2"),
    url("../fonts/SourceSansPro-It.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-ExtraLightIt.woff2") format("woff2"),
    url("../fonts/SourceSansPro-ExtraLightIt.woff") format("woff");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Light.woff2") format("woff2"),
    url("../fonts/SourceSansPro-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-LightIt.woff2") format("woff2"),
    url("../fonts/SourceSansPro-LightIt.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-SemiboldIt.woff2") format("woff2"),
    url("../fonts/SourceSansPro-SemiboldIt.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Semibold.woff2") format("woff2"),
    url("../fonts/SourceSansPro-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Regular.woff2") format("woff2"),
    url("../fonts/SourceSansPro-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Variables */

:root {
  --main-color: #003078;
  --secondary-color: #d0190f;
  --text-color: #0b0c0c;
  --button-color: #00703c;
  --link-color: #0065b3;
  --section-bg: transparent
    linear-gradient(180deg, #0030783b 0%, #00307800 100%) 0% 0% no-repeat
    padding-box;
  --bs-navbar-color: #0b0c0c;
  --search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg id='atom_icons_magnifier' data-name='atom / icons / magnifier'%3E%3Crect width='24' height='24' fill='none'/%3E%3Cpath d='M7.714,12.464a4.75,4.75,0,1,1,4.75-4.75A4.756,4.756,0,0,1,7.714,12.464ZM17.5,15.582l-3.637-3.637a7.465,7.465,0,1,0-1.919,1.919l3.637,3.626a1.331,1.331,0,0,0,.954.4,1.357,1.357,0,0,0,.965-2.311ZM0,7.714a7.715,7.715,0,0,0,11.914,6.472L15.4,17.665a1.581,1.581,0,0,0,1.133.478A1.607,1.607,0,0,0,17.677,15.4l-3.491-3.491A7.714,7.714,0,1,0,0,7.714ZM7.714.5a7.214,7.214,0,0,1,5.944,11.3l-.119.172,3.784,3.784a1.107,1.107,0,0,1-.788,1.885,1.081,1.081,0,0,1-.774-.326L11.974,13.54l-.171.119A7.214,7.214,0,1,1,7.714.5Zm0,2.714a4.5,4.5,0,1,1-4.5,4.5A4.506,4.506,0,0,1,7.714,3.214Zm-5,4.5a5,5,0,1,0,5-5A5.006,5.006,0,0,0,2.714,7.714Z' transform='translate(2.927 3.821)' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
  --hamburger-icon: url("data:image/svg+xml,%3Csvg width='24px' height='24px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg%3E%3Cpath d='M3 6H21M3 12H21M3 18H21' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E");
  --nav-arrow-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath fill='%23d0190f' d='M112 96L256 256 112 416l-48 0L64 96l48 0z'/%3E%3C/svg%3E");
  --accordion-arrow-down-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40.439' height='23.122' viewBox='0 0 40.439 23.122'%3E%3Cpath id='Icon_ionic-ios-arrow-down' data-name='Icon ionic-ios-arrow-down' d='M26.414,27.4,41.7,12.1a2.878,2.878,0,0,1,4.081,0,2.914,2.914,0,0,1,0,4.094L28.461,33.526a2.885,2.885,0,0,1-3.985.084l-6.965-6.95L7.03,16.2a2.89,2.89,0,0,1,4.081-4.094Z' transform='translate(-6.188 -11.246)' fill='%2327467d'/%3E%3C/svg%3E")
    no-repeat center center;
  --accordion-arrow-right-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23.121' height='40.439' viewBox='0 0 23.121 40.439'%3E%3Cpath id='Icon_ionic-ios-arrow-down' data-name='Icon ionic-ios-arrow-down' d='M26.414,27.4,41.7,12.1a2.878,2.878,0,0,1,4.081,0,2.914,2.914,0,0,1,0,4.094L28.461,33.526a2.885,2.885,0,0,1-3.985.084L7.03,16.2a2.89,2.89,0,0,1,4.081-4.094Z' transform='translate(-11.246 46.626) rotate(-90)' fill='%2327467d'/%3E%3C/svg%3E")
    no-repeat center center;
  --main-background: #fff padding-box;
}

/* Header styles */

.digiedu__header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  font-family: "Source Sans Pro", sans-serif;
}

.header-link a {
  font-size: 18px;
  font-weight: 600;
  text-align: right;
  color: #005ea5;
  text-decoration: underline;
}

.header-link-mobile {
  text-align: center;
}

.digiedu__header.shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.digiedu__tricolor {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-image: linear-gradient(
    90deg,
    #fff 0,
    #fff 33.3%,
    #005ea5 0,
    #005ea5 66.6%,
    #d0190f 0,
    #d0190f
  );
  background-size: 150px 100%;
  background-repeat: repeat;
  z-index: 10000;
}

.digiedu__upper__header {
  background-color: var(--main-color);
}

.digiedu__upper__header .digiedu__login a {
  color: #ffffff;
  text-decoration: none;
  padding: 6px 12px;
}

.digiedu__upper__header .digiedu__login a:hover {
  text-decoration: underline;
}

.digiedu__upper__header .dropdown .btn-primary {
  background-color: transparent;
  border: none;
  color: #ffffff;
  padding: 6px 12px;
}

.digiedu__upper__header .dropdown .btn-primary:hover,
.digiedu__upper__header .dropdown .btn-primary:focus,
.digiedu__upper__header .dropdown .btn-primary:active {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.digiedu__upper__header .dropdown .dropdown-menu {
  background-color: var(--main-color);
  border: none;
  padding: 16px 8px;
  margin: 0 !important;
  border-radius: 0;
  top: 0;
}

.digiedu__upper__header .dropdown .dropdown-menu .dropdown-item {
  text-align: start;
  padding: 8px;
  color: #ffffff;
}

.digiedu__upper__header .dropdown .dropdown-menu .dropdown-item:hover,
.digiedu__upper__header .dropdown .dropdown-menu .dropdown-item.active {
  background-color: var(--link-color) !important;
  color: #ffffff;
}

.digiedu__middle__header .digiedu__logo img {
  max-width: 150px;
}

.digiedu__navigation {
  border-top: 1px solid #ededed;
}

.digiedu__navigation .nav-link {
  color: var(--text-color);
  font-weight: 400;
  font-size: 19px;
  padding: 20px 8px !important;
}

/* Dropdown menu */
.dropdown-menu {
  background-color: var(--main-color);
  border: none;
  padding: 16px 8px;
  margin: 0 !important;
  border-radius: 0;
  top: 0;
}

.dropdown-menu .dropdown-item {
  text-align: start;
  padding: 8px;
  color: #ffffff;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item.active {
  background-color: var(--link-color) !important;
  color: #ffffff;
}

.digiedu__navigation .nav-item {
  font-size: 19px;
  color: var(--text-color);
}

.digiedu__navigation .nav-link.active,
.digiedu__navigation .nav-link.show {
  background-color: var(--main-color);
  color: #ffffff !important;
}

.digiedu__navigation .navbar-collapse.show {
  background-color: #fff;
}

/* Dropdown menu when shown */
.digiedu__navigation .dropdown-menu.show {
  background-color: var(--main-color);
  border: none;
  padding: 16px 8px;
  margin: 0 !important;
  border-radius: 0;
  top: 0;
  left: unset;
}

.digiedu__navigation .dropdown-menu.show .dropdown-item {
  text-align: start;
  padding: 8px;
  color: #ffffff;
}

.digiedu__navigation .dropdown-menu.show .dropdown-item:hover {
  background-color: var(--link-color) !important;
  color: #ffffff;
}

.digiedu__navigation .dropdown-toggle.active::after {
  transform: rotate(180deg);
}

/* Hamburger menu */
.navbar-toggler {
  background-image: url("data:image/svg+xml,%3Csvg width='24px' height='24px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_429_11066)'%3E%3Cpath d='M3 6.00092H21M3 12.0009H21M3 18.0009H21' stroke='%23292929' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_429_11066'%3E%3Crect width='24' height='24' fill='white' transform='translate(0 0.000915527)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 30px;
  width: 30px;
}

.digiedu__footer {
  background-color: #dedfe1;
  color: #ffffff;
  text-align: center;
  padding: 4rem;
}

.digiedu__footer__subheading {
  color: #0b0c0c;
  font-weight: bold;
  text-align: left;
}

.digiedu__footer__text {
  color: #212529;
  text-align: left;
  font-size: 16px;
}

.digiedu__footer p {
  margin: 0;
  max-width: 470px;
  text-align: left;
}

.digiedu__footer__nav__links {
  text-decoration: none !important;
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.digiedu__footer__nav__links a {
  color: #0065b3;
  font-weight: 700;
}

.digiedu__footer__nav__links a:hover {
  text-decoration: none;
}

.digiedu__footer__page__link {
  color: #0065b3;
  font-weight: bold;
}

.digiedu__footer__link {
  color: #0065b3;
  font-weight: 700;
  text-decoration: underline;
  font-size: 19px;
}

.digiedu__footer__link__dark {
  color: #0b0c0c;
  font-weight: normal;
  text-decoration: underline;
}

.digiedu__footer .row {
  margin-bottom: 2rem;
}

.digiedu__footer__contact {
  position: relative;
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: #000000;
  transition: all 0.3s ease;
  padding-left: 20px;
}

.digiedu__footer__contact:hover {
  color: #0065b3;
  transform: translateX(5px);
  text-decoration: underline;
}

.digiedu__footer__contact::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  margin-right: 8px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.digiedu__footer__contact[href^="mailto:"]::before {
  content: "✉";
}

.digiedu__footer__contact[href^="tel:"]::before {
  content: "☎";
}

.digiedu__footer__contact:hover::before {
  opacity: 1;
}

.digiedu__footer__logo img {
  position: relative;
}

.digiedu__footer__logo {
  display: flex;
  justify-content: start;
  align-items: center;
  position: relative;
  height: auto;
  max-width: 250px;
}

.digiedu__footer__logo::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  height: 100px;
  width: 1px;
  background-color: #bababa;
}

.digiedu__footer__logo:nth-child(3)::after {
  display: none;
}

@media (max-width: 991px) {
  .digiedu__footer {
    padding: 2rem 0;
  }
}

/* DigiEDU hero */

.digiedu__hero {
  min-height: 500px;
  height: 100%;
  width: 100%;
  background-image: url("../images/hero-img-6AORWTO5.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgba(0, 48, 120, 0.1);
  background-position: center;
}

.digiedu__hero--page {
  min-height: 200px;
  background-size: cover;
  background-position: center;
}

.digiedu__hero--non-sk {
  min-height: 500px;
  height: 100%;
  width: 100%;
  background-image: url("../images/Map_A-2TDKI4QU.png") !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgba(0, 48, 120, 0.1);
  background-position: center;
}

/* Hero carousel */
.digiedu__hero--carousel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.digiedu__hero__swiper {
  width: 100%;
  height: 100%;
  min-height: 600px;
}

.digiedu__hero__slide {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.digiedu__hero__slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Blue scrim when text box is light (white) */
  background: linear-gradient(
      180deg,
      rgba(0, 48, 120, 0.42) 0%,
      rgba(0, 48, 120, 0.62) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 48, 120, 0.35) 0%,
      transparent 45%
    );
  pointer-events: none;
}

/* White/light overlay when text box is dark (blue #003078) */
.digiedu__hero__slide--text-dark .digiedu__hero__slide__overlay {
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.55) 100%
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.4) 0%,
      transparent 50%
    );
}

.digiedu__hero__slide__content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
}

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

.digiedu__hero__slide__inner--dark {
  background: #003078;
  padding: 2rem;
  max-width: 680px;
}

.digiedu__hero__slide__inner--light {
  background: rgba(255, 255, 255, 0.96);
  padding: 2rem;
  max-width: 680px;
}

.digiedu__hero__slide__heading {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: -0.2px;
  max-width: 520px;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.digiedu__hero__slide__heading--dark {
  color: #003078;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.digiedu__hero__slide__heading--light {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.digiedu__hero__slide__description {
  font-size: 1.125em;
  max-width: 600px;
  margin: 0;
  line-height: 1.5;
}

.digiedu__hero__slide__description--dark {
  color: #0b0c0c;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.digiedu__hero__slide__description--light {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.digiedu__hero__slide__btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 12px 24px;
  font-size: 19px;
  font-weight: normal;
  text-decoration: none;
  transition: all 0.3s ease;
}

.digiedu__hero__slide__btn--dark {
  background-color: var(--button-color);
  color: #ffffff;
  border: none;
}

.digiedu__hero__slide__btn--dark:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.digiedu__hero__slide__btn--light {
  background-color: #ffffff;
  color: var(--button-color);
  border: none;
}

.digiedu__hero__slide__btn--light:hover {
  color: var(--button-color);
  transform: translateY(-2px);
}

.digiedu__hero__pagination .swiper-pagination-bullet {
  opacity: 0.5;
}

.digiedu__hero__pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.digiedu__hero--nav-dark .digiedu__hero__pagination .swiper-pagination-bullet {
  background: #003078;
}

.digiedu__hero--nav-light .digiedu__hero__pagination .swiper-pagination-bullet {
  background: #ffffff;
}

.digiedu__hero__prev,
.digiedu__hero__next {
  font-weight: bold;
}

.digiedu__hero__prev::after,
.digiedu__hero__next::after {
  font-size: 1.5rem;
}

.digiedu__hero--nav-dark .digiedu__hero__prev,
.digiedu__hero--nav-dark .digiedu__hero__next {
  color: #003078;
}

.digiedu__hero--nav-light .digiedu__hero__prev,
.digiedu__hero--nav-light .digiedu__hero__next {
  color: #ffffff;
}

/* Články – stránka s gridom */
.digiedu__articles {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.digiedu__articles .digiedu__section__heading {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--main-color);
  margin-bottom: 2rem;
}

/* Filter kategórií */
.digiedu__article-filter {
  margin-bottom: 2.5rem;
}

.digiedu__article-filter__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--main-color);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.digiedu__article-filter__toggle .digiedu__article-filter__chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.digiedu__article-filter__toggle.is-expanded .digiedu__article-filter__chevron {
  transform: rotate(-135deg);
}

.digiedu__article-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .digiedu__article-filter__list {
    display: none;
  }

  .digiedu__article-filter__list:not(.hidden) {
    display: flex;
  }
}

@media (min-width: 641px) {
  .digiedu__article-filter__toggle {
    display: none;
  }

  .digiedu__article-filter__list {
    display: flex !important;
    margin-top: 0;
  }
}

.digiedu__article-filter__item {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--main-color);
  text-decoration: none;
  background: #fff;
  border: 2px solid #d9e3eb;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.digiedu__article-filter__item:hover,
.digiedu__article-filter__item--active {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

/* Karty článkov */
.digiedu__article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .digiedu__article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.digiedu__article-card {
  position: relative;
  height: 100%;
}

.digiedu__article-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 48, 120, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.digiedu__article-card__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 48, 120, 0.1);
}

.digiedu__article-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.digiedu__article-card__img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.digiedu__article-card__link:hover .digiedu__article-card__img {
  transform: scale(1.05);
}

.digiedu__article-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d9e3eb 0%, #e8eef4 100%);
}

.digiedu__article-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 48, 120, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.digiedu__article-card__link:hover .digiedu__article-card__overlay {
  opacity: 1;
}

.digiedu__article-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
}

.digiedu__article-card__category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--button-color);
  margin-bottom: 0.35rem;
}

.digiedu__article-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--main-color);
  line-height: 1.35;
  margin: 0 0 0.5rem;
  transition: color 0.2s;
}

.digiedu__article-card__link:hover .digiedu__article-card__title {
  color: var(--link-color);
}

.digiedu__article-card__excerpt {
  font-size: 0.8125rem;
  color: #4a5568;
  line-height: 1.5;
  margin: 0 0 0.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.digiedu__article-card__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--main-color);
  transition: transform 0.2s;
}

.digiedu__article-card__link:hover .digiedu__article-card__cta {
  transform: translateX(4px);
}

.digiedu__articles__empty {
  font-size: 1.125rem;
  color: #4a5568;
  padding: 3rem 0;
  text-align: center;
}

/* Paginácia */
.digiedu__articles__pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.digiedu__articles__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--main-color);
  text-decoration: none;
  background: #fff;
  border: 2px solid #d9e3eb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.digiedu__articles__pagination .page-numbers:hover,
.digiedu__articles__pagination .page-numbers.current {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

.digiedu__articles__pagination .page-numbers.dots {
  border: none;
  background: transparent;
  cursor: default;
}

/* CTA Banner */
.digiedu__cta-banner {
  width: 100%;
}

.digiedu__cta-banner__inner {
  background: linear-gradient(135deg, var(--main-color) 0%, #002355 100%); padding: 2rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .digiedu__cta-banner__inner {
    padding: 2.5rem 3rem;
  }
}

.digiedu__cta-banner__content {
  max-width: 42rem;
  margin: 0 auto;
}

.digiedu__cta-banner__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .digiedu__cta-banner__heading {
    font-size: 1.5rem;
  }
}

.digiedu__cta-banner__text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.digiedu__cta-banner__btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--button-color);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.digiedu__cta-banner__btn:hover {
  background: #005a2e;
  color: #fff;
  transform: translateY(-2px);
}

/* Kontakt stránka */
.digiedu__contact {
  background: #fff;
}

.digiedu__contact__heading {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--main-color);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.digiedu__contact__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0 0 2rem;
}

.digiedu__contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.digiedu__contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--button-color);
  border: 2px solid var(--button-color);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.digiedu__contact__btn:hover {
  background: #005a2e;
  border-color: #005a2e;
  color: #fff;
  transform: translateY(-2px);
}

.digiedu__contact__map {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 48, 120, 0.08);
}

.digiedu__contact__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 350px;
}

.digiedu__contact__address {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.5;
}

.digiedu__contact__btn--outline {
  background: transparent;
  color: var(--main-color);
  border-color: var(--main-color);
}

.digiedu__contact__btn--outline:hover {
  background: var(--main-color);
  color: #fff;
}

.digiedu__contact__faq {
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

/* Kontakty RPŠ */
.digiedu__contacts-rps {
  background: #fff;
}

.digiedu__contacts-rps__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.digiedu__contacts-rps__item {
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.digiedu__contacts-rps__item:last-child {
  border-bottom: none;
}

.digiedu__contacts-rps__logo {
  flex-shrink: 0;
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.digiedu__contacts-rps__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.digiedu__contacts-rps__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.digiedu__contacts-rps__company {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--main-color);
  margin: 0;
  line-height: 1.3;
}

.digiedu__contacts-rps__email,
.digiedu__contacts-rps__phone {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: 1rem;
  color: var(--main-color);
  text-decoration: underline;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.digiedu__contacts-rps__email:hover,
.digiedu__contacts-rps__phone:hover {
  color: var(--main-color);
  opacity: 0.85;
}

.digiedu__contacts-rps__empty {
  margin-top: 1.5rem;
  font-size: 1rem;
}

@media (max-width: 576px) {
  .digiedu__contacts-rps__list {
    gap: 0;
  }

  .digiedu__contacts-rps__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 2rem 1.25rem;
    width: 100%;
  }

  .digiedu__contacts-rps__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .digiedu__contacts-rps__logo {
    width: 160px;
    height: 90px;
  }

  .digiedu__contacts-rps__company {
    font-size: 1.2rem;
  }

  .digiedu__contacts-rps__email {
    font-size: 1.05rem;
  }
}

.digiedu__contact__faq__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--main-color);
  margin: 0 0 1rem;
}

.digiedu__articles__pagination .page-numbers.dots:hover {
  background: transparent;
  color: inherit;
}

/* Single článok */
.digiedu__single {
  padding-bottom: 4rem;
  overflow-x: hidden;
}

.digiedu__single__header {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.digiedu__single__hero {
  position: relative;
  width: 100%;
  height: clamp(280px, 34vw, 560px);
  min-height: 280px;
  max-height: 560px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #d9e3eb;
}

.digiedu__single__hero:not([style*="background-image"]) {
  background-image: linear-gradient(135deg, #d9e3eb 0%, #e8eef4 100%);
}

.digiedu__single__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 48, 120, 0.75) 0%,
    rgba(0, 48, 120, 0.2) 40%,
    transparent 70%
  );
}

.digiedu__single__header-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 2rem 0 2rem;
}

.digiedu__single__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--main-color);
  border: 2px solid var(--main-color);
  border-radius: 8px;
}

.digiedu__single__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.digiedu__single__category:hover {
  color: #fff;
  opacity: 0.9;
}

.digiedu__single__date,
.digiedu__single__reading {
  font-size: 0.9375rem;
  color: #fff;
}

.digiedu__single__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.digiedu__single__lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

.digiedu__single__body {
  margin-top: 0;
}

.digiedu__single__content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #1a202c;
}

.digiedu__single__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--main-color);
  margin: 2.5rem 0 1rem;
}

.digiedu__single__content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--main-color);
  margin: 2rem 0 0.75rem;
}

.digiedu__single__content p {
  margin: 0 0 1.25rem;
}

.digiedu__single__content a {
  color: var(--link-color);
  text-decoration: underline;
}

.digiedu__single__content a:hover {
  color: var(--main-color);
}

.digiedu__single__content ul,
.digiedu__single__content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.digiedu__single__content li {
  margin-bottom: 0.5rem;
}

.digiedu__single__content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--main-color);
  background: #f8fafc;
  font-style: italic;
  color: #4a5568;
}

.digiedu__single__content img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
}

.digiedu__single__content iframe,
.digiedu__single__content video,
.digiedu__single__content embed,
.digiedu__single__content object {
  max-width: 100%;
}

.digiedu__single__content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.digiedu__single__footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.digiedu__single__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--main-color);
  text-decoration: none;
  transition: color 0.2s;
}

.digiedu__single__back:hover {
  color: var(--link-color);
}

/* Single – responsive */
.digiedu__single__header-content .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.digiedu__single__body .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.digiedu__single__content {
  overflow-wrap: break-word;
}

@media (max-width: 991px) {
  .digiedu__single {
    padding-bottom: 2.5rem;
  }

  .digiedu__single__header {
    margin-bottom: 2rem;
  }

  .digiedu__single__hero {
    min-height: 220px;
  }

  .digiedu__single__header-content {
    padding: 1.5rem 0 1.5rem;
  }

  .digiedu__single__title {
    font-size: 1.5rem;
  }

  .digiedu__single__lead {
    font-size: 1.0625rem;
  }

  .digiedu__single__content {
    font-size: 1rem;
  }

  .digiedu__single__content h2 {
    font-size: 1.35rem;
  }

  .digiedu__single__content h3 {
    font-size: 1.15rem;
  }

  .digiedu__single__content blockquote {
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
  }
}

@media (max-width: 768px) {
  .digiedu__single__hero {
    aspect-ratio: 4 / 3;
    min-height: 200px;
  }

  .digiedu__single__header-content {
    padding: 1.25rem 0 1.25rem;
  }

  .digiedu__single__meta {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .digiedu__single__category {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
  }

  .digiedu__single__date,
  .digiedu__single__reading {
    font-size: 0.875rem;
  }

  .digiedu__single__title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }

  .digiedu__single__lead {
    font-size: 1rem;
  }

  .digiedu__single__body {
    margin-top: 0;
  }

  .digiedu__single__content {
    font-size: 0.9375rem;
    padding: 0 0.25rem;
  }

  .digiedu__single__content h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
  }

  .digiedu__single__content h3 {
    font-size: 1.0625rem;
    margin: 1.5rem 0 0.5rem;
  }

  .digiedu__single__content p {
    margin-bottom: 1rem;
  }

  .digiedu__single__content blockquote {
    padding: 1rem;
    margin: 1.25rem 0;
  }

  .digiedu__single__footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  .digiedu__single__header-content .container,
  .digiedu__single__body .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .digiedu__single__hero {
    aspect-ratio: 1;
    min-height: 180px;
  }

  .digiedu__single__header-content {
    padding: 1rem 0 1rem;
  }

  .digiedu__single__title {
    font-size: 1.2rem;
  }

  .digiedu__single__lead {
    font-size: 0.9375rem;
  }
}

.image-container img {
  width: 100%;
  max-width: 100%;
  height: 280px;
  object-fit: cover;
}

.info-title {
  font-size: 36px;
  font-weight: 700;
  color: #003078;
}

.info-box:last-child {
  border-bottom: none;
}

.info-link {
  color: #0065b3;
  font-weight: 700;
}

.info-table th {
  font-weight: 700;
  white-space: nowrap;
}

.info-table td {
  width: 100%;
}

.info-table-en th {
  font-weight: 700;
  background: transparent;
  white-space: nowrap;
}

.info-table-en td {
  width: 100%;
  background: transparent;
}

.education-section {
  padding: 60px 0 0;
  background: transparent linear-gradient(180deg, #0030783b -10%, #00307800 30%)
    0% 0% no-repeat padding-box;
}

.education-title {
  font-size: 36px;
  font-weight: 700;
  color: #003078;
}

.education-text {
  font-size: 19px;
  font-weight: 700;
  max-width: 800px;
}

.table-heading {
  font-size: 24px;
  font-weight: 700;
  color: #003078;
  margin-bottom: 10px;
}

.digital-access-section {
  padding: 30px 0;
}

.section-title {
  font-weight: 700;
  color: #003078;
}

.info-box {
  max-width: 1300px;
  font-size: 19px;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

#digital-standards {
  background: transparent linear-gradient(180deg, #0030783b -10%, #00307800 30%)
    0% 0% no-repeat padding-box;
  padding: 60px 0;
}

.digiedu__digital__standards__title h2 {
  font-size: 36px;
  color: #003078;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: start;
  max-width: 680px;
}

.digiedu__digital__standards__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.digiedu__digital__standards__scope {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  border-bottom: 1px solid #99c1e5;
  padding: 3rem 0;
  gap: 1rem;
}

.digiedu__digital__standards__scope h3 {
  font-size: 24px;
  color: #003078;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: start;
  margin-bottom: 0.5rem;
}

.digiedu__digital__standards__scope p {
  font-size: 19px;
  color: #000;
  letter-spacing: 0;
  text-align: start;
  max-width: 900px;
  margin: 0;
}

.digiedu__digital__standards__scope li::marker {
  color: #d0190f;
}

.digiedu__digital__standards__scope ul {
  padding-left: 1rem;
}

.digiedu__digital__standards__image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6rem;
}

.digiedu__digital__standards__image img {
  width: 100%;
  max-width: 800px;
}

#digital-equipment {
  background: transparent linear-gradient(180deg, #0030783b -10%, #00307800 30%)
    0% 0% no-repeat padding-box;
  padding: 4rem 0;
  margin: 6rem 0;
}

.digiedu__digital__equipment__title h2 {
  font-size: 36px;
  color: #003078;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: start;
}

.digiedu__digital__equipment__subtitle h3 {
  font-size: 24px;
  color: #003078;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: start;
  margin-top: 40px;
}

.digiedu__digital__equipment__inner {
  margin-top: 40px;
}

.digiedu__digital__equipment__scope p {
  position: relative;
  font-size: 19px;
  color: #000;
  letter-spacing: 0;
  text-align: start;
  margin-top: 1.25em;
  padding-bottom: 40px;
}

.digiedu__digital__equipment__scope p::after {
  position: absolute;
  content: "";
  height: 1px;
  width: 100%;
  background-color: #d9d9d9;
  bottom: 10px;
  left: 0;
}

.digiedu__digital__equipment__image img {
  width: 100%;
  max-width: 800px;
}

#digital-infrastrucutre {
  background: transparent linear-gradient(180deg, #0030783b -10%, #00307800 30%)
    0% 0% no-repeat padding-box;
  padding: 4rem 0;
}

.digiedu__digital__infrastructure__title h2 {
  font-size: 36px;
  color: #003078;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: start;
}

.digiedu__digital__infrastructure__scope p {
  position: relative;
  font-size: 19px;
  color: #000;
  letter-spacing: 0;
  text-align: start;
  margin-top: 1.25em;
  padding-bottom: 40px;
}

.digiedu__digital__infrastructure__scope p::after {
  position: absolute;
  content: "";
  height: 1px;
  width: 100%;
  background-color: #d9d9d9;
  bottom: 10px;
  left: 0;
}

.digiedu__digital__infrastructure__image img {
  width: 100%;
  max-width: 800px;
}

.digiedu__diginet__ict__title h2 {
  font-size: 36px;
  color: #003078;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: start;
}

.digiedu__diginet__ict__image img,
.digiedu__timeline__image {
  width: 100%;
  max-width: 900px;
}

.digiedu__timeline__title {
  font-size: 36px;
  color: #003078;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: start;
}

.digiedu__diginet__ict__image img,
.digiedu__timeline__image {
  width: 100%;
  max-width: 900px;
}

.digiedu__timeline__subtitle {
  font-size: 24px;
  color: #003078;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: start;
  margin-top: 20px;
}

.digiedu__timeline__text {
  font-size: 19px;
  color: #000;
  letter-spacing: 0;
  text-align: start;
  margin-top: 1.25em;
}

.icon-box {
  text-align: center;
  padding: 20px;
  position: relative;
}

.icon-box svg {
  width: 36px;
  height: 36px;
  fill: #c20000;
  margin-bottom: 10px;
}

.icon-title {
  font-weight: 700;
  color: #003078;
}

.icon-box p {
  margin: 0;
  color: #003078;
}

.divider {
  position: absolute;
  top: 50%;
  right: 0;
  height: 60%;
  width: 1px;
  background-color: #ccc;
  transform: translateY(-50%);
}

.digiedu__standards__link .file-icon {
  fill: #003078;
  width: 20px;
  margin-right: 0.4rem;
  vertical-align: middle;
  display: inline-block;
}

.accordion-content__faq img {
  width: 100%;
  margin-right: 0.4rem;
  vertical-align: text-top;
}

.digiedu__hero--non-sk {
  background-image: url("./assets/images/Map_A.png");
}

.digiedu__hero__images {
  min-height: 102px;
  height: 100%;
}

.digiedu__hero__img__1 {
  position: absolute;
  top: 15%;
  left: 26%;
  width: 99px;
  height: 99px;
}

@media (max-width: 1200px) {
  .digiedu__hero__img__1 {
    width: 90px;
    height: 90px;
    left: 22%;
  }
}

@media (max-width: 991px) {
  .digiedu__hero__img__1 {
    width: 80px;
    height: 80px;
    left: 18%;
  }
	
	.digiedu__navigation .dropdown-menu.show .dropdown-item {
		background-color: #013787;
		color: #ffffff;
		margin: 1px 0;
	}
	
	
	.digiedu__navigation .dropdown-menu.show .dropdown-item:hover {
		background-color: #48a3ea;
		color: #ffffff;
	}
	
		.digiedu__navigation .nav-link {
  color: var(--text-color);
  font-weight: 400;
  font-size: 19px;
  padding: 10px 8px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
}

@media (max-width: 768px) {
  .digiedu__hero__img__1 {
    width: 70px;
    height: 70px;
    left: 14%;
  }
}

@media (max-width: 576px) {
  .digiedu__hero__img__1 {
    width: 60px;
    height: 60px;
    left: 10%;
  }
}

.digiedu__hero__img__2 {
  position: absolute;
  top: -45%;
  left: 41%;
  width: 77px;
  height: 77px;
}

@media (max-width: 1200px) {
  .digiedu__hero__img__2 {
    width: 70px;
    height: 70px;
    left: 38%;
    top: -40%;
  }
}

@media (max-width: 991px) {
  .digiedu__hero__img__2 {
    width: 65px;
    height: 65px;
    left: 35%;
    top: -35%;
  }
}

@media (max-width: 768px) {
  .digiedu__hero__img__2 {
    width: 55px;
    height: 55px;
    left: 32%;
    top: -30%;
  }
}

@media (max-width: 576px) {
  .digiedu__hero__img__2 {
    width: 45px;
    height: 45px;
    left: 28%;
    top: -25%;
  }
}

.digiedu__hero__img__3 {
  position: absolute;
  top: -6%;
  right: 35%;
  width: 67px;
  height: 67px;
}

@media (max-width: 1200px) {
  .digiedu__hero__img__3 {
    width: 60px;
    height: 60px;
    right: 32%;
  }
}

@media (max-width: 991px) {
  .digiedu__hero__img__3 {
    width: 55px;
    height: 55px;
    right: 28%;
  }
}

@media (max-width: 768px) {
  .digiedu__hero__img__3 {
    width: 45px;
    height: 45px;
    right: 24%;
  }
}

@media (max-width: 576px) {
  .digiedu__hero__img__3 {
    width: 40px;
    height: 40px;
    right: 20%;
  }
}

.digiedu__hero__img__4 {
  position: absolute;
  top: 10%;
  right: 20%;
  width: 102px;
  height: 102px;
}

@media (max-width: 1200px) {
  .digiedu__hero__img__4 {
    width: 90px;
    height: 90px;
    right: 18%;
  }
}

@media (max-width: 991px) {
  .digiedu__hero__img__4 {
    width: 80px;
    height: 80px;
    right: 15%;
  }
}

@media (max-width: 768px) {
  .digiedu__hero__img__4 {
    width: 70px;
    height: 70px;
    right: 12%;
  }
}

@media (max-width: 576px) {
  .digiedu__hero__img__4 {
    width: 60px;
    height: 60px;
    right: 8%;
  }
}

.digiedu__hero__img__5 {
  position: absolute;
  top: 10%;
  left: 30%;
  width: 84px;
  height: 84px;
}

@media (max-width: 1200px) {
  .digiedu__hero__img__5 {
    width: 75px;
    height: 75px;
    left: 28%;
  }
}

@media (max-width: 991px) {
  .digiedu__hero__img__5 {
    width: 65px;
    height: 65px;
    left: 25%;
  }
}

@media (max-width: 768px) {
  .digiedu__hero__img__5 {
    width: 55px;
    height: 55px;
    left: 22%;
  }
}

@media (max-width: 576px) {
  .digiedu__hero__img__5 {
    width: 45px;
    height: 45px;
    left: 18%;
  }
}

.digiedu__heading {
  font-size: 36px;
  text-align: center;
  max-width: 520px;
  color: #003078;
  font-weight: bold;
  line-height: 40px;
  margin: 0;
}

.digiedu__section__heading {
  font-size: 36px;
  text-align: start;
  color: #003078;
  font-weight: bold;
  margin: 0;
}

.digiedu__body__text {
  font-size: 19px;
  color: #0b0c0c;
  line-height: 25px;
}

.digiedu__body__text__bold__title {
  font-size: 30px;
  font-weight: bold;
  color: #0b0c0c;
  line-height: 36px;
  text-align: justify;
  word-wrap: break-word;
}

.digiedu__body__text__bold {
  font-size: 24px;
  font-weight: bold;
  color: #0b0c0c;
  line-height: 30px;
  text-align: left;
  word-wrap: break-word;
}

.digiedu__news__video__heading {
  font-size: 24px;
  color: #0065b3;
  font-weight: bold;
  margin: 0;
}

.video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: black;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffffe6;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: #333;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 2;
}

.play-button:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.thumbnail-image {
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.video-container:hover .thumbnail-image {
  transform: scale(1.05);
}

.video-tags .badge {
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  border: 1px solid #dee2e6;
}

.digiedu__standards__link {
  display: inline-flex;
  font-size: 19px;
  color: #0065b3;
  font-weight: 600;
}

.digiedu__button {
  background-color: #00703c;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 19px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
}

.digiedu__licences__list li {
  display: list-item;
  margin-bottom: 0.5rem;
}

.digiedu__licence__item {
  font-size: 16px;
}

.digiedu__licences_heading {
  font-size: 24px;
}

.digiedu__inclusive__equipment__list {
  list-style-position: inside;
  padding-left: 0;
  counter-reset: item;
}

.digiedu__inclusive__equipment__list li {
  display: block;
}

.digiedu__inclusive__equipment__item {
  position: relative;
  padding: 16px 0;
  counter-increment: item;
}

/* Číslovaný zoznam */
.digiedu__inclusive__equipment__list--numbers
  .digiedu__inclusive__equipment__item
  h3::before {
  content: counter(item) ". ";
  color: var(--number-color, #003078);
  font-weight: 700;
  font-size: var(--number-size, 1em);
  margin-right: 8px;
}

/* Bullet zoznam */
.digiedu__inclusive__equipment__list--bullets
  .digiedu__inclusive__equipment__item
  h3::before {
  content: "• ";
  color: var(--number-color, #003078);
  font-weight: 700;
  font-size: var(--number-size, 1em);
  margin-right: 8px;
}

/* Žiadne markery */
.digiedu__inclusive__equipment__list--no-markers {
  list-style: none !important;
  padding-left: 0 !important;
  counter-reset: none !important;
}
.digiedu__inclusive__equipment__list--no-markers
  .digiedu__inclusive__equipment__item
  h3::before {
  content: "" !important;
  margin-right: 0;
}

.digiedu__equipment__heading__link {
  color: #003078;
  text-decoration: none;
}

.digiedu__equipment__heading__link:hover {
  text-decoration: underline;
}

.digiedu__flexbox__section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.digiedu__flexbox__section .page-section {
  width: 50%;
}

.digiedu__hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.25;
}

.digiedu__textarea__formatted {
  font-size: 19px;
}

.digiedu__textarea__formatted .digiedu__list li {
  margin-bottom: 1.5rem;
}

.digiedu__timeline__image {
  width: 100%;
  max-width: 900px;
}

.digiedu__timeline__image__2 {
  width: 100%;
  max-width: 550px;
}

/* Timeline */

.digiedu__timeline {
  position: relative;
  margin: auto;
  width: 100%;
}

.digiedu__timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 10px;
  width: 2px;
  height: 92%;
  background: #707070;
}

.digiedu__timeline-item {
  position: relative;
  margin: 10px 0;
  padding-left: 60px;
}

.digiedu__timeline-item::before {
  content: attr(data-step);
  position: absolute;
  left: -5px;
  top: 0;
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: black;
  font-weight: bold;
  border: 1px solid #bfc1c3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.digiedu__timeline-item:not(:last-child) .digiedu__timeline-circle::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: calc(100% + 16px);
  background: #bfc1c3;
  z-index: 0;
}

/* Accordion styles */

.digiedu__accordion-item {
  border: none !important;
  border-bottom: 1px solid #d9d9d9 !important;
}

.digiedu__accordion-button {
  background-color: transparent;
  color: inherit;
  box-shadow: none;
  cursor: pointer;
  padding: 1rem;
  display: flex;
  align-items: center;
  width: 100%;
  border: none;
  text-align: left;
  font-size: inherit;
}

.digiedu__accordion-button.collapsed {
  background-color: transparent !important;
}

.digiedu__accordion-button:not(.collapsed) {
  color: inherit;
  background-color: transparent;
  box-shadow: none;
}

.digiedu__accordion-button:focus {
  box-shadow: none;
}

.digiedu__accordion-title {
  max-width: 700px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0;
}

.accordion-item:last-of-type {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.accordion-item:first-of-type {
  border-top-right-radius: 0 !important;
  border-top-left-radius: 0 !important;
}

.accordion-item {
  border: none !important;
  border-bottom: 1px solid #d9d9d9 !important;
}

.accordion-button::after {
  background-image: none !important;
  content: "+";
  font-size: 2rem;
  font-weight: bold;
  color: #232323;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1em;
  width: 2rem;
  transition: transform 0.2s;
  line-height: 1;
}

.accordion-button:not(.collapsed)::after {
  content: "−";
}

.accordion-title {
  max-width: 700px;
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0;
}

.digiedu__accordion-body {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
  font-size: 1rem;
  background: #f9f9fb;
}

/* Accordion styles documents icons */

.accordion-content__faq a[href$=".docx" i],
.accordion-content__faq a[href$=".pdf"  i],
.accordion-content__faq a[href$=".xlsx" i],
.accordion-content__faq a[href$=".pptx" i],
.accordion-content__faq a[href$=".zip"  i] {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}

.accordion-content__faq a[href$=".docx" i]::before,
.accordion-content__faq a[href$=".pdf"  i]::before,
.accordion-content__faq a[href$=".xlsx" i]::before,
.accordion-content__faq a[href$=".pptx" i]::before,
.accordion-content__faq a[href$=".zip"  i]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 3px;
}

.accordion-content__faq a[href$=".docx" i]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect rx="8" ry="8" width="64" height="64" fill="%232b579a"/><path fill="%23fff" d="M45 12H19a3 3 0 0 0-3 3v34a3 3 0 0 0 3 3h26a3 3 0 0 0 3-3V15a3 3 0 0 0-3-3zm-5.3 34h-4.5l-3.4-13.5h-.1L28.3 46h-4.4l-4.9-18h4.1l2.8 12h.1l3.2-12h4.5l3.2 12h.1l2.8-12h4z"/></svg>');
}

.accordion-content__faq a[href$=".pdf" i]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect rx="8" ry="8" width="64" height="64" fill="%23d93025"/><path fill="%23fff" d="M18 18h28v28H18z"/><path fill="%23d93025" d="M22 22h12v4H22zm0 8h20v4H22zm0 8h16v4H22z"/></svg>');
}

.accordion-content__faq a[href$=".xlsx" i]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect rx="8" ry="8" width="64" height="64" fill="%23107c41"/><path fill="%23fff" d="M22 20h20v24H22z"/><path fill="%23107c41" d="M24 22h6v6h-6zm8 0h8v6h-8zM24 30h6v6h-6zm8 0h8v6h-8zM24 38h6v6h-6zm8 0h8v6h-8z"/></svg>');
}

.accordion-content__faq a[href$=".pptx" i]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect rx="8" ry="8" width="64" height="64" fill="%23d24726"/><path fill="%23fff" d="M18 18h28v28H18z"/><path fill="%23d24726" d="M24 24h10a6 6 0 0 1 0 12H28v6h-4V24zm4 4v4h6a2 2 0 1 0 0-4h-6z"/></svg>');
}

.accordion-content__faq a[href$=".zip" i]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect rx="8" ry="8" width="64" height="64" fill="%236b7280"/><path fill="%23fff" d="M28 14h8v6h-8zm0 10h8v6h-8zm0 10h8v6h-8zM22 50h20v-8H22z"/></svg>');
}

.accordion-content__faq a[href$=".docx" i],
.accordion-content__faq a[href$=".pdf"  i],
.accordion-content__faq a[href$=".xlsx" i],
.accordion-content__faq a[href$=".pptx" i],
.accordion-content__faq a[href$=".zip"  i] {
  word-break: break-word;
}

.accordion-content__faq a:has(img)::before {
  content: none !important;
}

@media (max-width: 500px) {
  .digiedu__timeline-item {
    position: relative;
    margin: 20px 0;
    padding-left: 38px;
  }
}

/* FAQ styles */

.faq-category {
  margin-bottom: 1rem;
  border-bottom: 1px solid #d9d9d9;
  overflow: hidden;
}
.faq-category .category-header {
  width: 100%;
  padding: 26px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0065b3;
  font-weight: bold;
  position: relative;
}
.faq-category .category-header:after {
  content: "\002B";
  font-size: 28px;
  transition: all 0.2s ease;
}
.faq-category .category-header.active:after {
  content: "\2212";
  transform: rotate(0deg);
}
.faq-category .category-header .category-title {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
}
@media (max-width: 768px) {
  .faq-category .category-header .category-title {
    font-size: 22px;
  }
}
.faq-category .category-content {
  display: none;
  padding: 15px 0;
}
.faq-category .category-content.expanded {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}
.faq-category
  .category-content
  .accordion__faq
  .accordion-item__faq:last-child {
  border-bottom: none;
}

.accordion__faq {
  margin: 0 auto;
}
.accordion-item__faq {
  margin-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
  overflow: hidden;
}
.accordion-item__faq:last-child {
  border-bottom: none;
}
.accordion-header__faq_standard {
  background: none;
  color: #0065b3;
  padding: 10px 0;
  text-align: left;
  border: none;
  width: 100%;
  cursor: pointer;
  font-size: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  position: relative;
}
.accordion-header__faq_standard:after {
  content: "\002B";
  font-size: 28px;
  transition: all 0.2s ease;
}
.accordion-header__faq_standard.active:after {
  content: "\2212";
  transform: rotate(0deg);
}
.accordion-content__faq_standard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 36px;
  font-size: 20px;
  padding: 15px 0;
  color: #000000;
  border-top: 1px solid #ddd;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item__faq_standard {
  margin-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
  overflow: hidden;
  padding-bottom: 12px;
}
.accordion-item__faq_standard:last-child {
  border-bottom: none;
}
.accordion-header__faq {
  background: none;
  color: #0065b3;
  padding: 26px 0;
  text-align: left;
  border: none;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  position: relative;
}
.accordion-header__faq:after {
  content: "\002B";
  font-size: 28px;
  transition: all 0.2s ease;
}
.accordion-header__faq.active:after {
  content: "\2212";
  transform: rotate(0deg);
}
.accordion-content__faq {
  padding: 15px 0;
  color: #0065b3;
  border-top: 1px solid #ddd;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content__faq, .accordion-content__faq_standard, img {
  max-width: 80%;
  width: 100%;
}

.accordion-content__faq, .accordion-content__faq_standard[style*="display: block"] {
  max-height: fit-content;
  height: 100%;
}

.accordion-content__faq .table-image-container {
  text-align: center;
  margin: 20px 0;
}

.accordion-content__faq .table-image-container .table-image {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-info {
  padding: 26px 0;
  color: #0065b3;
  font-weight: bold;
  margin-top: 20px;
}
.contact-info p {
  margin: 0;
}

.digiedu__news__heading {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 600;
  color: #003078;
}

.webinars__description__heading {
  font-size: 1.2rem;
  font-weight: 700;
}

.webinar-container {
  position: relative;
  cursor: pointer;
  background-color: #000;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px #0000001a;
}

.webinar-container .thumbnail-image {
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.webinar-container:hover .thumbnail-image {
  transform: scale(1.05);
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  gap: 10px;
}

.pagination-wrapper .page-numbers {
  color: #003078;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 4px;
  box-shadow: #0000001a 0 2px 4px;
}

.pagination-wrapper .page-numbers:hover {
  background-color: #003078;
  color: #ffffff;
  box-shadow: #003078 0 2px 2px;
}

.page-numbers.current {
  background-color: #003078;
  color: #ffffff;
  box-shadow: #003078 0 2px 2px;
}

/* 404 page */

.digiedu__not-found-card {
  background: transparent;
  border-radius: 8px;
  padding: 3rem;
  max-width: 700px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.digiedu__not-found-icon {
  font-size: 6rem;
  color: #d0190f;
  margin-bottom: 1.5rem;
}

.digiedu__not-found-icon i {
  animation: pulse 2s infinite;
}

.digiedu__hero__title {
  font-size: 2.5em;
  color: #003078;
  font-weight: bold;
  letter-spacing: -0.2px;
  text-align: center;
  max-width: 600px;
  margin-bottom: 1rem;
}

.digiedu__hero__description {
  font-size: 1.125em;
  color: #0b0c0c;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 600px;
}

.digiedu__hero__cta {
  font-size: 1em;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: 0;
  background: #d0190f;
  padding: 16px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(234, 56, 56, 0.3);
}

.digiedu__hero__cta:hover {
  background: #d0190f;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(238, 4, 19, 0.4);
}

.digiedu__hero__cta:active {
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.digiedu__button:hover {
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .digiedu__footer {
    padding: 2rem 0;
  }

  .header-link {
    display: none;
  }

  .digiedu__navigation .nav-item {
    font-size: 16px;
  }

  .digiedu__hero {
    background-size: cover;
  }

  .digiedu__hero__slide__heading {
    font-size: 28px;
  }

  .digiedu__heading {
    font-size: 28px;
  }

  .digiedu__section__heading {
    font-size: 28px;
    margin-bottom: 1rem !important;
  }

  .digiedu__body__text__bold {
    font-size: 16px;
    margin-top: 1rem !important;
  }

  .digiedu__body__text {
    font-size: 16px;
  }

  .digiedu__textarea__formatted {
    font-size: 16px;
  }

  .digiedu__licence__item {
    font-size: 16px !important;
    width: 100% !important;
  }

  .digiedu__inclusive__equipment__item {
    width: 100% !important;
  }

  .digiedu__button {
    font-size: 14px;
  }

  .digiedu__standards__link {
    font-size: 16px !important;
  }

  .digiedu__licences__list {
    font-size: 16px;
  }

  .info-title {
    font-size: 28px;
  }

  .info-table th {
    font-size: 14px;
  }

  .info-table td {
    font-size: 14px;
  }

  .education-title {
    font-size: 28px;
  }
  .education-text {
    font-size: 16px;
  }
  .table-heading {
    font-size: 18px;
  }

  .info-box {
    font-size: 16px;
  }

  .digiedu__digital__standards__title h2 {
    font-size: 28px;
  }

  .digiedu__digital__standards__scope p {
    font-size: 16px;
  }

  .digiedu__digital__equipment__title h2 {
    font-size: 28px;
  }

  .digiedu__digital__equipment__subtitle h3 {
    font-size: 19px;
  }

  .digiedu__digital__equipment__scope p {
    font-size: 16px;
  }

  .digiedu__digital__infrastructure__title h2 {
    font-size: 28px;
  }

  .digiedu__digital__infrastructure__scope p {
    font-size: 16px;
  }

  .digiedu__diginet__ict__title h2 {
    font-size: 28px;
  }

  .digiedu__timeline__title {
    font-size: 28px;
  }

  .digiedu__timeline__subtitle {
    font-size: 19px;
  }

  .digiedu__timeline__text {
    font-size: 16px;
  }

  .accordion-title {
    margin-right: 45px;
  }

  .accordion-button::after {
    scale: 0.8;
  }

  .accordion-content__faq_standard {
    font-size: 16px;
  }

  .icon-title {
    font-size: 14px;
  }

  .digiedu__footer__logo img {
    max-width: 200px;
  }

  .digiedu__footer__logo::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .digiedu__button {
    width: 100%;
    text-align: center;
  }
}

/* Gutenberg - file block */
.wp-block-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.wp-block-file > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 320px;
  min-width: 220px;
  color: var(--main-color);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  word-break: break-word;
}

.wp-block-file > a:first-child:hover {
  text-decoration: underline;
}

.wp-block-file > a[href$=".pdf"]::before,
.wp-block-file > a[href*=".pdf?"]::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14 2H7a2 2 0 00-2 2v16a2 2 0 002 2h10a2 2 0 002-2V8l-5-6z' stroke='%23dc2626' stroke-width='1.8'/%3E%3Cpath d='M14 2v6h5' stroke='%23dc2626' stroke-width='1.8'/%3E%3Cpath d='M8 16h8M8 13h5' stroke='%23dc2626' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.wp-block-file .wp-block-file__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--main-color);
  border-radius: 8px;
  background: var(--main-color);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.wp-block-file .wp-block-file__button::before,
.wp-block-file .wp-block-file__button::after {
  content: none !important;
  display: none !important;
}

.wp-block-file .wp-block-file__button:hover {
  background: var(--main-color);
  opacity: 0.88;
  color: #fff;
}

.wp-block-file .wp-block-file__button:focus,
.wp-block-file .wp-block-file__button:active {
  color: #fff;
}

@media (max-width: 576px) {
  .wp-block-file {
    align-items: stretch;
    padding: 0.9rem 1rem;
  }

  .wp-block-file > a:first-child {
    flex-basis: 100%;
  }
}
