/* 
Theme Name:    SMM Capital
Theme URI:     http://dromedia.co
Description:   SMM Capital Group Themes
Author:      SMM Capital Group
Author URI:    http://dromedia.co
Template:    generatepress
Version:     1.1.4
Text Domain:   smm-capital
*/

.wpml-floating-language-switcher {
  display: none;
}

#wrapper-slider {
  position: relative;
  height: 90vh;
}

#slider-area {
  position: absolute;
  height: 90vh;
  width: 100%;
  top: 0;
  left: 0;
}

#slider-area .owl-item div {
  height: 90vh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.owl-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

#prop-tag {
  color: #f6df74;
  font-size: 11px;
  position: absolute;
  top: 100px;
  font-weight: 600;
}

.smm-container-parent.value .wrapper-content .list p {
  margin-bottom: 0.2em;
}

#nav-below.paging-navigation {
  text-align: center;
}

#nav-below.paging-navigation .nav-links a {
  color: #000000;
  font-size: 14px;
}

@media (min-width: 1440px) {
  .wrapper-content h1 {
    font-size: 50px !important;
  }

  .wrapper-content p {
    font-size: 22px !important;
  }

  .header-image.is-logo-image {
    height: 100px !important;
  }

  .site-description {
    font-size: 13px !important;
    margin-top: -7px !important;
  }

  .smm-container-parent {
    padding-left: 200px !important;
    padding-right: 200px !important;
  }

  .org-wrapper img {
    width: 900px !important;
  }

  .wrapper-prop-about h1 {
    font-size: 50px !important;
  }

  /*** Container Title  ***/
  .smm-wrapper-min h1 {
    font-size: 48px !important;
  }

  /** Page Contact **/
  h2.title-contact {
    font-size: 48px !important;
    margin-bottom: 40px !important;
  }
  .wrapper-headquarter {
    margin-bottom: 50px !important;
  }
  .wrapper-headquarter h2.title {
    font-size: 30px !important;
  }

  .wrapper-marketing-office h2.title {
    font-size: 30px !important;
  }

  .wrapper-headquarter p {
    font-size: 18px !important;
  }
  .wrapper-marketing-office p {
    font-size: 18px !important;
  }

  .smm-container-pg h1 {
    font-size: 45px !important;
  }

  .smm-container-profile {
    padding-left: 400px !important;
    padding-top: 100px !important;
  }

  .smm-container-profile h1 {
    font-size: 40px !important;
  }

  .smm-container-profile p {
    font-size: 22px !important;
  }

  #prop-tag {
    font-size: 12px;
    top: 150px !important;
  }

  .smm-container-parent.events,
  .smm-container-parent.newsroom,
  .smm-container-parent.essential {
    padding-top: 200px !important;
  }

  .smm-container-parent.events h1,
  .smm-container-parent.newsroom h1,
  .smm-container-parent.essential h1 {
    font-size: 50px !important;
  }

  .smm-container-parent.newsroom h2 {
    font-size: 45px !important;
  }

  .smm-prop-container.land-opp {
    justify-content: center !important;
    padding-top: 200px !important;
  }
  .smm-prop-container .wrapper-top-land-opp h1 {
    font-size: 35px !important;
  }

  .smm-prop-container .wrapper-top-land-opp p {
    font-size: 16px !important;
  }

  .wrapper-right-land-opp p {
    font-size: 16px !important;
  }

  .smm-prop-container.marketing {
    display: flex !important;
    justify-content: center !important;
    padding-top: 0px !important;
  }

  .smm-prop-container.marketing h1,
  .smm-prop-container.hr h1,
  .smm-prop-container.media-enq h1 {
    font-size: 45px !important;
  }

  .smm-prop-container.hr {
    display: flex !important;
    padding-top: 0px !important;
    align-items: center;
  }

  .smm-prop-container.media-enq {
    justify-content: center !important;
  }
}

@media (min-width: 769px) {
  .wrapper-right-land-opp p {
    margin-bottom: 0px !important;
  }
}
@media (max-width: 768px) {
  .owl-dots {
    width: 100vw !important;
  }

  .dmd-profil-desc-container {
    padding: 50px 50px 50px 50px !important;
  }

  .wrapper-right-land-opp {
    margin-top: 0px !important;
  }
  .wrapper-right-land-opp .fluent_form_4 {
    margin-top: 0px !important;
  }
  .smm-prop-container.land-opp .wrapper-form button {
    position: absolute !important;
    bottom: -50px !important;
  }

  .smm-prop-container.media-enq .wrapper-bottom .wrapper-form button {
    position: absolute !important;
    bottom: -30px !important;
  }

  .smm-container-parent .wrapper-content .list p {
    align-items: flex-start !important;
  }

  .smm-container-parent .wrapper-content .list span.gb-icon {
    margin-top: 10px !important;
  }

  .dmd-hero-protext-container h1 {
    white-space: nowrap !important;
  }

  #smm-stories {
    grid-template-columns: auto !important;
    padding: 50px 20px !important;
    margin: 50px 0px !important;
  }
  .story-title {
    font-size: 16px !important;
  }
  .stack {
    margin: 0px !important;
  }
  .galle > a:nth-child(1) {
    display: none !important;
  }
  .galle > a:nth-child(2) {
    display: none !important;
  }
  .gale-title {
    bottom: -20px !important;
  }

  .job-details {
    grid-template-columns: 1fr !important;
  }
  
  select#province,
  select#city,
  .career-filter #keyword,
  .career-filter .btn-search {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .smm-prop-container.media-enq {
    justify-content: flex-start !important;
    padding-top: 200px !important;
  }

  .smm-container-profile .dmd-hero-protext-container {
    padding-top: 80px !important;
  }
}

@media (max-width: 1024px) {
  .smm-prop-container.media-enq .wrapper-bottom .wrapper-form button {
    position: absolute !important;
    bottom: 0;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  #gallery-stories {
    gap: 70px !important;
    padding: 50px 100px !important;
  }
}

@media (min-width: 321px) and (max-width: 374px) {
  .dmd-archive-post .dmd-archive-post-title h2 {
    font-size: 11px !important;
  }

  .dmd-archive-post {
    padding: 2px !important;
  }
  .smm-container-parent {
    padding-left: 30px !important ;
    padding-right: 30px !important;
  }

  .smm-container-profile {
    padding-top: 0px !important;
    padding-bottom: 10px !important;
  }

  .dmd-hero-protext-container h1 {
    font-size: 14px !important;
  }

  .dmd-profil-desc-container p {
    font-size: 14px !important;
  }

  .smm-prop-container.marketing {
    justify-content: flex-start !important;
    padding-top: 120px !important;
    padding-bottom: 50px !important;
  }

  .marketing .content-marketing p {
    font-size: 14px !important;
  }
}

@media (max-width: 320px) {
  .smm-container-parent.glance {
    padding: 125px 25px 50px 25px !important;
  }
  .smm-container-parent.glance h1 {
    font-size: 25px !important;
  }
  .org-container {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: 50px !important;
  }
  .smm-container-footer {
    padding: 5px 10px 3px 10px !important;
  }
  .smm-container-footer h2 {
    font-size: 9px !important;
  }

  .smm-container-footer a {
    font-size: 9px !important;
  }

  .smm-container-parent.contact {
    justify-content: flex-start !important;
    padding-top: 100px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .smm-container-parent.prop-about {
    padding-top: 100px !important;
    justify-content: flex-start !important;
  }
  .smm-container-parent.newsroom {
    padding-top: 100px !important;
  }
  .smm-container-parent.newsroom h1 {
    font-size: 22px !important;
  }
  .smm-container-parent.newsroom h2 {
    font-size: 20px !important;
  }
  .smm-container-parent.cs div {
    padding: 0px !important;
  }
  .smm-container-parent.cs {
    justify-content: center !important;
    padding-top: 50px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
  .smm-prop-container.marketing {
    justify-content: flex-start !important;
    padding-top: 100px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    padding-bottom: 50px;
  }

  .smm-prop-container.hr {
    justify-content: flex-start !important;
    padding-top: 100px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    padding-bottom: 50px;
  }
  .smm-container-parent.value {
    padding: 50px 20px 50px 20px !important;
  }

  .dmd-hero-protext-container h1 {
    font-size: 13px !important;
  }

  .dmd-profil-desc-container {
    padding: 50px 20px 50px 20px !important;
  }
}

#smm-stories {
  display: grid;
  grid-template-columns: auto auto;
  padding: 50px 200px;
  margin-top: 100px;
  margin-bottom: 50px;
}
.story-title {
  white-space: nowrap;
}
.galle {
  display: grid;
  grid-template-areas: "galle";
  width: 20rem;
  height: 12rem;
  margin: 20px auto;
  position: relative;
}
.galle a {
  grid-area: galle;
  overflow: hidden;
}
.galle > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 0 0.5rem rgba(0 0 0 / 0.2);
  border: solid 0.5rem #fff;
  border-radius: 0.5rem;
  transition: transform 200ms;
}

.gale-title {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translate(-50%, 0);
  white-space: nowrap;
  font-weight: 600;
}

.galle > a:nth-child(1) {
  transform: rotate(0deg) translateX(2.25rem) translateY(-2.5rem);
}
.galle > a:nth-child(2) {
  transform: rotate(0deg) translateX(1.25rem) translateY(-1.25rem);
}
.galle > a:nth-child(3) {
  transform: rotate(0);
}
.galle > a:nth-child(4) {
  display: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #f6df74;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.back-link .arrow {
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.3s ease;
}

.back-link:hover {
  color: #fff; /* warna berubah saat hover */
}

.back-link:hover .arrow {
  transform: translateX(-5px); /* panah bergerak ke kiri */
}

/*CAREER*/

.career-container {
  padding: 20px;
  min-height: 60vh;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Filter Section */
.career-filter {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.career-filter select,
.career-filter input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-width: 180px;
}
.btn-search {
  background: #030303;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}
.btn-search:hover {
  background: #010101;
}

/* Category Section */
.career-categories {
  display: flex;
  gap: 10px 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  justify-content: center;
}
.career-categories button {
  border: 1px solid #dddddd;
  background: #fff;
  color: #4d4d4d;
  padding: 4px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 11px;
  font-weight: 600;
}
.career-categories button.active,
.career-categories button:hover {
  background: #040404;
  color: #fff;
}

/* Job List */
.career-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.career-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.career-card:hover {
  transform: translateY(-4px);
}
.career-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
.career-meta {
  font-size: 14px;
  margin-bottom: 10px;
}
.career-btn {
  display: inline-block;
  padding: 6px 14px;
  background: #050505;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}
.career-btn:hover {
  background: #050505;
}

/* Job Card Styles */
.job-card {
  background-color: hsl(0, 0%, 100%);
  border: 1px solid hsl(240, 6%, 90%);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease-in-out;
}

.job-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Header Styles */
.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(240, 10%, 15%);
  line-height: 1.4;
  flex: 1;
}

/* Bookmark Button Styles */
.bookmark-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background-color: hsl(180, 3%, 6%);
  color: hsl(0, 0%, 100%);
  border: 1px solid hsla(226, 100%, 40%, 0.2);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.bookmark-btn:hover {
  background-color: hsla(51, 88%, 45%, 0.89);
  color: #000000;
}

.bookmark-btn.bookmarked .bookmark-icon {
  fill: currentColor;
}

.bookmark-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Job Details Grid */
.job-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolom */
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.detail-icon {
  width: 16px;
  height: 16px;
  color: hsl(240, 4%, 60%);
  flex-shrink: 0;
}

.detail-content {
  flex: 1;
}

.detail-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(47.08deg 88% 38%);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 0.875rem;
  color: hsl(240, 10%, 15%);
  line-height: 1.6;
}

/* Focus States for Accessibility */
.bookmark-btn:focus {
  outline: 2px solid hsl(0, 0%, 6%);
  outline-offset: 2px;
}

.fjob {
  align-items: center;
  justify-content: center;
  display: flex;
}

body.post-type-archive-career #content {
  justify-content: center;
}

/* Media Queries */
/* Area konten khusus archive career */

/* Grid wrapper */
body.post-type-archive-career #content .career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Card style */
body.post-type-archive-career #content .career-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.post-type-archive-career #content .career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Judul lowongan */
body.post-type-archive-career #content .career-card h2 {
  font-size: 1.25rem;
  color: #010101;
  margin-bottom: 10px;
}

/* Tombol apply / read more */
body.post-type-archive-career #content .career-card a.read-more {
  align-self: flex-start;
  background: #222222;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

body.post-type-archive-career #content .career-card a.read-more:hover {
  background: #005b85;
}

/* Responsif grid */
body.post-type-archive-career #content .career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Pastikan card tidak overflow */
body.post-type-archive-career #content .career-card {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
}

/* Atur padding container biar tidak kepotong di layar kecil */
@media (max-width: 480px) {
  body.post-type-archive-career #content {
    padding: 20px 10px;
  }
  body.post-type-archive-career #content .career-card {
    padding: 15px;
  }
  body.post-type-archive-career #content .career-card h2 {
    font-size: 1.1rem;
  }
  body.post-type-archive-career #content .career-card p {
    font-size: 0.9rem;
  }
}

.readonly-field {
  pointer-events: none !important;
  background-color: #f5f5f5;
}

.shadow {
  text-shadow: -3px 1px 5px rgba(0, 0, 0, 0.54);
}

.ff-get-job h3 {
  font-size: 32px;
}

/* Atur container utama agar flex */
.career-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px; /* jarak antar elemen */
}

/* Label 'No file chosen' di kiri */
.career-upload .ff-el-input--label {
  flex: 1;
  text-align: left;
}

/* Styling tombol */
.career-upload .ff_upload_btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  transition: background 0.3s;
}

.career-upload .ff_upload_btn:hover {
  background: #eee;
}

