/* DASS International — Community Guides
   Add after css/custom.css. These rules extend the Skyvilla blog layout. */

.page-header.community-page-header {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.community-intro {
    padding: 100px 0 25px;
}

.community-intro-inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.community-eyebrow,
.community-card-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #63071b;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.community-eyebrow::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

.community-intro h2 {
    margin: 16px 0 25px;
    font-size: clamp(20px, 4.0vw, 40px);
    line-height: 1.08;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -0.02em;
    /*! margin-bottom: 0; */
    cursor: none;
}

.community-intro p {
    max-width: 900px;
    margin: 0 auto 12px;
    font-size: 18px;
    line-height: 1.75;
}

.page-blog.community-guides-grid {
    padding-top: 20px;
}

.community-guides-grid .row > [class*="col-"] {
    display: flex;
}

.community-guides-grid .post-item {
    display: block;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
}

.community-guides-grid .post-featured-image {
    position: relative;
    overflow: hidden;
}

.community-guides-grid .post-featured-image figure {
    aspect-ratio: 16 / 9;
    margin: 0;
}

.community-guides-grid .post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-number {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: rgba(195, 151, 88, 0.89);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    backdrop-filter: blur(6px);
}

.community-guides-grid .post-item-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.community-card-label {
    margin-bottom: 3px;
    font-size: 11px;
}

.community-guides-grid .post-item-content h2 {
    margin-bottom: 14px;
}

.community-guides-grid .post-item-content p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.65;
    min-height: 80px;
}

.community-guides-grid .post-item-btn {
    margin-top: 15px;
    padding-top: 0;
}

.community-choice {
    padding: 20px 0 100px;
}

.community-choice-box {
    position: relative;
    overflow: hidden;
    padding: clamp(35px, 6vw, 75px);
    border-radius: 24px;
    background: #11151a;
    color: rgba(255, 255, 255, .78);
}

.community-choice-box::after {
    position: absolute;
    right: -90px;
    bottom: -130px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(198, 161, 91, .35);
    border-radius: 50%;
    content: "";
}

.community-choice-box h2 {
    max-width: 820px;
    margin: 12px 0 24px;
    color: #fff;
    font-size: clamp(32px, 4vw, 54px);
}

.community-choice-box p {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin-bottom: 15px;
    color: inherit;
    font-size: 17px;
    line-height: 1.75;
}

.community-choice-box strong {
    color: #fff;
}

.community-choice-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.community-choice-actions .btn-default.btn-outline {
    border: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff;
}

/* Single community guide */
.community-guide-single .post-image figure {
    aspect-ratio: 16 / 9;
}

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

.community-guide-single .post-entry > .community-card-label {
    margin-bottom: 20px;
}

.community-guide-single .post-entry h2 {
    margin-top: 26px;
}

.community-guide-single .post-entry blockquote {
    margin-top: 14px;
}

.community-guide-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 45px;
}

.community-guide-nav a {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 12px;
    color: inherit;
    font-weight: 600;
    text-align: center;
    transition: all .25s ease;
    background-color: #fff;
}

.community-guide-nav a:hover {
    border-color: var(--accent-color, #c6a15b);
    color: var(--accent-color, #c6a15b);
    transform: translateY(-2px);
}

.community-guide-nav .all-guides-link {
    background: #63071b;
    color: #fff;
}

.community-guide-cta {
    margin-top: 60px;
    padding: clamp(28px, 5vw, 54px);
    border-radius: 18px;
    background: #c3975833;
    text-align: center;
}

.community-guide-cta h2 {
    margin-bottom: 14px;
}

.community-guide-cta p {
    max-width: 760px;
    margin: 0 auto 24px;
}

@media (max-width: 991px) {
    .community-intro {
        padding-top: 75px;
    }

    .community-guide-nav {
        grid-template-columns: 1fr;
    }

    .community-guide-nav .all-guides-link {
        grid-row: 1;
    }
}

@media (max-width: 767px) {
    .community-intro {
        padding: 55px 0 10px;
    }

    .community-intro p,
    .community-choice-box p {
        font-size: 16px;
    }

    .page-blog.community-guides-grid {
        padding-top: 40px;
    }

    .community-choice {
        padding-bottom: 70px;
    }
.community-guide-nav {
  margin-top: 16px;
}
.community-guide-cta {
  margin-top: 20px;}

  .community-guide-cta h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

    .community-intro h2 {
  font-size: 20px;}

.community-intro {
    padding: 20px 0 10px;
}
.community-intro h2 {
  margin: 11px 0 10px;}

.community-guides-grid .post-item-btn {
  margin-top: 00;
  padding-top: 0;
}
}
