/* ==========================================================================
   Earner Graphic Design Showcase Styles
   ========================================================================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Hero Showcase Section (Section One)
   ========================================================================== */
.earner-showcase-section {
  position: relative;
  width: 100%;
  background-color: #000000;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.earner-showcase-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.earner-showcase-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0;
  object-fit: contain;
}

/* ==========================================================================
   Branding & Mockup Showcase Section (Section Two)
   ========================================================================== */
.earner-branding-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding: 0 0 36px 0;
  margin: 0;
  overflow: hidden;
}

.earner-branding-wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px 20px 24px;
  line-height: 0;
}

.earner-branding-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0;
  object-fit: contain;
}

.earner-mockups-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 18px;
  align-items: stretch;
  height: clamp(380px, 34vw, 500px);
}

.earner-mockup-col-left {
  flex: 0 0 58%;
  max-width: 58%;
  line-height: 0;
  height: 100%;
}

.earner-mockup-col-right {
  flex: 0 0 calc(42% - 18px);
  max-width: calc(42% - 18px);
  line-height: 0;
  height: 100%;
}

.earner-mockup-card {
  width: 100%;
  height: 100%;
  overflow: hidden;
  line-height: 0;
  background-color: #f7f7f8;
}

.earner-mockup-col-left .earner-mockup-card,
.earner-mockup-col-left .earner-mockup-img {
  border-radius: 0 24px 24px 0;
}

.earner-mockup-col-right .earner-mockup-card {
  border-radius: 24px 0 0 24px;
}

.earner-mockup-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   Typography Showcase Section (Section Three)
   ========================================================================== */
.earner-typography-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding: 0 0 40px 0;
  margin: 0;
  overflow: hidden;
}

.earner-typography-wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 24px 40px 24px;
  line-height: 0;
}

.earner-typography-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ==========================================================================
   Color System Showcase Section (Section Four)
   ========================================================================== */
.earner-color-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  margin: 0;
  overflow: hidden;
}

.earner-color-wrapper {
  width: 100%;
  line-height: 0;
}

.earner-color-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ==========================================================================
   Grid System Showcase Section (Section Five)
   ========================================================================== */
.earner-grid-section {
  position: relative;
  width: 100%;
  background-color: #000000;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.earner-grid-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  line-height: 0;
}

.earner-grid-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ==========================================================================
   Design Process Showcase Section (Section Six)
   ========================================================================== */
.earner-process-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding: 40px 0 50px 0;
  margin: 0;
  overflow: hidden;
}

.earner-process-wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  line-height: 0;
}

.earner-process-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ==========================================================================
   User Flow Showcase Section (Section Seven)
   ========================================================================== */
.earner-flow-section {
  position: relative;
  width: 100%;
  background-color: #ecfbf3;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.earner-flow-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.earner-flow-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ==========================================================================
   Mobile Screens Showcase Section (Section Eight)
   ========================================================================== */
.earner-screens-section {
  position: relative;
  width: 100%;
  background-color: #000000;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.earner-screens-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.earner-screens-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0;
  object-fit: contain;
}

/* ==========================================================================
   Binder Presentation Showcase Section (Section Nine)
   ========================================================================== */
.earner-binder-section {
  position: relative;
  width: 100%;
  background-color: #f0f0f0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.earner-binder-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.earner-binder-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ==========================================================================
   App 3D Mockup Showcase Section (Section Ten)
   ========================================================================== */
.earner-mockup-app-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding: 40px 0 0 0;
  margin: 0;
  overflow: hidden;
}

.earner-mockup-app-wrapper {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
  line-height: 0;
}

.earner-mockup-app-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ==========================================================================
   Deal Detail Showcase Section (Section Eleven)
   ========================================================================== */
.earner-deal-section {
  position: relative;
  width: 100%;
  background-color: #000000;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.earner-deal-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.earner-deal-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0;
  object-fit: contain;
}

/* ==========================================================================
   Tablet Mockup Showcase Section (Section Twelve)
   ========================================================================== */
.earner-tablet-section {
  position: relative;
  width: 100%;
  background-color: #dcfccf;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.earner-tablet-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.earner-tablet-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0;
  object-fit: contain;
}

/* ==========================================================================
   Merchant & Mobile Duo Showcase Section (Section Thirteen)
   ========================================================================== */
.earner-duo-section {
  position: relative;
  width: 100%;
  background-color: #000000;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.earner-duo-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  align-items: stretch;
}

.earner-duo-col-left {
  flex: 0 0 56.3%;
  max-width: 56.3%;
  line-height: 0;
}

.earner-duo-col-right {
  flex: 0 0 43.7%;
  max-width: 43.7%;
  line-height: 0;
}

.earner-duo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   Brand Billboard & App Showcase Section (Section Fourteen)
   ========================================================================== */
.earner-billboard-section {
  position: relative;
  width: 100%;
  background-image: url('../../assets/image/work-portfolio-details/graphic-design/earner/earner-17.png?v=1.0');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.earner-billboard-top {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.earner-billboard-bottom {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.earner-billboard-card-right,
.earner-billboard-card-left {
  width: 78%;
  max-width: 78%;
  line-height: 0;
}

.earner-billboard-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   Responsive Adjustments (Strict 14 Breakpoints)
   ========================================================================== */

/* 1680 */
@media (max-width: 1700px) {}

/* 1500 */
@media (max-width: 1679px) {}

/* 1440 */
@media (max-width: 1499px) {}

/* 1280 */
@media (max-width: 1439px) {

  .earner-mockups-row {
    height: clamp(340px, 32vw, 450px);
    gap: 16px;
  }

  .earner-mockup-col-right {
    flex: 0 0 calc(42% - 16px);
    max-width: calc(42% - 16px);
  }
}

/* 1025 */
@media (max-width: 1279px) {

  .earner-branding-wrapper,
  .earner-typography-wrapper,
  .earner-process-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .earner-mockup-app-wrapper {
    padding: 0 20px;
  }

  .earner-mockups-row {
    height: clamp(300px, 30vw, 380px);
  }

  .earner-mockup-col-left .earner-mockup-card,
  .earner-mockup-col-left .earner-mockup-img {
    border-radius: 0 20px 20px 0;
  }

  .earner-billboard-card-right,
  .earner-billboard-card-left {
    width: 80%;
    max-width: 80%;
  }
}

/* 992 */
@media (max-width: 1024px) {

  .earner-branding-wrapper,
  .earner-typography-wrapper,
  .earner-process-wrapper {
    padding-left: 18px;
    padding-right: 18px;
  }

  .earner-mockup-app-wrapper {
    max-width: 820px;
    padding: 0 18px;
  }

  .earner-mockups-row {
    height: clamp(260px, 28vw, 340px);
    gap: 14px;
  }

  .earner-mockup-col-right {
    flex: 0 0 calc(42% - 14px);
    max-width: calc(42% - 14px);
  }

  .earner-mockup-col-left .earner-mockup-card,
  .earner-mockup-col-left .earner-mockup-img {
    border-radius: 0 18px 18px 0;
  }

  .earner-billboard-card-right,
  .earner-billboard-card-left {
    width: 82%;
    max-width: 82%;
  }
}

/* 768 */
@media (max-width: 991px) {
  .earner-branding-section {
    padding: 0 0 30px 0;
  }

  .earner-branding-wrapper {
    padding: 24px 16px 16px 16px;
  }

  .earner-mockups-row {
    flex-direction: column;
    height: auto;
    gap: 0;
  }

  .earner-mockup-col-left,
  .earner-mockup-col-right {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .earner-mockup-col-left .earner-mockup-card,
  .earner-mockup-col-left .earner-mockup-img,
  .earner-mockup-col-right .earner-mockup-card {
    border-radius: 0;
  }

  /* 
  .earner-mockup-col-left .earner-mockup-card,
  .earner-mockup-col-left .earner-mockup-img,
  .earner-mockup-col-right .earner-mockup-card,
  .earner-mockup-col-right .earner-mockup-img {
    border-radius: 18px;
    height: auto;
  } */

  .earner-mockup-img {
    height: auto;
    object-fit: contain;
  }

  .earner-duo-row {
    flex-direction: column;
  }

  .earner-duo-col-left,
  .earner-duo-col-right {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .earner-duo-img {
    height: auto;
    object-fit: contain;
  }

  .earner-typography-section {
    padding: 0 0 30px 0;
  }

  .earner-typography-wrapper {
    padding: 16px 16px 24px 16px;
  }

  .earner-process-section {
    padding: 30px 0 35px 0;
  }

  .earner-process-wrapper {
    padding: 0 16px;
  }

  .earner-mockup-app-section {
    padding: 30px 0 0 0;
  }

  .earner-mockup-app-wrapper {
    padding: 0 16px;
    max-width: 720px;
  }

  .earner-billboard-card-right,
  .earner-billboard-card-left {
    width: 86%;
    max-width: 86%;
  }
}

/* 576 */
@media (max-width: 767px) {
  .earner-branding-section {
    padding: 0 0 24px 0;
  }

  .earner-branding-wrapper {
    padding: 20px 14px 14px 14px;
  }

  .earner-typography-section {
    padding: 0 0 24px 0;
  }

  .earner-typography-wrapper {
    padding: 14px 14px 20px 14px;
  }

  .earner-process-section {
    padding: 24px 0 30px 0;
  }

  .earner-process-wrapper {
    padding: 0 14px;
  }

  .earner-mockup-app-section {
    padding: 24px 0 0 0;
  }

  .earner-mockup-app-wrapper {
    padding: 0 14px;
    max-width: 600px;
  }

  .earner-billboard-card-right,
  .earner-billboard-card-left {
    width: 88%;
    max-width: 88%;
  }
}

/* 525 */
@media (max-width: 575px) {
  .earner-branding-wrapper {
    padding: 18px 12px 12px 12px;
  }

  .earner-typography-wrapper {
    padding: 12px 12px 18px 12px;
  }

  .earner-process-wrapper,
  .earner-mockup-app-wrapper {
    padding: 0 12px;
  }

  .earner-billboard-card-right,
  .earner-billboard-card-left {
    width: 92%;
    max-width: 92%;
  }
}

/* 480 */
@media (max-width: 524px) {
  .earner-branding-wrapper {
    padding: 16px 12px 10px 12px;
  }

  .earner-typography-wrapper {
    padding: 12px 12px 16px 12px;
  }

  .earner-billboard-card-right,
  .earner-billboard-card-left {
    width: 75%;
    max-width: 75%;
  }
}

/* 425 */
@media (max-width: 479px) {
  .earner-branding-wrapper {
    padding: 14px 10px 10px 10px;
  }

  .earner-typography-wrapper {
    padding: 10px 10px 14px 10px;
  }

  .earner-process-wrapper,
  .earner-mockup-app-wrapper {
    padding: 0 10px;
  }

}

/* 375 */
@media (max-width: 424px) {
  .earner-branding-wrapper {
    padding: 12px 8px 8px 8px;
  }

  .earner-typography-wrapper {
    padding: 8px 8px 12px 8px;
  }

  .earner-process-wrapper,
  .earner-mockup-app-wrapper {
    padding: 0 8px;
  }

  .earner-billboard-card-right,
  .earner-billboard-card-left {
    width: 80%;
    max-width: 80%;
  }
}

/* 320 */
@media (max-width: 374px) {
  .earner-branding-wrapper {
    padding: 10px 8px 8px 8px;
  }

}

/* 280 */
@media (max-width: 319px) {
  .earner-branding-wrapper {
    padding: 8px 6px 6px 6px;
  }

  .earner-typography-wrapper {
    padding: 6px 6px 10px 6px;
  }

  .earner-process-wrapper,
  .earner-mockup-app-wrapper {
    padding: 0 6px;
  }

}