
.p3-page,
.p3-page * {
    box-sizing: border-box;
}

.p3-page {
    --wine: #8d2531;
    --wine-dark: #721b26;

    --blue: #52788f;
    --blue-dark: #315267;

    --text: #536a78;

    --cream: #f8f3ed;

    --rose-soft: #f5e4e2;
    --blue-soft: #edf4f7;
    --green-soft: #edf1e5;

    width: 100%;
    min-height: 100vh;

    margin: 0;

    padding:
        38px
        max(24px, calc((100vw - 1240px) / 2))
        78px;

    background:
        radial-gradient(
            circle at 7% 4%,
            rgba(141,37,49,.035),
            transparent 27%
        ),
        radial-gradient(
            circle at 94% 15%,
            rgba(82,120,143,.04),
            transparent 25%
        ),
        var(--cream);

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

.p3-svg-library {
    position: absolute;

    width: 0;
    height: 0;

    overflow: hidden;
}

.p3-page svg {
    display: block;
}

.p3-page img {
    display: block;

    max-width: 100%;
    height: auto;

    border-radius: 14px;
}

.p3-page h1,
.p3-page h2,
.p3-page h3,
.p3-page h4,
.p3-page p {
    margin-top: 0;
}


/* HERO */

.p3-hero {
    max-width: 1180px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 54px;

    align-items: center;

    margin:
        0 auto
        34px;

    padding:
        10px
        7px
        24px;
}

.p3-kicker,
.p3-section-label {
    color: #b57973;

    font-size: 11px;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: .17em;
    text-transform: uppercase;
}

.p3-kicker {
    margin-bottom: 8px;
}

.p3-hero h1 {
    max-width: 850px;

    margin-bottom: 13px;

    color: var(--wine-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            40px,
            4.3vw,
            60px
        );

    line-height: 1.04;

    letter-spacing: -.025em;
}

.p3-lead {
    max-width: 760px;

    margin-bottom: 24px;

    color: #5e7887;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;
    line-height: 1.48;
}


/* HERO FEATURES */

.p3-features {
    display: flex;
    flex-wrap: wrap;

    gap: 22px;
}

.p3-feature {
    display: flex;

    align-items: center;

    gap: 10px;
}

.p3-feature-icon {
    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    border-radius: 50%;
}

.p3-feature-icon svg {
    width: 22px;
    height: 22px;

    fill: currentColor;
}

.p3-feature-icon.blue {
    color: var(--blue);

    background: var(--blue-soft);
}

.p3-feature-icon.rose {
    color: #a34a53;

    background: var(--rose-soft);
}

.p3-feature-icon.green {
    color: #637947;

    background: var(--green-soft);
}

.p3-feature strong {
    display: block;

    margin-bottom: 2px;

    color: #3b5667;

    font-size: 13px;
}

.p3-feature small {
    display: block;

    color: #8697a0;

    font-size: 11px;
}


/* HERO RIGHT */

.p3-hero-art {
    text-align: center;
}

.p3-script {
    color: #58798d;

    font-family:
        "Brush Script MT",
        "Segoe Script",
        cursive;

    font-size: 43px;
    line-height: .96;

    transform: rotate(-6deg);
}

.p3-script span {
    font-size: 35px;
}

.p3-values {
    margin-top: 25px;

    color: #b9827d;

    font-size: 11px;
    line-height: 1.9;

    letter-spacing: .22em;
}


/* CONTENT CARD */

.p3-content-card {
    max-width: 1180px;

    margin:
        0 auto
        24px;

    padding:
        30px
        34px
        38px;

    border:
        1px solid
        rgba(124,77,52,.09);

    border-radius: 22px;

    background:
        rgba(255,253,250,.97);

    box-shadow:
        0 11px 34px
            rgba(75,51,36,.055),
        0 2px 6px
            rgba(75,51,36,.025);
}

.p3-content-head {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 26px;
}

.p3-round-icon {
    flex: 0 0 56px;

    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--wine);

    background:
        linear-gradient(
            145deg,
            #f2d8d6,
            #f8eae7
        );
}

.p3-round-icon svg {
    width: 26px;
    height: 26px;

    fill: currentColor;
}

.p3-section-label {
    margin-bottom: 6px;
}

.p3-content-head h2 {
    margin-bottom: 0;

    color: var(--wine-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            29px,
            2.7vw,
            38px
        );

    line-height: 1.13;
}


/* ARTICLE */

.p3-content {
    max-width: 940px;

    margin:
        0 auto;

    color: var(--text);

    font-size: 15.5px;
    line-height: 1.72;
}

.p3-content > *:first-child {
    margin-top: 0;
}

.p3-content h2 {
    margin:
        34px 0
        13px;

    padding-bottom: 9px;

    border-bottom:
        1px solid
        #e9dfd6;

    color: var(--wine-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    line-height: 1.2;
}

.p3-content h3 {
    margin:
        26px 0
        10px;

    color: var(--blue-dark);

    font-size: 20px;
    line-height: 1.3;
}

.p3-content h4 {
    margin:
        21px 0
        8px;

    color: #456478;

    font-size: 16px;
}

.p3-content p {
    margin-bottom: 15px;
}

.p3-content ul,
.p3-content ol {
    margin:
        13px 0
        18px;

    padding-left: 23px;
}

.p3-content li {
    margin-bottom: 8px;
}

.p3-content a {
    color: var(--wine);

    font-weight: 700;

    text-decoration:
        underline
        dotted;

    text-underline-offset: 3px;
}

.p3-content blockquote {
    margin:
        20px 0;

    padding:
        16px
        19px;

    border-left:
        3px solid
        #b57973;

    border-radius:
        0
        12px
        12px
        0;

    background:
        #faf0eb;
}

.p3-content table {
    width: 100%;

    margin:
        20px 0;

    border-collapse: separate;
    border-spacing: 0;

    overflow: hidden;

    border:
        1px solid
        #e5ddd6;

    border-radius: 14px;
}

.p3-content th,
.p3-content td {
    padding:
        11px
        13px;

    border-bottom:
        1px solid
        #e8e1da;

    text-align: left;

    vertical-align: top;
}

.p3-content th {
    color: #415d6e;

    background: #f3ebe4;

    font-size: 13px;
}

.p3-content td {
    background: #fffdfa;

    font-size: 13px;
}


/* CONTACT */

.p3-contact {
    max-width: 1180px;

    display: grid;

    grid-template-columns:
        64px
        minmax(0,1fr)
        auto;

    gap: 20px;

    align-items: center;

    margin:
        0 auto;

    padding:
        26px
        30px;

    border:
        1px solid
        #e8ddd3;

    border-radius: 21px;

    background:
        linear-gradient(
            120deg,
            #f0e6dc,
            #f8f2eb
        );
}

.p3-contact-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--wine);

    background: #fff8f2;
}

.p3-contact-icon svg {
    width: 27px;
    height: 27px;

    fill: currentColor;
}

.p3-contact h2 {
    margin:
        4px 0
        5px;

    color: var(--wine-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 29px;
}

.p3-contact p {
    margin: 0;

    color: var(--text);

    font-size: 14px;
}

.p3-contact-button {
    display: inline-block;

    padding:
        10px
        18px;

    border-radius: 999px;

    background: var(--wine);

    color: #fff !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}


/* TABLET */

@media (max-width: 1000px) {

    .p3-page {
        padding-left: 22px;
        padding-right: 22px;
    }

    .p3-hero {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .p3-hero-art {
        display: none;
    }

}


/* SMALL TABLET */

@media (max-width: 760px) {

    .p3-contact {
        grid-template-columns:
            58px
            minmax(0,1fr);
    }

    .p3-contact-button {
        grid-column: 2;

        width: fit-content;
    }

}


/* MOBILE */

@media (max-width: 620px) {

    .p3-page {
        padding:
            24px
            14px
            52px;
    }

    .p3-hero {
        margin-bottom: 18px;

        padding: 2px;
    }

    .p3-hero h1 {
        font-size: 35px;
    }

    .p3-lead {
        font-size: 17px;
    }

    .p3-features {
        display: grid;

        grid-template-columns:
            1fr
            1fr;

        gap:
            13px
            8px;
    }

    .p3-feature-icon {
        width: 42px;
        height: 42px;
    }

    .p3-feature-icon svg {
        width: 19px;
        height: 19px;
    }

    .p3-content-card {
        padding:
            19px
            16px
            25px;

        border-radius: 17px;
    }

    .p3-content-head {
        align-items: flex-start;

        gap: 12px;
    }

    .p3-round-icon {
        flex-basis: 48px;

        width: 48px;
        height: 48px;
    }

    .p3-round-icon svg {
        width: 22px;
        height: 22px;
    }

    .p3-content-head h2 {
        font-size: 26px;
    }

    .p3-content {
        font-size: 15px;
        line-height: 1.65;
    }

    .p3-content h2 {
        font-size: 23px;
    }

    .p3-content h3 {
        font-size: 18px;
    }

    .p3-content table {
        display: block;

        overflow-x: auto;
    }

    .p3-contact {
        display: block;

        padding:
            20px
            17px;
    }

    .p3-contact-icon {
        margin-bottom: 13px;
    }

    .p3-contact-button {
        margin-top: 16px;
    }

}

/* =========================================================
   KOPIENAS CENTRA BRIVPRATIGAIS DARBS
   Vienots stils ar esošo Brīvprātīgo kustības kartīti
   ========================================================= */

.svgm-community-volunteers {
    position: relative;
    box-sizing: border-box;

    max-width: 1265px;
    margin: 38px auto 52px !important;
    padding: 34px 110px 48px 112px !important;

    background: #ffffff !important;
    border: 1px solid rgba(120, 80, 75, .06);
    border-radius: 26px;

    box-shadow:
        0 14px 40px rgba(70, 50, 45, .06);
}


/* Kreisajā pusē tāda pati vizuālā ikonas zona */

.svgm-community-volunteers::before {
    content: "♥";

    position: absolute;
    top: 38px;
    left: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: #fae9e7;
    color: #a52d3d;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1;
}


/* Iekšējais konteiners vairs neveido otru platumu/fonu */

.svgm-community-volunteers-inner {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Mazais virsraksts */

.svgm-community-volunteers-kicker {
    margin: 0 0 8px !important;

    color: #bd7771 !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;

    letter-spacing: .18em !important;
    text-transform: uppercase;
}


/* Galvenais virsraksts */

.svgm-community-volunteers h2 {
    max-width: 1050px !important;

    margin: 0 0 28px !important;

    color: #8f2734 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.2vw, 48px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;

    letter-spacing: -.02em !important;
}


/* Pamatteksts */

.svgm-community-volunteers p,
.svgm-community-volunteers li {
    max-width: none !important;

    color: #587689 !important;

    font-size: 17px !important;
    line-height: 1.72 !important;
}

.svgm-community-volunteers p {
    margin: 0 0 22px !important;
}


/* Izceltie teksti */

.svgm-community-volunteers strong {
    color: #496879 !important;
    font-weight: 700 !important;
}


/* Saraksts */

.svgm-community-volunteers ul {
    margin: 4px 0 28px !important;
    padding-left: 26px !important;
}

.svgm-community-volunteers li {
    margin: 7px 0 !important;
}


/* Kontaktu bloks */

.svgm-community-volunteers-contact {
    margin: 32px 0 0 !important;
    padding: 22px 0 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid #eadbd7 !important;
    border-radius: 0 !important;

    color: #587689 !important;

    font-size: 17px !important;
    line-height: 1.7 !important;
}

.svgm-community-volunteers-contact a {
    color: #982b39 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}


/* MOBILE */

@media (max-width: 760px) {

    .svgm-community-volunteers {
        margin: 24px 16px 36px !important;
        padding: 92px 22px 32px !important;
        border-radius: 20px;
    }

    .svgm-community-volunteers::before {
        top: 24px;
        left: 22px;

        width: 52px;
        height: 52px;

        font-size: 23px;
    }

    .svgm-community-volunteers h2 {
        font-size: 31px !important;
    }

    .svgm-community-volunteers p,
    .svgm-community-volunteers li,
    .svgm-community-volunteers-contact {
        font-size: 16px !important;
    }
}


/* Jaunā bloka virsraksts vienādā mērogā ar pirmo bloku */
.svgm-community-volunteers h2 {
    font-size: 42px !important;
    line-height: 1.12 !important;
}

@media (max-width: 760px) {
    .svgm-community-volunteers h2 {
        font-size: 31px !important;
    }
}


/* Jaunā bloka teksts identisks esošajam brīvprātīgo blokam */
.svgm-community-volunteers p,
.svgm-community-volunteers li,
.svgm-community-volunteers-contact,
.svgm-community-volunteers strong,
.svgm-community-volunteers a {
    font-family: Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
}

.svgm-community-volunteers p,
.svgm-community-volunteers li {
    font-size: 17px !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
}

.svgm-community-volunteers strong {
    font-weight: 700 !important;
}


/* =========================================================
   COMMUNITY VOLUNTEERS — precīzi pēc esošās P3 tipogrāfijas
   ========================================================= */

/* Galvenais kartītes virsraksts = esošais .p3-content-head h2 */
.svgm-community-volunteers h2 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(29px, 2.7vw, 38px) !important;
    line-height: 1.13 !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
}

/* Pamatteksts = esošais .p3-content */
.svgm-community-volunteers p,
.svgm-community-volunteers li,
.svgm-community-volunteers-contact {
    font-family: inherit !important;
    font-size: 15.5px !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
}

/* Paragrāfu atstarpes = esošais .p3-content */
.svgm-community-volunteers p {
    margin-bottom: 15px !important;
}

/* Saraksts = esošais .p3-content */
.svgm-community-volunteers ul {
    margin: 13px 0 18px !important;
    padding-left: 23px !important;
}

.svgm-community-volunteers li {
    margin: 0 !important;
}

/* Bold saglabājam tikai tur, kur tas tiešām ir strong */
.svgm-community-volunteers strong {
    font-family: inherit !important;
    font-weight: 700 !important;
}

/* Mobilajā izmēru mākslīgi vairs nesamazinām */
@media (max-width: 760px) {
    .svgm-community-volunteers h2 {
        font-size: 29px !important;
    }

    .svgm-community-volunteers p,
    .svgm-community-volunteers li,
    .svgm-community-volunteers-contact {
        font-size: 15.5px !important;
    }
}


/* SVGM VOLUNTEER APPLY BUTTON */
.svgm-volunteer-apply {
    margin-top: 22px;
}

.svgm-volunteer-apply .p3-contact-button {
    display: inline-flex;
    width: auto;
}



/* SVGM VOLUNTEER APPLY FINAL START */

.svgm-volunteer-apply-row {
    margin-top: 22px;
}

.svgm-volunteer-apply-button,
.svgm-volunteer-apply-button:link,
.svgm-volunteer-apply-button:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 46px;
    padding: 11px 24px;

    background: #982b39 !important;
    color: #ffffff !important;

    border-radius: 999px;
    border: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none !important;
}

.svgm-volunteer-apply-button:hover,
.svgm-volunteer-apply-button:focus {
    background: #7f2330 !important;
    color: #ffffff !important;
}

@media (max-width: 760px) {
    .svgm-volunteer-apply-button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* SVGM VOLUNTEER APPLY FINAL END */


/* SVGM APPLY DIRECT CSS START */

.svgm-apply-direct {
    margin: 24px 0 28px;
}

.svgm-apply-direct-button,
.svgm-apply-direct-button:link,
.svgm-apply-direct-button:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 12px 24px !important;

    background: #982b39 !important;
    color: #ffffff !important;

    border-radius: 999px !important;
    border: 0 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-decoration: none !important;
}

.svgm-apply-direct-button:hover {
    background: #7f2330 !important;
    color: #ffffff !important;
}

@media (max-width: 760px) {
    .svgm-apply-direct-button {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* SVGM APPLY DIRECT CSS END */
