/* homepage.css - Detskaya Biblioteka MCBS */

/* ===== FULL WIDTH ===== */
#lib-page {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
  font-family: 'Nunito', 'Montserrat', sans-serif;
  color: #2D3748;
}
#lib-page *, #lib-page *::before, #lib-page *::after { box-sizing: border-box; }
#lib-page h1, #lib-page h2, #lib-page h3, #lib-page h4 { font-family: 'Fredoka', 'Comfortaa', sans-serif; margin: 0; }
#lib-page p { margin: 0; }
#lib-page a { text-decoration: none; color: inherit; }
#lib-page .lib-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HERO ===== */
#lib-page .lib-hero {
  position: relative;
  background: linear-gradient(135deg, #E8F4FD 0%, #FFF8E8 50%, #E6F7ED 100%);
  padding: 60px 40px 48px;
  overflow: hidden;
  margin-bottom: 0;
}
#lib-page .lib-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

#lib-page .sun-wrapper { position: absolute; top: 30px; right: 40px; width: 110px; height: 110px; pointer-events: none; z-index: 1; }
#lib-page .sun-rays { position: absolute; inset: 0; animation: lib-sunRotate 40s linear infinite; }
#lib-page .sun-ray { position: absolute; top: 50%; left: 50%; width: 6px; height: 24px; background: linear-gradient(180deg, #FFB830, transparent); border-radius: 4px; transform-origin: 50% 55px; }
#lib-page .sun-core { position: absolute; top: 50%; left: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; background: radial-gradient(circle, #FFD97D, #FFB830); border-radius: 50%; box-shadow: 0 0 30px rgba(255,184,48,.5); animation: lib-sunPulse 3s ease-in-out infinite; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; }
@keyframes lib-sunRotate { to { transform: rotate(360deg); } }
@keyframes lib-sunPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(255,184,48,.7); } }

#lib-page .cloud { position: absolute; background: rgba(255,255,255,.85); border-radius: 100px; z-index: 0; pointer-events: none; }
#lib-page .cloud::before, #lib-page .cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
#lib-page .cloud-1 { top: 80px; left: -60px; width: 120px; height: 40px; animation: lib-cloudFloat 25s linear infinite; }
#lib-page .cloud-1::before { width: 50px; height: 50px; top: -22px; left: 18px; }
#lib-page .cloud-1::after { width: 70px; height: 70px; top: -32px; left: 48px; }
#lib-page .cloud-2 { top: 200px; left: -40px; width: 90px; height: 30px; opacity: .7; animation: lib-cloudFloat 35s linear infinite -10s; }
#lib-page .cloud-2::before { width: 40px; height: 40px; top: -18px; left: 14px; }
#lib-page .cloud-2::after { width: 55px; height: 55px; top: -25px; left: 36px; }
@keyframes lib-cloudFloat { from { transform: translateX(0); } to { transform: translateX(1400px); } }

#lib-page .falling-books { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; overflow: hidden; }
#lib-page .book { position: absolute; top: -60px; width: 24px; height: 32px; border-radius: 3px 5px 5px 3px; opacity: 0; animation: lib-bookFall 8s ease-in infinite; }
#lib-page .book::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgba(0,0,0,.15); border-radius: 3px 0 0 3px; }
#lib-page .book-1 { left: 10%; background: #E8476C; animation-delay: 0s; }
#lib-page .book-2 { left: 25%; background: #FFB830; animation-delay: 2s; }
#lib-page .book-3 { left: 40%; background: #2DB569; animation-delay: 4s; }
#lib-page .book-4 { left: 60%; background: #9B72F7; animation-delay: 1s; }
#lib-page .book-5 { left: 75%; background: #4AABF0; animation-delay: 3s; }
#lib-page .book-6 { left: 88%; background: #E8476C; animation-delay: 5s; }
@keyframes lib-bookFall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .6; } 100% { transform: translateY(700px) rotate(540deg); opacity: 0; } }

#lib-page .lib-hero h2 { font-size: 42px; font-weight: 600; line-height: 1.15; color: #1A2744; margin-bottom: 16px; }
#lib-page .lib-hero h2 em { font-style: normal; background: linear-gradient(90deg, #4AABF0, #2DB569, #E8476C); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: lib-gradientShift 5s linear infinite; }
@keyframes lib-gradientShift { to { background-position: 200% center; } }
#lib-page .title-assemble { display: inline-block; }
#lib-page .title-assemble .letter { display: inline-block; animation: lib-letterDrop .6s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes lib-letterDrop { 0% { transform: translateY(-60px) rotate(-25deg); opacity: 0; } 100% { transform: translateY(0) rotate(0); opacity: 1; } }
#lib-page .lib-hero p.lead { font-size: 16px; color: #636E7F; line-height: 1.7; margin-bottom: 24px; animation: lib-slideInLeft .8s ease-out .3s both; }
@keyframes lib-slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
#lib-page .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; animation: lib-slideInLeft .8s ease-out .5s both; }

#lib-page .lib-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 14px; font-weight: 700; font-size: 14px; transition: all .25s; border: none; cursor: pointer; }
#lib-page .lib-btn-primary { background: #4AABF0; color: #fff; box-shadow: 0 4px 20px rgba(74,171,240,.35); }
#lib-page .lib-btn-primary:hover { background: #3A9BE0; transform: translateY(-3px); }
#lib-page .lib-btn-outline { background: #fff; color: #4AABF0; border: 2px solid #4AABF0; }
#lib-page .lib-btn-outline:hover { background: #E8F4FD; transform: translateY(-3px); }

#lib-page .hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 2; }
#lib-page .hero-card { background: #fff; border-radius: 20px; padding: 22px 16px; text-align: center; box-shadow: 0 4px 24px rgba(26,39,68,.08); transition: all .3s cubic-bezier(.34,1.56,.64,1); cursor: pointer; animation: lib-cardPop .6s cubic-bezier(.34,1.56,.64,1) both; }
#lib-page .hero-card:hover { transform: translateY(-8px) rotate(-2deg); box-shadow: 0 12px 40px rgba(26,39,68,.16); }
#lib-page .hero-card:nth-child(1) { animation-delay: .7s; }
#lib-page .hero-card:nth-child(2) { animation-delay: .8s; }
#lib-page .hero-card:nth-child(3) { animation-delay: .9s; }
#lib-page .hero-card:nth-child(4) { animation-delay: 1s; }
@keyframes lib-cardPop { from { opacity: 0; transform: scale(.5) rotate(15deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
#lib-page .hc-icon { width: 54px; height: 54px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 28px; }
#lib-page .hc-1 .hc-icon { background: #E8F4FD; }
#lib-page .hc-2 .hc-icon { background: #FDE8ED; }
#lib-page .hc-3 .hc-icon { background: #FFF3E0; }
#lib-page .hc-4 .hc-icon { background: #E6F7ED; }
#lib-page .hero-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
#lib-page .hero-card p { font-size: 12px; color: #636E7F; line-height: 1.4; }

#lib-page .mascot { position: absolute; bottom: 10px; left: 20px; width: 90px; height: 90px; animation: lib-mascotWave 4s ease-in-out infinite; z-index: 3; }
#lib-page .mascot svg { width: 100%; height: 100%; }
@keyframes lib-mascotWave { 0%,100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-8px) rotate(-5deg); } 75% { transform: translateY(-4px) rotate(5deg); } }

/* ===== STATS ===== */
#lib-page .lib-stats { background: #fff; border-radius: 20px; margin: -30px auto 40px; max-width: 960px; padding: 24px 32px; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; text-align: center; box-shadow: 0 4px 24px rgba(26,39,68,.08); position: relative; z-index: 5; }
#lib-page .stat h3 { font-size: 30px; font-weight: 700; color: #4AABF0; line-height: 1; transition: color .3s; }
#lib-page .stat:hover h3 { color: #E8476C; animation: lib-numberPop .4s ease; }
@keyframes lib-numberPop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
#lib-page .stat p { font-size: 12px; color: #636E7F; margin-top: 4px; }

/* ===== SECTION TITLES ===== */
#lib-page .section-title { text-align: center; margin-bottom: 32px; }
#lib-page .section-title h2 { font-size: 30px; font-weight: 600; color: #1A2744; margin-bottom: 6px; }
#lib-page .section-title p { font-size: 14px; color: #636E7F; }
#lib-page .accent-line { width: 60px; height: 3px; background: linear-gradient(90deg, #FFB830, #E8476C); border-radius: 2px; margin: 10px auto 0; position: relative; overflow: hidden; }
#lib-page .accent-line::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation: lib-shimmer 2s linear infinite; }
@keyframes lib-shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== NEWS ===== */
#lib-page .news-section { padding: 48px 0 32px; }
#lib-page .news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
#lib-page .news-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 24px rgba(26,39,68,.08); transition: all .4s cubic-bezier(.34,1.56,.64,1); cursor: pointer; }
#lib-page .news-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(26,39,68,.16); }
#lib-page .news-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 44px; position: relative; transition: transform .6s; }
#lib-page .news-card:hover .news-img { transform: scale(1.05); }
#lib-page .news-tag { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 6px; font-size: 10px; font-weight: 700; color: #fff; }
#lib-page .news-body { padding: 16px 18px; }
#lib-page .news-date { font-size: 11px; color: #636E7F; margin-bottom: 6px; font-weight: 600; }
#lib-page .news-body h3 { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
#lib-page .news-body p { font-size: 13px; color: #636E7F; line-height: 1.5; }
#lib-page .news-more { display: inline-flex; gap: 4px; color: #4AABF0; font-weight: 700; font-size: 12px; margin-top: 8px; transition: gap .2s; }
#lib-page .news-more:hover { gap: 10px; }

/* ===== BOOK OF WEEK ===== */
#lib-page .book-week { padding: 32px 0; }
#lib-page .book-week-inner { background: linear-gradient(135deg, #FFF8E8, #FFFBF0); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; box-shadow: 0 4px 24px rgba(26,39,68,.08); position: relative; overflow: hidden; }
#lib-page .book-week-inner::before { content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(255,184,48,.15), transparent 70%); border-radius: 50%; animation: lib-breathe 4s ease-in-out infinite; }
@keyframes lib-breathe { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }
#lib-page .book-cover { width: 160px; height: 230px; background: linear-gradient(150deg, #FFB830, #FF9A3C); border-radius: 12px; box-shadow: 8px 8px 32px rgba(255,184,48,.3); display: flex; align-items: center; justify-content: center; flex-direction: column; color: #fff; text-align: center; padding: 18px; position: relative; overflow: hidden; animation: lib-bookWiggle 4s ease-in-out infinite; cursor: pointer; }
#lib-page .book-cover:hover { transform: scale(1.05) rotate(2deg); }
@keyframes lib-bookWiggle { 0%,100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg); } }
#lib-page .book-cover::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: rgba(0,0,0,.1); border-radius: 12px 0 0 12px; }
#lib-page .book-cover span.emoji { font-size: 46px; margin-bottom: 8px; }
#lib-page .book-cover h4 { font-size: 14px; font-weight: 600; line-height: 1.3; }
#lib-page .book-cover p.sub { font-size: 10px; opacity: .85; margin-top: 4px; }
#lib-page .book-info { position: relative; z-index: 1; }
#lib-page .badge { display: inline-flex; gap: 6px; background: #FFB830; color: #1A2744; padding: 5px 12px; border-radius: 8px; font-size: 11px; font-weight: 700; margin-bottom: 12px; animation: lib-badgeWiggle 3s ease-in-out infinite; }
@keyframes lib-badgeWiggle { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
#lib-page .book-info h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
#lib-page .book-info .author { font-size: 13px; color: #636E7F; margin-bottom: 12px; }
#lib-page .book-info .desc { font-size: 13px; color: #636E7F; line-height: 1.6; margin-bottom: 16px; }
#lib-page .age-tag { display: inline-block; padding: 3px 10px; background: #E6F7ED; color: #2DB569; font-size: 11px; font-weight: 700; border-radius: 6px; margin-right: 6px; }

/* ===== EVENTS ===== */
#lib-page .events-section { padding: 32px 0 48px; }
#lib-page .events-list { display: flex; flex-direction: column; gap: 14px; }
#lib-page .event-row { background: #fff; border-radius: 14px; padding: 18px 22px; display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items: center; box-shadow: 0 4px 24px rgba(26,39,68,.08); transition: all .3s; border-left: 4px solid transparent; }
#lib-page .event-row:hover { transform: translateX(6px); border-left-color: #FFB830; box-shadow: 0 12px 40px rgba(26,39,68,.12); }
#lib-page .event-date-box { text-align: center; background: #E8F4FD; border-radius: 10px; padding: 10px 6px; transition: all .3s; }
#lib-page .event-row:hover .event-date-box { background: #4AABF0; transform: scale(1.08); }
#lib-page .event-row:hover .event-date-box .day,
#lib-page .event-row:hover .event-date-box .month { color: #fff; }
#lib-page .event-date-box .day { font-size: 26px; font-weight: 700; color: #4AABF0; line-height: 1; transition: color .3s; }
#lib-page .event-date-box .month { font-size: 11px; color: #636E7F; font-weight: 600; text-transform: uppercase; transition: color .3s; }
#lib-page .event-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
#lib-page .event-info p { font-size: 12px; color: #636E7F; }
#lib-page .event-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
#lib-page .event-tags span { padding: 2px 8px; border-radius: 6px; font-size: 10px; font-weight: 600; }
#lib-page .et-age { background: #E6F7ED; color: #2DB569; }
#lib-page .et-type { background: #FDE8ED; color: #E8476C; }
#lib-page .et-pushkin { background: #FFF3E0; color: #E67E22; }

/* ===== SERVICES ===== */
#lib-page .services-section { padding: 48px 0; }
#lib-page .services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
#lib-page .service-card { background: #fff; border-radius: 20px; padding: 22px 16px; text-align: center; box-shadow: 0 4px 24px rgba(26,39,68,.08); transition: all .4s cubic-bezier(.34,1.56,.64,1); cursor: pointer; border: 2px solid transparent; }
#lib-page .service-card:hover { border-color: #4AABF0; transform: translateY(-8px) rotate(-1deg); box-shadow: 0 12px 40px rgba(26,39,68,.16); }
#lib-page .service-icon { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 28px; transition: all .4s; }
#lib-page .service-card:hover .service-icon { animation: lib-iconJump .6s ease; }
@keyframes lib-iconJump { 0%,100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-10px) scale(1.1); } 60% { transform: translateY(0) scale(.95); } }
#lib-page .service-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
#lib-page .service-card p { font-size: 11px; color: #636E7F; line-height: 1.4; }
#lib-page .s1 .service-icon { background: #E8F4FD; }
#lib-page .s2 .service-icon { background: #E6F7ED; }
#lib-page .s3 .service-icon { background: #FFF3E0; }
#lib-page .s4 .service-icon { background: #FDE8ED; }
#lib-page .s5 .service-icon { background: #EFEAFE; }
#lib-page .s6 .service-icon { background: #E8F4FD; }
#lib-page .s7 .service-icon { background: #FFF8E8; }
#lib-page .s8 .service-icon { background: #E6F7ED; }

/* ===== YAKUTIA ===== */
#lib-page .yakutia-section { padding: 48px 32px; background: linear-gradient(135deg, #1A2744, #2C4A6E); color: #fff; position: relative; overflow: hidden; }
#lib-page .stars { position: absolute; inset: 0; pointer-events: none; }
#lib-page .star { position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; box-shadow: 0 0 8px rgba(255,255,255,.8); animation: lib-twinkle 3s ease-in-out infinite; }
#lib-page .star-1 { top: 20%; left: 15%; animation-delay: 0s; }
#lib-page .star-2 { top: 35%; left: 80%; animation-delay: .5s; }
#lib-page .star-3 { top: 60%; left: 25%; animation-delay: 1s; }
#lib-page .star-4 { top: 15%; left: 55%; animation-delay: 1.5s; }
#lib-page .star-5 { top: 75%; left: 70%; animation-delay: 2s; }
#lib-page .star-6 { top: 45%; left: 45%; animation-delay: 2.5s; width: 4px; height: 4px; }
#lib-page .star-7 { top: 80%; left: 15%; animation-delay: .8s; }
#lib-page .star-8 { top: 25%; left: 90%; animation-delay: 1.8s; }
@keyframes lib-twinkle { 0%,100% { opacity: .3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }
#lib-page .yakutia-section .section-title h2 { color: #fff; }
#lib-page .yakutia-section .section-title p { color: rgba(255,255,255,.6); }
#lib-page .yakutia-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
#lib-page .yakutia-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 24px; backdrop-filter: blur(8px); transition: all .4s; cursor: pointer; }
#lib-page .yakutia-card:hover { background: rgba(255,255,255,.14); border-color: rgba(255,184,48,.4); transform: translateY(-4px); }
#lib-page .yakutia-card .yc-icon { font-size: 36px; margin-bottom: 10px; transition: transform .4s; display: inline-block; }
#lib-page .yakutia-card:hover .yc-icon { animation: lib-iconFloat 1.5s ease-in-out infinite; }
@keyframes lib-iconFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
#lib-page .yakutia-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
#lib-page .yakutia-card p { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ===== PARTNERS ===== */
#lib-page .partners-section { padding: 32px 0; }
#lib-page .partners-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
#lib-page .partner-badge { background: #fff; border: 2px solid #E8ECF0; border-radius: 12px; padding: 10px 18px; font-size: 12px; font-weight: 600; color: #636E7F; transition: all .3s; cursor: pointer; display: inline-block; }
#lib-page .partner-badge:hover { border-color: #FFB830; color: #1A2744; transform: translateY(-3px) rotate(-2deg); box-shadow: 0 6px 20px rgba(255,184,48,.2); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  #lib-page *, #lib-page *::before, #lib-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #lib-page .lib-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  #lib-page .hero-btns { justify-content: center; }
  #lib-page .hero-cards { max-width: 400px; margin: 0 auto; }
  #lib-page .lib-hero h2 { font-size: 30px; }
  #lib-page .lib-stats { grid-template-columns: 1fr 1fr; }
  #lib-page .news-grid { grid-template-columns: 1fr; }
  #lib-page .services-grid { grid-template-columns: repeat(2,1fr); }
  #lib-page .yakutia-grid { grid-template-columns: 1fr; }
  #lib-page .book-week-inner { grid-template-columns: 1fr; text-align: center; }
  #lib-page .book-cover { margin: 0 auto; }
  #lib-page .event-row { grid-template-columns: 60px 1fr; }
  #lib-page .event-row > :last-child { display: none; }
  #lib-page .sun-wrapper { width: 70px; height: 70px; top: 15px; right: 15px; }
  #lib-page .mascot { width: 60px; height: 60px; bottom: 5px; left: 10px; }
}
@media (max-width: 600px) {
  #lib-page .services-grid { grid-template-columns: 1fr; }
  #lib-page .lib-stats { grid-template-columns: 1fr 1fr; padding: 18px; }
  #lib-page .lib-hero { padding: 40px 20px; }
}

/* ===== MENU STYLES ===== */
#header [data-sticky] {
  transition: box-shadow .3s ease, background .3s ease !important;
}
#header .is-sticky [data-row="middle"],
#header [data-sticky].is-sticky {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 28px rgba(26,39,68,.12) !important;
}

#header-menu-1 .menu > li > a.ct-menu-link {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #2D3748 !important;
  padding: 8px 14px !important;
  border-radius: 10px !important;
  transition: background .2s, color .2s !important;
  position: relative;
}
#header-menu-1 .menu > li > a.ct-menu-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: #FFB830;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
}
#header-menu-1 .menu > li:hover > a.ct-menu-link::after,
#header-menu-1 .menu > li.current-menu-item > a.ct-menu-link::after,
#header-menu-1 .menu > li.current_page_item > a.ct-menu-link::after {
  transform: scaleX(1);
}
#header-menu-1 .menu > li:hover > a.ct-menu-link {
  background: #F5F0E8 !important;
  color: #1A2744 !important;
}
#header-menu-1 .menu > li.current-menu-item > a.ct-menu-link,
#header-menu-1 .menu > li.current_page_item > a.ct-menu-link,
#header-menu-1 .menu > li.current-menu-parent > a.ct-menu-link {
  background: #E8F4FD !important;
  color: #4AABF0 !important;
}
#header-menu-1 .sub-menu {
  background: #fff !important;
  border-radius: 16px !important;
  border: 1.5px solid #EAE4D8 !important;
  box-shadow: 0 12px 40px rgba(26,39,68,.12) !important;
  padding: 8px !important;
  min-width: 220px !important;
  animation: detlib-dropIn .2s ease both !important;
}
@keyframes detlib-dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#header-menu-1 .sub-menu li a.ct-menu-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #3D4A52 !important;
  padding: 9px 16px !important;
  border-radius: 10px !important;
  display: block !important;
  transition: all .18s !important;
}
#header-menu-1 .sub-menu li:hover > a.ct-menu-link {
  background: #E8F4FD !important;
  color: #4AABF0 !important;
  padding-left: 22px !important;
}
.ct-header-search {
  width: 38px !important; height: 38px !important;
  background: #F5F0E8 !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .2s, transform .2s !important;
}
.ct-header-search:hover {
  background: #4AABF0 !important;
  color: #fff !important;
  transform: scale(1.06) !important;
}
.ct-header-trigger {
  background: #4AABF0 !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  transition: background .2s !important;
  border: none !important;
}
.ct-header-trigger:hover { background: #3A9BE0 !important; }