
/* Remove image borders from ICAV support cards */

.entry-content .icav-support-cards .wp-block-image img {
    border: none !important;
    padding: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}
/* ICAV Suicide Awareness & Memorials button */

.entry-content .wp-block-button.icav-memorial-button .wp-block-button__link,
.entry-content .wp-block-button.icav-memorial-button .wp-block-button__link:visited {
  color: #76435F !important;
  border: 1px solid #875B72 !important;
  background: transparent !important;
}

/* Hover colour */
.entry-content .wp-block-button.icav-memorial-button .wp-block-button__link:hover {
  color: #76435F !important;
  border-color: #875B72 !important;
  background: #F2E7ED !important;
}
/* ICAV ADVOCACY – INVESTIGATIONS CARD */
.page-id-2965 .icav-investigations-card .wp-block-heading {
  margin: 0 0 8px !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.page-id-2965 .icav-investigations-card p {
  margin: 0 0 10px !important;
}

.page-id-2965 .icav-investigations-card .wp-block-separator {
  width: 100% !important;
  height: 0 !important;
  margin: 18px 0 !important;
  border: 0 !important;
  border-top: 1px solid #DCE4E1 !important;
  background: transparent !important;
}

/* INTERNATIONAL GOVERNMENT ENTRIES */
.page-id-2965 .icav-government-row {
  gap: 16px !important;
  margin-bottom: 22px !important;
}

.page-id-2965 .icav-government-row .wp-block-heading {
  font-size: 19px !important;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
}

.page-id-2965 .icav-government-row p {
  margin: 0 0 12px !important;
}

/* HISTORICAL ADVOCACY ARCHIVE */
.page-id-2965 .icav-archive-card .wp-block-heading {
  margin: 0 0 12px !important;
}

.page-id-2965 .icav-archive-card p {
  margin: 0 0 12px !important;
}
/* ICAV Welcome: display all eight adoptees */

body.home .header-image-wrapper,
body.home .header-image {
    height: auto !important;
    max-height: none !important;
}

body.home .header-image {
    background-image: none !important;
}

body.home .header-image img {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
}
/* Welcome page search box */

body.home .wp-block-search {
    max-width: 700px;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Hide duplicate Welcome page title */

body.home .entry-header {
    display: none;
}
/* ========================================
   ICAV PERSPECTIVE PAPERS PAGE
   ======================================== */

/* INTRODUCTION */

.post-76 .icav-perspective-page {
    background: #F7F5F0;
    padding: 30px !important;
    border-radius: 12px;
    margin-bottom: 35px;
    box-sizing: border-box;
}

/* COLUMN SPACING */

.post-76 .wp-block-columns {
    gap: 22px;
    align-items: stretch;
}

/* ALL PAPER CARDS */

.post-76 .icav-paper-card {
    background: #F7F8F8;
    border: 1px solid #E3E8E8;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
}

/* CARD CONTENT LAYOUT */

.post-76 .icav-paper-card
> .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* IMAGE CONTAINERS */

.post-76 .icav-paper-card .wp-block-image {
    margin: 0 0 15px !important;
    width: 100%;
}

.post-76 .icav-paper-card figure {
    width: 100%;
    margin: 0 auto !important;
}

/* IMAGE SIZING */

.post-76 .icav-paper-card img {
    display: block;
    width: 100% !important;
    height: 175px !important;
    object-fit: contain;
    background: #FFFFFF;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 8px;
}

/* LARGER IMAGES FOR FEATURED PAPERS */

.post-76 .icav-featured-card img {
    height: 250px !important;
}

/* CARD HEADINGS */

.post-76 .icav-paper-card h3 {
    font-size: 21px !important;
    line-height: 1.3 !important;
    margin: 12px 0 !important;
}

/* CARD DESCRIPTIONS */

.post-76 .icav-paper-card p {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 12px;
}

/* PAPER LINKS */

.post-76 .icav-paper-card a {
    color: #34566A;
    font-weight: 600;
}

/* KEEP LAST PARAGRAPH TOWARDS BOTTOM */

.post-76 .icav-paper-card
.wp-block-group__inner-container > p:last-child {
    margin-top: auto;
}

/* CONTENT NOTES */

.post-76 .icav-content-note {
    background: #F7EBEE;
    color: #754358;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

/* CLOSING INVITATION */

.post-76 .icav-papers-callout {
    background: #F7F5F0;
    padding: 28px;
    border-radius: 12px;
    margin-top: 35px;
}

/* MOBILE */

@media (max-width: 781px) {

    .post-76 .icav-paper-card {
        margin-bottom: 15px;
    }

    .post-76 .icav-perspective-page {
        padding: 22px !important;
    }
}
/* Perspective Papers – centre card images */
.post-76 .icav-paper-card figure.wp-block-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Centre the Sexual Abuse featured image */
.post-76 .icav-featured-card figure.aligncenter {
    display: flex;
    justify-content: center;
}
/* ICAV Advocacy in Australia */

body.page-id-37323 .entry-content .wp-block-group.has-background {
    padding: 26px;
    border-radius: 12px;
    box-sizing: border-box;
}

body.page-id-37323 .entry-content .wp-block-group.has-background .wp-block-heading {
    margin-top: 0;
    margin-bottom: 16px;
}

body.page-id-37323 .entry-content .wp-block-group.has-background p {
    margin-top: 0;
    margin-bottom: 16px;
}

body.page-id-37323 .entry-content > .wp-block-heading {
    margin-top: 35px;
    margin-bottom: 20px;
}

body.page-id-37323 .entry-content .wp-block-columns {
    gap: 20px;
    margin-bottom: 20px;
}

body.page-id-37323 .entry-content .wp-block-column {
    display: flex;
    flex-direction: column;
}
}

body.page-id-37323 .entry-content .wp-block-column > .wp-block-group {
    width: 100%;
}
/* Fix ICAV Australian Advocacy Timeline layout */

body.page-id-37323 .entry-content .wp-block-group.has-background .wp-block-columns .wp-block-column {
    display: block;
}

/* ==========================================
   ICAV ABOUT PAGE — LAYOUT IMPROVEMENTS
   Only affects WordPress page ID 1
   ========================================== */


/* 1. Round the corners of all column panels */

body.page-id-1 .entry-content
.wp-block-columns > .wp-block-column {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}


/* 2. Add internal padding to column panels

   Covers:
   - Mission and Vision
   - What We Do cards
   - History milestones
   - Facebook connection cards
*/

body.page-id-1 .entry-content
.wp-block-columns > .wp-block-column > .wp-block-group {
    box-sizing: border-box;
    padding: 28px !important;
    border-radius: 12px;
    flex: 1 1 auto;
}


/* 3. Keep card contents arranged vertically */

body.page-id-1 .entry-content
.wp-block-columns > .wp-block-column >
.wp-block-group > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}


/* 4. Keep buttons toward the bottom of cards */

body.page-id-1 .entry-content
.wp-block-columns > .wp-block-column >
.wp-block-group > .wp-block-group__inner-container >
.wp-block-buttons {
    margin-top: auto;
    padding-top: 16px;
}


/* 5. Add padding to the larger coloured sections

   Covers:
   - Independence & Community
   - Follow ICAV's Social Media
   - Contact ICAV
*/

body.page-id-1 .entry-content >
.wp-block-group.has-background {
    box-sizing: border-box;
    padding: 32px !important;
    border-radius: 12px;
}


/* 6. Remove unwanted borders from the four icons */

body.page-id-1 .entry-content
.wp-block-columns .wp-block-image img {
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}


/* 7. Hide old sharing, likes and comments

   Preserves the old comments in WordPress
*/

body.page-id-1 .sharedaddy,
body.page-id-1 #comments {
    display: none !important;
}


/* 8. Adjust padding for smaller screens */

@media (max-width: 781px) {

    body.page-id-1 .entry-content
    .wp-block-columns > .wp-block-column >
    .wp-block-group {
        padding: 22px !important;
    }

    body.page-id-1 .entry-content >
    .wp-block-group.has-background {
        padding: 22px !important;
    }
}

/* About ICAV — community photograph */

body.page-id-1 .entry-content > .wp-block-image {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

body.page-id-1 .entry-content > .wp-block-image figure {
    width: 100%;
}

body.page-id-1 .entry-content > .wp-block-image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 12px;
}

.icav-audio-cover {
    display: block !important;
    width: calc(100% + 36px) !important;
    max-width: none !important;
    margin: -18px -18px 17px -18px !important;
}

.icav-audio-cover img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
/* ====================================
   ICAV - HEALING & SUPPORT SECTION
   ==================================== */

/* Main section */
.icav-healing-support {
    background: #EDF3EF;
    border: 1px solid #DFE8E1;
    border-radius: 16px;
    padding: 42px 36px;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    box-sizing: border-box;
}

/* Heading */
.icav-healing-support h2 {
    color: #1F2A44;
    font-size: 32px;
    line-height: 1.25;
    margin: 0 0 18px 0 !important;
    text-align: center;
}

/* Introduction */
.icav-healing-intro {
    color: #39463E;
    font-size: 17px;
    line-height: 1.65;
    max-width: 760px;
    margin: 0 auto 26px auto !important;
    text-align: center;
}

/* Buttons row */
.icav-healing-actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px !important;
    margin: 0 auto 20px auto !important;
}

/* All buttons */
.icav-healing-actions .wp-block-button__link {
    border-radius: 999px !important;
    padding: 12px 22px !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* First button - solid purple */
.icav-healing-actions .wp-block-button:first-child
.wp-block-button__link {
    background: #662578 !important;
    color: #FFFFFF !important;
    border: 2px solid #662578 !important;
}

/* Second and third buttons - purple outline */
.icav-healing-actions .wp-block-button:not(:first-child)
.wp-block-button__link {
    background: transparent !important;
    color: #662578 !important;
    border: 2px solid #662578 !important;
}

/* Button hover */
.icav-healing-actions .wp-block-button__link:hover {
    background: #4F1C5E !important;
    border-color: #4F1C5E !important;
    color: #FFFFFF !important;
}

/* Emergency clarification */
.icav-healing-note {
    color: #5D6861;
    font-size: 13px;
    line-height: 1.55;
    max-width: 750px;
    margin: 18px auto 0 auto !important;
    text-align: center;
}

/* Mobile */
@media (max-width: 781px) {

    .icav-healing-support {
        padding: 28px 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .icav-healing-support h2 {
        font-size: 27px;
    }

    .icav-healing-intro {
        font-size: 16px;
    }

    .icav-healing-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .icav-healing-actions .wp-block-button {
        width: 100%;
    }

    .icav-healing-actions .wp-block-button__link {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}
/* Hide automatic title on this page only */
.page-id-38067 .entry-title {
    display: none !important;
}
/* ====================================
   SURVIVOR ART - FINISHING STYLES
   ==================================== */

/* Overall artwork section */
.page-id-38067 .icav-survivor-art {
    background: #FAF8F6;
    border-radius: 14px;
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

/* Featured Anger artwork and reflection */
.page-id-38067 .icav-art-feature {
    align-items: center !important;
    gap: 28px !important;
    margin-top: 28px !important;
    margin-bottom: 36px !important;
}

.page-id-38067 .icav-art-feature .wp-block-image {
    width: 100%;
    margin: 0 !important;
}

.page-id-38067 .icav-art-feature img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}

.page-id-38067 .icav-art-feature h3 {
    color: #1F2A44;
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 14px !important;
}

.page-id-38067 .icav-art-feature p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 12px !important;
}

/* Three artwork cards */
.page-id-38067 .icav-art-grid {
    gap: 20px !important;
    align-items: stretch;
    margin-top: 25px !important;
    margin-bottom: 30px !important;
}

.page-id-38067 .icav-art-grid > .wp-block-column {
    display: flex;
}

.page-id-38067 .icav-art-card {
    background: #FFFFFF;
    border: 1px solid #E5E1E7;
    border-radius: 12px;
    padding: 18px;
    width: 100%;
    box-sizing: border-box;
}

/* Consistent image areas without cropping */
.page-id-38067 .icav-art-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px !important;
}

.page-id-38067 .icav-art-image img {
    display: block;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 6px;
}

/* Card headings */
.page-id-38067 .icav-art-card h3 {
    color: #1F2A44;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px !important;
}

/* Card descriptions */
.page-id-38067 .icav-art-card p {
    color: #454653;
    font-size: 16px;
    line-height: 1.55;
    margin: 0 !important;
}

/* Mobile */
@media (max-width: 781px) {
    .page-id-38067 .icav-survivor-art {
        padding: 20px;
    }

    .page-id-38067 .icav-art-grid {
        gap: 18px !important;
    }

    .page-id-38067 .icav-art-image {
        height: 260px;
    }
}
/* Survivor zine */
.page-id-38067 .icav-survivor-art
.wp-block-jetpack-slideshow {
    max-width: 760px !important;
    margin: 24px auto 32px !important;
}

/* Statement after zine */
.page-id-38067 .icav-art-affirmation {
    background: #F3EFF7;
    color: #1F2A44;
    text-align: center;
    font-size: 27px;
    line-height: 1.35;
    border-radius: 12px;
    padding: 25px 20px;
    margin: 30px 0 !important;
}
/* ====================================
   SASHA AUDIO CARDS - FINISHING STYLES
   ==================================== */

/* Remove shared lavender panel */
.page-id-38067 .icav-audio-grid {
    background: transparent !important;
    padding: 0 !important;
    gap: 20px !important;
    align-items: stretch;
    margin: 24px 0 !important;
}

/* Style each Column as a separate card */
.page-id-38067 .icav-audio-grid
> .wp-block-column {
    display: flex !important;
    flex-direction: column !important;
    background: #F4F6F8;
    border: 1px solid #E4E7EB;
    border-radius: 12px;
    padding: 16px !important;
    box-sizing: border-box;
    overflow: hidden;
}

/* Full-width artwork */
.page-id-38067 .icav-audio-grid
> .wp-block-column > .icav-audio-card {
    width: calc(100% + 32px) !important;
    margin: -16px -16px 14px !important;
}

.page-id-38067 .icav-audio-cover {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.page-id-38067 .icav-audio-cover img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Number */
.page-id-38067 .icav-audio-grid
> .wp-block-column > p:first-of-type {
    color: #662578;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px !important;
}

/* Title */
.page-id-38067 .icav-audio-grid h3 {
    color: #1F2A44;
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 12px !important;
}

/* Topics */
.page-id-38067 .icav-audio-topics {
    color: #565A6B;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 7px !important;
}

/* Duration */
.page-id-38067 .icav-audio-duration {
    color: #777B87;
    font-size: 14px;
    margin: 0 0 15px !important;
}

/* Description */
.page-id-38067 .icav-audio-summary {
    color: #333846;
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 18px !important;
}

/* Listen control */
.page-id-38067 .icav-audio-listen {
    margin-top: auto !important;
}

.page-id-38067 .icav-audio-listen > summary {
    display: inline-block;
    background: #662578;
    color: white;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    list-style: none;
}

.page-id-38067 .icav-audio-listen
> summary::-webkit-details-marker {
    display: none;
}

/* Transcript link */
.page-id-38067 .icav-transcript-button {
    margin: 12px 0 0 !important;
}

.page-id-38067 .icav-transcript-button a {
    display: inline-block;
    color: #662578;
    border: 1.5px solid #662578;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* View all reflections */
.page-id-38067 .icav-audio-more {
    margin: 24px 0 32px !important;
}

.page-id-38067 .icav-audio-more > summary {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 25px;
    background: #662578;
    color: white;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

/* Mobile */
@media (max-width: 781px) {
    .page-id-38067 .icav-audio-grid {
        gap: 18px !important;
    }
}
/* Hide Jetpack Likes on this resource */
.page-id-38067 .sharedaddy.sd-like {
    display: none !important;
}
/* =====================================
   FIX SURVIVOR ART IMAGE OVERLAP
   ===================================== */

/* Keep each artwork within its image area */
.page-id-38067 .icav-art-card .icav-art-image {
    height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
}

/* Constrain the WordPress image link */
.page-id-38067 .icav-art-card .icav-art-image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 250px !important;
}

/* Prevent portrait images extending into text */
.page-id-38067 .icav-art-card .icav-art-image img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 250px !important;
    object-fit: contain !important;
}
/* =====================================
   SEPARATE ANGER FEATURE FROM ART CARDS
   ===================================== */

/* Let the Anger feature grow with its text */
.page-id-38067 .icav-art-feature {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 52px !important;
}

/* Keep the gallery clearly below the feature */
.page-id-38067 .icav-art-grid {
    clear: both;
    margin-top: 0 !important;
    align-items: stretch !important;
}
/* ICAV - WORDS MATTER RESOURCE BOX */

.page-id-38067 .icav-words-matter {
    box-sizing: border-box;
    background: #F4F6F8;
    border-radius: 16px;
    padding: 30px 34px !important;
    margin: 42px auto 36px !important;
    max-width: 1030px;
}

/* Keep content inside the box */

.page-id-38067 .icav-words-matter
.wp-block-group__inner-container {
    width: 100%;
    max-width: 100%;
}

/* Heading */

.page-id-38067 .icav-words-matter h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    color: #1F2A44 !important;
    margin: 0 0 12px !important;
}

/* Main paragraphs */

.page-id-38067 .icav-words-matter p {
    font-size: 17px !important;
    line-height: 1.65 !important;
    margin: 0 0 14px !important;
}

/* Publication information */

.page-id-38067 .icav-words-matter p:first-of-type {
    font-size: 15px !important;
    color: #596573 !important;
    margin-bottom: 18px !important;
}

/* Button positioning */

.page-id-38067 .icav-words-matter
.wp-block-buttons {
    margin: 18px 0 0 !important;
}

/* ICAV purple button */

.page-id-38067 .icav-words-matter
.wp-block-button__link {
    background: #662578 !important;
    color: #FFFFFF !important;
    border-radius: 999px !important;
    padding: 12px 22px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

.page-id-38067 .icav-words-matter
.wp-block-button__link:hover {
    background: #4F1B60 !important;
}

/* Small external resource credit */

.page-id-38067 .icav-words-matter p:last-child {
    font-size: 13px !important;
    color: #656D75 !important;
    margin: 12px 0 0 !important;
}

/* Mobile layout */

@media (max-width: 680px) {

    .page-id-38067 .icav-words-matter {
        padding: 22px 20px !important;
    }

    .page-id-38067 .icav-words-matter h2 {
        font-size: 23px !important;
    }
}