/*
 Theme Name:   Chaplin Child
 Template:     chaplin
 Version:      1.0.0
 Text Domain:  chaplin-child
*/

@font-face {
    font-family: 'brandon-grotesque';
    src: url('./assets/fonts/brandon_light_0-webfont.eot');
    src: url('./assets/fonts/brandon_light_0-webfont.eot?#iefix') format('embedded-opentype'),
         url('./assets/fonts/brandon_light_0-webfont.woff2') format('woff2'),
         url('./assets/fonts/brandon_light_0-webfont.woff') format('woff'),
         url('./assets/fonts/brandon_light_0-webfont.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'brandon-grotesque';
    src: url('./assets/fonts/brandon_med_0-webfont.eot');
    src: url('./assets/fonts/brandon_med_0-webfont.eot?#iefix') format('embedded-opentype'),
         url('./assets/fonts/brandon_med_0-webfont.woff2') format('woff2'),
         url('./assets/fonts/brandon_med_0-webfont.woff') format('woff'),
         url('./assets/fonts/brandon_med_0-webfont.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'brandon-grotesque';
    src: url('./assets/fonts/brandon_bld_0-webfont.eot');
    src: url('./assets/fonts/brandon_bld_0-webfont.eot?#iefix') format('embedded-opentype'),
         url('./assets/fonts/brandon_bld_0-webfont.woff2') format('woff2'),
         url('./assets/fonts/brandon_bld_0-webfont.woff') format('woff'),
         url('./assets/fonts/brandon_bld_0-webfont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'brandon-grotesque';
    src: url('./assets/fonts/brandon_blk_0-webfont.eot');
    src: url('./assets/fonts/brandon_blk_0-webfont.eot?#iefix') format('embedded-opentype'),
         url('./assets/fonts/brandon_blk_0-webfont.woff2') format('woff2'),
         url('./assets/fonts/brandon_blk_0-webfont.woff') format('woff'),
         url('./assets/fonts/brandon_blk_0-webfont.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
  font-family: 'adobe-caslon-pro';
  src:	url('./assets/fonts/ACaslonPro-Regular.eot?#iefix') format('embedded-opentype'),  
	url('./assets/fonts/ACaslonPro-Regular.otf')  format('opentype'),
	url('./assets/fonts/ACaslonPro-Regular.woff') format('woff'), 
	url('./assets/fonts/ACaslonPro-Regular.ttf')  format('truetype'), 
	url('./assets/fonts/ACaslonPro-Regular.svg#ACaslonPro-Regular') format('svg');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'adobe-caslon-pro';
  src:	url('./assets/fonts/ACaslonPro-Italic.eot?#iefix') format('embedded-opentype'),  
	url('./assets/fonts/ACaslonPro-Italic.otf')  format('opentype'),
	url('./assets/fonts/ACaslonPro-Italic.woff') format('woff'), 
	url('./assets/fonts/ACaslonPro-Italic.ttf')  format('truetype'), 
	url('./assets/fonts/ACaslonPro-Italic.svg#ACaslonPro-Italic') format('svg');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'adobe-caslon-pro';
  src:	url('./assets/fonts/ACaslonPro-Semibold.eot?#iefix') format('embedded-opentype'),  
	url('./assets/fonts/ACaslonPro-Semibold.otf')  format('opentype'),
	url('./assets/fonts/ACaslonPro-Semibold.woff') format('woff'), 
	url('./assets/fonts/ACaslonPro-Semibold.ttf')  format('truetype'), 
	url('./assets/fonts/ACaslonPro-Semibold.svg#ACaslonPro-Semibold') format('svg');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'adobe-caslon-pro';
  src:	url('./assets/fonts/ACaslonPro-SemiboldItalic.eot?#iefix') format('embedded-opentype'),
	url('./assets/fonts/ACaslonPro-SemiboldItalic.otf')  format('opentype'),
	url('./assets/fonts/ACaslonPro-SemiboldItalic.woff') format('woff'), 
	url('./assets/fonts/ACaslonPro-SemiboldItalic.ttf')  format('truetype'), 
	url('./assets/fonts/ACaslonPro-SemiboldItalic.svg#ACaslonPro-SemiboldItalic') format('svg');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'adobe-caslon-pro';
  src:  url('./assets/fonts/ACaslonPro-Bold.eot?#iefix') format('embedded-opentype'),  
	url('./assets/fonts/ACaslonPro-Bold.otf')  format('opentype'),
	url('./assets/fonts/ACaslonPro-Bold.woff') format('woff'), 
	url('./assets/fonts/ACaslonPro-Bold.ttf')  format('truetype'), 
	url('./assets/fonts/ACaslonPro-Bold.svg#ACaslonPro-Bold') format('svg');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'adobe-caslon-pro';
  src:	url('./assets/fonts/ACaslonPro-BoldItalic.eot?#iefix') format('embedded-opentype'),  
	url('./assets/fonts/ACaslonPro-BoldItalic.otf')  format('opentype'),
	url('./assets/fonts/ACaslonPro-BoldItalic.woff') format('woff'), 
	url('./assets/fonts/ACaslonPro-BoldItalic.ttf')  format('truetype'), 
	url('./assets/fonts/ACaslonPro-BoldItalic.svg#ACaslonPro-BoldItalic') format('svg');
  font-weight: 700;
  font-style: italic;
}

body{
    font-family: "brandon-grotesque";
}

h1, h2, h3, h4, h5, h6, .faux-heading, .ff-headings {
    font-family: "adobe-caslon-pro";
}

.wp-custom-logo #site-header .header-titles {
    align-self: stretch;
    align-items: stretch;
}

.wp-custom-logo #site-header .header-titles .site-logo a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-custom-logo #site-header .header-titles .site-logo img {
    height: 90px;
    max-height: 90px;
    width: auto;
    display: block;
}

#site-header {
    background-color: #f7f5f7;
}

/* Legacy dual-row header navigation */
.lf-header-inner {
    background-color: #f7f5f7;
}

.lf-header-section {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 18px;
    padding-bottom: 12px;
    flex-wrap: wrap;
}

.lf-header-nav {
    flex: 1 1 620px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lf-header-row {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.lf-header-row-top {
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 16px;
}

.lf-header-row-bottom {
    justify-content: flex-end;
    flex-wrap: wrap;
    column-gap: 26px;
}

.lf-menu-container {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.lf-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: flex-end;
}

.lf-menu-top {
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: none;
    color: #7a8a83;
}

.lf-menu-primary {
    justify-content: flex-end;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b726f;
}

.lf-menu li {
    position: relative;
    white-space: nowrap;
}

.lf-menu a {
    color: inherit;
    text-decoration: none;
    padding: 6px 2px;
    transition: color 0.18s ease;
}

.lf-menu a:hover,
.lf-menu a:focus {
    color: #4f615c;
}

.lf-menu li.menu-item-has-children > a {
    padding-right: 14px;
}

.lf-menu li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-left: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-40%) rotate(-45deg);
    opacity: 0.6;
}

.lf-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f7f5f7;
    border: 1px solid #e6e4e6;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.07);
    padding: 10px 0;
    min-width: 200px;
    z-index: 5;
}

.lf-menu li:hover > ul,
.lf-menu li:focus-within > ul {
    display: block;
}

.lf-menu li ul li {
    display: block;
    width: 100%;
}

.lf-menu li ul a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.lf-header-search {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #7a8a83;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 6px 0;
}

.lf-header-search svg {
    width: 18px;
    height: 18px;
}

.lf-header-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 24px;
}

@media (min-width: 1100px) {
    .lf-header-search {
        margin-right: 12px;
    }
}

.lf-header-toggles {
    display: none;
}

.lf-header-toggles .bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lf-header-toggles .bar {
    width: 20px;
    height: 2px;
    background-color: #7a8a83;
}

.lf-menu-language-switcher {
    margin-top: 16px;
}

.lf-menu-modal-top {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e6e4e6;
}

@media (max-width: 1200px) {
    .lf-header-section {
        gap: 30px;
    }

    .lf-header-row-bottom {
        column-gap: 20px;
    }
}

@media (min-width: 1100px) {
    .lf-header-row-top {
        flex-wrap: nowrap;
    }

    .lf-header-row-bottom {
        justify-content: flex-end;
    }
}

@media (max-width: 1024px) {
    .lf-header-section {
        gap: 24px;
        padding-top: 20px;
    }

    .lf-menu {
        gap: 16px;
    }

    .lf-header-row-bottom {
        column-gap: 18px;
    }
}

@media (max-width: 900px) {
    .lf-header-nav {
        gap: 10px;
    }

    .lf-menu-container {
        display: none;
    }

    .lf-header-toggles {
        display: flex;
    }

    .lf-header-row-top {
        justify-content: space-between;
    }

    .lf-header-meta {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .header-titles {
        width: 100%;
    }

    .lf-header-section {
        padding-bottom: 12px;
    }
}

/* Remove site header bottom margin on front page */
.home #site-header,
body.home #site-header,
.is-front-page #site-header {
    margin-bottom: 0 !important;
}

/* Remove spacing on front page when header is empty */
article.no-header-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove spacing from featured media when header is empty */
article.no-header-content .featured-media {
    margin-top: 0 !important;
}

/* Remove spacing from post-inner when header is empty */
article.no-header-content .post-inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Also target front page articles more generally */
.home article.section-inner,
body.home article.section-inner {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* FOOTER STYLING - Legacy Site Recreation */
.lf-footer-cnt {
    min-height: 369px;
    width: 100%;
    background-color: #9bb1a7;
    padding-left: 5px;
    padding-right: 5px;
    height: 100%;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.lf-footer-inner {
    margin: auto;
    max-width: 1000px;
    min-height: 369px;
    overflow: hidden;
    padding: 0 20px;
}

.lf-footer-row-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    min-height: 100px;
    padding-top: 60px;
}

.lf-footer-primary-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 35px;
}

.lf-footer-col {
    flex: 0 0 auto;
}

.lf-footer-col-1,
.lf-footer-col-2,
.lf-footer-col-3 {
    margin-right: 40px;
}

.lf-footer-col-spacer {
    flex: 1 1 auto;
}

.lf-footer-col-social {
    margin-left: auto;
    text-align: right;
    margin-top: 5px;
}

.lf-footer-a {
    color: #f7f5f7;
    font-family: "brandon-grotesque";
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 36px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.lf-footer-a:hover {
    color: #cbd5d0;
}

.lf-footer-soc-link {
    display: inline-block;
    margin-left: 30px;
    transition: opacity 0.3s ease;
    vertical-align: middle;
}

.lf-footer-soc-link:first-child {
    margin-left: 0;
}

.lf-footer-soc-link:hover {
    opacity: 0.7;
}

.lf-footer-soc-ico {
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0.5);
    color: rgba(96, 117, 113, 1);
}

.lf-footer-soc-link:has(.lf-footer-soc-ico-gplus) {
    margin-left: 23px;
}

.lf-footer-row-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-bottom: 40px;
    gap: 0;
}

.lf-footer-bottom-left {
    flex: 0 0 25%;
    max-width: 25%;
}

.lf-footer-bottom-right {
    flex: 1 1 auto;
    padding-left: 40px;
    min-width: 0; /* Allow flex item to shrink */
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.lf-footer-pops {
    cursor: pointer;
    color: #d2e5dc;
    font-family: "brandon-grotesque";
    font-weight: 700;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 2px;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.lf-footer-pops:hover {
    color: #cbd5d0;
}

.lf-footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lf-footer-secondary-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lf-footer-secondary-links li {
    margin: 0;
    padding: 0;
}

.lf-footer-secondary-links a {
    cursor: pointer;
    color: #d2e5dc;
    font-family: "brandon-grotesque";
    font-weight: 700;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 2px;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.lf-footer-secondary-links a:hover {
    color: #cbd5d0;
}

.lf-footer-secondary-links li:first-child a {
    margin-top: 20px;
}

.lf-footer-sponsor-info {
    text-align: center;
    background-color: #94aaa0;
    padding: 20px 30px;
    border-radius: 4px;
    max-width: 500px;
    width: 100%;
    margin-left: auto;
}

.lf-footer-sponsor-txt {
    color: rgba(95, 116, 112, 1);
    font-family: "brandon-grotesque";
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1.5px;
    line-height: 22px;
    text-transform: uppercase;
    padding-top: 10px;
    margin-bottom: 8px;
    display: block;
    max-width: 100%;
    text-align: center;
}

.lf-footer-sponsor-img {
    margin-bottom: 24px;
    margin-top: 8px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.lf-footer-sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.lf-footer-sponsor-logos img {
    max-height: 90px;
    width: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lf-footer-row-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lf-footer-col {
        margin-bottom: 20px;
    }
    
    .lf-footer-col-social {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .lf-footer-row-bottom {
        flex-direction: column;
    }
    
    .lf-footer-bottom-left {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .lf-footer-bottom-right {
        padding-left: 0;
    }
}

/* NEWS LIST PAGE STYLING - Legacy Site Recreation */
.lf-news-page {
    padding-top: 40px;
    padding-bottom: 30px;
}

.lf-news-page-title {
    margin-bottom: 30px;
}

.lf-news-page-intro {
    margin-top: -10px;
    margin-bottom: 30px;
    color: #5f7470;
    font-family: "brandon-grotesque";
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
}

.lf-news-datablock {
    color: #5f7470;
    margin-bottom: 20px;
}

.lf-news-cnt {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px 30px;
    align-items: start;
}

/* Slightly larger gap on wide screens */
@media (min-width: 1200px) {
    .lf-news-cnt {
        gap: 25px 40px;
    }
}

/* Larger gap on very wide screens */
@media (min-width: 1600px) {
    .lf-news-cnt {
        gap: 25px 60px;
    }
}

/* Year separator spans full width */
.lf-news-cnt .lf-news-year-separator {
    grid-column: 1 / -1;
    margin-left: 0;
}

.lf-news-itm {
    background-color: #fff;
    border-radius: 6px;
    min-height: 475px;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.lf-news-itm-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 475px;
}

.lf-news-itm-img {
    height: 154px;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.lf-news-itm-ttl {
    color: #5f7470;
    display: block;
    font-family: "adobe-caslon-pro";
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 20px;
    padding: 25px 25px 0;
    text-align: left;
    position: relative;
    flex-shrink: 0;
}

.lf-news-itm-type {
    color: #c7c2c6;
    font-family: "brandon-grotesque";
    font-weight: 500;
    font-size: 11px;
    line-height: 22px;
    text-transform: uppercase;
    padding: 0 25px 16px;
    position: relative;
}

.lf-news-itm-desc {
    flex: 1;
    margin-bottom: 0;
    color: #5f7470;
    font-family: "brandon-grotesque";
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    max-height: 113px;
    overflow: hidden;
    padding: 0 25px;
    text-align: left;
    position: relative;
}

.lf-news-itm-date-d {
    color: #efedef;
    font-size: 23px;
    line-height: 18px;
}

.lf-news-itm-date-m {
    color: #efedef;
    font-size: 15px;
    line-height: 18px;
}

.lf-news-itm-datnum-cnt {
    border-radius: 4px;
    height: 69px;
    left: 25px;
    overflow: hidden;
    top: 95px;
    width: 50px;
    z-index: 1;
    position: absolute;
}

.lf-news-itm-datnum-dat {
    background-color: #5f7470;
    color: #efedef;
    font-family: "brandon-grotesque";
    font-weight: 700;
    font-size: 23px;
    height: 69px;
    line-height: 18px;
    padding-top: 18px;
    text-align: center;
    width: 100%;
    position: absolute;
}

.lf-news-year-separator {
    color: #5f7470;
    font-family: "adobe-caslon-pro";
    font-weight: 700;
    font-size: 40px;
    line-height: 44px;
    padding-top: 60px;
    width: 100%;
    display: inline-block;
}

.lf-news-itm-readmore-cnt {
    margin-top: auto;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    width: 100%;
    position: relative;
}

.lf-main-misc-item-a {
    color: #5f7470;
    font-family: "brandon-grotesque";
    font-weight: 700;
    position: relative;
    z-index: 0;
    display: inline-block;
    text-decoration: none;
}

.lf-main-misc-item-a:hover {
    color: #5f7470;
}

.lf-main-misc-item-a:after {
    background-color: #1f2f2c;
    bottom: 2px;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.2;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    position: absolute;
    transform: scaleY(0.16);
    -webkit-transform: scaleY(0.16);
    transform-origin: center bottom 0;
    -webkit-transform-origin: center bottom 0;
    width: 100%;
    z-index: -1;
    transition: all 0.1s ease-out 0s;
    -webkit-transition: all 0.1s ease-out 0s;
    -moz-transition: all 0.1s ease-out 0s;
    -o-transition: all 0.1s ease-out 0s;
}

.lf-main-misc-item-a:hover:after {
    transform: scaleY(0.76);
    -webkit-transform: scaleY(0.76);
    color: #5f7470;
}

/* Common title classes */
.lf-common-textarea-title {
    font-family: "adobe-caslon-pro";
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    padding-bottom: 40px;
    text-align: left;
    padding-left: 80px;
}

.lf-common-textarea-title-left {
    padding-left: 0px;
}

/* Utility classes */
.inlineblock {
    display: inline-block;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lf-news-extras {
    margin-top: 60px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #e6e4e6;
}

.lf-news-extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.lf-news-extra-block {
    background-color: #f7f5f7;
    border-radius: 6px;
    padding: 25px 25px 30px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #e8e5e8;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.lf-news-extra-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dedbde;
}

.lf-news-extra-title {
    font-family: "adobe-caslon-pro";
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #5f7470;
    margin: 0;
}

.lf-news-gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.lf-news-gallery-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lf-news-gallery-thumb {
    overflow: hidden;
    border-radius: 4px;
    background-color: #e6e4e6;
    position: relative;
    aspect-ratio: 4 / 3;
}

.lf-news-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.lf-news-gallery-thumb-placeholder {
    width: 100%;
    padding-top: 65%;
    background-color: #e6e4e6;
    border-radius: 4px;
}

.lf-news-gallery-item-title {
    font-family: "brandon-grotesque";
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #5f7470;
}

.lf-news-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.lf-news-gallery-item:hover .lf-news-gallery-thumb img {
    transform: scale(1.03);
}

.lf-news-press-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lf-news-press-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 12px;
    padding-top: 4px;
    background-color: #fdfcfd;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 4px;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.lf-news-press-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lf-news-press-link {
    display: block;
    color: #006600;
    font-family: "brandon-grotesque";
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    text-decoration: none;
    margin-bottom: 4px;
    word-break: break-word;
}

.lf-news-press-link:hover {
    color: #004400;
}

.lf-news-press-date {
    color: #5f7470;
    font-family: "brandon-grotesque";
    font-weight: 500;
    font-size: 12px;
    text-transform: lowercase;
    display: inline-block;
    margin-bottom: 4px;
}

.lf-news-press-excerpt {
    font-family: "brandon-grotesque";
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #5f7470;
    margin-top: 4px;
}

.lf-news-press-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

/* Responsive adjustments for news list */
@media (max-width: 768px) {
    .lf-news-cnt {
        grid-template-columns: 1fr;
        gap: 25px;
        justify-items: center;
    }
    
    .lf-news-itm {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .lf-news-cnt {
        gap: 20px;
    }

    .lf-news-itm {
        min-height: auto;
    }

    .lf-news-extras-grid {
        grid-template-columns: 1fr;
    }

    .lf-news-extra-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Language Switcher Styling */
.header-language-switcher {
    display: inline-block;
    margin-left: 0;
    vertical-align: middle;
}

.header-language-switcher .wpm-language-switcher {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-language-switcher .wpm-language-switcher li {
    margin: 0;
    padding: 0;
    position: relative;
}

.header-language-switcher .wpm-language-switcher a,
.header-language-switcher .wpm-language-switcher span {
    color: #7a8a83;
    text-decoration: none;
    font-family: "brandon-grotesque";
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 6px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-language-switcher .wpm-language-switcher a:hover {
    color: #4f615c;
}

.header-language-switcher .wpm-language-switcher .active span {
    color: #4f615c;
}

.header-language-switcher .wpm-language-switcher img {
    display: none;
}

.header-language-switcher .wpm-language-switcher a[data-lang]::before,
.header-language-switcher .wpm-language-switcher span[data-lang]::before {
    content: attr(data-lang);
}

.header-language-switcher .wpm-language-switcher a[data-lang] span,
.header-language-switcher .wpm-language-switcher span[data-lang] span {
    display: none;
}

/* Primary Green Color (#006600) Styling */
a {
    color: #006600;
}

a:hover,
a:focus {
    color: #004400;
}

/* Apply green color to buttons and interactive elements */
.wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"] {
    background-color: #006600;
    border-color: #006600;
}

.wp-block-button__link:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #004400;
    border-color: #004400;
}

/* Green accent for links in content */
.entry-content a,
.post-content a {
    color: #006600;
}

.entry-content a:hover,
.post-content a:hover {
    color: #004400;
}

/* Archive Sidebar Styling */
.archive-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.archive-main-content {
    flex: 1 1 auto;
    min-width: 0;
}

.archive-sidebar {
    flex: 0 0 300px;
    max-width: 300px;
}

.archive-sidebar-section {
    margin-bottom: 40px;
}

.archive-sidebar-title {
    font-family: "adobe-caslon-pro";
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #5f7470;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #006600;
}

.archive-sidebar-gallery-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.archive-sidebar-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.archive-sidebar-gallery-item:hover {
    transform: scale(1.05);
}

.archive-sidebar-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.archive-sidebar-press-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-sidebar-press-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.archive-sidebar-press-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.archive-sidebar-press-item a {
    color: #006600;
    text-decoration: none;
    font-family: "brandon-grotesque";
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.archive-sidebar-press-item a:hover {
    color: #004400;
}

.archive-sidebar-press-date {
    color: #5f7470;
    font-family: "brandon-grotesque";
    font-weight: 300;
    font-size: 12px;
    display: block;
}

/* Responsive adjustments for archive sidebar */
@media (max-width: 1024px) {
    .archive-content-wrapper {
        flex-direction: column;
    }
    
    .archive-sidebar {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .archive-sidebar-gallery-items {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .archive-sidebar-gallery-item {
        flex: 0 0 calc(33.333% - 10px);
    }
}

/* Homepage News and Events Sections */
.homepage-news-sections {
    margin: 60px auto;
    padding: 0;
}

.homepage-news-section {
    margin-bottom: 60px;
}

.homepage-news-section:last-child {
    margin-bottom: 0;
}

.homepage-news-section-title {
    font-family: "adobe-caslon-pro";
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    color: #5f7470;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #006600;
}

.homepage-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.homepage-news-more {
    text-align: right;
    margin-top: 20px;
}

.homepage-news-more a {
    color: #006600;
    text-decoration: none;
    font-family: "brandon-grotesque";
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.homepage-news-more a:hover {
    color: #004400;
    text-decoration: underline;
}

/* Homepage Events Section */
.homepage-events-section {
    margin: 60px auto;
    padding: 0;
}

.homepage-events-section-title {
    font-family: "adobe-caslon-pro";
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    color: #5f7470;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #006600;
}

.homepage-events-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.homepage-event-item {
    padding: 20px;
    background-color: #f7f5f7;
    border-left: 4px solid #006600;
    border-radius: 4px;
}

.homepage-event-date {
    font-family: "brandon-grotesque";
    font-weight: 700;
    font-size: 14px;
    color: #006600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.homepage-event-title {
    font-family: "adobe-caslon-pro";
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 10px;
}

.homepage-event-title a {
    color: #5f7470;
    text-decoration: none;
    transition: color 0.3s ease;
}

.homepage-event-title a:hover {
    color: #006600;
}

.homepage-event-excerpt {
    font-family: "brandon-grotesque";
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #5f7470;
    margin-bottom: 15px;
}

.homepage-event-more {
    margin-top: 10px;
}

.homepage-event-more a {
    color: #006600;
    text-decoration: none;
    font-family: "brandon-grotesque";
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.homepage-event-more a:hover {
    color: #004400;
    text-decoration: underline;
}

.homepage-events-more {
    text-align: right;
    margin-top: 20px;
}

.homepage-events-more a {
    color: #006600;
    text-decoration: none;
    font-family: "brandon-grotesque";
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.homepage-events-more a:hover {
    color: #004400;
    text-decoration: underline;
}

/* Responsive adjustments for homepage sections */
@media (max-width: 768px) {
    .homepage-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .homepage-news-section-title,
    .homepage-events-section-title {
        font-size: 28px;
        line-height: 34px;
    }
    
    .homepage-event-item {
        padding: 15px;
    }
}
