@charset "UTF-8";
.common-text-block, .warning-block, .quote-block, .news-article-page .article-main .article-content blockquote, .terms-of-service-page .legal-toc,
.privacy-policy-page .legal-toc, .common-section p, .related-courses-section p, .course-hero-content p, .faq-section p, .partners p, .course-categories-section p, .popular-queries-section p {
  font-size: 14px;
  line-height: 1.6;
  color: black;
}
@media (min-width: 768px) {
  .common-text-block, .warning-block, .quote-block, .news-article-page .article-main .article-content blockquote, .terms-of-service-page .legal-toc,
  .privacy-policy-page .legal-toc, .common-section p, .related-courses-section p, .course-hero-content p, .faq-section p, .partners p, .course-categories-section p, .popular-queries-section p {
    font-size: 16px;
  }
}

.gradient-border, .portfolio-page .portfolio-hero__content .hero-info .student-institution, .quote-block, .news-article-page .article-main .article-content blockquote, .terms-of-service-page .legal-toc,
.privacy-policy-page .legal-toc {
  border-image-slice: 1;
  border-image-source: linear-gradient(#4b8bfa 17.63%, #89d1ca 33.49%, #95d7c8 50.35%, #a3dec6 68.57%, #c3aab2 93.49%);
}

.gradient-input, .all-portfolios-page .search-form .search-input-wrapper .admin-search-input, .hero-section .hero-search .search-container .search-input {
  border: solid 2px transparent;
  background: linear-gradient(#fff) padding-box, radial-gradient(96.04% 161.51% at 3.33% -13.12%, #a6c7bb 0%, #c1beb3 8.33%, #e4b4a9 23.96%, #e7b2a9 40.9%, #e9b2bc 58.38%, #9086b7 71.65%, #7271bd 82.77%, #4a54c6 90.28%, #2833d0 100%) border-box;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .section-title-row {
    margin-bottom: 32px;
  }
}

.section-title, .faq-header .faq-title, .categories-title, .common-section h2, .related-courses-section h2, .course-hero-content h2, .faq-section h2, .partners h2, .course-categories-section h2, .popular-queries-section h2 {
  font-size: 20px;
  font-weight: 400;
  color: black;
  line-height: 24px;
  text-align: left;
  max-width: 560px;
  margin-bottom: 0;
}
@media (min-width: 480px) {
  .section-title, .faq-header .faq-title, .categories-title, .common-section h2, .related-courses-section h2, .course-hero-content h2, .faq-section h2, .partners h2, .course-categories-section h2, .popular-queries-section h2 {
    font-size: 24px;
    line-height: 28px;
  }
}
@media (min-width: 768px) {
  .section-title, .faq-header .faq-title, .categories-title, .common-section h2, .related-courses-section h2, .course-hero-content h2, .faq-section h2, .partners h2, .course-categories-section h2, .popular-queries-section h2 {
    font-size: 38px;
    line-height: 40px;
  }
}

.common-section, .related-courses-section, .course-hero-content, .faq-section, .partners, .course-categories-section, .popular-queries-section {
  margin-bottom: 48px;
}
.common-section h2, .related-courses-section h2, .course-hero-content h2, .faq-section h2, .partners h2, .course-categories-section h2, .popular-queries-section h2 {
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .common-section, .related-courses-section, .course-hero-content, .faq-section, .partners, .course-categories-section, .popular-queries-section {
    margin-bottom: 64px;
  }
}
.quote-block, .news-article-page .article-main .article-content blockquote, .terms-of-service-page .legal-toc,
.privacy-policy-page .legal-toc {
  line-height: 1.5;
  font-weight: 400;
  color: black;
  border-left: 2px solid;
  padding: 8px 8px 8px 16px;
  display: flex;
  flex-direction: column;
}
.quote-block__title,
.quote-block h3,
.news-article-page .article-main .article-content blockquote h3,
.terms-of-service-page .legal-toc h3,
.privacy-policy-page .legal-toc h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}
.quote-block button, .news-article-page .article-main .article-content blockquote button, .terms-of-service-page .legal-toc button,
.privacy-policy-page .legal-toc button {
  align-self: flex-start;
  flex-grow: 0;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .quote-block, .news-article-page .article-main .article-content blockquote, .terms-of-service-page .legal-toc,
  .privacy-policy-page .legal-toc {
    padding-left: 24px;
  }
}

.warning-block {
  display: flex;
  align-items: center;
  padding: 16px;
  background: rgba(255, 244, 215, 0.7);
  line-height: 1.5;
  border: none;
}
@media (min-width: 768px) {
  .warning-block {
    padding: 24px;
  }
}

.inline-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  color: black;
  background: #ddd;
}
.inline-link:hover {
  background: #ccc;
}

/**
 * e-Ukraine Font Family
 * Official Ukrainian font with multiple weights
 */
/* Ultra Light */
@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-UltraLight.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
/* Thin */
@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Thin.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
/* Light */
@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* Regular */
@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Medium */
@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* Bold */
@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --blob-primary-color: #ffd700;
  --blob-secondary-color: #ffd700;
  --blob-blue-color: #667eea;
  --blob-neutral-color: #fefce8;
  --blob-primary-duration: 30s;
  --blob-secondary-duration: 35s;
  --blob-blue-duration: 40s;
  --blob-primary-size: 600px 400px;
  --blob-secondary-size: 500px 350px;
  --blob-blue-size: 450px 320px;
  --blob-opacity-primary: 0.6;
  --blob-opacity-secondary: 0.3;
  --blob-opacity-blue: 0.4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "e-Ukraine", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: black;
  font-size: 16px;
  background: #ffffff;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-hero-wrapper {
  display: flex;
  flex-direction: column;
  height: 514px;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(217deg, #ffe736, rgba(255, 231, 54, 0) 70.71%), linear-gradient(336deg, #ffff45, rgba(255, 255, 69, 0) 70.71%), linear-gradient(127deg, rgba(54, 134, 239, 0.8), rgb(245, 241, 241) 60.71%);
  background-size: 150vw 150vh;
  animation: 12s linear 0s infinite alternate none running granimate;
  transition: background-image 0.5s ease-in-out;
}
@media (min-width: 768px) {
  .nav-hero-wrapper {
    height: 600px;
  }
}
@media (min-width: 1024px) {
  .nav-hero-wrapper {
    height: 720px;
    display: block;
  }
}
.nav-hero-wrapper .main-content {
  flex: 1;
}

@keyframes granimate {
  0%, 100% {
    background-position: 0% 25%;
  }
  25%, 75% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
}
.navbar {
  padding: 0;
  width: 100%;
  top: 0;
  margin: 0 auto;
  position: relative;
  z-index: 1000;
  background: transparent;
}
.navbar .nav-container {
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
@media (min-width: 768px) {
  .navbar .nav-container {
    padding: 0 80px;
  }
}
.navbar .logo .logo-img {
  height: 37px;
  width: auto;
}
.navbar .nav-menu-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .navbar .nav-menu-desktop {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: space-between;
    margin-left: 36px;
  }
}
.navbar .nav-menu-desktop .nav-links {
  display: flex;
  gap: 32px;
}
.navbar .nav-menu-desktop .nav-links a {
  color: black;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: -0.32px;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}
.navbar .nav-menu-desktop .nav-links a:hover {
  text-decoration: none;
  border-bottom-color: black;
}
.navbar .nav-menu-desktop .nav-links a.active {
  border-bottom-color: black;
}
.navbar .nav-menu-desktop .nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.navbar .nav-menu-desktop .nav-actions .nav-divider {
  color: #d1d5db;
  font-size: 14px;
}
.navbar .nav-menu-desktop .nav-actions .login-btn,
.navbar .nav-menu-desktop .nav-actions .user-profile-btn {
  font-weight: 400;
  text-decoration: none;
}
.navbar .nav-menu-desktop .nav-actions .user-profile-btn {
  background: #3366cc;
  color: white;
  border-color: #3366cc;
}
.navbar .nav-menu-desktop .nav-actions .user-profile-btn:hover {
  background: rgb(40.8, 81.6, 163.2);
  border-color: rgb(40.8, 81.6, 163.2);
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown {
  position: relative;
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn {
  background: #3366cc;
  color: white;
  border-color: #3366cc;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn:hover {
  background: rgb(40.8, 81.6, 163.2);
  border-color: rgb(40.8, 81.6, 163.2);
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn .user-menu-arrow {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn .user-menu-arrow svg {
  width: 12px;
  height: 12px;
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown.open .user-menu-btn .user-menu-arrow {
  transform: rotate(180deg);
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  max-width: 240px;
  width: max-content;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown.open .user-menu-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-option {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
  font-size: 14px;
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-option:hover {
  background-color: #f5f5f5;
}
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-option:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}
.navbar .mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}
@media (min-width: 1024px) {
  .navbar .mobile-menu-toggle {
    display: none;
  }
}
.navbar .mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: black;
  transition: all 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #feffe6;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.mobile-menu.mobile-menu-open {
  transform: translateX(0);
}
.mobile-menu .mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 2px solid black;
}
.mobile-menu .mobile-menu-header h3 {
  font-size: 18px;
  font-weight: 600;
}
.mobile-menu .mobile-menu-header .mobile-menu-close {
  background: none;
  border: none;
  font-size: 48px;
  cursor: pointer;
  line-height: 40px;
}
.mobile-menu .mobile-menu-content {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.mobile-menu .mobile-menu-content .mobile-menu-links {
  display: flex;
  flex-direction: column;
}
.mobile-menu .mobile-menu-content .mobile-menu-links a {
  display: flex;
  align-items: center;
  height: 48px;
  font-size: 18px;
  font-weight: 500;
  padding: 4px 12px;
  border-bottom: 2px solid black;
  outline: none;
  text-decoration: none;
  color: black;
}
.mobile-menu .mobile-menu-content .mobile-user-menu-links {
  display: flex;
  flex-direction: column;
}
.mobile-menu .mobile-menu-content .mobile-user-menu-links .mobile-user-menu-link {
  display: flex;
  align-items: center;
  height: 48px;
  font-size: 18px;
  font-weight: 500;
  padding: 4px 12px;
  border-bottom: 2px solid black;
  outline: none;
  text-decoration: none;
  color: black;
}
.mobile-menu .mobile-menu-content .mobile-menu-section {
  margin-bottom: 16px;
}
.mobile-menu .mobile-menu-content .mobile-menu-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: black;
}
.mobile-menu .mobile-menu-content .mobile-menu-section ul {
  list-style: none;
}
.mobile-menu .mobile-menu-content .mobile-menu-section ul li {
  margin-bottom: 8px;
}
.mobile-menu .mobile-menu-content .mobile-menu-section ul li a {
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 0;
  display: block;
}
.mobile-menu .mobile-menu-content .mobile-menu-section ul li a:hover {
  color: #3366cc;
}
.mobile-menu .mobile-menu-content .mobile-menu-footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn,
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn {
  width: 100%;
  text-decoration: none;
  display: block;
  text-align: center;
}
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn {
  background: #3366cc;
  color: white;
  border-color: #3366cc;
}
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn:hover {
  background: rgb(40.8, 81.6, 163.2);
  border-color: rgb(40.8, 81.6, 163.2);
}
.mobile-menu .mobile-menu-content .mobile-menu-footer .language-switcher-toggle {
  margin-top: 24px;
}
.mobile-menu .mobile-menu-content .mobile-menu-footer .language-switcher-toggle .language-toggle-btn {
  font-size: 16px;
  line-height: 24px;
  opacity: 1;
}

.hero-section {
  padding-top: 0;
  background: transparent;
  display: flex;
  align-items: flex-start;
  z-index: 2;
  background: transparent;
  position: relative;
  min-height: auto;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.hero-section .container {
  margin: 0;
  display: flex;
}
@media (min-width: 1024px) {
  .hero-section {
    flex-direction: row;
    align-items: center;
  }
}
.hero-section .hero-content {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-section .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.hero-section .hero-text {
  width: 100%;
}
@media (min-width: 768px) {
  .hero-section .hero-text {
    width: 620px;
  }
}
@media (min-width: 1024px) {
  .hero-section .hero-text {
    width: 660px;
  }
}
.hero-section .hero-text .hero-subtitle {
  font-size: 12px;
  margin-bottom: 16px;
}
@media (min-width: 480px) {
  .hero-section .hero-text .hero-subtitle {
    font-size: 16px;
  }
}
.hero-section .hero-text .hero-title {
  font-size: 26px;
  line-height: 28px;
  color: black;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .hero-section .hero-text .hero-title {
    font-size: 26px;
    line-height: 28px;
  }
}
@media (min-width: 480px) {
  .hero-section .hero-text .hero-title {
    font-size: 36px;
    line-height: 40px;
  }
}
@media (min-width: 768px) {
  .hero-section .hero-text .hero-title {
    font-size: 42px;
    line-height: 48px;
    letter-spacing: -1.12px;
  }
}
@media (min-width: 1024px) {
  .hero-section .hero-text .hero-title {
    font-size: 56px;
    line-height: 60px;
  }
}
.hero-section .hero-search .search-container {
  position: relative;
  max-width: 580px;
  height: 48px;
  display: flex;
  align-items: center;
}
.hero-section .hero-search .search-container .search-input {
  width: 100%;
  padding: 10px 64px 10px 16px;
  border-radius: 100px;
  font-size: 16px;
  line-height: 24px;
}
.hero-section .hero-search .search-container .search-input::placeholder {
  color: #6b7280;
}
.hero-section .hero-search .search-container .search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(51, 102, 204, 0.1);
}
.hero-section .hero-search .search-container .search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hero-section .hero-search .search-container .search-btn img {
  width: 20px;
  height: 20px;
}
.hero-section .hero-visual {
  order: 1;
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-section .hero-visual {
    display: flex;
  }
}
.hero-section .hero-visual .geometric-shapes .shapes-image {
  height: 100%;
}

.courses-section {
  padding: 48px 0;
  background: #ffffff;
  position: relative;
  z-index: 1;
}
.courses-section .section-header {
  margin-bottom: 32px;
}
.courses-section .section-header .course-tabs {
  display: flex;
  gap: 32px;
}
.courses-section .section-header .course-tabs .tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.courses-section .section-header .course-tabs .tab-btn.active {
  border-bottom-color: black;
}
.courses-section .section-header .course-tabs .tab-btn.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.courses-section .section-header .course-tabs .tab-btn:hover:not(.disabled) {
  border-bottom-color: black;
}
.courses-section .section-header .course-tabs .tab-btn .tab-text {
  font-weight: 500;
  color: black;
  font-size: 18px;
  letter-spacing: -0.32px;
}
.courses-section .section-header .course-tabs .tab-btn .coming-soon {
  background: #d1d5db;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
}
.courses-section .popular-courses .popular-courses-header .course-navigation {
  display: flex;
  gap: 8px;
}
.courses-section .popular-courses .popular-courses-header .course-navigation .nav-arrow {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.courses-section .popular-courses .popular-courses-header .course-navigation .nav-arrow:hover:not(:disabled) {
  background: transparent;
  opacity: 0.7 !important;
}
.courses-section .popular-courses .popular-courses-header .course-navigation .nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.courses-section .popular-courses .courses-carousel {
  overflow: hidden;
  position: relative;
}
.courses-section .popular-courses .courses-grid {
  display: flex;
  gap: 24px;
  transition: transform 0.3s ease;
  width: fit-content;
}
.courses-section .popular-courses .courses-grid .course-card {
  flex: 1 0 280px;
  min-width: 280px;
  max-width: 280px;
}

.course-card {
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.course-card .course-image {
  height: 160px;
  overflow: hidden;
  margin-bottom: 20px;
}
.course-card .course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course-card .course-info {
  padding: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.course-card .course-info .course-title {
  font-size: 18px;
  font-weight: 500;
  color: black;
  margin-bottom: 24px;
  line-height: 24px;
  letter-spacing: -0.56px;
}
@media (min-width: 480px) {
  .course-card .course-info .course-title {
    font-size: 24px;
    line-height: 28px;
  }
}
@media (min-width: 768px) {
  .course-card .course-info .course-title {
    font-size: 28px;
    line-height: 32px;
  }
}
.course-card .course-info .course-title a {
  color: inherit;
  text-decoration: none;
}
.course-card .course-info .course-title a:hover {
  text-decoration: underline;
}
.course-card .course-info .course-subtitle {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}
.course-card .course-info .course-subtitle a {
  color: inherit;
  text-decoration: none;
  display: block;
  overflow: hidden;
}
.course-card .course-info .course-subtitle a:hover {
  color: black;
}
.course-card .course-info .course-non-auth-alert {
  font-size: 12px;
  color: #959595;
}
.course-card .course-info .course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.course-card .course-info .course-meta .course-category {
  background: #f3f4f6;
  color: black;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.course-card .course-info .course-meta .course-enrolled {
  color: #6b7280;
  font-weight: 500;
}
.course-card.course-card-1 .course-image {
  background: linear-gradient(135deg, #10b981, rgb(64.4776119403, 238.5223880597, 180.8507462687));
}
.course-card.course-card-2 .course-image {
  background: linear-gradient(135deg, #3b82f6, rgb(156.5219512195, 192.1951219512, 250.4780487805));
}
.course-card.course-card-3 .course-image {
  background: linear-gradient(135deg, #14b8a6, #47ebd9);
}
.course-card.course-card-4 .course-image {
  background: linear-gradient(135deg, #f59e0b, rgb(249.0157480315, 196.9527559055, 108.9842519685));
}

.no-courses {
  text-align: center;
  padding: 64px 0;
  color: #6b7280;
}
.no-courses p {
  font-size: 16px;
  margin: 0;
}
.no-courses a {
  margin-top: 48px;
}

.container {
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 80px;
  }
}

.font-ultralight {
  font-weight: 100;
}

.font-thin {
  font-weight: 200;
}

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.text-light {
  color: #6b7280;
}

.course-card .course-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.card.course-card .course-image {
  height: 200px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card.course-card .course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.card.course-card .course-header {
  margin-bottom: 16px;
}
.card.course-card .course-header h3 {
  margin-bottom: 4px;
}
.card.course-card .course-header h3 a {
  color: black;
  text-decoration: none;
}
.card.course-card .course-header h3 a:hover {
  color: #3366cc;
}
.card.course-card .course-header .course-code {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}
.card.course-card .course-summary {
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.5;
}

.courses-page {
  height: auto;
  padding-bottom: 32px;
}
.courses-page .search-header-section {
  padding: 0 0 32px 0;
  text-align: center;
}
.courses-page .search-header-section .search-form {
  width: 100%;
  max-width: 100%;
}
.courses-page .search-header-section .search-form .search-container {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  background-color: #feffe6;
  padding: 80px 0;
}
.courses-page .search-header-section .search-form .search-container .search-input-wrapper {
  position: relative;
  width: 100%;
  padding: 0 80px;
}
.courses-page .search-header-section .search-form .search-container .search-input-wrapper .search-input {
  border: solid 2px transparent;
  background: linear-gradient(#feffe6) padding-box, radial-gradient(96.04% 161.51% at 3.33% -13.12%, #a6c7bb 0%, #c1beb3 8.33%, #e4b4a9 23.96%, #e7b2a9 40.9%, #e9b2bc 58.38%, #9086b7 71.65%, #7271bd 82.77%, #4a54c6 90.28%, #2833d0 100%) border-box;
  width: 100%;
  border-left: none;
  border-top: none;
  border-right: none;
  font-size: 32px;
  outline: none;
}
@media (min-width: 480px) {
  .courses-page .search-header-section .search-form .search-container .search-input-wrapper .search-input {
    font-size: 56px;
  }
}
.courses-page .search-header-section .search-form .search-container .search-input-wrapper .search-btn {
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  position: absolute;
  right: 88px;
  top: 28px;
}
@media (min-width: 480px) {
  .courses-page .search-header-section .search-form .search-container .search-input-wrapper .search-btn {
    top: 28px;
  }
}
.courses-page .search-header-section .search-form .filters-container {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 80px;
}
@media (max-width: 767px) {
  .courses-page .search-header-section .search-form .filters-container {
    margin-top: 16px;
  }
}
.courses-page .search-header-section .search-form .filters-container .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.courses-page .search-header-section .search-form .course-type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  line-height: 16px;
}
@media (max-width: 767px) {
  .courses-page .search-header-section .search-form .course-type-filter {
    gap: 8px;
    margin-top: 8px;
  }
}
.courses-page .search-header-section .search-form .course-type-filter .filter-chip {
  padding: 8px 24px;
  height: 48px;
  position: relative;
  white-space: nowrap;
}
.courses-page .search-header-section .search-form .course-type-filter .filter-chip .chip-text {
  display: inline-block;
}
.courses-page .search-header-section .search-form .course-type-filter .filter-chip .chip-count {
  margin-left: 6px;
  padding: 4px 8px;
  background-color: black;
  color: white;
  border-radius: 20px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
  min-width: 24px;
  text-align: center;
}
.courses-page .search-header-section .search-form .course-type-filter .filter-chip.active {
  background-color: hsla(0, 0%, 0%, 0.9);
  color: white;
  border-color: hsla(0, 0%, 0%, 0.9);
}
.courses-page .search-header-section .search-form .course-type-filter .filter-chip.active .chip-count {
  background-color: white;
  color: black;
}
.courses-page .search-header-section .search-form .course-type-filter .filter-chip:hover .chip-count {
  background-color: hsl(0, 0%, 90%);
  color: hsla(0, 0%, 0%, 0.9);
}
.courses-page .search-header-section .search-form .category-filter {
  position: relative;
  border: solid 2px transparent;
  background: linear-gradient(#fff) padding-box, radial-gradient(96.04% 161.51% at 3.33% -13.12%, #a6c7bb 0%, #c1beb3 8.33%, #e4b4a9 23.96%, #e7b2a9 40.9%, #e9b2bc 58.38%, #9086b7 71.65%, #7271bd 82.77%, #4a54c6 90.28%, #2833d0 100%) border-box;
  font-size: 16px;
  font-weight: 500;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 320px;
  max-width: 360px;
  padding: 10px 16px;
  border-radius: 100px;
  line-height: 1.5;
  user-select: none;
  z-index: 10;
}
.courses-page .search-header-section .search-form .category-filter:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(51, 102, 204, 0.1);
}
.courses-page .search-header-section .search-form .category-filter:hover {
  transform: translateY(-1px);
}
.courses-page .search-header-section .search-form .category-filter.has-selection {
  background: linear-gradient(black) padding-box, radial-gradient(96.04% 161.51% at 3.33% -13.12%, #a6c7bb 0%, #c1beb3 8.33%, #e4b4a9 23.96%, #e7b2a9 40.9%, #e9b2bc 58.38%, #9086b7 71.65%, #7271bd 82.77%, #4a54c6 90.28%, #2833d0 100%) border-box;
  color: #ffffff;
  font-weight: 600;
}
.courses-page .search-header-section .search-form .category-filter .dropdown-selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 8px;
}
.courses-page .search-header-section .search-form .category-filter .dropdown-selected .dropdown-arrow {
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}
.courses-page .search-header-section .search-form .category-filter .dropdown-selected .dropdown-arrow svg {
  width: 12px;
  height: 12px;
}
.courses-page .search-header-section .search-form .category-filter.open .dropdown-arrow {
  transform: rotate(180deg);
}
.courses-page .search-header-section .search-form .category-filter .dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  margin-top: 4px;
  display: none;
}
.courses-page .search-header-section .search-form .category-filter .dropdown-options.show {
  display: block;
}
.courses-page .search-header-section .search-form .category-filter .dropdown-option {
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: black;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0; /* Rectangular elements */
  text-align: left;
}
.courses-page .search-header-section .search-form .category-filter .dropdown-option:last-child {
  border-bottom: none;
}
.courses-page .search-header-section .search-form .category-filter .dropdown-option:hover {
  background: rgb(191.25, 191.25, 191.25);
  color: black;
}
.courses-page .search-header-section .search-form .category-filter .dropdown-option.selected {
  background: black;
  color: #ffffff;
  font-weight: 600;
}
@media (max-width: 767px) {
  .courses-page .search-header-section .search-form .category-filter {
    font-size: 14px;
    padding: 8px 8px;
    max-width: 280px;
  }
  .courses-page .search-header-section .search-form .category-filter .dropdown-option {
    font-size: 14px;
    padding: 10px 12px;
  }
}
.courses-page .search-header-section .search-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: black;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .courses-page .search-header-section .search-title {
    font-size: 3rem;
  }
}
.courses-page .search-header-section .search-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 32px;
}

.search-results .results-info {
  margin-bottom: 32px;
  text-align: center;
}
.search-results .results-info .results-text {
  color: #6b7280;
  font-size: 1rem;
}
.search-results .courses-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 768px) {
  .search-results .courses-list {
    gap: 24px;
  }
}
.search-results .courses-list .course-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.search-results .courses-list .course-card .course-image {
  width: 100%;
}
.search-results .courses-list .course-card .course-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.search-results .courses-list .course-card .course-info .course-title {
  font-weight: 400;
  letter-spacing: -0.56px;
  font-size: 28px;
  margin: 0;
  line-height: 32px;
}
@media (min-width: 1024px) {
  .search-results .courses-list .course-card {
    flex-direction: row;
    gap: 24px;
  }
  .search-results .courses-list .course-card .course-image {
    width: 288px;
    min-width: 288px;
  }
  .search-results .courses-list .course-card .course-info {
    gap: 24px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}
.pagination .pagination-btn {
  padding: 8px 16px;
  text-decoration: none;
  color: black;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  transition: all 0.2s;
}
.pagination .pagination-btn:hover {
  background: #f3f4f6;
  text-decoration: none;
}
.pagination .pagination-btn.current {
  background: black;
  color: #ffffff;
  border-color: black;
}
.pagination .pagination-numbers {
  display: flex;
  gap: 4px;
}

.digital-dots-panel {
  width: 100%;
  height: 130px;
  background: url("/images/digital-dots-panel.svg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-switcher-toggle .language-toggle-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: black;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 8px;
  transition: all 0.2s;
  opacity: 0.8;
  font-size: 13px;
}
.language-switcher-toggle .language-toggle-btn:hover {
  opacity: 1;
}
.language-switcher-toggle .language-toggle-btn .globe-icon {
  width: 16px;
  height: 16px;
}
.language-switcher-toggle .language-toggle-btn .language-text {
  white-space: nowrap;
}

.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  .site-footer {
    padding: 48px 80px;
  }
}

.footer-menu-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 480px) {
  .footer-menu-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (min-width: 1024px) {
  .footer-menu-sections {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

.footer-section .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-section .footer-links li {
  display: flex;
  flex-grow: 0;
}
.footer-section .footer-links li .footer-link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  flex-grow: 0;
}
.footer-section .footer-links li .footer-link svg {
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.footer-section .footer-links li .footer-link:hover {
  text-decoration: none;
}
.footer-section .footer-links li .footer-link:hover svg {
  transform: translateX(2px);
}
@media (max-width: 767px) {
  .footer-section .footer-links li .footer-link {
    font-size: 14px;
  }
}

.footer-social-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-social-section .footer-social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-social-section .footer-social-links .footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.footer-social-section .footer-social-links .footer-social-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
.footer-social-section .footer-social-links .footer-social-link img {
  width: 36px;
  height: 36px;
}

.footer-info {
  display: flex;
  font-size: 13px;
  gap: 24px;
  align-items: center;
}
.footer-info .footer-logo {
  flex-shrink: 0;
}
.footer-info .footer-logo img {
  width: 96px;
  height: 96px;
}
@media (max-width: 767px) {
  .footer-info .footer-logo img {
    width: 64px;
    height: 64px;
  }
}
.footer-info .footer-info-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  flex: 1;
}
.footer-info .footer-info-text p {
  color: #b0b0b0;
  line-height: 1.5;
  letter-spacing: -0.32px;
  font-weight: 400;
  opacity: 0.8;
}
.footer-info .footer-info-text p:last-child {
  margin-bottom: 0;
}
.footer-info .footer-info-text .footer-funding {
  font-weight: 500;
}

.footer-link {
  position: relative;
  overflow: hidden;
}
.footer-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s ease;
}
.footer-link:hover::after {
  width: 100%;
}

.tag-base, .popular-queries-section .query-tag, .btn-primary, .btn-outline, .faq-page .faq-contact-content .contact-btn, .navbar .nav-menu-desktop .nav-actions .login-btn,
.navbar .nav-menu-desktop .nav-actions .user-profile-btn, .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn, .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn,
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn, .courses-page .search-header-section .search-form .course-type-filter .filter-chip, .btn-tag, .repository-btn, .tag-green, .popular-queries-section .query-tag.query-special, .tag-blue, .popular-queries-section .query-tag.query-external {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
  gap: 8px;
  cursor: pointer;
  border: 2px solid black;
  font-family: "e-Ukraine", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  justify-content: center;
}
.tag-base:hover, .popular-queries-section .query-tag:hover, .btn-primary:hover, .btn-outline:hover, .faq-page .faq-contact-content .contact-btn:hover, .navbar .nav-menu-desktop .nav-actions .login-btn:hover,
.navbar .nav-menu-desktop .nav-actions .user-profile-btn:hover, .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn:hover, .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn:hover,
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn:hover, .courses-page .search-header-section .search-form .course-type-filter .filter-chip:hover, .btn-tag:hover, .repository-btn:hover, .tag-green:hover, .tag-blue:hover {
  background: rgba(47, 47, 47, 0.975);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(47, 47, 47, 0.975);
}
.tag-base:active, .popular-queries-section .query-tag:active, .btn-primary:active, .btn-outline:active, .faq-page .faq-contact-content .contact-btn:active, .navbar .nav-menu-desktop .nav-actions .login-btn:active,
.navbar .nav-menu-desktop .nav-actions .user-profile-btn:active, .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn:active, .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn:active,
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn:active, .courses-page .search-header-section .search-form .course-type-filter .filter-chip:active, .btn-tag:active, .repository-btn:active, .tag-green:active, .tag-blue:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tag-blue, .popular-queries-section .query-tag.query-external {
  background: #3366cc;
}
.tag-blue:hover, .popular-queries-section .query-tag.query-external:hover {
  background: #2851a3;
}

.tag-green, .popular-queries-section .query-tag.query-special {
  background: #059669;
}
.tag-green:hover, .popular-queries-section .query-tag.query-special:hover {
  background: #047857;
}

.btn-tag, .repository-btn {
  position: relative;
  z-index: 2;
  transform: none;
}
.btn-tag svg, .repository-btn svg {
  transition: transform 0.3s ease;
}
.btn-tag:hover svg, .repository-btn:hover svg {
  transform: translateX(2px);
}
@media (max-width: 767px) {
  .btn-tag:hover svg, .repository-btn:hover svg {
    transform: none;
  }
}

.btn-outline, .faq-page .faq-contact-content .contact-btn, .navbar .nav-menu-desktop .nav-actions .login-btn,
.navbar .nav-menu-desktop .nav-actions .user-profile-btn, .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn, .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn,
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn, .courses-page .search-header-section .search-form .course-type-filter .filter-chip {
  background: transparent;
  color: black;
  transition: all 0.2s ease;
}
.btn-outline:hover, .faq-page .faq-contact-content .contact-btn:hover, .navbar .nav-menu-desktop .nav-actions .login-btn:hover,
.navbar .nav-menu-desktop .nav-actions .user-profile-btn:hover, .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn:hover, .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn:hover,
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn:hover, .courses-page .search-header-section .search-form .course-type-filter .filter-chip:hover {
  background-color: black;
  color: white;
  text-decoration: none;
  border-color: black;
}
.btn-outline:hover img, .faq-page .faq-contact-content .contact-btn:hover img, .navbar .nav-menu-desktop .nav-actions .login-btn:hover img,
.navbar .nav-menu-desktop .nav-actions .user-profile-btn:hover img, .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn:hover img, .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn:hover img,
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn:hover img, .courses-page .search-header-section .search-form .course-type-filter .filter-chip:hover img {
  filter: invert(1);
}
.btn-outline:focus, .faq-page .faq-contact-content .contact-btn:focus, .navbar .nav-menu-desktop .nav-actions .login-btn:focus,
.navbar .nav-menu-desktop .nav-actions .user-profile-btn:focus, .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn:focus, .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn:focus,
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn:focus, .courses-page .search-header-section .search-form .course-type-filter .filter-chip:focus {
  outline: 3px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.btn-lg, .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn,
.mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn {
  font-size: 16px;
  line-height: 24px;
  padding: 16px 24px;
  height: 56px;
}

.btn-sm, .navbar .nav-menu-desktop .nav-actions .login-btn,
.navbar .nav-menu-desktop .nav-actions .user-profile-btn, .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn {
  padding: 8px 16px;
}

/* Popular Queries Section Styles */
.popular-queries-section .popular-queries {
  margin: 0;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .popular-queries-section .popular-queries {
    flex-direction: row;
    padding: 24px 0;
  }
}
.popular-queries-section .queries-title {
  width: 256px;
  min-width: 256px;
}
@media (min-width: 1024px) {
  .popular-queries-section .queries-title {
    width: 314px;
    min-width: 314px;
  }
}
.popular-queries-section .queries-title .section-title, .popular-queries-section .queries-title .faq-header .faq-title, .faq-header .popular-queries-section .queries-title .faq-title, .popular-queries-section .queries-title .categories-title, .popular-queries-section .queries-title h2 {
  margin-bottom: 24px;
}
.popular-queries-section .queries-title img {
  display: none;
  height: 84px;
}
@media (min-width: 768px) {
  .popular-queries-section .queries-title img {
    display: block;
  }
}
.popular-queries-section .queries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  height: 100%;
}
@media (max-width: 767px) {
  .popular-queries-section .queries-grid {
    gap: 12px;
  }
}
.popular-queries-section .query-tag {
  text-wrap: wrap;
  text-align: left;
  min-width: fit-content;
}
.course-categories-section {
  background-color: #f7fddb;
  padding-top: 40px;
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  .course-categories-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.categories-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .categories-grid {
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .categories-grid {
    gap: 32px;
    margin: 0;
  }
}

.categories-grid--flex {
  display: flex;
  flex-wrap: wrap;
}
.categories-grid--flex .category-card {
  flex: 1 1 calc(50% - 8px);
  min-width: calc(50% - 8px);
  max-width: calc(50% - 8px);
}
@media (min-width: 768px) {
  .categories-grid--flex .category-card {
    flex: 1 1 calc(50% - 10px);
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
@media (min-width: 1024px) {
  .categories-grid--flex .category-card {
    flex: 1 1 calc(33.333% - 21.3333333333px);
    min-width: calc(33.333% - 21.3333333333px);
    max-width: calc(33.333% - 21.3333333333px);
  }
}
@media (max-width: 767px) {
  .categories-grid--flex .digital-repository {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
@media (min-width: 1024px) {
  .categories-grid--flex .digital-repository {
    flex: 1 1 calc(33.333% - 21.3333333333px);
    min-width: calc(33.333% - 21.3333333333px);
    max-width: calc(33.333% - 21.3333333333px);
  }
}

.categories-grid--grid {
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "cat1 cat2" "cat3 cat4" "cat5 cat6" "repository repository";
}
.categories-grid--grid .category-card:nth-child(1) {
  grid-area: cat1;
}
.categories-grid--grid .category-card:nth-child(2) {
  grid-area: cat2;
}
.categories-grid--grid .category-card:nth-child(3) {
  grid-area: cat3;
}
.categories-grid--grid .category-card:nth-child(4) {
  grid-area: cat4;
}
.categories-grid--grid .category-card:nth-child(5) {
  grid-area: cat5;
}
.categories-grid--grid .category-card:nth-child(6) {
  grid-area: cat6;
}
.categories-grid--grid .category-card:nth-child(7) {
  grid-area: cat7;
}
.categories-grid--grid .digital-repository {
  grid-area: repository;
}
@media (min-width: 768px) {
  .categories-grid--grid {
    grid-template-areas: "cat1 cat2" "cat3 cat4" "cat5 cat6" "cat7 repository";
  }
}
@media (min-width: 1024px) {
  .categories-grid--grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "cat1 cat2 repository" "cat3 cat4 repository" "cat5 cat6 cat7";
  }
}
@media (max-width: 767px) {
  .categories-grid--grid[data-card-count="8"] .category-card:nth-child(7) {
    display: none;
  }
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

.category-card {
  position: relative;
  background: #effbb7;
  padding: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}
@media (max-width: 479px) {
  .category-card {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }
}
@media (min-width: 480px) {
  .category-card {
    padding: 24px;
  }
}
@media (min-width: 768px) {
  .category-card {
    padding: 32px 24px;
  }
}
@media (min-width: 1024px) {
  .category-card:not(.digital-repository):hover {
    transform: translateY(-4px);
  }
}

.category-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-decoration: none;
}

.category-name {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.56px;
  word-break: break-word;
  margin-bottom: 16px;
}
@media (min-width: 480px) {
  .category-name {
    font-weight: 500;
  }
}
@media (min-width: 768px) {
  .category-name {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 24px;
  }
}
@media (min-width: 1024px) {
  .category-name {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 24px;
  }
}

.category-description {
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.32px;
  vertical-align: middle;
  margin-bottom: 0;
  display: none;
}
@media (min-width: 480px) {
  .category-description {
    display: block;
  }
}
@media (min-width: 768px) {
  .category-description {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Special styling for Digital Repository card */
.category-card.digital-repository {
  background: #dff770;
}
@media (max-width: 767px) {
  .category-card.digital-repository {
    aspect-ratio: auto;
    display: block;
    text-align: left;
    padding: 24px;
  }
}

.digital-repository .category-name {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 24px;
}
@media (min-width: 768px) {
  .digital-repository .category-name {
    font-size: 28px;
    margin-bottom: 24px;
  }
}
@media (min-width: 1024px) {
  .digital-repository .category-name {
    font-size: 32px;
    line-height: 40px;
  }
}

.digital-repository .category-description {
  font-size: 15px;
  margin-bottom: 16px;
  display: block;
}

@media (max-width: 767px) {
  .digital-repository .category-description {
    font-size: 14px;
    margin-bottom: 12px;
  }
}
.repository-additional {
  font-size: 14px;
  margin-bottom: 24px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .repository-additional {
    font-size: 13px;
    margin-bottom: 20px;
  }
}
.repository-btn {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
}

.digital-repository .category-link {
  display: none;
}

.category-card:not(.digital-repository):active {
  transform: translateY(-2px);
}

:root {
  --partner-item-size: 120px;
  --partner-item-gap: 40px;
  --partner-animation-duration: 20s;
}

.partners {
  overflow: hidden;
}
.partners-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.partners-track {
  display: flex;
  align-items: center;
  animation: scroll var(--partner-animation-duration) linear infinite;
  padding-top: 20px;
  gap: var(--partner-item-gap);
  width: calc((var(--partner-item-size) + var(--partner-item-gap)) * var(--partner-count) * 2);
}
.partners-track:hover {
  animation-play-state: paused;
}
.partners .section-title, .partners .faq-header .faq-title, .faq-header .partners .faq-title, .partners .categories-title, .partners h2 {
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .partners .section-title, .partners .faq-header .faq-title, .faq-header .partners .faq-title, .partners .categories-title, .partners h2 {
    margin-bottom: 48px;
  }
}

.partner-item {
  flex: 0 0 auto;
  height: var(--partner-item-size);
  width: var(--partner-item-size);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-item a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}
.faq-section {
  background-color: #ffffff;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.faq-header .faq-title {
  margin-bottom: 0;
}
.faq-header .faq-all-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  color: black;
  text-decoration: none;
}
.faq-header .faq-all-link:hover {
  text-decoration: none;
}
.faq-header .faq-all-link:hover img {
  transform: translateX(2px);
}
.faq-header .faq-all-link img {
  transition: transform 0.2s ease;
}
@media (max-width: 767px) {
  .faq-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 16px;
  }
  .faq-header .faq-all-link {
    font-size: 14px;
  }
}

.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 13px;
  line-height: 16px;
}
@media (max-width: 767px) {
  .faq-tags {
    gap: 8px;
    margin-bottom: 32px;
  }
}
.faq-tags .btn-tag, .faq-tags .repository-btn,
.faq-tags .btn-outline,
.faq-tags .faq-page .faq-contact-content .contact-btn,
.faq-page .faq-contact-content .faq-tags .contact-btn,
.faq-tags .navbar .nav-menu-desktop .nav-actions .login-btn,
.navbar .nav-menu-desktop .nav-actions .faq-tags .login-btn,
.faq-tags .navbar .nav-menu-desktop .nav-actions .user-profile-btn,
.navbar .nav-menu-desktop .nav-actions .faq-tags .user-profile-btn,
.faq-tags .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn,
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .faq-tags .user-menu-btn,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .mobile-login-btn,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .mobile-user-profile-btn,
.faq-tags .courses-page .search-header-section .search-form .course-type-filter .filter-chip,
.courses-page .search-header-section .search-form .course-type-filter .faq-tags .filter-chip {
  padding: 8px 24px;
  height: 48px;
  position: relative;
  white-space: nowrap;
}
.faq-tags .btn-tag .tag-count, .faq-tags .repository-btn .tag-count,
.faq-tags .btn-outline .tag-count,
.faq-tags .faq-page .faq-contact-content .contact-btn .tag-count,
.faq-page .faq-contact-content .faq-tags .contact-btn .tag-count,
.faq-tags .navbar .nav-menu-desktop .nav-actions .login-btn .tag-count,
.navbar .nav-menu-desktop .nav-actions .faq-tags .login-btn .tag-count,
.faq-tags .navbar .nav-menu-desktop .nav-actions .user-profile-btn .tag-count,
.navbar .nav-menu-desktop .nav-actions .faq-tags .user-profile-btn .tag-count,
.faq-tags .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn .tag-count,
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .faq-tags .user-menu-btn .tag-count,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn .tag-count,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .mobile-login-btn .tag-count,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn .tag-count,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .mobile-user-profile-btn .tag-count,
.faq-tags .courses-page .search-header-section .search-form .course-type-filter .filter-chip .tag-count,
.courses-page .search-header-section .search-form .course-type-filter .faq-tags .filter-chip .tag-count {
  margin-left: 6px;
  padding: 4px 8px;
  background-color: black;
  color: white;
  border-radius: 20px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
  min-width: 24px;
  text-align: center;
}
.faq-tags .btn-tag.active, .faq-tags .active.repository-btn,
.faq-tags .btn-outline.active,
.faq-tags .faq-page .faq-contact-content .active.contact-btn,
.faq-page .faq-contact-content .faq-tags .active.contact-btn,
.faq-tags .navbar .nav-menu-desktop .nav-actions .active.login-btn,
.navbar .nav-menu-desktop .nav-actions .faq-tags .active.login-btn,
.faq-tags .navbar .nav-menu-desktop .nav-actions .active.user-profile-btn,
.navbar .nav-menu-desktop .nav-actions .faq-tags .active.user-profile-btn,
.faq-tags .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .active.user-menu-btn,
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .faq-tags .active.user-menu-btn,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .active.mobile-login-btn,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .active.mobile-login-btn,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .active.mobile-user-profile-btn,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .active.mobile-user-profile-btn,
.faq-tags .courses-page .search-header-section .search-form .course-type-filter .active.filter-chip,
.courses-page .search-header-section .search-form .course-type-filter .faq-tags .active.filter-chip {
  background-color: hsla(0, 0%, 0%, 0.9);
  color: white;
  border-color: hsla(0, 0%, 0%, 0.9);
}
.faq-tags .btn-tag.active .tag-count, .faq-tags .active.repository-btn .tag-count,
.faq-tags .btn-outline.active .tag-count,
.faq-tags .faq-page .faq-contact-content .active.contact-btn .tag-count,
.faq-page .faq-contact-content .faq-tags .active.contact-btn .tag-count,
.faq-tags .navbar .nav-menu-desktop .nav-actions .active.login-btn .tag-count,
.navbar .nav-menu-desktop .nav-actions .faq-tags .active.login-btn .tag-count,
.faq-tags .navbar .nav-menu-desktop .nav-actions .active.user-profile-btn .tag-count,
.navbar .nav-menu-desktop .nav-actions .faq-tags .active.user-profile-btn .tag-count,
.faq-tags .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .active.user-menu-btn .tag-count,
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .faq-tags .active.user-menu-btn .tag-count,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .active.mobile-login-btn .tag-count,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .active.mobile-login-btn .tag-count,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .active.mobile-user-profile-btn .tag-count,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .active.mobile-user-profile-btn .tag-count,
.faq-tags .courses-page .search-header-section .search-form .course-type-filter .active.filter-chip .tag-count,
.courses-page .search-header-section .search-form .course-type-filter .faq-tags .active.filter-chip .tag-count {
  background-color: white;
  color: black;
}
.faq-tags .btn-tag:hover .tag-count, .faq-tags .repository-btn:hover .tag-count,
.faq-tags .btn-outline:hover .tag-count,
.faq-tags .faq-page .faq-contact-content .contact-btn:hover .tag-count,
.faq-page .faq-contact-content .faq-tags .contact-btn:hover .tag-count,
.faq-tags .navbar .nav-menu-desktop .nav-actions .login-btn:hover .tag-count,
.navbar .nav-menu-desktop .nav-actions .faq-tags .login-btn:hover .tag-count,
.faq-tags .navbar .nav-menu-desktop .nav-actions .user-profile-btn:hover .tag-count,
.navbar .nav-menu-desktop .nav-actions .faq-tags .user-profile-btn:hover .tag-count,
.faq-tags .navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .user-menu-btn:hover .tag-count,
.navbar .nav-menu-desktop .nav-actions .user-menu-dropdown .faq-tags .user-menu-btn:hover .tag-count,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-login-btn:hover .tag-count,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .mobile-login-btn:hover .tag-count,
.faq-tags .mobile-menu .mobile-menu-content .mobile-menu-footer .mobile-user-profile-btn:hover .tag-count,
.mobile-menu .mobile-menu-content .mobile-menu-footer .faq-tags .mobile-user-profile-btn:hover .tag-count,
.faq-tags .courses-page .search-header-section .search-form .course-type-filter .filter-chip:hover .tag-count,
.courses-page .search-header-section .search-form .course-type-filter .faq-tags .filter-chip:hover .tag-count {
  background-color: hsl(0, 0%, 90%);
  color: hsla(0, 0%, 0%, 0.9);
}

.faq-list {
  width: 100%;
  margin: 0 auto;
}
.faq-list .faq-item {
  border-top: 2px solid black;
}
.faq-list .faq-item:last-child {
  border-bottom: 2px solid black;
}

.faq-item {
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover .faq-question {
  background-color: black;
  color: white;
  padding: 48px 24px;
  transition: all 0.2s ease;
}
.faq-item:hover.active .faq-question {
  background-color: #ffffff;
  color: black;
}
.faq-item.active .faq-question {
  padding: 48px 24px;
}
.faq-item.active .faq-question .faq-icon .vertical-line {
  opacity: 0;
}
.faq-item.active .faq-answer {
  height: auto;
  max-height: fit-content;
  padding-bottom: 24px;
}

.faq-question {
  border: none;
  width: 100%;
  padding: 48px 0;
  background: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  color: black;
  transition: all 0.2s ease;
  background-color: #ffffff;
}
.faq-question:focus {
  outline: none;
}
@media (max-width: 767px) {
  .faq-question {
    padding: 20px !important;
    font-size: 16px;
    line-height: 24px;
  }
}
.faq-question span {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.faq-icon .vertical-line {
  transition: all 0.3s ease;
}
.faq-icon .horizontal-line {
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.faq-answer-content {
  padding: 0 24px;
}
@media (max-width: 767px) {
  .faq-answer-content {
    padding: 0 20px;
  }
}
.faq-answer-content p {
  margin: 0;
  color: black;
  font-size: 16px;
  line-height: 24px;
}
@media (max-width: 767px) {
  .faq-answer-content p {
    font-size: 14px;
  }
}

.cookie-consent {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 480px;
  background: #ffffff;
  border: 2px solid black;
  padding: 32px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease-out;
  font-size: 16px;
  font-weight: 300;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.cookie-consent.animate-in {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 768px) {
  .cookie-consent {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}

.cookie-consent__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cookie-consent__text {
  color: #333333;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.cookie-consent__text h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
.cookie-consent__text a {
  color: #007cba;
  text-decoration: underline;
}
.cookie-consent__text a:hover {
  color: #005a87;
}

.cookie-consent__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-consent__actions div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-consent__actions button,
.cookie-consent__actions a {
  flex: 1;
  justify-content: center;
  min-width: 160px;
}
@media (min-width: 480px) {
  .cookie-consent__actions {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
  .cookie-consent__actions div {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }
}

.cookie-consent__settings {
  white-space: nowrap;
  order: 2;
}
@media (min-width: 768px) {
  .cookie-consent__settings {
    text-align: center;
  }
}

.cookie-consent__accept {
  order: 1;
}
@media (min-width: 768px) {
  .cookie-consent__accept {
    text-align: center;
  }
}

.cookie-consent__link {
  font-size: 13px;
  text-decoration: underline;
  color: black;
  order: 3;
  text-align: center;
  flex-grow: 1;
}
@media (min-width: 768px) {
  .cookie-consent__link {
    order: 3;
  }
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cookie-settings-modal.show {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.cookie-settings__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.cookie-settings__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 720px;
  background: #ffffff;
  border: 2px solid black;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  width: 95%;
  max-height: 85vh;
  font-size: 14px;
}
@media (min-width: 768px) {
  .cookie-settings__content {
    font-size: 16px;
    width: 90%;
    max-height: 90vh;
  }
}

.cookie-settings__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #e5e5e5;
  background: #f8f9fa;
}
@media (min-width: 768px) {
  .cookie-settings__header {
    padding: 24px;
  }
}

.cookie-settings__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
@media (max-width: 480px) {
  .cookie-settings__title {
    font-size: 18px;
  }
}

.cookie-settings__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}
.cookie-settings__close:hover {
  color: black;
}
.cookie-settings__close svg {
  display: block;
}

.cookie-settings__body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  gap: 24px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 480px) {
  .cookie-settings__body {
    padding: 16px;
  }
}

.cookie-category__header {
  margin-bottom: 8px;
}
.cookie-category__label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 12px;
  position: relative;
}
.cookie-category__label:has(input:disabled) {
  cursor: default;
}
.cookie-category__description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  padding-left: 32px;
}
@media (max-width: 767px) {
  .cookie-category__description {
    font-size: 13px;
    padding-left: 0;
    margin-top: 8px;
  }
}
.cookie-category__name {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}
@media (max-width: 767px) {
  .cookie-category__name {
    font-size: 14px;
  }
}
.cookie-category__status {
  font-size: 12px;
  background: #28a745;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}
@media (max-width: 767px) {
  .cookie-category__status {
    font-size: 11px;
    padding: 3px 6px;
  }
}
.cookie-category__checkbox {
  width: 20px;
  height: 20px;
  accent-color: #000;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-category__checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-settings__footer {
  padding: 24px;
  border-top: 1px solid #e5e5e5;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px;
}
.cookie-settings__footer div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-settings__footer div > button,
.cookie-settings__footer button {
  flex: 1;
  justify-content: center;
}
@media (min-width: 768px) {
  .cookie-settings__footer {
    padding: 24px;
    flex-direction: row;
    gap: 24px;
    justify-content: space-between;
  }
  .cookie-settings__footer div {
    flex-direction: row;
    gap: 24px;
  }
  .cookie-settings__footer div > button,
  .cookie-settings__footer button {
    flex: 0;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.cookie-settings-modal.show .cookie-settings__content {
  animation: modalSlideIn 0.3s ease forwards;
}

@media (max-width: 767px) {
  .cookie-consent {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
}
.page-wrapper {
  min-height: calc(100vh - 200px);
  padding: 32px 0;
}
@media (min-width: 768px) {
  .page-wrapper {
    padding: 48px 0;
  }
}

.page-header {
  margin-bottom: 40px;
}
.page-header .page-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.page-header .page-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-header .page-header-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.page-header .page-header-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.page-header .page-header-action a:hover {
  transform: scale(1.05);
}
.page-header .page-header-action a img,
.page-header .page-header-action a svg {
  width: 46px;
  height: 46px;
}
.page-header .page-header-title {
  font-size: 40px;
  font-weight: 400;
  line-height: 60px;
  letter-spacing: -1.12px;
}
@media (min-width: 480px) {
  .page-header .page-header-title {
    font-size: 48px;
  }
}
@media (min-width: 768px) {
  .page-header .page-header-title {
    font-size: 56px;
  }
}
.page-header .page-header-subtitle {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
}
@media (min-width: 480px) {
  .page-header .page-header-subtitle {
    font-size: 20px;
  }
}
@media (min-width: 768px) {
  .page-header .page-header-subtitle {
    font-size: 24px;
  }
}

.breadcrumbs {
  margin-bottom: 16px;
}
.breadcrumbs .breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs .breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.breadcrumbs .breadcrumb-item:hover {
  color: black;
}
.breadcrumbs .breadcrumb-link {
  text-decoration: none;
  color: inherit;
}
.breadcrumbs .breadcrumb-link::first-letter {
  text-transform: uppercase;
}
.breadcrumbs .breadcrumb-separator {
  color: #999;
  margin: 0 4px;
  user-select: none;
}

.error-page-body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  width: 100%;
}

.error-page {
  min-height: 100vh;
  width: 100%;
  position: relative;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(217deg, #ffe736, rgba(255, 231, 54, 0) 70.71%), linear-gradient(336deg, #ffff45, rgba(255, 255, 69, 0) 70.71%), linear-gradient(127deg, rgba(54, 134, 239, 0.8), rgb(245, 241, 241) 60.71%);
  background-size: 150vw 150vh;
  animation: 12s linear 0s infinite alternate none running granimate;
  transition: background-image 0.5s ease-in-out;
}
.error-page header {
  position: relative;
  z-index: 10;
}

.error-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  position: relative;
  z-index: 1;
}

.error-content {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.error-content .error-code {
  font-size: 128px;
  font-weight: 500;
  line-height: 1;
}
.error-content .error-title {
  font-size: 32px;
  font-weight: 400;
}
.error-content .error-description {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
}
.error-content .error-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

/* 
 * Legal Documents Styling
 * Components for privacy policy and terms of service pages
 */
html {
  scroll-behavior: smooth;
}

.terms-of-service-page .common-section[id], .terms-of-service-page [id].related-courses-section, .terms-of-service-page [id].course-hero-content, .terms-of-service-page [id].popular-queries-section, .terms-of-service-page [id].course-categories-section, .terms-of-service-page [id].partners, .terms-of-service-page [id].faq-section,
.privacy-policy-page .common-section[id],
.privacy-policy-page [id].related-courses-section,
.privacy-policy-page [id].course-hero-content,
.privacy-policy-page [id].popular-queries-section,
.privacy-policy-page [id].course-categories-section,
.privacy-policy-page [id].partners,
.privacy-policy-page [id].faq-section {
  scroll-margin-top: 64px;
}

.terms-of-service-page .legal-toc__nav,
.privacy-policy-page .legal-toc__nav {
  margin: 0;
}
.terms-of-service-page .legal-toc__list,
.privacy-policy-page .legal-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.5;
}
.terms-of-service-page .legal-toc__item,
.privacy-policy-page .legal-toc__item {
  position: relative;
}
.terms-of-service-page .legal-toc__link,
.privacy-policy-page .legal-toc__link {
  position: relative;
  display: inline-block;
  padding: 2px 0;
  font-weight: 500;
  text-decoration: none;
  color: black;
  transition: color 0.25s ease;
}
.terms-of-service-page .legal-toc__link:before,
.privacy-policy-page .legal-toc__link:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: 2px;
  color: black;
}
.terms-of-service-page .legal-toc__link:hover, .terms-of-service-page .legal-toc__link:focus-visible,
.privacy-policy-page .legal-toc__link:hover,
.privacy-policy-page .legal-toc__link:focus-visible {
  color: black;
}
.terms-of-service-page .legal-toc__link:hover:before, .terms-of-service-page .legal-toc__link:focus-visible:before,
.privacy-policy-page .legal-toc__link:hover:before,
.privacy-policy-page .legal-toc__link:focus-visible:before {
  transform: scaleX(1);
}
.terms-of-service-page .common-section > *:not(h2), .terms-of-service-page .related-courses-section > *:not(h2), .terms-of-service-page .course-hero-content > *:not(h2), .terms-of-service-page .popular-queries-section > *:not(h2), .terms-of-service-page .course-categories-section > *:not(h2), .terms-of-service-page .partners > *:not(h2), .terms-of-service-page .faq-section > *:not(h2),
.privacy-policy-page .common-section > *:not(h2),
.privacy-policy-page .related-courses-section > *:not(h2),
.privacy-policy-page .course-hero-content > *:not(h2),
.privacy-policy-page .popular-queries-section > *:not(h2),
.privacy-policy-page .course-categories-section > *:not(h2),
.privacy-policy-page .partners > *:not(h2),
.privacy-policy-page .faq-section > *:not(h2) {
  margin-bottom: 8px;
}
.terms-of-service-page .common-section.preamble > p, .terms-of-service-page .preamble.related-courses-section > p, .terms-of-service-page .preamble.course-hero-content > p, .terms-of-service-page .preamble.popular-queries-section > p, .terms-of-service-page .preamble.course-categories-section > p, .terms-of-service-page .preamble.partners > p, .terms-of-service-page .preamble.faq-section > p,
.privacy-policy-page .common-section.preamble > p,
.privacy-policy-page .preamble.related-courses-section > p,
.privacy-policy-page .preamble.course-hero-content > p,
.privacy-policy-page .preamble.popular-queries-section > p,
.privacy-policy-page .preamble.course-categories-section > p,
.privacy-policy-page .preamble.partners > p,
.privacy-policy-page .preamble.faq-section > p {
  margin-bottom: 16px;
  color: rgb(38.25, 38.25, 38.25);
}
.terms-of-service-page .common-section > ul, .terms-of-service-page .related-courses-section > ul, .terms-of-service-page .course-hero-content > ul, .terms-of-service-page .popular-queries-section > ul, .terms-of-service-page .course-categories-section > ul, .terms-of-service-page .partners > ul, .terms-of-service-page .faq-section > ul,
.privacy-policy-page .common-section > ul,
.privacy-policy-page .related-courses-section > ul,
.privacy-policy-page .course-hero-content > ul,
.privacy-policy-page .popular-queries-section > ul,
.privacy-policy-page .course-categories-section > ul,
.privacy-policy-page .partners > ul,
.privacy-policy-page .faq-section > ul {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: grid;
  gap: 4px;
  line-height: 1.5;
  font-size: 14px;
}
@media (min-width: 768px) {
  .terms-of-service-page .common-section > ul, .terms-of-service-page .related-courses-section > ul, .terms-of-service-page .course-hero-content > ul, .terms-of-service-page .popular-queries-section > ul, .terms-of-service-page .course-categories-section > ul, .terms-of-service-page .partners > ul, .terms-of-service-page .faq-section > ul,
  .privacy-policy-page .common-section > ul,
  .privacy-policy-page .related-courses-section > ul,
  .privacy-policy-page .course-hero-content > ul,
  .privacy-policy-page .popular-queries-section > ul,
  .privacy-policy-page .course-categories-section > ul,
  .privacy-policy-page .partners > ul,
  .privacy-policy-page .faq-section > ul {
    gap: 6px;
    font-size: 16px;
  }
}
.terms-of-service-page .common-section > ul li, .terms-of-service-page .related-courses-section > ul li, .terms-of-service-page .course-hero-content > ul li, .terms-of-service-page .popular-queries-section > ul li, .terms-of-service-page .course-categories-section > ul li, .terms-of-service-page .partners > ul li, .terms-of-service-page .faq-section > ul li,
.privacy-policy-page .common-section > ul li,
.privacy-policy-page .related-courses-section > ul li,
.privacy-policy-page .course-hero-content > ul li,
.privacy-policy-page .popular-queries-section > ul li,
.privacy-policy-page .course-categories-section > ul li,
.privacy-policy-page .partners > ul li,
.privacy-policy-page .faq-section > ul li {
  position: relative;
  padding-left: 18px;
  color: black;
  font-weight: 400;
}
.terms-of-service-page .common-section > ul li:before, .terms-of-service-page .related-courses-section > ul li:before, .terms-of-service-page .course-hero-content > ul li:before, .terms-of-service-page .popular-queries-section > ul li:before, .terms-of-service-page .course-categories-section > ul li:before, .terms-of-service-page .partners > ul li:before, .terms-of-service-page .faq-section > ul li:before,
.privacy-policy-page .common-section > ul li:before,
.privacy-policy-page .related-courses-section > ul li:before,
.privacy-policy-page .course-hero-content > ul li:before,
.privacy-policy-page .popular-queries-section > ul li:before,
.privacy-policy-page .course-categories-section > ul li:before,
.privacy-policy-page .partners > ul li:before,
.privacy-policy-page .faq-section > ul li:before {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: #3366cc;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(51, 102, 204, 0.15);
}
.terms-of-service-page .inline-link.active,
.privacy-policy-page .inline-link.active {
  font-weight: 600;
  color: #3366cc;
}

.faq-page .faq-content .faq {
  background: transparent;
  padding: 0;
}
.faq-page .faq-content .faq-header {
  display: none;
}
.faq-page .faq-contact-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 48px;
}
.faq-page .faq-contact-content p {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  margin: 0;
}
@media (min-width: 768px) {
  .faq-page .faq-contact-content p {
    font-size: 24px;
    line-height: 28px;
  }
}
/**
 * Cookie Policy Page Styles
 */
.cookies-page .privacy-notice {
  margin-top: 16px;
}
.cookies-page .cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookies-page .cookie-category-list .cookie-category-card {
  padding: 20px;
  border: 1px solid #e0e6ed;
}
.cookies-page .cookie-category-list .cookie-category-card__header {
  margin: 0 0 12px 0;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.cookies-page .cookie-category-list .cookie-category-card__icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.cookies-page .cookie-category-list .cookie-category-card__icon--necessary {
  background: #28a745;
}
.cookies-page .cookie-category-list .cookie-category-card__icon--preferences {
  background: #6f42c1;
}
.cookies-page .cookie-category-list .cookie-category-card__icon--analytics {
  background: #007cba;
}
.cookies-page .cookie-category-list .cookie-category-card__badge {
  font-size: 12px;
  padding: 2px 8px;
  background: #28a745;
  color: white;
  border-radius: 10px;
  font-weight: normal;
}
.cookies-page .cookie-category-list .cookie-category-card__description {
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 20px;
  letter-spacing: -0.24px;
  color: white;
  text-decoration: none;
}
.course-tag--category {
  background: #fcd34d;
  color: #78350f;
  font-weight: 500;
}
.course-tag--type {
  background: #000000;
  color: #ffffff;
  font-weight: 500;
}
.course-tag--success {
  background: hsl(148, 96%, 40%);
}
.course-tag--warning {
  background: hsl(48, 100%, 65%);
  color: black;
}
.course-tag--info {
  background: hsl(0, 0%, 92%);
  color: black;
}
.course-tag--popular {
  background: rgba(168, 85, 247, 0.9);
  color: white;
}
.course-tag--new {
  background: hsl(13, 100%, 50%);
}
.course-tag--premium {
  background: black;
}

@media (max-width: 768px) {
  .courses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .course-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .course-image {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 16px;
  }
  .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  .course-info {
    padding: 0 16px 16px 16px;
  }
  .course-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .course-title a {
    display: block;
    line-height: 1.4;
  }
  .course-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .course-subtitle a {
    display: block;
  }
  .course-tags {
    gap: 6px;
  }
  .course-tags .course-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .courses-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .course-card {
    margin: 0;
    max-width: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.course-hero-section {
  background: white;
}

.course-hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}
@media (min-width: 1024px) {
  .course-hero-content {
    grid-template-columns: 1fr 400px;
    gap: 60px;
  }
}

.course-breadcrumb {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: #64748b;
}
.course-breadcrumb .breadcrumb-link {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}
.course-breadcrumb .breadcrumb-link:hover {
  color: black;
  text-decoration: underline;
}
.course-breadcrumb .breadcrumb-separator {
  color: #6b7280;
}
.course-breadcrumb .breadcrumb-current {
  color: black;
  font-weight: 500;
}

.course-hero-title {
  font-size: 48px;
  font-weight: 500;
  color: black;
  line-height: 1.2;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .course-hero-title {
    font-size: 1.875rem;
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .course-hero-title {
    font-size: 1.5rem;
  }
}

.course-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  font-size: 0.95rem;
}
@media (max-width: 480px) {
  .course-hero-meta {
    gap: 16px;
    margin-bottom: 24px;
  }
}
.course-hero-meta .meta-category {
  background: black;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.course-hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .course-hero-description {
    font-size: 1rem;
    margin-bottom: 24px;
  }
}

.course-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .course-hero-sidebar {
    order: -1;
  }
}

.course-card-preview {
  background: white;
  border: 2px solid black;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
@media (max-width: 768px) {
  .course-card-preview {
    position: static;
    margin-bottom: 20px;
  }
}

.course-preview-image {
  height: 200px;
  overflow: hidden;
}
.course-preview-image .preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-preview-content {
  padding: 24px;
}

.course-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid black;
}
@media (max-width: 480px) {
  .course-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.stat-item {
  text-align: center;
}
.stat-item .stat-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.stat-item .stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
}

.course-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-actions .btn {
  justify-content: center;
}

.course-content-section {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .course-content-section {
    padding: 40px 0;
  }
}

.course-content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
}
@media (max-width: 1024px) {
  .course-content-layout {
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .course-content-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.course-main-content {
  max-width: none;
}

.content-block {
  margin-bottom: 48px;
}
.content-block:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .content-block {
    margin-bottom: 36px;
  }
}

.content-title {
  font-size: 20px;
  font-weight: 500;
  color: #1a202c;
  padding-bottom: 12px;
  border-bottom: 3px solid #3b82f6;
  display: inline-block;
}
@media (max-width: 768px) {
  .content-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
}

.content-text {
  font-size: 1rem;
  line-height: 1.7;
  color: black;
}
.content-text.course-description-full {
  font-size: 1.1rem;
  color: black;
}

.course-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .course-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.info-item {
  background: white;
  padding: 20px;
  border: 2px solid black;
}
.info-item .info-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.info-item .info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.requirements-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid #f1f5f9;
}
.requirements-list li:last-child {
  border-bottom: none;
}
.requirements-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .course-sidebar {
    order: -1;
  }
}

.stat-detail {
  text-align: center;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.stat-detail .stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 4px;
}
.stat-detail .stat-description {
  font-size: 0.875rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.related-courses-section {
  background: white;
}

.related-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
@media (max-width: 768px) {
  .related-courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.related-course-card {
  background: white;
  overflow: hidden;
  border: 2px solid black;
  transition: all 0.3s ease;
}
.related-course-card:hover {
  transform: translateY(-4px);
}

.related-course-image {
  height: 160px;
  overflow: hidden;
}
.related-course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.related-course-card:hover .related-course-image img {
  transform: scale(1.05);
}

.related-course-content {
  padding: 20px;
}

.related-course-title {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}
.related-course-title a {
  color: #1a202c;
  text-decoration: none;
  transition: color 0.3s ease;
}
.related-course-title a:hover {
  color: #3b82f6;
}

.related-course-summary {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.related-course-meta {
  font-size: 0.8rem;
  color: #94a3b8;
}
.related-course-meta .meta-students {
  font-weight: 500;
}

.no-related-courses {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
}
.no-related-courses p {
  margin-bottom: 20px;
  font-size: 1.125rem;
}

@media (max-width: 480px) {
  .course-hero-content {
    gap: 20px;
  }
  .course-hero-title {
    font-size: 32px;
    line-height: 1.3;
  }
  .course-hero-meta {
    flex-direction: column;
    gap: 12px;
  }
  .course-preview-content {
    padding: 20px;
  }
  .course-stats {
    grid-template-columns: 1fr;
  }
  .course-content-layout {
    gap: 20px;
  }
  .content-block {
    margin-bottom: 24px;
  }
  .sidebar-block {
    padding: 20px;
    margin-bottom: 20px;
  }
}
.portfolio-page .portfolio-hero {
  background-color: #e7eef3;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  height: 360px;
  padding: 40px;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-hero {
    height: 440px;
    padding: 80px;
  }
}
.portfolio-page .portfolio-hero__content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.portfolio-page .portfolio-hero__content .hero-photo {
  width: 240px;
  height: 240px;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-hero__content .hero-photo {
    width: 280px;
    height: 280px;
  }
}
.portfolio-page .portfolio-hero__content .hero-photo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-page .portfolio-hero__content .hero-photo__placeholder {
  width: 100%;
  height: 100%;
  background-image: url("/images/profile-photo-bg.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-page .portfolio-hero__content .hero-photo__initials {
  font-size: 100px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.9);
  user-select: none;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-hero__content .hero-photo__initials {
    font-size: 120px;
  }
}
.portfolio-page .portfolio-hero__content .hero-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-hero__content .hero-info {
    gap: 24px;
  }
}
.portfolio-page .portfolio-hero__content .hero-info .student-institution {
  font-size: 14px;
  line-height: 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-hero__content .hero-info .student-institution {
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 10px;
  }
}
.portfolio-page .portfolio-hero__content .hero-info .student-name {
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-hero__content .hero-info .student-name {
    font-size: 38px;
    line-height: 44px;
  }
}
.portfolio-page .portfolio-courses .certificates-title {
  padding: 16px 0;
}
.portfolio-page .portfolio-courses .no-certificates {
  padding: 32px 0;
  text-align: left;
}
.portfolio-page .portfolio-courses .certificates-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.portfolio-page .portfolio-courses .certificates-list .certificate-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-courses .certificates-list .certificate-item {
    flex-direction: row;
  }
}
.portfolio-page .portfolio-courses .certificates-list .certificate-item .course-image {
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-courses .certificates-list .certificate-item .course-image {
    width: 288px;
    height: 160px;
  }
}
.portfolio-page .portfolio-courses .certificates-list .certificate-item .course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-page .portfolio-courses .certificates-list .certificate-item .course-info {
  padding: 8px 16px;
  flex: 1;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-courses .certificates-list .certificate-item .course-info {
    padding: 8px 24px;
  }
}
.portfolio-page .portfolio-courses .certificates-list .certificate-item .certificate-date {
  margin-bottom: 12px;
  font-size: 12px;
  color: #959595;
  font-weight: 400;
}
.portfolio-page .portfolio-courses .certificates-list .certificate-item .certificate-course {
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}
@media (min-width: 480px) {
  .portfolio-page .portfolio-courses .certificates-list .certificate-item .certificate-course {
    font-size: 28px;
    line-height: 32px;
  }
}
.portfolio-page .portfolio-courses .certificates-list .certificate-item .certificate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.portfolio-page .portfolio-courses .certificates-list hr {
  height: 2px;
  background: black;
  border: none;
}

.all-portfolios-page {
  background: #ffffff;
}
.all-portfolios-page .portfolios-section {
  padding: 48px 0;
}
.all-portfolios-page .portfolios-header {
  margin-bottom: 32px;
}
.all-portfolios-page .portfolios-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: black;
}
.all-portfolios-page .portfolios-header .subtitle {
  color: #6b7280;
  font-size: 16px;
}
.all-portfolios-page .search-form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.all-portfolios-page .search-form h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  color: black;
}
.all-portfolios-page .search-form .search-input-wrapper {
  display: flex;
  gap: 8px;
  max-width: 600px;
}
.all-portfolios-page .search-form .search-input-wrapper .admin-search-input {
  flex: 1;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 15px;
}
.all-portfolios-page .search-form .search-input-wrapper .admin-search-input::placeholder {
  color: #6b7280;
}
.all-portfolios-page .search-form .search-input-wrapper .admin-search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(51, 102, 204, 0.1);
}
.all-portfolios-page .search-form .search-input-wrapper .search-btn {
  padding: 10px 24px;
  background: #ffd700;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}
.all-portfolios-page .search-form .search-input-wrapper .search-btn:hover {
  background: #ffc107;
}
.all-portfolios-page .search-form .search-input-wrapper .search-btn:active {
  transform: scale(0.98);
}
.all-portfolios-page .search-form .search-help {
  color: #6b7280;
  font-size: 14px;
  margin-top: 8px;
}
.all-portfolios-page .users-table-container {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.all-portfolios-page .users-table-container h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  color: black;
}
.all-portfolios-page .users-table-container .users-count {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 16px;
}
.all-portfolios-page .users-table-container .users-count strong {
  color: black;
}
.all-portfolios-page .users-table-container .users-table {
  width: 100%;
  border-collapse: collapse;
}
.all-portfolios-page .users-table-container .users-table thead {
  background: #f9fafb;
}
.all-portfolios-page .users-table-container .users-table thead th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  color: black;
  border-bottom: 2px solid #e5e7eb;
}
.all-portfolios-page .users-table-container .users-table thead th:first-child {
  border-radius: 8px 0 0 0;
}
.all-portfolios-page .users-table-container .users-table thead th:last-child {
  border-radius: 0 8px 0 0;
}
.all-portfolios-page .users-table-container .users-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s;
}
.all-portfolios-page .users-table-container .users-table tbody tr:hover {
  background: #f9fafb;
}
.all-portfolios-page .users-table-container .users-table tbody tr:last-child {
  border-bottom: none;
}
.all-portfolios-page .users-table-container .users-table tbody td {
  padding: 12px 15px;
  font-size: 14px;
  color: black;
}
.all-portfolios-page .users-table-container .users-table tbody td.user-id {
  color: #6b7280;
  font-family: monospace;
}
.all-portfolios-page .users-table-container .users-table tbody td.user-email {
  color: #6b7280;
}
.all-portfolios-page .users-table-container .users-table tbody td.user-username {
  font-family: monospace;
  color: #6b7280;
}
.all-portfolios-page .users-table-container .users-table .portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #ffd700;
  color: black;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.all-portfolios-page .users-table-container .users-table .portfolio-link:hover {
  background: #ffc107;
  transform: translateY(-1px);
}
.all-portfolios-page .users-table-container .users-table .portfolio-link svg {
  width: 14px;
  height: 14px;
}
.all-portfolios-page .users-table-container .users-table .admin-badge {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 8px;
  background: #3366cc;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.all-portfolios-page .users-table-container .users-table .user-courses {
  text-align: center;
  font-weight: 500;
  color: black;
}
.all-portfolios-page .users-table-container .no-users {
  text-align: center;
  padding: 48px 24px;
  color: #6b7280;
  font-size: 16px;
}
.all-portfolios-page .users-table-container .load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.all-portfolios-page .users-table-container .load-more-container .load-more-btn {
  padding: 10px 32px;
  background: #ffd700;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}
.all-portfolios-page .users-table-container .load-more-container .load-more-btn:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}
.all-portfolios-page .users-table-container .load-more-container .load-more-btn:active {
  transform: translateY(0);
}
.all-portfolios-page .users-table-container .load-more-container .load-more-btn:disabled {
  background: #e5e7eb;
  color: #d1d5db;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.all-portfolios-page .error-message {
  background: #fee2e2;
  color: #991b1b;
  padding: 16px 24px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 500;
}
@media (max-width: 767px) {
  .all-portfolios-page .portfolios-header h1 {
    font-size: 24px;
  }
  .all-portfolios-page .search-form,
  .all-portfolios-page .users-table-container {
    padding: 16px;
  }
  .all-portfolios-page .search-input-wrapper {
    flex-direction: column;
  }
  .all-portfolios-page .search-input-wrapper .search-btn {
    width: 100%;
  }
  .all-portfolios-page .users-table-container {
    overflow-x: visible;
  }
  .all-portfolios-page .users-table {
    display: block;
  }
  .all-portfolios-page .users-table thead {
    display: none;
  }
  .all-portfolios-page .users-table tbody {
    display: block;
  }
  .all-portfolios-page .users-table tbody tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  }
  .all-portfolios-page .users-table tbody tr:hover {
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  .all-portfolios-page .users-table tbody tr:last-child {
    margin-bottom: 0;
  }
  .all-portfolios-page .users-table tbody td {
    display: block;
    padding: 4px 0;
    border: none;
    text-align: left;
  }
  .all-portfolios-page .users-table tbody td:nth-child(2) {
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
    color: black;
  }
  .all-portfolios-page .users-table tbody td.user-id {
    display: flex;
    align-items: center;
    font-size: 12px;
    padding-bottom: 4px;
  }
  .all-portfolios-page .users-table tbody td.user-id::before {
    content: "ID: ";
    font-weight: 700;
    color: #6b7280;
    margin-right: 4px;
  }
  .all-portfolios-page .users-table tbody td.user-email {
    display: flex;
    font-size: 13px;
    padding: 4px 0;
    word-break: break-all;
  }
  .all-portfolios-page .users-table tbody td.user-email::before {
    content: "Email: ";
    font-weight: 700;
    color: #6b7280;
    margin-right: 4px;
    flex-shrink: 0;
  }
  .all-portfolios-page .users-table tbody td.user-username {
    display: flex;
    font-size: 13px;
    padding: 4px 0;
  }
  .all-portfolios-page .users-table tbody td.user-username::before {
    content: "Username: ";
    font-weight: 700;
    color: #6b7280;
    margin-right: 4px;
  }
  .all-portfolios-page .users-table tbody td.user-courses {
    display: flex;
    font-size: 13px;
    padding: 4px 0;
  }
  .all-portfolios-page .users-table tbody td.user-courses::before {
    content: "Курсів: ";
    font-weight: 700;
    color: #6b7280;
    margin-right: 4px;
  }
  .all-portfolios-page .users-table tbody td:last-child {
    padding-top: 8px;
    margin-top: 8px;
  }
  .all-portfolios-page .users-table tbody td:last-child .portfolio-link {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 8px;
  }
  .all-portfolios-page .load-more-container .load-more-btn {
    width: 100%;
  }
}

.admin-settings-page {
  background-color: #f9fafb;
  min-height: 100vh;
  padding-bottom: 60px;
}
.admin-settings-page .settings-section {
  padding: 40px 0;
}
.admin-settings-page .settings-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.admin-settings-page .settings-header {
  margin-bottom: 30px;
}
.admin-settings-page .settings-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}
.admin-settings-page .settings-header p {
  color: #6b7280;
  font-size: 16px;
}
.admin-settings-page .success-message {
  padding: 15px 20px;
  background: #10b981;
  color: white;
  border-radius: 8px;
  margin-bottom: 25px;
  font-weight: 500;
}
.admin-settings-page .settings-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
}
.admin-settings-page .settings-card h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
}
.admin-settings-page .form-group {
  margin-bottom: 25px;
}
.admin-settings-page .form-group:last-child {
  margin-bottom: 10px;
}
.admin-settings-page .checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.admin-settings-page .checkbox-label input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
}
.admin-settings-page .checkbox-label .label-content .label-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color: #111827;
}
.admin-settings-page .checkbox-label .label-content .label-description {
  color: #6b7280;
  font-size: 14px;
}
.admin-settings-page .form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
  color: #111827;
}
.admin-settings-page .form-label.form-label-medium {
  font-weight: 500;
  font-size: 15px;
}
.admin-settings-page .form-input,
.admin-settings-page .form-select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s;
}
.admin-settings-page .form-input:focus,
.admin-settings-page .form-select:focus {
  outline: none;
  border-color: #3366cc;
}
.admin-settings-page .form-input[type=number] {
  width: 100px;
}
.admin-settings-page .form-select {
  max-width: 600px;
}
.admin-settings-page .form-select.select-small {
  max-width: 400px;
}
.admin-settings-page .form-help {
  color: #6b7280;
  font-size: 14px;
  margin-top: 6px;
}
.admin-settings-page .checkbox-list {
  margin-bottom: 10px;
}
.admin-settings-page .checkbox-list .checkbox-list-title {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 16px;
  color: #111827;
}
.admin-settings-page .checkbox-list .checkbox-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 12px;
}
.admin-settings-page .checkbox-list .checkbox-item input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
}
.admin-settings-page .checkbox-list .checkbox-item span {
  font-size: 15px;
}
.admin-settings-page .warning-box {
  color: #92400e;
  font-size: 14px;
  margin-top: 10px;
  padding: 10px;
  background: #fef3c7;
  border-radius: 6px;
}
.admin-settings-page .warning-box.warning-tabs {
  margin-top: 10px;
}
.admin-settings-page .danger-box {
  color: #dc2626;
  font-size: 13px;
  margin-top: 12px;
  padding: 10px;
  background: #fee2e2;
  border-radius: 6px;
  border-left: 3px solid #dc2626;
}
.admin-settings-page .danger-box strong {
  font-weight: 600;
}
.admin-settings-page .info-box {
  background: #eff6ff;
  color: #1e40af;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}
.admin-settings-page .info-box strong {
  font-weight: 600;
}
.admin-settings-page .info-box.info-box-spaced {
  margin-bottom: 20px;
}
.admin-settings-page .hidden-categories-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #e5e7eb;
}
.admin-settings-page .hidden-categories-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}
.admin-settings-page .hidden-categories-section .section-description {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}
.admin-settings-page .hidden-categories-section .category-controls {
  margin-bottom: 10px;
}
.admin-settings-page .hidden-categories-section .category-controls .btn-control {
  padding: 6px 14px;
  margin-right: 8px;
  background: #9ca3af;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}
.admin-settings-page .hidden-categories-section .category-controls .btn-control:hover {
  background: #6b7280;
}
.admin-settings-page .hidden-categories-section .category-controls .count-text {
  margin-left: 15px;
  color: #6b7280;
  font-size: 14px;
}
.admin-settings-page .hidden-categories-section .category-controls .count-text strong {
  color: #111827;
}
.admin-settings-page .hidden-categories-section .categories-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 15px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.admin-settings-page .hidden-categories-section .categories-list .category-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
}
.admin-settings-page .hidden-categories-section .categories-list .category-item:last-child {
  border-bottom: none;
}
.admin-settings-page .hidden-categories-section .categories-list .category-item input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  cursor: pointer;
}
.admin-settings-page .hidden-categories-section .categories-list .category-item .category-label {
  font-size: 14px;
  flex: 1;
}
.admin-settings-page .hidden-categories-section .categories-list .category-item .category-label small {
  color: #9ca3af;
  margin-left: 6px;
}
.admin-settings-page .permissions-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  margin-top: 20px;
}
.admin-settings-page .permissions-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}
.admin-settings-page .permissions-section .section-description {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}
.admin-settings-page .permissions-table-wrapper {
  overflow-x: auto;
}
.admin-settings-page .permissions-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.admin-settings-page .permissions-table thead tr {
  background: #f9fafb;
}
.admin-settings-page .permissions-table thead th {
  padding: 15px;
  font-weight: 600;
  border-bottom: 2px solid #e5e7eb;
  color: #111827;
}
.admin-settings-page .permissions-table thead th.text-left {
  text-align: left;
}
.admin-settings-page .permissions-table thead th.text-center {
  text-align: center;
}
.admin-settings-page .permissions-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}
.admin-settings-page .permissions-table tbody tr:last-child {
  border-bottom: none;
}
.admin-settings-page .permissions-table tbody td {
  padding: 15px;
}
.admin-settings-page .permissions-table tbody td.role-name {
  font-weight: 500;
  color: #111827;
}
.admin-settings-page .permissions-table tbody td.text-center {
  text-align: center;
}
.admin-settings-page .permissions-table tbody td input[type=checkbox] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.admin-settings-page .permissions-table tbody td input[type=checkbox]:disabled {
  cursor: not-allowed;
}
.admin-settings-page .permissions-table .admin-badge {
  background: #3366cc;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
  margin-left: 8px;
  font-weight: 600;
}
.admin-settings-page .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 25px;
}
.admin-settings-page .form-actions .btn-cancel {
  padding: 12px 24px;
  background: #f9fafb;
  color: #374151;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}
.admin-settings-page .form-actions .btn-cancel:hover {
  background: rgb(233.7, 237.25, 240.8);
}
.admin-settings-page .form-actions .btn-save {
  padding: 12px 30px;
  background: #3366cc;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s;
}
.admin-settings-page .form-actions .btn-save:hover {
  background: rgb(40.8, 81.6, 163.2);
}
.admin-settings-page .form-actions .btn-save-gradient {
  background: linear-gradient(135deg, #3366cc 0%, rgb(40.8, 81.6, 163.2) 100%);
  padding: 12px 32px;
  font-size: 16px;
  transition: all 0.2s;
}
.admin-settings-page .form-actions .btn-save-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(51, 102, 204, 0.3);
}
@media (max-width: 767px) {
  .admin-settings-page .settings-container {
    padding: 0 15px;
  }
  .admin-settings-page .settings-header h1 {
    font-size: 24px;
  }
  .admin-settings-page .settings-header p {
    font-size: 14px;
  }
  .admin-settings-page .settings-card {
    padding: 20px 15px;
  }
  .admin-settings-page .settings-card h2 {
    font-size: 18px;
  }
  .admin-settings-page .form-input[type=number] {
    width: 100%;
  }
  .admin-settings-page .form-select {
    max-width: 100%;
  }
  .admin-settings-page .form-select.select-small {
    max-width: 100%;
  }
  .admin-settings-page .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  .admin-settings-page .form-actions .btn-cancel,
  .admin-settings-page .form-actions .btn-save,
  .admin-settings-page .form-actions .btn-save-gradient {
    width: 100%;
    text-align: center;
  }
  .admin-settings-page .permissions-table {
    font-size: 14px;
  }
  .admin-settings-page .permissions-table thead th,
  .admin-settings-page .permissions-table tbody td {
    padding: 10px 8px;
  }
  .admin-settings-page .permissions-table .admin-badge {
    display: block;
    margin: 4px 0 0 0;
  }
  .admin-settings-page .hidden-categories-section .category-controls {
    flex-wrap: wrap;
  }
  .admin-settings-page .hidden-categories-section .category-controls .count-text {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }
}
.admin-settings-page .homepage-category-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 12px;
}
.admin-settings-page .category-row-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  color: white;
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
  margin-top: 28px;
}
.admin-settings-page .category-row-fields {
  flex: 1;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 12px;
}
.admin-settings-page .form-group-inline {
  display: flex;
  flex-direction: column;
}
.admin-settings-page .form-group-category {
  min-width: 0;
}
.admin-settings-page .form-group-order {
  max-width: 100px;
}
.admin-settings-page .form-label-small {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}
.admin-settings-page .order-input {
  text-align: center;
  width: 100%;
}
.admin-settings-page .btn-remove-category {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  color: #999;
  transition: all 0.2s;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-settings-page .btn-remove-category:hover {
  background: #fee;
  border-color: #f66;
  color: #f33;
}
.admin-settings-page .btn-add-category {
  background: #f0f0f0;
  border: 2px dashed #ccc;
  color: #666;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 20px;
}
.admin-settings-page .btn-add-category:hover {
  background: #e8e8e8;
  border-color: #999;
  color: #333;
}
.admin-settings-page .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.admin-settings-page .input-small {
  max-width: 120px;
}
@media (max-width: 768px) {
  .admin-settings-page .category-row-fields {
    grid-template-columns: 1fr;
  }
  .admin-settings-page .form-row {
    grid-template-columns: 1fr;
  }
  .admin-settings-page .homepage-category-row {
    flex-direction: column;
    gap: 12px;
  }
  .admin-settings-page .category-row-number,
  .admin-settings-page .btn-remove-category {
    margin-top: 0;
  }
}
.admin-settings-page .partners-form {
  margin-top: 40px;
}
.admin-settings-page .partners-form .section-description {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}
.admin-settings-page .partners-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.admin-settings-page .partner-item-editor {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  overflow: hidden;
}
.admin-settings-page .partner-item-editor[data-partner-id] {
  transition: all 0.2s ease;
}
.admin-settings-page .partner-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
}
.admin-settings-page .partner-header:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}
.admin-settings-page .partner-drag-handle {
  font-size: 20px;
  color: #6c757d;
  cursor: grab;
  user-select: none;
  line-height: 1;
  padding: 0 5px;
  transition: color 0.2s ease;
}
.admin-settings-page .partner-drag-handle:hover {
  color: #3366cc;
}
.admin-settings-page .partner-drag-handle:active {
  cursor: grabbing;
}
.admin-settings-page .partner-item-editor[draggable=true] {
  transition: opacity 0.2s ease;
}
.admin-settings-page .partner-item-editor[draggable=true]:hover .partner-drag-handle {
  color: #3366cc;
}
.admin-settings-page .partner-number {
  font-weight: 700;
  color: #3366cc;
  font-size: 18px;
  min-width: 40px;
}
.admin-settings-page .partner-title-preview {
  flex: 1;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.admin-settings-page .default-badge {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(135deg, #3366cc, rgb(40.8, 81.6, 163.2));
  color: white;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-settings-page .partner-enabled-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.admin-settings-page .partner-enabled-toggle input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.admin-settings-page .partner-enabled-toggle span {
  font-size: 14px;
  color: #6b7280;
  user-select: none;
}
.admin-settings-page .partner-details {
  padding: 20px;
  display: none;
  transition: all 0.3s ease;
}
.admin-settings-page .partner-item-editor.active .partner-details {
  display: block;
}
.admin-settings-page .partner-item-editor.active .partner-header {
  background: linear-gradient(135deg, #e9ecef 0%, #d3d9df 100%);
  border-bottom: 2px solid #3366cc;
}
.admin-settings-page .logo-preview {
  margin-bottom: 10px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-settings-page .logo-preview img {
  max-width: 200px;
  max-height: 100px;
  object-fit: contain;
}
.admin-settings-page .logo-preview small {
  color: #6b7280;
  font-size: 12px;
}
.admin-settings-page .contacts-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.admin-settings-page .contacts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.admin-settings-page .contact-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 10px;
  align-items: center;
}
.admin-settings-page .btn-remove-small {
  width: 32px;
  height: 32px;
  border: 1px solid #dc3545;
  background: white;
  color: #dc3545;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.admin-settings-page .btn-remove-small:hover {
  background: #dc3545;
  color: white;
}
.admin-settings-page .btn-add-contact {
  padding: 8px 16px;
  background: white;
  border: 2px dashed #e5e7eb;
  color: #3366cc;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}
.admin-settings-page .btn-add-contact:hover {
  border-color: #3366cc;
  background: rgb(234.6, 239.7, 249.9);
}
.admin-settings-page .btn-remove-partner {
  margin-top: 20px;
  padding: 10px 20px;
  background: white;
  border: 1px solid #dc3545;
  color: #dc3545;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-settings-page .btn-remove-partner:hover {
  background: #dc3545;
  color: white;
}
.admin-settings-page .btn-add {
  width: 100%;
  padding: 15px;
  background: white;
  border: 2px dashed #e5e7eb;
  color: #3366cc;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}
.admin-settings-page .btn-add:hover {
  border-color: #3366cc;
  background: rgb(234.6, 239.7, 249.9);
  transform: translateY(-2px);
}
.admin-settings-page .btn-secondary {
  padding: 12px 24px;
  background: white;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-settings-page .btn-secondary:hover {
  background: #f9fafb;
  border-color: rgb(200.1739130435, 204.3913043478, 212.8260869565);
  transform: translateY(-1px);
}
.admin-settings-page .partners-reset-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .admin-settings-page .contact-row {
    grid-template-columns: 1fr;
  }
  .admin-settings-page .btn-remove-small {
    width: 100%;
    margin-top: 5px;
  }
}

.about-page {
  background: white;
}

.about-content {
  max-width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .about-content {
    padding: 0 40px;
    gap: 64px;
    width: 848px;
  }
}
.about-content .about-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-content .about-block .block-title {
  font-weight: 400;
  font-size: 32px;
  line-height: 36px;
}
@media (min-width: 768px) {
  .about-content .about-block .block-title {
    font-size: 38px;
    line-height: 44px;
  }
}
.about-content .about-block .block-text {
  font-size: 14px;
  line-height: 1.5;
  gap: 16px;
  display: flex;
  flex-direction: column;
  font-weight: 400;
}
@media (min-width: 768px) {
  .about-content .about-block .block-text {
    font-size: 16px;
    line-height: 1.6;
  }
}
.about-content .about-block .block-text .quote-block, .about-content .about-block .block-text .news-article-page .article-main .article-content blockquote, .news-article-page .article-main .article-content .about-content .about-block .block-text blockquote, .about-content .about-block .block-text .terms-of-service-page .legal-toc, .terms-of-service-page .about-content .about-block .block-text .legal-toc,
.about-content .about-block .block-text .privacy-policy-page .legal-toc,
.privacy-policy-page .about-content .about-block .block-text .legal-toc {
  font-weight: 500;
  font-size: 18px;
}
@media (min-width: 768px) {
  .about-content .about-block .block-text .quote-block, .about-content .about-block .block-text .news-article-page .article-main .article-content blockquote, .news-article-page .article-main .article-content .about-content .about-block .block-text blockquote, .about-content .about-block .block-text .terms-of-service-page .legal-toc, .terms-of-service-page .about-content .about-block .block-text .legal-toc,
  .about-content .about-block .block-text .privacy-policy-page .legal-toc,
  .privacy-policy-page .about-content .about-block .block-text .legal-toc {
    font-size: 20px;
  }
}

.about-section-highlight h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}
@media (min-width: 768px) {
  .about-section-highlight h2 {
    font-size: 28px;
    line-height: 32px;
  }
}

.about-list {
  list-style: none;
  padding: 0;
}
.about-list li {
  position: relative;
  padding-left: 24px;
}
@media (min-width: 768px) {
  .about-list li {
    padding-left: 28px;
  }
}
.about-list li:before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #111827;
}
.about-list li:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .news-page .page-header {
    margin-bottom: 48px;
  }
}
.news-page .no-news {
  padding: 32px 0;
  text-align: left;
  color: #6b7280;
}
.news-page .news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-page .news-list .news-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 32px;
}
@media (min-width: 768px) {
  .news-page .news-list .news-item {
    flex-direction: row;
    gap: 40px;
  }
}
.news-page .news-list .news-item .news-image {
  width: 100%;
  height: auto;
  min-height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, white, #ffff33);
}
@media (min-width: 768px) {
  .news-page .news-list .news-item .news-image {
    width: 300px;
    height: 200px;
  }
}
.news-page .news-list .news-item .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-page .news-list .news-item .news-image .news-placeholder-logo {
  object-fit: contain;
  padding: 24px;
}
.news-page .news-list .news-item .news-info {
  padding: 0;
  flex: 1;
}
.news-page .news-list .news-item .news-info .news-title {
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 16px;
}
@media (min-width: 480px) {
  .news-page .news-list .news-item .news-info .news-title {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 24px;
  }
}
.news-page .news-list .news-item .news-info .news-title a {
  color: black;
  text-decoration: none;
}
.news-page .news-list .news-item .news-info .news-title a:hover {
  text-decoration: underline;
}
.news-page .news-list .news-item .news-info .news-summary {
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  color: #6b7280;
  margin-bottom: 16px;
}
@media (min-width: 480px) {
  .news-page .news-list .news-item .news-info .news-summary {
    font-size: 16px;
    line-height: 24px;
  }
}
.news-page .news-list hr {
  height: 2px;
  background: black;
  border: none;
}
.news-page .load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.news-article-page .article-header {
  margin-bottom: 24px;
}
.news-article-page .article-banner-full {
  width: 100%;
  overflow: hidden;
  margin-bottom: 48px;
}
.news-article-page .article-banner-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-article-page .article-banner-full.article-banner-placeholder {
  background: linear-gradient(135deg, white, #ffff33);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}
.news-article-page .article-banner-full.article-banner-placeholder img {
  object-fit: contain;
  padding: 48px;
}
.news-article-page .article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .news-article-page .article-grid {
    grid-template-columns: 67% 1fr;
  }
}
.news-article-page .article-main {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .news-article-page .article-main {
    max-width: 768px;
  }
}
.news-article-page .article-main .article-content {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 24px;
  color: black;
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .news-article-page .article-main .article-content {
    font-size: 18px;
    line-height: 28px;
  }
}
.news-article-page .article-main .article-content p {
  margin-bottom: 16px;
}
.news-article-page .article-main .article-content h2 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .news-article-page .article-main .article-content h2 {
    font-size: 38px;
    line-height: 48px;
  }
}
.news-article-page .article-main .article-content h3 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .news-article-page .article-main .article-content h3 {
    font-size: 28px;
    line-height: 32px;
  }
}
.news-article-page .article-main .article-content ul,
.news-article-page .article-main .article-content ol {
  margin-bottom: 24px;
  padding-left: 32px;
}
.news-article-page .article-main .article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}
.news-article-page .article-main .article-content blockquote {
  font-size: 20px;
  line-height: 32px;
}
.news-article-page .article-main .article-content a {
  color: black;
  text-decoration: underline;
}
.news-article-page .article-main .article-content a:hover {
  opacity: 0.8;
}
.news-article-page .article-main .article-gallery h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
}
.news-article-page .article-main .article-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
@media (min-width: 768px) {
  .news-article-page .article-main .article-gallery .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
.news-article-page .article-main .article-gallery .gallery-grid .gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}
.news-article-page .article-main .article-gallery .gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-article-page .article-main .article-gallery .gallery-grid .gallery-item img:hover {
  transform: scale(1.05);
}
.news-article-page .article-sidebar {
  display: flex;
  justify-content: end;
}
.news-article-page .article-sidebar .sidebar-section {
  position: sticky;
  top: 100px;
  border-radius: 0;
  min-width: 256px;
}
.news-article-page .article-sidebar .sidebar-section .sidebar-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 32px;
}
.news-article-page .article-sidebar .sidebar-section .sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-article-page .article-sidebar .sidebar-section .sidebar-news-item {
  display: block;
  text-decoration: none;
  color: black;
  transition: opacity 0.2s ease;
  padding: 16px 0;
  border-top: 2px solid black;
}
.news-article-page .article-sidebar .sidebar-section .sidebar-news-item:hover .sidebar-news-title {
  text-decoration: underline;
}
.news-article-page .article-sidebar .sidebar-section .sidebar-news-item .sidebar-news-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-article-page .article-sidebar .sidebar-section .sidebar-news-item .sidebar-news-title {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}
.news-article-page .article-sidebar .sidebar-section .sidebar-news-item .sidebar-news-date {
  font-size: 12px;
  color: #6b7280;
  font-weight: 300;
}
@media (min-width: 1024px) {
  .news-article-page .article-sidebar .sidebar-section {
    position: relative;
    top: 0;
  }
}
.news-article-page .article-gallery-section {
  margin-top: 64px;
}
.news-article-page .article-gallery-section .gallery-main-image {
  width: 100%;
  height: 400px;
  margin-bottom: 24px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .news-article-page .article-gallery-section .gallery-main-image {
    height: 500px;
  }
}
.news-article-page .article-gallery-section .gallery-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.news-article-page .article-gallery-section .gallery-thumbnails-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.news-article-page .article-gallery-section .gallery-thumbnails-wrapper .gallery-nav {
  width: 56px;
  height: 56px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}
.news-article-page .article-gallery-section .gallery-thumbnails-wrapper .gallery-nav img {
  width: 100%;
  height: 100%;
}
.news-article-page .article-gallery-section .gallery-thumbnails-wrapper .gallery-nav:hover.gallery-prev {
  transform: translateX(-2px);
}
.news-article-page .article-gallery-section .gallery-thumbnails-wrapper .gallery-nav:hover.gallery-next {
  transform: translateX(2px);
}
.news-article-page .article-gallery-section .gallery-thumbnails {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  max-width: calc(100% - 96px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.news-article-page .article-gallery-section .gallery-thumbnails::-webkit-scrollbar {
  display: none;
}
.news-article-page .article-gallery-section .gallery-thumbnail {
  flex-shrink: 0;
  width: 140px;
  height: 100px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0.5;
}
@media (min-width: 768px) {
  .news-article-page .article-gallery-section .gallery-thumbnail {
    width: 160px;
    height: 110px;
  }
}
.news-article-page .article-gallery-section .gallery-thumbnail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease;
}
.news-article-page .article-gallery-section .gallery-thumbnail:hover {
  opacity: 0.75;
}
.news-article-page .article-gallery-section .gallery-thumbnail.active {
  opacity: 1;
}
.news-article-page .article-gallery-section .gallery-thumbnail.active::after {
  background: transparent;
}
.news-article-page .article-gallery-section .gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
}
@media (min-width: 480px) {
  .news-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.news-meta .news-date {
  margin-bottom: 12px;
  font-size: 12px;
  color: #959595;
  font-weight: 300;
}
@media (min-width: 480px) {
  .news-meta .news-date {
    font-size: 16px;
  }
}
.news-meta .news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.news-meta .news-tags .news-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: black;
  color: white;
  font-size: 12px;
  font-weight: 400;
  border-radius: 16px;
  white-space: nowrap;
}
@media (min-width: 480px) {
  .news-meta .news-tags .news-tag {
    font-size: 14px;
    padding: 6px 16px;
  }
}

.homepage-news-section {
  background: #000000;
  color: white;
  padding: 40px 24px;
}
@media (min-width: 768px) {
  .homepage-news-section {
    padding: 48px 32px;
  }
}
@media (min-width: 1024px) {
  .homepage-news-section {
    padding: 64px 80px;
  }
}
.homepage-news-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.homepage-news-section .section-header h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  color: white;
  margin: 0;
}
@media (min-width: 768px) {
  .homepage-news-section .section-header h2 {
    font-size: 38px;
    line-height: 44px;
  }
}
.homepage-news-section .section-header .view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}
.homepage-news-section .section-header .view-all-link:hover {
  opacity: 0.8;
}
.homepage-news-section .section-header .view-all-link:hover img {
  transform: translateX(2px);
}
.homepage-news-section .section-header .view-all-link img {
  width: 20px;
  height: 20px;
  transition: all 0.2s ease;
}
.homepage-news-section .homepage-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .homepage-news-section .homepage-news-grid {
    grid-template-columns: 1fr 280px;
  }
}
@media (min-width: 1024px) {
  .homepage-news-section .homepage-news-grid {
    grid-template-columns: 1fr 360px;
    gap: 64px;
  }
}
@media (min-width: 1200px) {
  .homepage-news-section .homepage-news-grid {
    grid-template-columns: 1fr 400px;
  }
}
.homepage-news-section .featured-news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: white;
  transition: opacity 0.2s ease;
}
.homepage-news-section .featured-news-card:hover {
  opacity: 0.9;
}
.homepage-news-section .featured-news-card:hover .featured-news-content h3 {
  text-decoration: underline;
}
.homepage-news-section .featured-news-card .featured-news-image {
  width: 100%;
  overflow: hidden;
}
.homepage-news-section .featured-news-card .featured-news-image.news-placeholder {
  background: linear-gradient(135deg, white, #ffff33);
  display: flex;
  align-items: center;
  justify-content: center;
}
.homepage-news-section .featured-news-card .featured-news-image.news-placeholder img {
  object-fit: contain;
  padding: 32px;
  max-width: 300px;
}
.homepage-news-section .featured-news-card .featured-news-image img {
  width: 100%;
  object-fit: cover;
}
.homepage-news-section .featured-news-card .featured-news-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.homepage-news-section .featured-news-card .featured-news-content .news-date {
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}
.homepage-news-section .featured-news-card .featured-news-content h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  color: white;
  margin: 0;
}
@media (min-width: 768px) {
  .homepage-news-section .featured-news-card .featured-news-content h3 {
    font-size: 28px;
    line-height: 32px;
  }
}
.homepage-news-section .other-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: auto;
}
.homepage-news-section .other-news-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: white;
  transition: opacity 0.2s ease;
  padding: 16px 0;
  border-top: 2px solid white;
}
.homepage-news-section .other-news-item:hover {
  opacity: 0.8;
}
.homepage-news-section .other-news-item:hover .other-news-title {
  text-decoration: underline;
}
.homepage-news-section .other-news-item .other-news-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: white;
  margin: 0 0 4px 0;
}
@media (min-width: 768px) {
  .homepage-news-section .other-news-item .other-news-title {
    font-size: 16px;
  }
}
.homepage-news-section .other-news-item .other-news-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.hp-news-separator {
  display: none;
  background: black;
  padding: 0 32px;
}
@media (min-width: 768px) {
  .hp-news-separator {
    display: block;
  }
}
@media (min-width: 1024px) {
  .hp-news-separator {
    padding: 0 80px;
  }
}
.hp-news-separator hr {
  border: none;
  border-top: 2px solid white;
  margin: 0;
}
