/* COMMUNITY PAGE */

.community-hero {
    min-height: 75vh;
    padding: 0 6% 90px;
    color: #fff8e8;
    background:
        linear-gradient(
            rgba(0, 28, 20, 0.82),
            rgba(0, 25, 18, 0.94)
        ),
        url("images/fundalIstoric.png") center / cover no-repeat;
}

.community-hero .navbar {
    padding-left: 0;
    padding-right: 0;
}

.community-hero .logo,
.community-hero .menu a {
    color: #fff8e8;
}

.community-hero .menu a:hover,
.community-hero .menu a.active {
    color: #e1b845;
}

.community-hero-content {
    width: 90%;
    max-width: 1000px;
    margin: 110px auto 0;
    text-align: center;
}

.community-label {
    color: #e1b845;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
}

.community-hero-content h1 {
    margin: 25px 0;
    color: #e7c15a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 1.08;
}

.community-hero-content > p:not(.community-label) {
    max-width: 820px;
    margin: 0 auto 38px;
    color: #f5eddd;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.8;
}

.community-button {
    display: inline-block;
    padding: 16px 30px;
    border: 1px solid #e1b845;
    border-radius: 40px;
    background: linear-gradient(
        135deg,
        #e8c45c,
        #b97c12
    );
    color: #1b1408;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.community-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(181, 123, 19, 0.3);
}

.community-introduction,
.adventure-section,
.community-comments,
.families-educators,
.community-guidelines,
.community-final {
    padding: 95px 7%;
}

.community-introduction {
    text-align: center;
    background: #f7f1e6;
}

.section-heading {
    max-width: 900px;
    margin: 0 auto 55px;
    text-align: center;
}

.community-introduction h2,
.section-heading h2,
.share-information h2,
.community-guidelines h2,
.community-final h2 {
    margin: 18px auto 25px;
    color: #603b10;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.15;
}

.community-introduction > p:last-child,
.section-heading > p:last-child,
.share-information > p,
.community-final > p {
    max-width: 850px;
    margin: 0 auto;
    color: #6b5a43;
    font-size: 18px;
    line-height: 1.8;
}

.adventure-section {
    background: #eee5d5;
}

.adventure-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto;
}

.adventure-card {
    display: flex;
    flex-direction: column;
    padding: 35px 26px;
    border: 1px solid rgba(181, 123, 19, 0.35);
    border-radius: 20px;
    background: #fffaf0;
    text-align: center;
    box-shadow: 0 15px 35px rgba(55, 42, 24, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.adventure-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 45px rgba(55, 42, 24, 0.16);
}

.adventure-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border: 1px solid #c99325;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4ead5;
    font-size: 36px;
}

.adventure-card h3 {
    margin-bottom: 16px;
    color: #603b10;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
}

.adventure-card p {
    flex-grow: 1;
    margin-bottom: 25px;
    color: #6b5a43;
    font-size: 16px;
    line-height: 1.65;
}

.vote-button {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #b57b13;
    border-radius: 30px;
    background: transparent;
    color: #704810;
    font-weight: 700;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.vote-button:hover,
.vote-button.selected {
    background: #b57b13;
    color: #ffffff;
}

.vote-message {
    min-height: 28px;
    margin-top: 30px;
    color: #72501b;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
}

.share-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 70px;
    align-items: center;
    padding: 100px 8%;
    color: #fff8e8;
    background:
        radial-gradient(
            circle at top left,
            rgba(225, 184, 69, 0.13),
            transparent 35%
        ),
        #002b20;
}

.share-information h2 {
    color: #e7c15a;
}

.share-information > p {
    color: #eee5d5;
}

.moderation-notice {
    display: flex;
    gap: 20px;
    margin-top: 38px;
    padding: 25px;
    border: 1px solid rgba(225, 184, 69, 0.4);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.16);
}

.moderation-notice > span {
    font-size: 34px;
}

.moderation-notice h3 {
    margin-bottom: 8px;
    color: #e7c15a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.moderation-notice p {
    color: #eee5d5;
    line-height: 1.6;
}

.community-form {
    padding: 42px;
    border: 1px solid rgba(225, 184, 69, 0.55);
    border-radius: 22px;
    background: #fffaf0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.community-form label {
    display: block;
    margin: 0 0 9px;
    color: #563913;
    font-size: 15px;
    font-weight: 700;
}

.community-form label span {
    color: #88765e;
    font-size: 12px;
    font-weight: 400;
}

.community-form input,
.community-form select,
.community-form textarea {
    width: 100%;
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid #cdbd9e;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #342719;
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.community-form input:focus,
.community-form select:focus,
.community-form textarea:focus {
    border-color: #b57b13;
    box-shadow: 0 0 0 3px rgba(181, 123, 19, 0.14);
}

.community-form textarea {
    resize: vertical;
}

.children-notice {
    margin: -2px 0 24px;
    padding: 14px;
    border-left: 3px solid #b57b13;
    background: #f3ead9;
    color: #6e5a3e;
    font-size: 13px;
    line-height: 1.55;
}

.form-button {
    border: none;
}

.form-status {
    min-height: 24px;
    margin-top: 18px;
    color: #5c421d;
    font-size: 14px;
    font-weight: 700;
}

.community-comments {
    background: #f7f1e6;
}

.comments-grid {
    max-width: 1100px;
    margin: 0 auto;
}

.comments-placeholder {
    padding: 55px 30px;
    border: 2px dashed #c4ad86;
    border-radius: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.45);
}

.comments-placeholder span {
    display: block;
    margin-bottom: 18px;
    font-size: 45px;
}

.comments-placeholder h3 {
    margin-bottom: 12px;
    color: #603b10;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
}

.comments-placeholder p {
    color: #6b5a43;
    font-size: 17px;
    line-height: 1.7;
}

.comment-card {
    padding: 28px;
    border: 1px solid #d8c8aa;
    border-radius: 18px;
    background: #fffaf0;
    box-shadow: 0 12px 28px rgba(55, 42, 24, 0.08);
}

.comment-card h3 {
    margin-bottom: 10px;
    color: #603b10;
    font-family: Georgia, "Times New Roman", serif;
}

.comment-card p {
    color: #6b5a43;
    line-height: 1.7;
}

.comment-card small {
    display: block;
    margin-top: 18px;
    color: #a06c16;
    font-weight: 700;
}

.families-educators {
    background: #eee5d5;
}

.community-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.community-benefits article {
    padding: 38px 30px;
    border-radius: 18px;
    background: #fffaf0;
    text-align: center;
    box-shadow: 0 14px 35px rgba(55, 42, 24, 0.1);
}

.community-benefits span {
    display: block;
    margin-bottom: 20px;
    font-size: 45px;
}

.community-benefits h3 {
    margin-bottom: 14px;
    color: #603b10;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
}

.community-benefits p {
    color: #6b5a43;
    line-height: 1.7;
}

.community-guidelines {
    color: #fff8e8;
    text-align: center;
    background: #003327;
}

.community-guidelines h2 {
    color: #e7c15a;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 900px;
    margin: 40px auto 0;
}

.guidelines-grid p {
    padding: 18px 22px;
    border: 1px solid rgba(225, 184, 69, 0.35);
    border-radius: 12px;
    color: #f3ebdc;
    text-align: left;
}

.community-final {
    text-align: center;
    background: #f7f1e6;
}

.community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 35px;
}

.outline-button {
    background: transparent;
    color: #704810;
}

@media (max-width: 1100px) {

    .adventure-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .share-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {

    .community-hero {
        min-height: auto;
        padding-bottom: 70px;
    }

    .community-hero-content {
        margin-top: 70px;
    }

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

    .guidelines-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .community-hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .community-hero-content h1 {
        font-size: 43px;
    }

    .community-hero-content > p:not(.community-label) {
        font-size: 18px;
    }

    .community-introduction,
    .adventure-section,
    .community-comments,
    .families-educators,
    .community-guidelines,
    .community-final {
        padding: 70px 6%;
    }

    .adventure-grid {
        grid-template-columns: 1fr;
    }

    .share-section {
        padding: 70px 5%;
    }

    .community-form {
        padding: 30px 22px;
    }

    .moderation-notice {
        align-items: flex-start;
    }
}

.adventure-cover-wrapper {
    width: 180px;
    height: 270px;
    margin: 0 auto 24px;
    overflow: hidden;
    border-radius: 14px;
    background: #e8dcc5;
    box-shadow: 0 10px 22px rgba(49, 34, 15, 0.2);
}

.adventure-cover {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.adventure-card:hover .adventure-cover {
    transform: scale(1.03);
}