
/* 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;
}