﻿.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--primary-green);
  color: white;
}

.btn-secondary {
  background-color: var(--primary-orange);
  color: white;
}

.btn-white {
  background-color: white;
  color: var(--primary-green);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
}

.featured-news-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.news-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.news-featured-media {
  min-height: 320px;
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-body {
  padding: 28px;
}

.news-featured-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 12px;
}

.news-featured-title {
  color: #271e11;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.news-featured-summary {
  margin-bottom: 20px;
}

.news-link-inline {
  color: var(--primary-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-detail {
  margin: 0 0 32px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.news-detail-media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.news-detail-content {
  padding: 24px;
}

.news-detail-content h2 {
  color: #271e11;
  margin-bottom: 12px;
}

.news-detail-content p {
  white-space: pre-line;
}

@media (max-width: 900px) {
  .news-featured-card {
    grid-template-columns: 1fr;
  }

  .news-featured-media {
    min-height: 240px;
  }
}


/* Shared navbar + footer */
.yk-nav {
  display: flex !important;
  gap: 24px !important;
  align-items: center !important;
}

.yk-nav .nav-link {
  font-size: 14px !important;
  color: #4b5563 !important;
  font-weight: 500 !important;
  padding: 8px 10px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

.yk-nav .nav-link.active {
  background-color: #2d5f3f !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.yk-nav .nav-link:hover {
  color: #2d5f3f !important;
}

.menu-toggle,
.mobile-menu-btn,
.mobile-nav-toggle {
  display: none;
}

.yk-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.yk-logo-img {
  width: auto;
  height: 48px;
  max-width: 220px;
}

.yk-footer {
  background: #111827 !important;
  color: #d1d5db !important;
}

.yk-footer h2,
.yk-footer h3,
.yk-footer h4,
.yk-footer .footer-heading,
.yk-footer .footer-title,
.yk-footer .footer-brand {
  color: #ffffff !important;
}

.yk-footer a {
  color: #d1d5db !important;
}

.yk-footer a:hover {
  color: #ffffff !important;
}

.yk-footer .footer-bottom,
.yk-footer .copyright,
.yk-footer .footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 24px !important;
  padding-top: 16px !important;
}

@media (max-width: 1024px) {
  .yk-nav {
    display: none !important;
  }

  .yk-logo-img {
    height: 40px;
    max-width: 180px;
  }

  .menu-toggle,
  .mobile-menu-btn,
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    border-radius: 8px !important;
    color: #4b5563 !important;
  }
}
/* Inline style migration utilities */
.u-inline-01 { background: linear-gradient(to right, #4ade80, #059669); }
.u-inline-02 { background: linear-gradient(to right, #60a5fa, #4f46e5); }
.u-inline-03 { background: linear-gradient(to right, #bf84fb, #dd2777); }
.u-inline-04 { background-color: #2d5f3f; }
.u-inline-05 { background-color: #e67e22; }
.u-inline-06 { border-color: #059669; color: #059669; }
.u-inline-07 { border-color: #e67e22; color: white; }
.u-inline-08 { border-color: var(--primary-green); color: var(--primary-green); }
.u-inline-09 { border-color: var(--primary-orange); color: var(--primary-orange); }
.u-inline-10 { color: white; font-size: 1.25rem; margin-bottom: 24px; }
.u-inline-11 { display: flex; justify-content: center; gap: 16px; }
.u-inline-12 { display:none; }
.u-inline-13 { margin-left: 8px; }
.u-inline-14 { margin-right: 8px; }
.u-inline-15 { position: absolute; left: 0px; top: 0px; }
.u-inline-16 { position: absolute; left: 0px; top: 30.9px; width: 12.49px; height: 11.94px; }
.u-inline-17 { position: absolute; left: 0px; top: 31px; }
.u-inline-18 { position: absolute; left: 10.46px; top: 25.31px; width: 14.62px; height: 18.39px; }
.u-inline-19 { position: absolute; left: 10px; top: 25px; }
.u-inline-20 { position: absolute; left: 111.85px; top: 25.26px; width: 16.85px; height: 18.46px; }
.u-inline-21 { position: absolute; left: 111px; top: 25px; }
.u-inline-22 { position: absolute; left: 126.46px; top: 25.22px; width: 15.79px; height: 18.46px; }
.u-inline-23 { position: absolute; left: 126px; top: 25px; }
.u-inline-24 { position: absolute; left: 143.1px; top: 25.22px; width: 12.75px; height: 18.5px; }
.u-inline-25 { position: absolute; left: 143px; top: 25px; }
.u-inline-26 { position: absolute; left: 156.35px; top: 25.22px; width: 7.53px; height: 18.46px; }
.u-inline-27 { position: absolute; left: 156px; top: 25px; }
.u-inline-28 { position: absolute; left: 161.72px; top: 25.22px; width: 14.66px; height: 18.46px; }
.u-inline-29 { position: absolute; left: 161px; top: 25px; }
.u-inline-30 { position: absolute; left: 171.71px; top: 25.22px; width: 15.79px; height: 18.46px; }
.u-inline-31 { position: absolute; left: 171px; top: 25px; }
.u-inline-32 { position: absolute; left: 188px; top: 37px; }
.u-inline-33 { position: absolute; left: 21.13px; top: 25.21px; width: 19.1px; height: 18.8px; }
.u-inline-34 { position: absolute; left: 21px; top: 25px; }
.u-inline-35 { position: absolute; left: 41.27px; top: 8.25px; width: 20.64px; height: 35.42px; }
.u-inline-36 { position: absolute; left: 41px; top: 8px; }
.u-inline-37 { position: absolute; left: 50.39px; top: 0px; width: 6.83px; height: 7.77px; }
.u-inline-38 { position: absolute; left: 50px; top: 0px; }
.u-inline-39 { position: absolute; left: 62.63px; top: 25.22px; width: 14.16px; height: 18.46px; }
.u-inline-40 { position: absolute; left: 62px; top: 25px; }
.u-inline-41 { position: absolute; left: 64.69px; top: 13.95px; width: 15.14px; height: 8.03px; }
.u-inline-42 { position: absolute; left: 64px; top: 14px; }
.u-inline-43 { position: absolute; left: 74.93px; top: 25.22px; width: 16.85px; height: 18.46px; }
.u-inline-44 { position: absolute; left: 74px; top: 25px; }
.u-inline-45 { position: absolute; left: 85.01px; top: 16.22px; width: 61.94px; height: 4.57px; }
.u-inline-46 { position: absolute; left: 85px; top: 16px; }
.u-inline-47 { position: absolute; left: 88.11px; top: 37.13px; width: 6.7px; height: 10.83px; }
.u-inline-48 { position: absolute; left: 97.35px; top: 25.26px; width: 16.78px; height: 18.53px; }
.u-inline-49 { position: absolute; left: 97px; top: 25px; }
.u-inline-50 { position: relative; width: 100%; height: 100%; }
.u-inline-51 { position: relative; width: 195px; height: 48px; }
.u-inline-52 { text-align: center; margin-top: 40px; }
.u-inline-53 { width: 100%; max-width: 480px; margin-bottom: 24px; }
.u-inline-54 { width:100%; height:100%; object-fit:cover; }





/* Akademik format standardization */
.yk-header-standard {
  height: 80px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.yk-header-standard .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yk-footer-standard {
  background-color: #111827 !important;
  color: #d1d5db !important;
  padding: 56px 0 24px;
}

.yk-footer-standard .footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.yk-footer-standard .footer-brand {
  max-width: 560px;
  text-align: center;
}

.yk-footer-standard .footer-logo {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.yk-footer-standard .footer-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.yk-footer-standard .footer-brand h3 {
  margin: 0 0 8px;
  color: #ffffff !important;
  font-size: 1.3rem;
}

.yk-footer-standard .footer-brand p {
  margin: 0;
  color: #d1d5db;
  line-height: 1.6;
}

.yk-footer-standard .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}

.yk-footer-standard .footer-col h4 {
  margin: 0 0 12px;
  color: #ffffff !important;
  font-size: 1.05rem;
}

.yk-footer-standard .footer-contact-list,
.yk-footer-standard .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yk-footer-standard .footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.yk-footer-standard .footer-contact-list img {
  width: 18px;
  margin-top: 3px;
}

.yk-footer-standard .footer-links li {
  margin-bottom: 8px;
}

.yk-footer-standard .footer-links a,
.yk-footer-standard .social-desc,
.yk-footer-standard .footer-contact-list span {
  color: #d1d5db !important;
}

.yk-footer-standard .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.yk-footer-standard .social-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.yk-footer-standard .footer-bottom {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.yk-footer-standard .footer-bottom p {
  margin: 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .yk-footer-standard .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .yk-footer-standard .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Hard override for consistent header/footer */
header.site-header.yk-header-standard {
  height: 80px !important;
  min-height: 80px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1200 !important;
}

header.site-header.yk-header-standard .header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 80px !important;
  gap: 24px !important;
}

header.site-header.yk-header-standard .yk-logo-link {
  flex: 0 0 auto !important;
}

header.site-header.yk-header-standard .main-nav.yk-nav {
  margin-left: auto !important;
}

footer#footer.yk-footer.yk-footer-standard {
  background: #111827 !important;
  color: #d1d5db !important;
}

footer#footer.yk-footer.yk-footer-standard .container {
  max-width: 1280px !important;
}

footer#footer.yk-footer.yk-footer-standard .footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr !important;
  gap: 36px !important;
}

footer#footer.yk-footer.yk-footer-standard .footer-col,
footer#footer.yk-footer.yk-footer-standard .footer-brand,
footer#footer.yk-footer.yk-footer-standard .footer-links,
footer#footer.yk-footer.yk-footer-standard .footer-contact-list {
  margin: 0 !important;
}

@media (max-width: 1024px) {
  footer#footer.yk-footer.yk-footer-standard .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 680px) {
  footer#footer.yk-footer.yk-footer-standard .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

footer#footer.yk-footer.yk-footer-standard .footer-top { display:flex !important; justify-content:center !important; }
footer#footer.yk-footer.yk-footer-standard .footer-brand { max-width:560px !important; text-align:center !important; margin:0 auto !important; }
footer#footer.yk-footer.yk-footer-standard .footer-logo { width:120px !important; height:120px !important; border-radius:999px !important; background:#fff !important; display:flex !important; align-items:center !important; justify-content:center !important; margin:0 auto 16px !important; box-shadow:0 8px 20px rgba(0,0,0,.25) !important; }
footer#footer.yk-footer.yk-footer-standard .footer-logo img { width:78% !important; height:78% !important; object-fit:contain !important; }




/* Header animations */
header.site-header.yk-header-standard {
  transition: height 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

header.site-header.yk-header-standard .header-container {
  transition: height 220ms ease, padding 220ms ease;
}

header.site-header.yk-header-standard .yk-logo-img {
  transition: transform 220ms ease;
  transform-origin: left center;
}

header.site-header.yk-header-standard .main-nav.yk-nav .nav-link {
  position: relative;
}

header.site-header.yk-header-standard .main-nav.yk-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: #2d5f3f;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

header.site-header.yk-header-standard .main-nav.yk-nav .nav-link:hover::after,
header.site-header.yk-header-standard .main-nav.yk-nav .nav-link.active::after {
  transform: scaleX(1);
}

header.site-header.yk-header-standard.is-scrolled {
  height: 70px !important;
  min-height: 70px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

header.site-header.yk-header-standard.is-scrolled .header-container {
  height: 70px !important;
}

header.site-header.yk-header-standard.is-scrolled .yk-logo-img {
  transform: scale(0.92);
}

@media (prefers-reduced-motion: reduce) {
  header.site-header.yk-header-standard,
  header.site-header.yk-header-standard .header-container,
  header.site-header.yk-header-standard .yk-logo-img,
  header.site-header.yk-header-standard .main-nav.yk-nav .nav-link::after {
    transition: none !important;
  }
}

/* Mobile nav toggle */
@media (max-width: 1024px) {
  .yk-nav.is-open {
    display: flex !important;
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    z-index: 999;
  }

  .yk-nav.is-open .nav-link {
    padding: 10px 12px !important;
  }

  .site-header.yk-header-standard {
    position: relative;
  }
}
