/* =========================================================
   CALENDARUL SCOS DIN MENIU
   ========================================================= */
.osky-nav li:has(> a[href*="calendar.php"]) {
  display: none !important;
}

/* =========================================================
   CENTRUL DE AJUTOR CA LA IPB
   ========================================================= */
.osky-hp {
  margin: 24px 0;
}

.osky-hp-top {
  margin-bottom: 20px;
  padding: 34px 30px;
  border-radius: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.10) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, #e01b3a, #a50e25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.osky-hp-top h1 {
  margin: 0;
  font-family: 'Permanent Marker', cursive !important;
  font-weight: 400;
  font-size: 34px;
  color: #ffffff;
  text-shadow: 2px 2px 0 #5a0612;
}

.osky-hp-top p {
  margin: 6px 0 0;
  color: #ffe3e8;
  font-size: 15px;
}

.osky-hp-top-small {
  padding: 22px 26px;
  text-align: left;
}

.osky-hp-top-small h1 {
  font-size: 26px;
}

form.osky-hp-search {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 20px auto 0;
}

form.osky-hp-search input.textbox {
  flex: 1;
  min-width: 0;
  padding: 15px 18px !important;
  border-radius: 12px !important;
  background: rgba(5, 13, 34, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-size: 15px !important;
}

form.osky-hp-search input.textbox::placeholder {
  color: #ffc2cb;
}

form.osky-hp-search button {
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  color: #c4122f;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* sectiunile */
.osky-hp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.osky-hp-sec,
.osky-hp-doc,
.osky-hp-results {
  border-radius: 16px;
  background: rgba(10, 20, 46, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.osky-hp-sechead {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.osky-hp-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c4122f, #ff2e4d);
  box-shadow: 0 6px 16px rgba(255, 46, 77, 0.4);
  font-size: 22px;
}

.osky-hp-ico::after { content: "\2753"; }
.osky-hp-s1 .osky-hp-ico::after { content: "\1F464"; }
.osky-hp-s2 .osky-hp-ico { background: linear-gradient(135deg, #12814a, #2ee66b); box-shadow: 0 6px 16px rgba(46, 230, 107, 0.35); }
.osky-hp-s2 .osky-hp-ico::after { content: "\270F"; }

.osky-hp-sechead h2 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.osky-hp-sechead p {
  margin: 2px 0 0;
  color: #8fa0bf;
  font-size: 13px;
}

.osky-hp-list {
  padding: 8px;
}

.osky-hp .osky-hp-list a.osky-hp-item,
.osky-hp .osky-hp-results a.osky-hp-item {
  position: relative;
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 12px 40px 12px 14px !important;
  border-radius: 10px;
  background: transparent;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.osky-hp .osky-hp-list a.osky-hp-item::after,
.osky-hp .osky-hp-results a.osky-hp-item::after {
  content: "\203A";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8fa0bf;
  font-size: 22px;
  font-weight: 400;
  transition: right 0.15s ease, color 0.15s ease;
}

.osky-hp .osky-hp-list a.osky-hp-item:hover,
.osky-hp .osky-hp-results a.osky-hp-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.osky-hp .osky-hp-list a.osky-hp-item:hover::after,
.osky-hp .osky-hp-results a.osky-hp-item:hover::after {
  right: 11px;
  color: #2ee66b;
}

.osky-hp a.osky-hp-item b {
  display: block !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4;
  text-shadow: none !important;
}

.osky-hp a.osky-hp-item span {
  display: block !important;
  margin-top: 2px;
  color: #8fa0bf !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

.osky-hp a.osky-hp-item:hover b {
  color: #2ee66b !important;
}

.osky-hp .osky-hp-results a.osky-hp-res {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding: 16px 44px 16px 20px !important;
}

/* documentul deschis */
a.osky-hp-back:link,
a.osky-hp-back:visited {
  display: inline-block;
  margin-bottom: 14px;
  color: #8fa0bf;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

a.osky-hp-back:hover {
  color: #2ee66b;
}

.osky-hp-doc {
  padding: 30px 34px;
}

.osky-hp-doc h1 {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
}

.osky-hp-body {
  color: #c9d4ea;
  font-size: 15px;
  line-height: 1.75;
}

.osky-hp-body strong {
  color: #ffffff;
}

.osky-hp-body a:link,
.osky-hp-body a:visited {
  color: #2ee66b;
  font-weight: 600;
}

.osky-hp-body ul {
  margin: 10px 0;
  padding-left: 22px;
}

.osky-hp-body li {
  margin-bottom: 6px;
}

.osky-hp-body li::marker {
  color: #ff2e4d;
}

table.osky-hd-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

table.osky-hd-table th {
  padding: 10px 14px;
  background: rgba(196, 18, 47, 0.35);
  color: #ffffff;
  font-weight: 700;
  text-align: left;
}

table.osky-hd-table td {
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

table.osky-hd-table tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.025);
}

table.osky-hd-table td:last-child {
  color: #8fa0bf;
  font-size: 12px;
}

table.osky-hd-table code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 46, 77, 0.18);
  color: #ff8a9b;
  font-family: Consolas, monospace !important;
}

/* caseta de jos */
.osky-hp-more {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(10, 20, 46, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.osky-hp-more > div {
  flex: 1;
  min-width: 220px;
}

.osky-hp-more b {
  display: block;
  color: #ffffff;
  font-size: 15px;
}

.osky-hp-more span {
  display: block;
  margin-top: 2px;
  color: #8fa0bf;
  font-size: 13px;
}

.osky-hp-more a:link,
.osky-hp-more a:visited {
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.osky-hp-more a.osky-hp-dc:link,
.osky-hp-more a.osky-hp-dc:visited {
  border-color: transparent;
  background: linear-gradient(90deg, #5865f2, #4752c4);
}

.osky-hp-none {
  padding: 50px 20px;
  color: #8fa0bf;
  font-size: 15px;
  line-height: 2.2;
  text-align: center;
}

@media (max-width: 700px) {
  form.osky-hp-search {
    flex-direction: column;
  }
  form.osky-hp-search button {
    padding: 14px;
  }
  .osky-hp-doc {
    padding: 22px 18px;
  }
  table.osky-hd-table td:last-child,
  table.osky-hd-table th:last-child {
    display: none;
  }
}