/* =========================================================
   DOGEIT COMMUNITY PAGE
   Six sections before the shared footer.
   ========================================================= */

.di_community {
    --di-community-green: #20f3a2;
    --di-community-gold: #f5c542;
    --di-community-panel: rgba(2, 12, 11, 0.88);
    --di-community-border: rgba(32, 243, 162, 0.48);
    background: #020807;
}

.di_community img {
    display: block;
    max-width: 100%;
}

/* =========================================================
   1. HERO
   ========================================================= */

.di_community_hero {
    border-top: 2px solid transparent;
    border-image: linear-gradient(to right, #8e5f14, #f6e9bb, #72531f, #a07a31, #9f6b11, #bea86c, #8b580e) 1;
    border-left: none;
    border-right: none;
    border-bottom: none;

    position: relative;
    min-height: clamp(450px, 100vw, 600px);
    display: flex;
    align-items: stretch;
    background-color: #020807;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.di_community_hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
/*    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.52) 36%, rgba(0, 0, 0, 0.04) 72%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08));*/
}

.di_community_hero_inner {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: grid;
    grid-template-columns: minmax(360px, 1.2fr) minmax(420px, 1.45fr);
    /*align-items: center;*/
    gap: 20px;
}

.di_community_hero_content {
    position: relative;
    z-index: 4;
    padding: 54px 0 42px;
}

.di_community_hero_kicker {
    margin-bottom: 8px;
    color: #ffe79a;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.36em;
    text-transform: uppercase;
}

h1.gradient-header {
  /* Step 1: Set the gradient direction vertically from top to bottom */
  background: linear-gradient(to bottom, #faf7dc 0%, #eebf64 100%);

  /* Step 2: Clip the background strictly to the text silhouettes */
  -webkit-background-clip: text;
  background-clip: text;

  /* Step 3: Clear the font color so the underlying gradient shines through */
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;

    
  /* Fallback color for legacy browsers */
  color: #eebf64; 
}

.di_community_hero_heading {
    margin: 0;
    color: #fff6d6;
    font-size: clamp(40px, 6.3vw, 104px);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.88;
    text-transform: uppercase;
    text-shadow: 0 4px 22px rgba(245, 197, 66, 0.15);
}

.di_community_hero_subheading,
.di_community_hero_accent {
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.di_community_hero_subheading {
    margin-top: 16px;
    color: #3af5a4;
    font-size: clamp(15px, 1.7vw, 28px);
}

.di_community_hero_accent {
    margin-top: 4px;
    color: #ffffff;
    font-size: clamp(14px, 1.45vw, 24px);
}

.di_community_hero_text {
    max-width: 400px;
    margin: 16px 0 0;
    color: #ececec;
    font-size: clamp(13px, 1.25vw, 18px);
    line-height: 1.45;
}

.di_community_hero_features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 460px;
    margin-top: 20px;
}

.di_community_hero_feature {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: url('../images/community/hero-features-border.webp') no-repeat right center;
}

.di_community_hero_feature:last-child {
    background: none;
}

.di_community_hero_feature img {
    width: 42px;
    height: 42px;
    margin-bottom: 7px;
    object-fit: contain;
}

.di_community_hero_feature span,
.di_community_hero_feature small {
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.di_community_hero_feature small {
    margin-top: 3px;
    color: #d9d9d9;
    font-size: 10px;
}

.di_community_hero_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.di_community_hero_buttons .di_btn {
    min-width: 190px;
    border-radius: 10px;
}

.di_community_hero_artwork {
    position: absolute;
    right: -2%;
    bottom: 0;
    z-index: 2;
    width: min(69%, 860px);
    max-height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.di_community_hero_artwork img {
    width: 100%;
    max-height: 860px;
    object-fit: contain;
    object-position: bottom right;
}

.di_community_hero_script {
    position: absolute;
    right: 1.5%;
    top: 13%;
    z-index: 5;
    max-width: 160px;
    color: var(--di-community-green);
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(28px, 3.1vw, 52px);
    font-weight: 700;
    line-height: 0.84;
    text-align: center;
    transform: rotate(-9deg);
    text-shadow: 0 0 12px rgba(32, 243, 162, 0.34);
}

.di_community_hero_bottom_text {
    position: absolute;
    right: 0;
    bottom: 5%;
    z-index: 5;
    max-width: 160px;
    color: #f6e175;
    font-size: clamp(13px, 1.1vw, 18px);
    font-weight: 400;
    line-height: 1.65;
    text-transform: uppercase;
}

/* =========================================================
   2. STATISTICS
   ========================================================= */

.di_community_stats {
    position: relative;
    z-index: 5;
    margin-top: -1px;
    /*border-top: 1px solid rgba(245, 197, 66, 0.75);
    border-bottom: 1px solid rgba(32, 243, 162, 0.4);*/

    border-top: 2px solid transparent;
    border-image: linear-gradient(to right, #8e5f14, #f6e9bb, #72531f, #a07a31, #9f6b11, #bea86c, #8b580e) 1;
    border-left: none;
    border-right: none;
    border-bottom: none;

    background: rgba(1, 8, 7, 0.98);

    padding: 20px 0;
}

.di_community_stats_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    /* Step 2: Set the exact corner roundness you want */
  border-radius: 12px; 
  
  /* Step 3: Open a 1px solid track for the border width */
  border: 1px solid transparent;

  /* Step 4: Layer the gradients to make rounded corners work.
     - Layer 1 & 2 (Inner): Handles the dark base and left-side ambient radial glow.
     - Layer 3 (Outer): Handles the gradient border track from left to right. */
  background: 
    radial-gradient(circle at 50% 50%, rgba(0, 104, 136, 0.05) 0%, transparent 60%) padding-box,
    linear-gradient(to top, #051614 0%, #020808 60%, #010404 100%) padding-box,
    linear-gradient(to right, #00cc88 0%, #00a38d 15%, #0d2e2b 45%, #061413 100%) border-box;

  /* Step 5: Smooth depth shadow underneath the container */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 

}

.di_community_stat {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 18px;
    /*border-right: 1px solid rgba(255,255,255,0.14);*/
    background: url('../images/community/hero-features-border.webp') no-repeat right center;
}

.di_community_stat:last-child {
    border-right: 0;
    background: none;
}

.di_community_stat_icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.di_community_stat_content strong,
.di_community_stat_content span,
.di_community_stat_content small {
    display: block;
}

.di_community_stat_content strong {
    color: var(--di_community_green);
    font-size: clamp(21px, 2vw, 31px);
    font-weight: 900;
    line-height: 0.95;
}

.di_community_stat_content span {
    margin-top: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.di_community_stat_content small {
    margin-top: 3px;
    color: #bfc8c6;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =========================================================
   3. COMMUNITY CARDS
   ========================================================= */

.di_community_cards {
    padding: 12px 0 14px;
    background: #020807;
}

.di_community_cards_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.di_community_card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 12px;
    border: 1px solid #05684b;
    border-radius: 9px;
    background: linear-gradient(180deg, rgba(7, 22, 20, 0.98), rgba(1, 9, 8, 0.98));
    overflow: hidden;
}

.di_community_card_head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.di_community_card_icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    object-fit: contain;
}

.di_community_card h2 {
    margin: 0;
    color: #fefac4;
    font-size: clamp(17px, 1.6vw, 23px);
    font-weight: 600;
    line-height: 1;
}

.di_community_card p {
    min-height: 56px;
    margin: 9px 0 10px;
    color: #e4e8e7;
    font-size: 14px;
    line-height: 1.28;
}

.di_community_card_image {
    flex: 1 1 auto;
    min-height: 130px;
    margin: 0 -12px;
    overflow: hidden;
}

.di_community_card_image img {
    width: 100%;
    height: 100%;
    min-height: 130px;
    object-fit: cover;
}

.di_community_card_button {
    padding-top: 9px;
}

.di_community_card_button .di_btn {
    width: 100%;
    min-height: 45px;
    padding: 8px 14px;
    border-color: #148d63;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 500 !important;
}

.di_community_card_button i {
    color: #06d997;
}

/* =========================================================
   4. GLOBAL COMMUNITY + QUOTE
   ========================================================= */

.di_community_world {
    position: relative;
    /*min-height: 360px;*/
    padding: 30px 0 22px;
    background-color: #020807;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.di_community_world::before {
    /*content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2,8,7,0.96) 0%, rgba(2,8,7,0.68) 34%, rgba(2,8,7,0.18) 67%, rgba(2,8,7,0.82) 100%);
    pointer-events: none;*/
}

.di_community_world_inner {
    position: relative;
    z-index: 2;
    min-height: 266px;
}

.di_community_world_copy {
    position: relative;
    z-index: 4;
    width: 31%;
    padding-top: 8px;
}

.di_community_world_copy h2 {
    margin: 0;
    color: #ffe18a;
    font-size: clamp(25px, 2.7vw, 42px);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.di_community_world_copy p {
    max-width: 330px;
    margin: 9px 0 0;
    color: #f3f3f3;
    font-size: 17px;
    line-height: 1.35;
}

.di_community_world_script {
    margin-top: 28px;
    color: #5cde9f;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(26px, 3vw, 43px);
    font-weight: 500;
    line-height: 0.95;
    transform: rotate(-10deg);
    transform-origin: left center;
    text-shadow: 0 0 10px rgba(32,243,162,0.3);
}

.di_community_world_artwork {
    position: absolute;
    top: 0;
    right: 25%;
    bottom: 0;
    left: 18%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.di_community_world_artwork img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.di_community_world_quote {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 5;
    width: 32%;
    min-height: 112px;
    padding: 10px;
    border: 2px solid #94793c;
    border-radius: 15px;
    background: rgba(2, 9, 8, 0.84);
}

.di_community_world_quote_mark {
    position: absolute;
    top: 5px;
    left: 17px;
    color: #ffe39a;
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
}

.di_community_world_quote p {
    margin: 0;
    color: #fff;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(20px, 2.1vw, 30px);
    line-height: 0.95;
}

.di_community_world_quote cite {
    display: block;
    margin-top: 9px;
    color: #ffe18a;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    text-align: right;
}


blockquote.custom-quote {
  position: relative;
  padding: 0 50px; /* Leave breathing room on the sides for the marks */
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 400;
  color: #fff; /* Matching your clean text color */
  margin: 10px 0;
}

/* Opening Quote Mark */
blockquote.custom-quote::before {
  content: "“"; /* Unicode opening smart quote */
  position: absolute;
  left: 10px;
  top: -5px;
  font-size: 4rem;
  font-family: Georgia, serif; /* Serifs make quote marks look elegant */
  color: #ffe39a; /* Matching your gold theme accent */
  opacity: 1; /* Low opacity keeps it subtle behind the text */
  line-height: 1;
}

/* Closing Quote Mark */
blockquote.custom-quote::after {
  content: "”"; /* Unicode closing smart quote */
  position: absolute;
  right: 95px;
  bottom: -35px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: #ffe39a;
  opacity: 1;
  line-height: 1;
}







.di_community_world_items {
    position: absolute;
    right: 2%;
    bottom: 3px;
    z-index: 5;
    width: 32%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.di_community_world_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    text-align: center;
}

.di_community_world_item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.di_community_world_item span {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================================================
   5. COMMUNITY SPOTLIGHT
   ========================================================= */

.di_community_spotlight {
    background: #020807;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #8e5f14, #f6e9bb, #72531f, #a07a31, #9f6b11, #bea86c, #8b580e) 1;
    border-left: none;
    border-right: none;
}

.di_community_spotlight_header {
    /*border-top: 1px solid var(--di_community_gold);
    border-bottom: 1px solid rgba(255,255,255,0.12);*/
    background: #030b0a;
}

.di_community_spotlight_header_inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.di_community_spotlight_header h2 {
    margin: 0;
    color: #ffe18a;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
}

.di_community_spotlight_header p {
    margin: 4px 0 0;
    color: #fff;
    font-size: 16px;
}

.di_community_spotlight_actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.di_community_spotlight_actions > span {
    color: #ddd;
    font-size: 12px;
}

.di_community_spotlight_actions .di_btn {
    min-height: 36px;
    padding: 7px 14px;
    border: 2px solid #148d63;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
}

.di_community_spotlight_actions i {
    color: #06d997;
}

.di_community_spotlight_gallery {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 2px;
    height: clamp(130px, 13vw, 210px);
    /*border-bottom: 1px solid var(--di_community_gold);*/
    overflow: hidden;
}

.di_community_spotlight_tile {
    min-width: 0;
    border-right: 1px solid #07120f;
    overflow: hidden;
}

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

.di_community_spotlight_side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    background-position: center;
    background-size: cover;
}

.di_community_spotlight_side::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
}

.di_community_spotlight_side_text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(12px, 1.2vw, 17px);
    font-weight: 900;
    line-height: 1.08;
    text-align: center;
    text-transform: uppercase;
}

/* =========================================================
   6. BOTTOM CTA
   ========================================================= */

.di_community_cta {
    position: relative;
    min-height: 165px;
    display: flex;
    align-items: center;
    background-color: #0a1715;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.di_community_cta_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2,8,7,0.72), rgba(2,8,7,0.16) 48%, rgba(2,8,7,0.5));
}

.di_community_cta_inner {
    position: relative;
    z-index: 2;
    min-height: 165px;
    display: grid;
    grid-template-columns: 1.6fr 0.6fr 0.5fr;
    align-items: center;
    gap: 20px;
}

.di_community_cta_left {
    color: #ffe18a;
    font-size: clamp(17px, 1.8vw, 25px);
    font-weight: 700;
    line-height: 1.08;
    text-transform: uppercase;
}

.di_community_cta_left p {
    max-width: 450px;
}

.di_community_cta_artwork {
    position: absolute;
    right: 30%;
    bottom: 0;
    left: 30%;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.di_community_cta_artwork img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.di_community_cta_center {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
}

.di_community_cta_center .di_btn {
    min-width: 250px;
    border-radius: 10px;
}

.di_community_cta_meta {
    margin-top: 8px;
    color: #ffe18a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-align: center;
}

.di_community_cta_script {
    position: relative;
    z-index: 3;
    justify-self: end;
    color: #ffe18a;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(27px, 3vw, 45px);
    font-weight: 700;
    line-height: 0.78;
    text-align: center;
    transform: rotate(-8deg);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {
    .di_community_hero {
        min-height: 500px;
        background-position: center;
        background-size: cover;
    }

    .di_community_hero::after {
        background: linear-gradient(180deg, rgba(0,0,0,0.54), rgba(0,0,0,0.25) 44%, rgba(0,0,0,0.7)), linear-gradient(90deg, rgba(0,0,0,0.55), transparent);
    }

    .di_community_hero_inner {
        grid-template-columns: 1fr;
        align-items: end;
    }

    .di_community_hero_content {
        align-self: start;
        max-width: 620px;
        padding-top: 25px;
    }

    .di_community_hero_artwork {
        right: -8%;
        width: 76%;
        opacity: 0.88;
    }

    .di_community_hero_feature {
        background: none;
    }

    .di_community_hero_script {
        right: 2%;
        top: 15%;
    }

    .di_community_hero_buttons {
        max-width: 300px;
    }

    .di_community_hero_bottom_text {
        right: 5%;
        bottom: 5%;
        font-size: clamp(13px, 1.1vw, 18px);
        font-weight: 400;
        line-height: 1.65;
        max-width: 100px;max-width: 100px;
    }

    .di_community_stats_grid,
    .di_community_cards_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .di_community_stat:nth-child(2) {
        border-right: 0;
        background: none;
    }

    .di_community_stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.14);
    }

    .di_community_world {
        min-height: 190px;
    }
    .di_community_world::after {
        content: "";
          position: absolute;
          inset: 0;
          z-index: 0;
          pointer-events: none;
        background: linear-gradient(180deg, rgba(0,0,0,0.54), rgba(0,0,0,0.25) 44%, rgba(0,0,0,0.7)), linear-gradient(90deg, rgba(0,0,0,0.55), transparent);
      }

    .di_community_world_copy {
        width: 40%;
    }

    .di_community_world_artwork {
        right: 8%;
        left: 12%;
    }

    .di_community_world_quote,
    .di_community_world_items {
        width: 38%;
    }

    blockquote.custom-quote { 
        font-size: 1.15rem;
    }

    blockquote.custom-quote::before {
        content: "“"; /* Unicode opening smart quote */
        position: absolute;
        left: 10px;
        top: -5px;
        font-size: 3.5rem;
        
    }

    blockquote.custom-quote::after {
        content: "”"; /* Unicode closing smart quote */
        position: absolute;
        right: 35px;
        bottom: -35px;
        font-size: 3.5rem;
        font-family: Georgia, serif;
        color: #ffe39a;
        opacity: 1;
        line-height: 1;
    }

    .di_community_world_script {
        margin-top: 78px;
    }

    .di_community_spotlight_gallery {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        height: 230px;
    }

    /*.di_community_spotlight_tile:nth-child(n+6) {
        display: none;
    }*/

    .di_community_spotlight_side {
        grid-column: span 1;
    }


}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
    .di_community_hero {
        /*min-height: 790px;*/
        background-position: top center;
    }

    .di_community_hero::after {
        background:
            linear-gradient(180deg, rgba(0,0,0,0.54), rgba(0,0,0,0.25) 44%, rgba(0,0,0,0.7)),
            linear-gradient(90deg, rgba(0,0,0,0.55), transparent);
    }

    .di_community_hero_content {
        padding-top: 38px;
    }

    /*.di_community_hero_heading {
        font-size: clamp(52px, 16vw, 76px);
    }*/

    .di_community_hero_text {
        max-width: 500px;
    }

    .di_community_hero_features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }

    .di_community_hero_feature img {
        width: 36px;
        height: 36px;
    }

    .di_community_hero_feature {
        background: none;
    }

    .di_community_hero_feature span,
    .di_community_hero_feature small {
        font-size: 11px;
        font-weight: 500;
    }

    .di_community_hero_artwork {
        right: -22%;
        width: 105%;
        opacity: 0.78;
    }

    .di_community_hero_script {
        top: 5%;
        right: 10%;
        max-width: 100px;
        font-size: 27px;
    }

    .di_community_hero_buttons {
        position: relative;
        z-index: 6;
        max-width: 300px;
    }

    .di_community_hero_buttons .di_btn {
        min-width: 200px;
        width: auto;
        flex: 1 1 180px;
    }

    .di_community_stats_grid,
    .di_community_cards_grid {
        grid-template-columns: 1fr;
    }

    .di_community_stat {
        background: none;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.14);
    }

    .di_community_stat:last-child {
        border-bottom: 0;
    }

    .di_community_cards {
        padding-top: 10px;
    }

    .di_community_card {
        min-height: 350px;
    }

    .di_community_world {
        /*min-height: 700px;*/
    }

    .di_community_world_copy {
        width: 100%;
        max-width: 350px;
    }

    .di_community_world_artwork {
        top: 130px;
        right: -25%;
        bottom: 180px;
        left: -25%;
    }

    .di_community_world_quote {
        top: auto;
        right: 14px;
        bottom: 75px;
        /*left: 14px;
        width: auto;*/
    }

    .di_community_world_items {
        right: 14px;
        bottom: 10px;
        /*left: 14px;
        width: auto;*/
    }

    .di_community_spotlight_header_inner {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .di_community_spotlight_actions {
        width: 100%;
        justify-content: space-between;
    }

    .di_community_spotlight_gallery {
        grid-template-columns: repeat(3, 1fr);
        height: 100%;
    }

    /*.di_community_spotlight_tile:nth-child(n+7) {
        display: none;
    }*/

    .di_community_spotlight_side {
        grid-column: span 1;
    }

    .di_community_cta {
        min-height: 380px;
    }

    .di_community_cta_inner {
        min-height: 380px;
        grid-template-columns: 1fr;
        align-content: center;
        justify-items: center;
        text-align: center;
        width: 50%;
        margin-right: 20px;
    }

    .di_community_cta_left {
        position: relative;
        z-index: 3;
    }

    .di_community_cta_artwork {
        right: -20%;
        left: -20%;
        opacity: 0.55;
    }

    .di_community_cta_script {
        justify-self: center;
    }

    .di_community_cta_overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to left, rgba(2,8,7,0.72), rgba(2,8,7,0.16) 100%, rgba(2,8,7,0.5));;
    }    
}

@media (max-width: 420px) {
    .di_community_hero {
        /*min-height: 750px;*/
    }

    .di_community_hero_features {
        margin-top: 14px;
    }

    .di_community_hero_buttons .di_btn {
        flex-basis: 100%;
    }

    .di_community_hero_bottom_text {
        display: none;
    }

    /*.di_community_world {
        min-height: 670px;
    }*/

    .di_community_world_inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .di_community_world_copy {
        /*margin-bottom: 20px;*/
        width: 100%;
        max-width: 100% ;
        text-align: center;
    }

    .di_community_world_copy p {
        max-width: 100%;
    }

    .di_community_world_script {
        margin-top: 60px;
    }

    .di_community_world_quote {
        position: relative;
        width: 100%;
        margin: 0 auto;
        top: auto;
        right: auto;
        bottom: auto;
    }

    .di_community_world_quote p {
        font-size: 23px;
    }

    .di_community_world_items {
        position: relative;
        right: auto;
        bottom: 0;
        margin: 15px auto 0 auto;
        width: 100%;
    }

    .di_community_spotlight_gallery {
        height: 300px;
    }

    .di_community_cta {
        background-size: auto;
        min-height: 180px;
    }

    .di_community_cta_inner {
        min-height: 200px;
    }

    .di_community_cta_left {
        font-size: clamp(14px, 1.8vw, 25px);
        font-weight: 400;
        line-height: 1.08;
        text-transform: uppercase;
    }

    .di_community_cta_center .di_btn {
        min-width: 150px;
        border-radius: 10px;
        font-size: 12px;
        padding: 6px 10px;
    }

    .di_community_cta_meta {
        font-size: 8px;
    }

    .di_community_cta_script {
        font-size: 17px;
    }
}
