/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.0.6
*/

/* Root */
:root {
  --box: 0 2px 15px rgba(0, 0, 0, 0.05);
  --box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  --radius-5: 5px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-oval: 50px;
  --border: 1px solid #eaeaea;
  --transition: transform 0.3s ease;
  --transform-y: translateY(-2px);
}


/* Global GeneratePress */
.entry-summary,
.inside-right-sidebar .widget:first-child p {
  display: none;
}

.apply-button-wrapper {
  display: block;
  clear: both;
  width: 100%;
  padding: 0.375rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

body:not(.single, .page) .site-main>* {
  margin-bottom: 2px;
}

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

.load-more a.button {
  margin: 1.5rem auto;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-8);
  padding: 0.5rem 1.5rem;
}

a.tag-cloud-link {
  font-size: 0.625rem !important;
  font-weight: 500;
  border-radius: var(--radius-5);
  padding: 0.5rem 0.6rem;
  display: inline-flex;
  align-items: center;
  margin: 0 3px 5px 0;
  background-color: var(--accent);
  color: var(--base);
  text-transform: uppercase;
  text-decoration: none;
}

a.tag-cloud-link:hover {
  background-color: var(--contrast);
  color: var(--base-3);
}

.inside-footer-widgets {
  font-size: 0.813rem;
}

.inside-footer-widgets a {
  text-decoration: none;
}

.footer-widget-1 .widget_media_image,
.inside-footer-widgets .widget-title {
  margin-bottom: 10px;
}

.footer-widget-1 .widget_media_image img {
  width: 200px;
}

#footer-widgets .widget ul li {
  margin-bottom: 0;
}

.site-info {
  border-top: 1px solid #444;
}

.footer-bar i {
  font-size: 0.938rem;
}

.footer-bar ul li {
  margin-right: 5px !important;
}


@media screen and (min-width: 768px) {
  .inside-right-sidebar {
    position: sticky;
    top: 50px;
  }

  .footer-widgets .footer-widget-1 {
    flex-basis: 40%;
  }

  .footer-widgets .footer-widget-2,
  .footer-widgets .footer-widget-3,
  .footer-widgets .footer-widget-4,
  .footer-widgets .footer-widget-5 {
    flex-basis: 15%;
  }
}


@media screen and (max-width: 768px) {

  .inside-footer-widgets>div:not(:last-child),
  .inside-footer-widgets>div:last-child {
    margin-bottom: 0;
  }

  .footer-widgets .inside-footer-widgets {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .footer-widgets .footer-widget-1 {
    flex-basis: 100%;
  }

  .footer-bar .menu-halaman-container {
    line-height: 1;
    margin-bottom: 1rem;
  }

  .footer-widgets .footer-widget-2,
  .footer-widgets .footer-widget-3,
  .footer-widgets .footer-widget-4,
  .footer-widgets .footer-widget-5 {
    flex-basis: calc(50% - 0.75rem);
  }

  .footer-widgets .footer-widget-3,
  .footer-widgets .footer-widget-5 {
    margin-left: auto;
  }

  .footer-bar-active .inside-site-info {
    flex-direction: inherit;
    align-items: center;
    justify-content: space-between;
    padding: 10px 1.5em;
  }

  .footer-bar-active .footer-bar {
    margin-bottom: 0;
  }

  .footer-widgets-container {
    padding-top: 20px !important;
  }

  .footer-widgets .footer-widget-4,
  .footer-widgets .footer-widget-5 {
    margin-bottom: 0 !important;
  }
}

/* Global Block */
.box {
  box-shadow: var(--box);
}

/* Header */
.site-header {
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 9999
}

.custom-logo {
  width: 100%;
  height: auto;
  overflow: hidden;
  line-height: 0;
  margin: 0 1rem 1.5rem;
  padding-bottom: 1rem;
  border-bottom: var(--border);
}

.custom-logo img {
  width: 140px;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: none;
}

#generate-slideout-menu {
  padding: 3rem 1rem;
}

.slideout-navigation.main-navigation .main-nav ul li a {
  line-height: 3em !important;
  border-bottom: var(--border);
  margin: 0 1rem;
  padding: 0;
}

.slideout-navigation button.slideout-exit {
  text-align: right !important;
  padding: 0.5rem !important;
}

.slideout-navigation button.slideout-exit svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: orangered;
}

.main-navigation .menu-bar-item>a {
  line-height: 1;
  padding: 0.5rem 0.625rem;
  background-color: var(--contrast);
  border-radius: var(--radius-5);
  margin-left: 0.313rem;
  color: var(--base-3);
}

.main-navigation .menu-bar-item>a:hover {
  background-color: var(--accent);
  color: var(--base-3);
}

.search-modal-form .search-field,
.search-modal-form .search-field:focus {
  height: 50px;
}

.search-modal-form,
.search-modal-form .search-field:focus {
  border-radius: var(--radius-oval);
  height: 50px
}

.search-modal-form .search-field:focus {
  outline: none;
  border: none;
}

@media screen and (min-width: 768px) {
  .site-logo {
    margin-right: auto;
  }

  .main-navigation .menu-bar-item>a {
    line-height: 1;
  }

  .nav-float-right #site-navigation {
    margin-left: 0;
  }

  .menu-bar-items {
    margin-left: 1rem;
  }

  .search-modal-form {
    width: 380px;
  }
}

@media screen and (max-width: 768px) {
  .search-modal-form {
    width: 320px;
  }

  .mobile-menu-control-wrapper .menu-toggle,
  #mobile-header .menu-toggle {
    background-color: var(--contrast);
    color: var(--base-3);
    border-radius: var(--radius-5);
    margin-left: 0.313rem;
  }

  #mobile-header.toggled .main-nav>ul,
  #mobile-header .menu-toggle,
  #mobile-header .mobile-bar-items {
    display: flex !important;
    align-items: center;
  }

  .main-navigation.has-branding .menu-toggle {
    margin-right: 1rem !important;
  }

  .main-navigation .menu-bar-item>a {
    line-height: 0 !important;
  }

  .main-navigation .menu-toggle {
    line-height: 0;
    padding: 0.5rem !important;
  }

  .main-navigation .gp-icon svg {
    top: 0;
  }

  .navigation-branding .main-title,
  .mobile-header-navigation .site-logo {
    margin-left: 1rem !important;
  }

  .navigation-branding img,
  .site-logo.mobile-header-logo img {
    height: 55px !important;
  }

  .main-navigation.has-branding .menu-toggle,
  .main-navigation.has-sticky-branding.navigation-stick .menu-toggle {
    margin-right: 1.5rem;
  }
}

/* Subscribe Button */
.tools-button {
  display: flex;
  align-items: center;
  gap: 0.313rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.813rem;
  cursor: pointer;
  line-height: 60px;
  padding: 0 0.5rem;
  transition: var(--transition);
}

.tools-button:hover {
  color: var(--accent);
}

.tools-button i {
  color: var(--accent);
  font-size: 1rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 11111
}

.modal-content {
  position: relative;
  background-color: var(--base-3);
  padding: 1.5rem;
  border: none;
  width: 60%;
  text-align: left;
  opacity: 1;
  border-radius: var(--radius-8);
}

.close-button {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  color: orangered;
  font-size: 2.5rem;
  padding: 1.5rem 1.125rem;
  line-height: 0;
}

.tools-container {
  margin: 0 auto;
}

.tools-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 0.313rem;
  font-size: 1rem;
  text-transform: uppercase;
}

.tools-heading i {
  font-size: 1.5rem;
  color: var(--accent);
}

.tools-item {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tools-item a,
.tools-item .tool-footer {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  padding: 1rem 0;
  border-bottom: var(--border);
  text-decoration: none;
  color: var(--contrast);
  transition: var(--transition);
}

.tools-item a:hover,
.tools-item .tool-footer:hover,
.tools-button:hover {
  transform: var(--transform-y);
}

.tools-items .icon-label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  padding: 1.375rem 1rem;
  background-color: var(--bg-accent);
  border-radius: var(--radius-8);
}

.tools-items .label-value {
  flex: 1;
}

.tools-items i {
  color: var(--accent);
  font-size: 1.5rem;
}

.tool-title {
  display: block;
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: initial;
  margin-bottom: 0.313rem;
}

.tool-desc {
  display: block;
  font-size: 0.750rem;
  font-weight: normal;
  text-transform: initial;
  color: var(--contrast-2);
  line-height: 1.2;
  padding-right: 1rem;
}

@media screen and (min-width: 768px) {
  .tools-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95% !important;
  }

  .tools-button i {
    color: orange;
  }

  .tools-button {
    background-color: var(--contrast);
    color: var(--base-3) !important;
    font-size: 0.688rem !important;
    padding: 0.5rem 0.625rem;
    border-radius: var(--radius-5);
    box-shadow: var(--box-shadow);
    line-height: 0 !important;
    margin-left: 0.313rem;
  }
}

/* Efek Animasi */
.fade {
  opacity: 0;
  transform: var(--transform-y);
  transition: opacity 0.5s, transform 1s;
}

.fadeUp {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s, transform 1s;
}

.fadeDown {
  opacity: 0;
  transform: translateY(-1rem);
  transition: opacity 0.5s, transform 1s;
}

.fadeLeft {
  opacity: 0;
  transform: translateX(1rem);
  transition: opacity 0.5s, transform 1s;
}

.fadeRight {
  opacity: 0;
  transform: translateX(-1rem);
  transition: opacity 0.5s, transform 1s;
}

.fade.visible,
.fadeUp.visible,
.fadeRight.visible,
.fadeLeft.visible,
.fadeDown.visible {
  opacity: 1;
  transform: translateY(0);
}

.blink {
  animation: blinkSmooth 1.2s ease-in-out infinite;
}

.text-blink {
  font-size: 0.625rem;
  position: absolute;
  margin-left: 0.2rem;
  top: 0;
  color: orange;
}

@keyframes blinkSmooth {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}


/* Loop Job */
.job-posting {
  position: relative;
  background-color: var(--base-3);
  padding: 2rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius-8);
  /* Adding border-radius to make the shadow look nicer */
  overflow: hidden;
  /* Needed to clip the ribbon if it goes outside */
}

/* PREMIUM JOB RIBBON */
.premium-ribbon {
  position: absolute;
  top: 12px;
  right: -30px;
  background: linear-gradient(135deg, #FFB703, #FF8E00);
  /* More vibrant, richer gold */
  color: #fff;
  padding: 2px 25px;
  /* Shrink padding significantly to make it smaller everywhere */
  font-size: 9px;
  /* Slightly smaller text */
  font-weight: 800;
  /* Extra bold */
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 3px 6px rgba(255, 142, 0, 0.3);
  /* Colored glow effect */
  z-index: 2;
  letter-spacing: 0.5px;
}

.job-meta-single {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  /* Set to specifically 12px to make it smaller globally */
  color: var(--contrast-2);
  margin-bottom: 15px;
}

.job-meta-single span {
  margin: 0;
  padding: 0;
}

.job-meta-single a {
  color: var(--contrast-2);
  /* Fix location text color appearing 'blurred' grey vs black */
  text-decoration: none;
  font-weight: 500;
}

.job-meta-single a:hover {
  text-decoration: underline;
}

.job-meta-single i,
.job-meta i {
  margin-right: 3px;
  /* Ensure space between icons and text globally */
  font-size: 11px;
}



@media screen and (min-width: 769px) {
  .job-posting:hover {
    background-color: #f8fafc;
    /* Very subtle highlight, no performance impact and doesn't detach borders */
  }

  .job-posting .entry-title {
    font-size: 1.15rem;
  }

  .job-posting .job-category a {
    font-size: 0.6rem;
  }

  .job-posting .job-meta,
  .job-posting .job-meta span {
    font-size: 0.75rem;
  }
}

.job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.job-header-inner {
  flex: 1;
  flex-shrink: 0;
}

.job-category {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.job-category a {
  font-size: 0.688rem;
  display: block;
  text-decoration: none;
  color: var(--base-3) !important;
  padding: 0.1rem 0.313rem;
  background-color: var(--accent);
  border-radius: var(--radius-5);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  /* Very tight spacing so the dots don't force wide gaps */
  color: var(--contrast-2);
  font-size: 0.813rem;
  margin-top: 0.5rem;
}

.job-category-inline a {
  color: var(--contrast-3);
  font-weight: 500;
}

.job-meta .entry-meta {
  display: flex;
  align-items: center;
  margin-top: 0;
}

.job-meta span {
  color: var(--contrast-2);
  font-size: 0.813rem;
}

.job-logo {
  height: 100px;
  width: 150px;
  overflow: hidden;
  border-radius: var(--radius-8);
}

.job-logo img.job-thumbnail {
  transition: var(--transition);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-logo a:hover img.job-thumbnail {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .job-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
  }
}

/* Single Job */
.single-job .inside-article {
  position: relative;
  overflow: hidden;
}

.single-job .premium-ribbon {
  right: -25px;
  /* Pull it closer on single page so it's not clipped oddly by container padding */
  top: 15px;
}

.single .entry-content ul,
.single .entry-content ol {
  margin: 0 0 1.5em 1em;
}

.job-meta-single,
.post-meta-single {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.5rem;
  font-size: 0.813rem;
  color: var(--contrast-2);
}

.job-meta-single span,
.post-meta-single span {
  margin: 0;
  padding: 0;
}

.job-meta-dot {
  margin: 0 2px;
}

.job-meta-single .entry-meta,
.post-meta-single .entry-meta {
  display: flex;
  align-items: center;
  margin-top: 0;
  font-size: 0.813rem;
}

.job-meta-single a,
.post-meta-single a {
  text-decoration: none;
  font-weight: bold;
}

.inside-article .job-image {
  border-radius: var(--radius-8);
  line-height: 0;
}

.job-image,
.post-single-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.job-image img,
.post-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 1rem auto;
}

.social-share-buttons .btn {
  overflow: hidden;
  display: flex;
  color: var(--base-3);
  padding: 8px;
  border-radius: var(--radius-oval);
  transition: var(--transition);
  font-size: 0.813rem;
}

.single-job .entry-content h2 {
  border-bottom: double 3px var(--contrast-3);
  padding-bottom: 0.875rem;
  margin-bottom: 1.5rem;
}

.social-share-buttons .btn:hover {
  transform: var(--transform-y);
}

.social-share-buttons .fa-brands {
  font-size: 1rem;
}

.btn-outline-facebook {
  background-color: #1877F2;
  padding: 8px 11px !important;
}

.btn-outline-x {
  background-color: #000;
}

.btn-outline-copy {
  background-color: var(--contrast-2);
}

.btn-outline-linkedin {
  background-color: #0077B5;
  padding: 8px 9px !important;
}

.btn-outline-pinterest {
  background-color: #E60023;
}

.btn-outline-telegram {
  background-color: #229ED9;
}

.btn-outline-whatsapp {
  background-color: #25D366;
}

.area-apply {
  margin: 1.5rem auto;
  border-top: 0.4rem solid var(--base);
  padding-top: 1.25rem;
}

.area-content {
  margin-bottom: 1.5rem;
}

.area-content .wp-block-title i {
  color: var(--accent);
}

.notice {
  background-color: var(--base);
  padding: 1.5rem;
  display: block;
  font-size: 0.875rem;
}

.notice i {
  color: orangered;
}

.heading-tag {
  margin-bottom: 0.5rem;
}

.job-tag,
.post-single-tag {
  background: var(--accent);
  color: var(--base-3);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-oval);
  font-size: 0.750rem;
  display: inline-block;
  margin-top: 5px;
  text-decoration: none;
  transition: var(--transition);
}

.job-tag:hover,
.post-single-tag:hover {
  color: var(--base);
  background-color: var(--contrast);
}

.button-container {
  position: relative;
}

.button-click {
  display: block;
  width: auto;
  background-color: var(--accent);
  color: var(--base-3);
  text-align: center;
  padding: 6px 1.2em;
  cursor: pointer;
  margin: 1em 0;
  font-weight: 500;
  font-size: 0.813rem;
  transition: transform 0.3s ease;
  border-radius: 4px;
}

.button-click:hover {
  background-color: var(--contrast-2);
  transform: translateY(-5px);
}

a.button-click:hover {
  color: var(--base-3);
}

a.button-click {
  margin-left: 0;
  margin-right: 0;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 11111
}

body.modal-open,
html.modal-open {
  overflow: hidden !important;
  height: 100%;
}

#modal2 {
  z-index: 999999;
}

#modal2 .modal-content {
  border-radius: 0;
  padding: 2.5em 2em 1.75em !important;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content {
  position: relative;
  background-color: var(--base-3);
  padding: 2.5em 2em;
  border: none;
  width: 50%;
  text-align: left;
  opacity: 1;
  box-shadow: 1px 1px 10px var(--base);
}

.modal-content p {
  margin-bottom: 1.5em;
}

.link-apply {
  display: block;
  margin-bottom: 1.5em;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content a {
  text-decoration: none;
}

.copy-email {
  color: var(--accent);
}

.close-button-job {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  color: orangered;
  font-size: 2em;
  padding: 20px 15px;
  line-height: 0;
}

.apply-content h2 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.apply-content h4 {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding-left: 10px;
  line-height: 1.5;
}

.apply-content h4:before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  display: inline-flex;
  width: 60%;
  height: 1.5em;
  content: '';
  opacity: .7;
  background-color: #fac906;
}

.date-exp {
  display: block;
}

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

.job-exp i {
  font-size: 5rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-apply .custom-logo {
  width: 90px;
  height: auto;
  overflow: hidden;
  line-height: 0 !important;
  margin: 0 !important;
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-apply .custom-logo img {
  width: 100%;
}

@media (max-width:768px) {

  .job-meta-single,
  .post-meta-single {
    justify-content: flex-start;
    gap: 4px;
  }

  .modal-content {
    width: 92%;
  }

  .footer-apply {
    margin: 1.2rem -1rem 0;
  }

  .apply-area {
    padding: 2.5em 2em;
  }
}

#modal2 .rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__results {
  display: none;
}

.rating span {
  display: block;
  color: var(--contrast-2);
}

.rmp-widgets-container {
  padding: 0;
  border: none;
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__icons {
  margin-bottom: 0;
}

.rmp-results-widget {
  display: flex;
  align-items: center;
  gap: 3px;
}

.js-rmp-avg-rating,
.rmp-results-widget__vote-count {
  font-size: 13px;
  color: var(--contrast-2);
}

.rmp-icon--ratings {
  font-size: 12px;
  margin-right: 0;
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container {
  margin: 0;
}

.rmp-rating-widget .rmp-icon--ratings {
  font-size: 2rem;
}

.rmp-heading--title {
  font-size: 16px;
  font-weight: bold;
}

#thank-you-message img {
  width: 50%;
  margin-bottom: 1em;
}

#thank-you-message span {
  display: block;
  margin-top: 0;
}

#thank-you-message i {
  font-size: 2rem;
  display: block;
  margin-top: 1em;
  line-height: 0;
  color: orangered;
}

#thank-you-message span.notice {
  font-size: 0.875rem;
  display: block;
}

#thank-you-message hr {
  margin: 1em 0;
}

.rmp-btn {
  background-color: var(--contrast-2);
  border: none;
  color: var(--base);
  padding: 6px 1em;
  text-decoration: none;
  font-size: 12px;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-weight: bold;
}

.rmp-btn:hover,
.rmp-btn:focus {
  background-color: var(--accent);
  border: none;
  font-size: 12px !important;
  padding: 6px 1em !important;
}

.rating .rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__icons {
  margin-bottom: 1em;
}

.rmp-results-widget__vote-count {
  line-height: 2;
}

.rating-job {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.rating-job .rmp-results-widget {
  justify-content: center;
}


/* Slider */
.featured-posts-container {
  display: flex;
  gap: 0.313rem;
  margin: 1.5rem auto;
  width: 100%;
  border-top: 0.625rem solid var(--contrast-3);
  padding-top: 0.75rem;
}

.side-posts {
  display: flex;
  flex-direction: column;
  gap: 0.313rem;
  width: 25%;
}

.center-slider {
  width: 50%;
  position: relative;
}

.post-card {
  position: relative;
  height: 175px;
  overflow: hidden;
  box-shadow: var(--box);
}

.post-thumbnail {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.post-thumbnail,
.slide-content {
  position: relative;
  overflow: hidden;
}

.post-thumbnail::before,
.slide-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 0.5s ease;
  z-index: 0;
}

.post-thumbnail::before {
  background-image: inherit;
}

.slide-content::before {
  background-image: inherit;
}

.post-thumbnail:hover::before,
.slide-content:hover::before {
  transform: scale(1.1);
}

.post-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.post-title {
  margin: 0 0 8px 0;
  font-size: 0.938rem;
  line-height: 1.2;
}

.post-title a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-title a:hover {
  color: var(--base);
  text-decoration: underline;
}

.post-meta {
  font-size: 0.75rem;
  opacity: 0.8;
}

.post-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #0056b3;
  color: white;
  padding: 3px 8px;
  font-size: 0.625rem;
  font-weight: bold;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 1;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.post-category:hover {
  background-color: #003d80;
  color: var(--base-3);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 355px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
}

.slide-content {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.slide-title {
  font-size: 1.25rem;
  margin: 0 0 0.625rem 0;
  line-height: 1.2;
}

.slide-title a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.slide-title a:hover {
  color: var(--base);
  text-decoration: underline;
}

.slide-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--base);
  opacity: 0.9;
}

.slide-meta .job-views {
  font-size: 0.813rem;
  color: rgba(255, 255, 255, .8);
}

.slide-meta .job-views i {
  color: rgba(255, 255, 255, .6);
  margin-right: 4px;
}

.slide-meta .entry-meta {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 100%;
  color: var(--base);
}

.mobile-slide {
  display: none;
}

@media (max-width: 768px) {
  .featured-posts-container {
    flex-direction: column;
    margin: 0.2rem auto;
    border: none;
    padding-top: 0;
  }

  .center-slider {
    width: 100%;
  }

  .slider-container {
    border-radius: 0;
    height: 280px;
  }

  .desktop-only {
    display: none;
  }

  .desktop-slide {
    display: none;
  }

  .mobile-slide {
    display: block;
  }

  .slide-title {
    font-size: 1.25rem;
  }

  .post-category {
    top: 1rem;
    left: 1rem;
  }
}

/* Block Sidebar */
.rekomendasi-section {
  margin: 0;
}

.rekomendasi-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.rekomendasi-bar {
  width: 0.4rem;
  height: 30px;
  background-color: #1e5180;
  margin-right: 10px;
}

.rekomendasi-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.rekomendasi-posts {
  display: flex;
  flex-direction: column;
}

.rekomendasi-item:not(:first-child) {
  margin-bottom: 0.313rem;
  padding-bottom: 0.313rem;
}

.rekomendasi-item a {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.rekomendasi-thumbnail {
  width: 100px;
  height: 65px;
  margin-right: 15px;
  flex-shrink: 0;
  border-radius: var(--radius-5);
  overflow: hidden;
}

.rekomendasi-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rekomendasi-content {
  flex: 1;
}

.rekomendasi-item-title {
  font-size: 0.875rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.rekomendasi-item-title:hover {
  color: var(--accent);
}

.rekomendasi-meta {
  font-size: 0.750rem;
  color: var(--base);
  margin-top: 5px;
}

.first-item {
  position: relative;
  margin-bottom: 1.125rem;
}

.first-item a {
  display: block;
}

.first-item .rekomendasi-thumbnail {
  width: 100%;
  height: 165px;
  margin-right: 0;
  position: relative;
  border-radius: var(--radius-8);
  overflow: hidden;
}

.first-item .rekomendasi-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.rekomendasi-thumbnail-wrapper:hover .rekomendasi-thumbnail-img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.rekomendasi-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  z-index: 1;
  border-radius: 0 0 var(--radius-8) var(--radius-8);
}

.first-item .rekomendasi-item-title {
  font-size: 1rem;
  color: white;
  margin: 0;
  line-height: 1.2;
}

.first-item .rekomendasi-item-title:hover {
  color: var(--base);
}

/* Related Post */
.related-posts {
  border-top: 0.4rem solid var(--base);
  padding-top: 1rem;
  margin: 1.5rem auto;
}

.related-posts-heading {
  position: relative;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-left: 0.3rem;
  display: flex;
  align-items: center;
}

.heading-accent {
  width: 6px;
  height: 28px;
  background-color: var(--accent);
  display: inline-block;
  margin-right: 10px;
  border-radius: 2px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.related-post-card {
  overflow: hidden;
}

.related-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.thumbnail-link {
  display: block;
  width: 100%;
  height: 100%;
}

.related-post-thumbnail {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.related-post-thumbnail:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
  transition: background 0.3s ease;
  pointer-events: none;
}

.related-post-card:hover .related-post-thumbnail:after {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.related-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-thumbnail img {
  transform: scale(1.1);
}

.post-category-related {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background-color: var(--accent);
  color: white;
  padding: 0.2rem 0.5rem;
  font-size: 0.563rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.post-category-related a {
  color: white;
  text-decoration: none;
}

.post-category-related:hover {
  opacity: 0.9;
}

.related-post-title {
  padding: 0.625rem 0 0.75rem;
  margin: 0;
  font-size: 0.906rem;
  font-weight: bold;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.related-post-title:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .related-post-thumbnail {
    height: 120px;
  }
}

/* Fix jarak & tampilan konten Apply */
.area-apply {
  margin: 1rem auto !important;
  padding-top: 0.5rem !important;
}

.link-apply {
  display: block;
  margin-bottom: 0.5em !important;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}

.apply-content a {
  display: inline-block;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-decoration: none;
}

/* Scroll area */
.modal-content {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  overflow-y: overlay;
  /* overlay for Chrome, fallback auto */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.45);
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

/* Fix jarak paragraf & baris dalam konten Apply */
.apply-content p,
.apply-content br,
.apply-content li,
.apply-content a {
  margin-top: 0 !important;
  margin-bottom: 0.25em !important;
  line-height: 1.35 !important;
}

/* Hapus jarak besar antar paragraf ganda */
.apply-content p+p {
  margin-top: 0.3em !important;
}

/* Hapus double break */
.apply-content br+br {
  display: none !important;
}

/* Rapetin list juga */
.apply-content ul,
.apply-content ol {
  margin: 0.2em 0 0.2em 1.2em !important;
  line-height: 1.35 !important;
}

/* Rapetin link */
.apply-content a {
  display: inline;
  padding: 0 !important;
  line-height: 1.35 !important;
}

.apply-content p,
.apply-content li,
.apply-content a {
  font-size: 15px !important;
  /* sedikit lebih kecil dari default 16px */
  line-height: 1.45 !important;
}

.apply-content strong {
  font-weight: 600;
}

.apply-content a[href^="mailto:"] {
  font-size: 14px !important;
  /* biar email tetap seimbang */
  padding: 16px 28px;
  /* tetap lega tapi gak lebay */
}

/* === FIX AREA SLIDER / FEATURED POSTS === */
.featured-posts-container {
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 0.5rem !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Biar grid di dalam slider lebih rapih */
.featured-posts-container .featured-post {
  border: none !important;
  box-shadow: none !important;
}

/* Hilangin garis di container luar juga biar bersih total */
.grid-container.featured-posts-container {
  border: none !important;
}

/* Bonus: pastiin tampilan responsif dan rata tengah */
@media (max-width: 768px) {
  .single .job-views {
    display: inline-flex;
    align-items: center;
  }

  .featured-posts-container {
    padding-top: 0.3rem !important;
    margin-top: 0 !important;
  }
}

/* === FOOTER FIX LINK COLOR === */
.footer-widgets,
.site-footer {
  background-color: #002f7a !important;
  /* biru tua clean */
  color: #ffffff !important;
}

.footer-widgets a,
.site-footer a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.25s ease-in-out;
}

/* Hover kuning nyala */
.footer-widgets a:hover,
.site-footer a:hover {
  color: #FFFF00 !important;
  /* kuning terang */
  text-decoration: underline !important;
}

/* Jika ada ikon sosial di footer */
.footer-widgets .social-icons a:hover svg path,
.site-footer .social-icons a:hover svg path {
  fill: #ffcc00 !important;
}

/* Pastikan heading widget tetap putih */
.footer-widgets h2,
.footer-widgets h3,
.footer-widgets h4 {
  color: #ffffff !important;
}

/* === FOOTER LINK CLEAN STYLE === */
.footer-widgets a,
.site-footer a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.25s ease-in-out;
}

/* Hover kuning terang tanpa garis bawah */
.footer-widgets a:hover,
.site-footer a:hover {
  color: #FFFF00 !important;
  text-decoration: none !important;
}

/* === BUTTON "LAMAR SEKARANG" CUSTOM === */
.button-click {
  display: block;
  width: auto;
  background-color: var(--accent);
  /* warna utama lu, biarin */
  color: var(--base-3);
  text-align: center;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.25s ease-in-out;
}

/* Hover jadi oranye khusus tombol ini */
#openJobButton.button-click:hover {
  background-color: #ff6363 !important;
  /* oranye terang */
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.popSc {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  height: 100%;
  z-index: 9999;
  padding: 0 15px;
  position: fixed;
  top: 0;
  left: 0;
}

.popBo {
  background: #fff;
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 40%);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  box-sizing: border-box;
}

.popBo svg {
  width: 50px;
  height: 50px;
  fill: #b82929;
  margin-bottom: 8px;
}

.popCo h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 15px;
}

.popCo p {
  font-size: 14px;
  margin: 20px 0;
}

.adnanRisnawan_button {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.adnanRisnawan_button:hover {
  background: #0056b3;
  color: #fff;
}

/* Kecilkan font Expired di modal */
.apply-content .footer-apply .date-exp {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #555 !important;
  display: block;
}

.apply-content .footer-apply .date-exp strong {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #333 !important;
}

/* KECILIN SEMUA META INFO */
.job-meta {
  display: flex;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 24px !important;
  /* jarak antar item lebih rapat */
}

.job-meta-single {
  margin-top: 24px !important;
}

/* ICON JAM (FontAwesome) – versi lebih kecil */
.job-meta i {
  font-size: 0.75rem !important;
  line-height: 1 !important;
  position: relative;
  top: 1px;
  margin-right: 2px;
}

/* VIEWS (FontAwesome eye icon) */
.job-meta .job-views {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.813rem;
  color: #334155;
  /* Darker, high contrast */
  line-height: 1;
}

.job-meta .job-views i {
  font-size: 0.75rem;
  color: #334155;
  /* Same dark color for icon */
}

/* META DOT SEPARATOR */
.job-meta .job-meta-dot {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.75rem;
  margin: 0 4px;
  -webkit-user-select: none;
  user-select: none;
}

/* EXPIRED BADGE */
.job-meta .job-expired-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #dc2626 !important;
  /* Force red color so it definitely applies */
  line-height: 1;
}

.job-meta .job-expired-badge i {
  font-size: 0.7rem;
  color: #dc2626 !important;
}

/* META ROW */
.job-meta span.job-date {
  font-size: 0.813rem;
  line-height: 1;
  color: #334155;
  /* Darker, high contrast */
}

.job-meta span.job-date i {
  font-size: 0.75rem;
  margin-right: 2px;
  color: #334155;
  /* Same dark color for icon */
}

/* ============================
   MOBILE SPECIFIC META SIZING
   ============================ */
@media screen and (max-width: 768px) {

  .job-meta .job-views,
  .job-meta span.job-date,
  .job-meta .job-expired-badge {
    font-size: 0.625rem !important;
    /* 10px */
  }

  .job-meta .job-views i,
  .job-meta span.job-date i,
  .job-meta .job-expired-badge i {
    font-size: 0.563rem !important;
    /* 9px */
  }
}


/* ============================
   FIX KONTRAS MENU FOOTER
   ============================ */
.site-footer,
.site-footer a,
.footer-widgets,
.footer-widgets a {
  color: #ffffff !important;
  /* Putih full, aman kontras */
}

/* ============================
   FIX WARNA LABEL "NEW"
   (kalahkan CSS tema style.css:137)
   ============================ */
ul#menu-bantuan li#menu-item-76 a span.blink,
ul#menu-bantuan li#menu-item-76 a span.text-blink,
span.blink.text-blink {
  font-size: 0.625rem !important;
  position: absolute !important;
  margin-left: 0.2rem !important;
  top: 0 !important;

  color: #FFDD55 !important;
  /* WARNA PUTIH – kontras tinggi */
  font-weight: 700 !important;
  /* Lebih tebal biar jelas */
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
  /* Tambah clarity */
}

/* (optional) kalau mau cursor pointer hilang kedipnya */
@keyframes blinkSmooth {
  0% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }

  100% {
    opacity: 1;
  }
}

/* Company Search Button */
.company-search-button {
  display: block;
  padding: 0.625rem 1.5rem;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  border-radius: var(--radius-8);
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 0.938rem;
  text-align: center;
}

.company-search-button:hover {
  background-color: var(--contrast);
  color: var(--base-3);
}