/* reset forced styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
  text-decoration: none;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
  font-family: 'Manrope', sans-serif;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* start of custom styles */
body {
    background-color: #15191E;
}
.surface {
    background-color: #0B0E11;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}
main, .content-wrapper { 
  flex: 1 0 auto; /* Це "штовхає" футер донизу */
}

.main-text {
    color: #E1E4E8;
    font-family: 'Manrope', sans-serif;
}

.demo-tag {
  color: #D96021;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-left: 8px;
  vertical-align: middle;
}

.side-text {
    color: #8B949E;
}
li {
    margin-right: 1.5rem;
}

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');

.page-header {
  font-family: 'Manrope', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: #E1E4E8;
}

.header-divider {
  width: 100%;
  height: 1px;
  background-color: #8B949E;
  margin-bottom: 40px; 
}

/* navbar styles */
.navbar-container {
  display: flex;
  align-items: center;
  width: 100%; 
  max-width: 100%; 
  margin: 0 auto;
}

.navbar-logo {
  flex: 0 0 auto; 
}

.navbar-logo img {
  height: 30px; 
  display: block;
}

.navbar-links {
  display: flex;
  align-items: center;
  flex-grow: 1; 
  justify-content: center; 
  padding-right: 100px; 
}

.separator {
  color: #8B949E;
  margin: 0 15px;
  font-weight: bold;
}

.nav-btn {
  background: none;
  border: none;
  color: #8B949E;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none !important;
}

.nav-btn:hover, .nav-btn.active {
  color: #E1E4E8;
  text-decoration: none !important;
}

@media (min-width: 1200px) {
  .nav-btn.active {
    border-bottom: 2px solid #D96021;
  }
}

@media (max-width: 1200px) {
  .navbar-nav {
    align-items: flex-start;
    gap: 10px;
  }

  .nav-item {
    margin-right: 0;
  }

  .nav-btn {
    display: block;
    padding: 2px 0;
  }

  .separator {
    display: none;
  }
  
  .nav-btn.active::before {
      content: "";
      display: inline-block;
      width: 2px;
      height: 18px;
      background-color: #D96021;
      position: absolute; left: 0px;
  }

  .nav-btn.active::after {
      display: none;
  }
}

/* footer styles */
.footer-col {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  flex-direction: column;
}

.col-1 { 
  align-items: flex-start; 
  text-align: right;       
}

.col-2, .col-3 { 
  align-items: flex-start; 
  text-align: left; 
}

.footer-col p, .footer-col h3 {
  margin: 0 0 8px 0;
  color: #8B949E;
}

.footer-col a {
  margin: 0 0 8px 0;
  color: #8B949E;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.footer-col a:hover {
  color: #E1E4E8;
}

.footer-logo {
  margin-bottom: 10px;
  height: 30px;
}

.rss-icon {
  width: 15px;
  height: 15px;
  margin: 0 0 8px 0;
}

/* about-us styles */
.about-section {
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
  }

.aboutus-logo {
    height: 50px;
    margin-bottom: 10px;
    width: auto;
    max-width: none; 
    display: block;
}

.about-descr {
    color: #E1E4E8;
    font-family: 'Manrope', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 10px;
}

.about-text {
    color: #E1E4E8;
    font-family: 'Manrope', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 34px;
}

.about-text a {
    color: #D96021;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-text-b {
    color: #E1E4E8;
    font-family: 'Manrope', sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 34px;
    margin: 5px 0;
}

.section-divider {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-family: "Fira Code", monospace;
    color: #8B949E;
    font-size: 25px;
    margin: 40px 0 40px;
}

.section-divider .line {
    flex-grow: 1;
    height: 2px;
    background-color: #8B949E; 
    margin-left: 10px;
}

.dcua-logo {
    height: 200px;
    margin-bottom: 10px;
}

/* postcard styles (achieve and events) */

.postcard {
  padding: 1px; 
  min-width: 360px;
  background-color: #8B949E;
  width: 100%;
  clip-path: polygon(
    0% 0%, 
    calc(100% - 20px) 0%, 
    calc(100% - 20px) 20px, 
    100% 20px, 
    100% 100%, 
    0% 100%
  );
}

.postcard-content {
  background-color: #15191E;
  min-height: 250px;
  width: 100%;
  padding: 20px 20px 15px 20px !important;
  clip-path: polygon(
    0% 0%, 
    calc(100% - 20px) 0%, 
    calc(100% - 20px) 20px, 
    100% 20px, 
    100% 100%, 
    0% 100%
  );
}

.postcard-content--compact {
  padding: 16px 20px 12px 20px !important;
}

.postcard-content--compact .event-format {
  margin-bottom: 10px;
}

.postcard-content--compact .mb-3 {
  margin-bottom: 10px !important;
}

.event-status {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: #FF6B00;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.event-format {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: #8B949E;
  margin-bottom: 15px;
}

.event-short-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.1;
}

.event-short-title--sm {
  font-size: 18px;
  line-height: 1.12;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-startdatetime, .event-enddatetime {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: #8B949E;
  margin-bottom: 0;
  display: block; 
  line-height: 1.2;
  /* line-height: 1.4; */
}

.event-terms {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.event-terms--compact {
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-footer {
  margin-top: auto;
  border-top: 1px solid #8B949E;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-type {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: #8B949E;
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: 0.5px;
}

.btn-results {
  font-family: 'Fira Code', monospace;
  font-weight: 700;
  font-size: 11px;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* post layout */

.pagecont {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px 0 100px 0;
}
