body, body.leading-6 { letter-spacing: 0.2px; line-height: 20px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
main, .inner-page, .post, .post-desc, .prose-page, .block { max-width: 100%; min-width: 0; }
div.max-w-site { padding-left: 15px; padding-right: 15px; }
.logo { margin-left: 10px; }
.main-nav { margin-left: auto; margin-right: 50px; flex-shrink: 0; }
.main-nav ul { margin: 0; padding: 0; }
.main-nav li { margin: 0 1px; }
.main-nav a {
    display: block;
    padding: 36px 22px;
    color: #666;
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 18.57px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}
.main-nav a.is-active,
.main-nav a:hover { color: #c04f77; }
.mobile-nav a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    color: #666;
    text-transform: uppercase;
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
}
.mobile-nav a.is-active { color: #c04f77; }
#top-bar { height: 41px; }
#top-bar > .max-w-site { height: 41px; min-height: 41px; padding-top: 0; padding-bottom: 0; }
.header-social { gap: 6px; }
.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}
.header-social a:hover { color: #fff; }
.hero {
    position: relative;
    height: 530px;
    background: #111;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
    width: 100%;
    height: 530px;
    object-fit: cover;
    max-width: none;
}
.cap { position: absolute; z-index: 2; max-width: 92%; }
.cap-right { right: 8%; top: 22%; text-align: right; }
.cap-left { left: 8%; top: 30%; }
.cap-mid { left: 18%; top: 42%; }
.cap-dark, .cap-pink, .cap-green, .cap-plain, .cap-note {
    display: inline-block;
    margin: 8px 0;
    line-height: 1.2;
}
.cap-dark {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-family: Roboto, sans-serif;
    font-weight: 900;
    font-size: 36px;
    padding: 18px 48px;
    border-radius: 4px;
}
.cap-dark.slim { font-weight: 400; font-size: 32px; padding: 18px 30px; background: rgba(0, 0, 0, 0.85); }
.cap-pink {
    background: #f75cdf;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 4px 4px 0 0;
}
.cap-green {
    background: rgba(152, 212, 96, 0.85);
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 28px;
    padding: 10px 20px;
    border-radius: 3px;
}
.cap-plain {
    color: #030303;
    font-family: "Source Sans Pro", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 22px;
}
.cap-note {
    background: rgba(255, 255, 255, 0.9);
    color: #0a0a0a;
    border-left: 2px solid #93b631;
    border-radius: 4px 0 0 4px;
    padding: 10px 20px 10px 28px;
    font-family: Roboto, sans-serif;
    font-size: 24px;
    font-weight: 700;
}
.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.zigzag {
    height: 20px;
    width: 1170px;
    max-width: 100%;
    margin: 60px auto 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 15'><polygon fill='%23ebebeb' points='8.99 0 0 9.13 0 14.52 9 5.4 18 14.52 18 9.13'/></svg>") repeat-x center;
}
.carousel { position: relative; height: 470px; overflow: hidden; }
.carousel-slide { display: none; }
.carousel-slide.is-active { display: block; }
.home-carousel { margin-top: 120px; }
.home-carousel .max-w-site { padding-left: 0; padding-right: 0; }
.carousel-grid {
    display: grid;
    grid-template-columns: 700px 500px;
    gap: 0;
    width: 1200px;
    margin-left: -15px;
    align-items: start;
}
.carousel-grid > div:first-child { padding: 65px 45px 0 85px; }
.carousel h2 {
    font-family: Roboto, sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #4b4b4b;
    line-height: 1.3;
    margin-bottom: 12px;
}
.carousel h2 a:hover { color: #c04f77; }
.carousel p { white-space: pre-line; color: #333; }
.carousel-photo { padding: 0 15px; }
.carousel-photo img {
    width: 100%;
    height: 470px;
    aspect-ratio: auto;
    object-fit: cover;
}
.money-spent { margin-top: 16px; color: #777; font-size: 13px; }
.carousel-arrow {
    position: absolute;
    bottom: 18px;
    margin: 0;
    background: transparent;
    border: 0;
    color: #c04f77;
    cursor: pointer;
    font-size: 13px;
}
.carousel-prev { left: 85px; }
.carousel-next { left: 170px; }
.cctv-title {
    font-family: "Abril Fatface", Georgia, serif;
    font-weight: 400;
    font-size: 30px;
    text-align: center;
}
.cctv-name {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}
.cctv-note { margin-top: 10px; line-height: 1.5; }
.cctv-block { margin-top: 120px; }
div.cctv-wrap { padding-left: 0; padding-right: 0; }
.cctv-grid {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    width: 1200px;
    margin-left: -15px;
    margin-top: 111px;
    text-align: center;
}
.cctv-grid img {
    width: 300px;
    height: 300px;
    max-width: none;
    display: block;
    margin: 33px auto 0;
}
.top-image img { width: 100%; height: auto; max-height: none; display: block; }
.projects-page { position: relative; margin-top: 70px; margin-bottom: 70px; }
.projects-page > .max-w-site { padding-left: 0; padding-right: 0; }
.page-title {
    position: absolute;
    top: -122px;
    left: 50%;
    transform: translateX(-50%);
    width: 1170px;
    max-width: 100%;
    margin: 0;
    padding: 20px 60px;
    text-align: left;
    font-size: 30px;
    line-height: 23px;
    font-family: Roboto, sans-serif;
    font-weight: 300;
    color: #c04f77;
}
.page-title span { border-bottom: 0; padding-bottom: 0; color: #c04f77; font-weight: 300; font-size: 30px; }
.story-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}
.story-img {
    display: block;
    position: relative;
    background: #ddd;
    min-height: 160px;
    overflow: hidden;
}
.story-img img { width: 100%; height: auto; aspect-ratio: 370 / 252; object-fit: cover; display: block; }
.story-img h2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 14px;
    padding: 8px 10px;
    white-space: nowrap;
    overflow: hidden;
}
.story p { margin-top: 10px; font-size: 14px; white-space: pre-line; }
.story p a:hover { color: #c04f77; }
.post { position: relative; }
.post::after { content: ""; display: block; clear: both; }
.post h1 {
    float: left;
    width: 100%;
    font-family: Roboto, sans-serif;
    font-size: 22px;
    font-weight: 400;
    margin: 20px 0 30px;
    line-height: 17px;
}
.project-page { margin-top: 70px; }
.project-page > .max-w-site { padding-left: 0; padding-right: 0; }
.feature { display: block; width: 100%; height: 512px; max-height: none; object-fit: cover; }
.category { float: left; width: 100%; margin: 20px 0 0; color: #888; line-height: 15px; }
.category a { color: #c04f77; }
.cause-bar {
    display: grid;
    grid-template-columns: 22% 34% 22% 22%;
    gap: 0;
    align-items: stretch;
    float: left;
    width: 100%;
    background: #fff;
    padding: 0;
    margin: 0 0 20px;
}
.cause-box { background: #f8f8f8; padding: 20px 5px; }
.cause-progress { padding: 20px; }
.cause-box strong { display: block; font-size: 28px; color: #c04f77; }
.cause-box span, .phases { font-size: 11px; letter-spacing: 0.4px; color: #777; }
.progress { height: 8px; background: #e5e5e5; margin-top: 6px; }
.progress-bar { width: 0; height: 8px; background: #98d460; }
.donate-now {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    background: #e7e3e3;
    color: #666;
    text-align: center;
    padding: 0;
    font-weight: 400;
    letter-spacing: 0;
}
.post-meta {
    float: left;
    width: 20%;
    margin: 0 3% 16px 0;
    display: block;
    color: #888;
    font-size: 13px;
}
.post-meta li { display: block; }
.post-desc { float: left; width: 72%; min-width: 0; }
.post-desc p, .prose-page p { margin: 0 0 12px; }
.post-desc h2 { font-size: 22px; margin: 18px 0 8px; font-weight: 700; }
.post-desc h3 { font-size: 18px; margin: 12px 0; }
.post-desc ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
.post-desc a { color: #c04f77; }
.center { text-align: center; }
.photo-row { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-row img { width: 80px; height: 100px; object-fit: cover; }
.table-wrap { overflow-x: auto; margin: 12px 0 20px; width: 100%; max-width: 100%; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { border: 1px solid #ddd; padding: 8px; text-align: left; vertical-align: top; }
th { background: #f6f6f6; }
.kitchen { display: block; width: 100%; max-width: 847px; height: auto; margin: 0 auto; }
.prose-page h1 { font-size: 32px; margin-bottom: 12px; font-family: Roboto, sans-serif; }
.prose-page blockquote {
    border-left: 4px solid #c04f77;
    margin: 12px 0;
    padding: 4px 16px;
    color: #444;
}
.enquiry input, .enquiry textarea {
    width: 100%;
    max-width: 520px;
    border: 1px solid #ccc;
    padding: 8px 10px;
    margin-top: 4px;
}
.enquiry .send {
    background: #c04f77;
    color: #fff;
    border: 0;
    padding: 10px 22px;
    cursor: pointer;
}
.form-note.ok { color: #1b7a32; }
.form-note.error, .field-error { color: #a12626; display: block; }
.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
.footer-bottom {
    clear: both;
    background: #323131;
    height: 53px;
}
@media (min-width: 1024px) {
    header > .max-w-site { align-items: flex-start; }
    .logo { margin-top: 14px; }
}
@media (max-width: 1199px) {
    .zigzag { margin-top: 0; width: 100%; }
    .home-carousel, .cctv-block { margin-top: 24px; }
    .carousel-grid,
    .cctv-grid {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        grid-template-columns: 1fr;
    }
    .carousel { height: auto; overflow: visible; }
    .carousel-arrow { position: static; margin: 8px 8px 0 0; }
    .carousel-grid > div:first-child { padding: 24px 16px 0; }
    .carousel-photo { padding: 0 16px 16px; }
    .carousel-photo img { height: auto; max-height: 420px; }
    .cctv-grid { margin-top: 24px; }
    .cctv-grid img { max-width: 100%; margin-top: 16px; }
}
@media (max-width: 1023px) {
    .hero, .hero-slide img { height: 320px; }
    .cap-dark { font-size: 22px; padding: 10px 16px; }
    .cap-green, .cap-note { font-size: 16px; }
    .cap-right, .cap-left, .cap-mid { left: 12px; right: 12px; top: auto; bottom: 18px; text-align: left; }
    .carousel-grid, .story-grid, .cause-bar { grid-template-columns: 1fr; }
    .hero-arrow { width: 44px; height: 44px; }
    .main-nav { margin-right: 0; }
    .page-title { position: static; left: auto; top: auto; transform: none; width: auto; padding: 16px 0; }
    .projects-page { margin-top: 24px; }
    .post-meta, .post-desc, .category, .post h1, .cause-bar { float: none; width: 100%; margin-right: 0; }
    .feature { height: auto; max-height: 280px; }
    .donate-now { height: auto; padding: 14px 10px; }
}
@media (max-width: 420px) {
    .header-social { display: none; }
}
