/*B5v2.2 082025*/
/* --- 1. Global & Root --- */
/* Gotham via PGM's Adobe Fonts kit yub6dat (gotham 400/700, plus gotham-narrow, -condensed, -xnarrow) */
@import url("https://use.typekit.net/yub6dat.css");
:root {
  --white: #FFFFFF;
  --black: #000000;
  --primary: #006456; /*BRAND COLOR - FSC --mainGreen (farmingdale.edu) / brand-page "primary green"*/
  --secondary: #CC9933; /*BRAND COLOR - FSC web gold*/
  --success: #D7F5F8; /*BRAND COLOR - FSC light teal*/
--light: color-mix(in srgb, var(--secondary) 12%, var(--white) 88%);
--dark: color-mix(in srgb, var(--primary), var(--black) 70%);
--danger: color-mix(in srgb, var(--black), var(--primary) 10%);
--warning: color-mix(in srgb, var(--black), var(--secondary) 20%);
--info: color-mix(in srgb, var(--primary), var(--secondary) 40%);
}
*{ box-sizing: border-box; }
html, body { background-color: var(--white); font-family: 'gotham', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 400; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none !important; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-2 { font-family: 'gotham', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; }
ul { list-style: none; margin: 0; padding: 0; }
p { color: var(--black); line-height: 25px; }
img { max-width: 100%; height: auto; }
ul.square-list { margin-inline-start: 20px; }
ul.square-list > li { list-style-type: square; }
.object-fit-cover { width: 100%; height: 100%; object-fit: cover; }
:focus-visible { outline: 2px dashed var(--primary); outline-offset: 1px; }
.offscreen { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(1px 1px 1px 1px); }
.skip-to-content.offscreen:focus { position: relative; display: inline; }
legend { font-size: 16px; margin-top: 15px; }
.form-group { margin-bottom: 15px !important; }

/* --- 2. Utilities --- */
.bg-dark { background-color: var(--black) !important; color: var(--white) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-danger { background-color: var(--danger) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-black { background-color: var(--black) !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-dark { color: var(--dark) !important; }
.text-light { color: var(--light) !important; }
.text-white { color: var(--white) !important; }
.text-black { color: var(--black) !important; }
.border-primary { border-color: var(--primary) !important; }
.border-secondary { border-color: var(--secondary) !important; }
.border-success { border-color: var(--success) !important; }
.border-danger { border-color: var(--danger) !important; }
.border-warning { border-color: var(--warning) !important; }
.border-info { border-color: var(--info) !important; }
.border-dark { border-color: var(--dark) !important; }
.border-light { border-color: var(--light) !important; }
.border-white { border-color: var(--white) !important; }
.border-black { border-color: var(--black) !important; }

/* --- 3. Header (Revised for Flexible Height) --- */
.background-header { position: fixed !important; top: 0 !important; left: 0; right: 0; z-index: 100; transition: all .5s ease; }
.header-area { background-color: var(--white); position: relative; transition: all .5s ease; z-index: 100; }
.header-area .main-nav { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; }
.header-area .main-nav .logo { flex-shrink: 0; }
.header-area .main-nav a.logo > img { display: block; height: 30px; width: auto; }
.header-area .main-nav .nav { display: none; align-items: center; gap: 15px; }
.header-area .main-nav .nav li a { display: block; color: var(--black); font-size: 15px; font-weight: 700; padding: 10px 0; transition: all 0.3s ease; }
.header-area .main-nav .nav li:hover a, .header-area .main-nav .nav li a.active { color: var(--primary) !important; text-decoration: underline !important; }
.background-header .main-nav .nav li:hover a, .background-header .main-nav .nav li a.active { color: var(--primary) !important; text-decoration: underline !important; }
.header-area .main-nav .nav li.has-sub { position: relative; padding-right: 15px; }
.header-area .main-nav .nav li.has-sub:after { color: var(--white); content: "\f107"; font-family: FontAwesome; font-size: 12px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.header-area .main-nav .nav li.has-sub:hover ul.sub-menu { opacity: 1; transform: translateY(0); visibility: visible; z-index: 1; }
.header-area .main-nav .nav li.has-sub ul.sub-menu { background: var(--white); box-shadow: 0 2px 28px rgba(0,0,0,.06); opacity: 0; position: absolute; top: 100%; transform: translateY(1em); transition: all .3s; visibility: hidden; width: 200px; }
.header-area .main-nav .nav li.has-sub ul.sub-menu li a { color: var(--black) !important; font-size: 13px; font-weight: 400; padding: 10px 20px; border-bottom: 1px solid var(--info); }
.header-area .main-nav .nav li.has-sub ul li a:hover { background: var(--success); color: var(--primary) !important; padding-left: 25px; }
.header-area .main-nav .menu-trigger { cursor: pointer; display: block; height: 40px; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); text-indent: -9999em; width: 32px; z-index: 99; border: 0; background: transparent; padding: 0; }
.header-area .main-nav .menu-trigger span, .header-area .main-nav .menu-trigger span:before, .header-area .main-nav .menu-trigger span:after { background-color: var(--black); display: block; height: 2px; position: absolute; transition: all 0.4s; width: 30px; }
.header-area .main-nav .menu-trigger span:before, .header-area .main-nav .menu-trigger span:after { content: ""; }
.header-area .main-nav .menu-trigger span { top: 16px; }
.header-area .main-nav .menu-trigger span:before { top: -10px; transform-origin: 33% 100%; }
.header-area .main-nav .menu-trigger span:after { top: 10px; transform-origin: 33% 0; }
.header-area .main-nav .menu-trigger.active span { background-color: transparent; }
.header-area .main-nav .menu-trigger.active span:before { background-color: var(--black); transform: translateY(6px) translateX(1px) rotate(45deg); }
.header-area .main-nav .menu-trigger.active span:after { background-color: var(--black); transform: translateY(-6px) translateX(1px) rotate(-45deg); }
.sub-header {font-size:.84rem;}

/* --- 4. Page Sections & Components --- */
section.heading-page, section.landing-header, section.donor-header { background-repeat: no-repeat; background-size: cover; padding: 230px 0 110px; text-align: center; }
section.heading-page { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url(/assets/images/heading-bg.jpg); background-position: center 10%; }
section.landing-header { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url(/assets/images/landing-bg.jpg); background-position: center 15%; }
section.donor-header { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url(/assets/images/donor-bg.jpg); background-position: center center; }
section.heading-page h6, section.heading-page .h6, section.landing-header h6, section.landing-header .h6, section.donor-header h6, section.donor-header .h6 { color: var(--white); font-size: 15px; letter-spacing: 1px; margin-top: 0; }
section.heading-page h2, section.heading-page .h2, section.landing-header h2, section.landing-header .h2, section.donor-header h2, section.donor-header .h2 { color: var(--white); font-size: 36px; letter-spacing: 1px; margin: 20px 0; }
section.landing-page, section.donor-page, section.downloads-page { padding-top: 30px; padding-bottom: 0; }
.main-banner { position: relative; max-height: 600px; overflow: hidden; background-color: var(--black); height: calc(100vh - 41px); }
#bg-video { width: 100%; height: 600px; z-index: 0; overflow: hidden; }
.owl-main.owl-carousel .owl-item img { width: 100%; height: 600px; object-fit: cover; }
.video-overlay { background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 0%); position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.main-banner .caption { max-width: 425px; background-color: var(--light); z-index: 2; pointer-events: all; text-align: left; color: var(--dark) !important; }
.services { margin-top: -135px; position: absolute; width: 100%; }
.services .item { background: var(--primary); background-position: center; background-repeat: no-repeat; background-size: cover; border-radius: 20px; color: var(--white); padding: 40px; text-align: center; }
.services .item .icon { margin: 0 auto; max-width: 100px; }
.services .item p { color: var(--white); font-size: 13px; }
.services .item p.h4 > a { color: var(--white); font-size: 18px; font-weight: 700; margin: 25px 0 15px; }
.owl-custom-nav .owl-nav { display: none; }
.owl-custom-nav .owl-nav .owl-prev span, .owl-custom-nav .owl-nav .owl-next span { opacity: 0; }
.owl-custom-nav .owl-nav .owl-prev, .owl-custom-nav .owl-nav .owl-next { position: absolute; top: 50%; transform: translateY(-50%); outline: none; transition: opacity .5s; }
.owl-custom-nav .owl-nav .owl-prev:before, .owl-custom-nav .owl-nav .owl-next:before { background-color: var(--white); border-radius: 50%; color: var(--black); display: inline-block; font-family: 'FontAwesome'; font-size: 25px; font-weight: 700; height: 50px; line-height: 50px; width: 50px; }
.owl-custom-nav .owl-nav .owl-prev:hover, .owl-custom-nav .owl-nav .owl-next:hover { opacity: 0.9; }
.owl-custom-nav .owl-nav .owl-prev { left: -80px; }
.owl-custom-nav .owl-nav .owl-prev:before { content: '\f104'; }
.owl-custom-nav .owl-nav .owl-next { right: -85px; }
.owl-custom-nav .owl-nav .owl-next:before { content: '\f105'; }
.image-extend-right-wrapper { width: 100%; }
.image-extend-right-wrapper img { width: 100%; height: auto; display: block; }
.society-section { background-image: url('/assets/images/parallax.jpg'); background-position: top center; background-repeat: no-repeat; background-size: cover; }
.contact-us { background-image: url('/assets/images/parallax.jpg'); background-position: top center; background-repeat: no-repeat; background-size: cover; }
section.upcoming-how-to-give { background-color: var(--success); }
section.upcoming-how-to-give .categories { background-color: var(--white); margin-right: 45px; padding: 40px; }
section.upcoming-how-to-give .categories h3 { border-bottom: 1px solid var(--light); color: var(--primary); font-size: 18px; font-weight: 700; margin-bottom: 30px; padding-bottom: 20px; }
/* Card Base & Hover Interaction */
.transition { transition: all 0.35s ease-in-out; }
.give-item { border-top: 5px solid var(--primary) !important; border-radius: 8px; }
.give-item-lead-in {letter-spacing: 1.5px;font-weight:bold;}
.give-item:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important; }
/* Icon & Icon Box Styling */
.give-icon { fill: var(--primary) !important; height:30px; width:30px; transition: all 0.3s ease-in-out; }
.icon-box { background: var(--light) !important; border: 2px solid var(--primary) !important; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; height: 60px; width: 60px; transition: all 0.3s ease-in-out; }
.give-item:hover .icon-box { background: var(--primary) !important; border-color: var(--primary) !important; transform: scale(1.05); }
.give-item:hover .give-icon { fill: var(--white) !important; }
.our-courses .item .down-content { background-color: var(--white); height: 100%; }
.our-courses .item .down-content h3.h4 { border-bottom: 1px solid var(--light); color: var(--primary); font-size: 18px; padding: 25px; text-align: center; font-weight: 700; }
.our-courses .item .down-content .info { padding: 25px; }
.our-courses .item .down-content .info ul li { display: inline-block; margin-right: 1px; }
.our-courses .item .down-content .info ul li i { color: var(--primary); font-size: 14px; }
.our-courses .item .down-content .info span { color: var(--primary); display: inline-block; font-size: 15px; font-weight: 700; text-align: right; width: 100%; }
.our-courses .owl-dots { display: inline-block; margin-top: 40px; text-align: center; width: 100%; }
.our-courses .owl-dots .owl-dot { background-color: var(--white); border-radius: 50%; height: 7px; margin: 0px 5px; outline: none; transition: all .5s; width: 7px; }
.our-courses .owl-dots .active { border-radius: 4px; height: 8px; width: 24px; }
.services .owl-stage, #donors .owl-stage { display: flex; }
.services .owl-item, #donors .owl-item { display: flex; align-items: stretch; }
.services .item, #donors .item { height: 100%; }
.donors-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.donor-controls { display: flex; align-items: center; gap: 10px; }
.donor-controls .custom-nav-btn { background: none; border: none; color: var(--info); font-size: 24px; cursor: pointer; padding: 5px; line-height: 1; }
.donor-controls .custom-nav-btn:hover { color: var(--dark); }
.owl-stop-button { width: 40px; height: 40px; background-color: var(--info); border: none; border-radius: 50%; color: var(--dark); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .3s; }
.owl-stop-button:hover { background-color: #ddd; }
#donors .card {border-radius: 0;}
section.contact-us #contact input:not([type='submit']) { background-color: var(--white); border: none; height: 40px; margin-bottom: 10px; outline: none; padding: 0px 15px; width: 100%; }
section.contact-us #contact textarea { background-color: var(--white); border: none; border-radius: 20px; color: #7a7a7a; font-size: 13px; margin-bottom: 30px; max-height: 180px; min-height: 140px; outline: none; padding: 15px; width: 100%; }
section.contact-us #contact button { background-color: var(--primary); border: none; color: var(--white); display: inline-block; font-size: 13px; font-weight: 700; outline: none; padding: 12px 30px; transition: all .3s; }
section.contact-us #contact button:hover { opacity: 0.9; }
section.contact-us .right-info-2 { background-color: var(--white); z-index: 2; pointer-events: all; text-align: left; color: var(--dark) !important; }
.contact-image { border-radius: 50%; max-width: 125px; margin-bottom: 1em; }
.fsc-contact-panel .contact-image { aspect-ratio: 1; border: 3px solid #CC9933; flex: 0 0 auto; height: auto; margin-bottom: 0; object-fit: cover; object-position: center 15%; width: 110px; }
.fsc-contact-panel__person { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 16px 20px; margin-bottom: 1.5rem; }
.fsc-contact-panel__person .fsc-contact-panel__details { flex: 1 1 200px; margin-bottom: 0; min-width: 0; }
#radio1, #radio2, #radio3 { height: 15px !important; display: inline-block; width: auto !important; margin-bottom: 0 !important; }
#contactForm label, label { display: inline-block !important; }
._checkbox-radio { display: flex; }
._checkbox-radio input { width: 15px !important; height: 15px !important; }
.donor-image-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: 75%; }
.donor-image-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;border-radius:0}

/* --- 5. Buttons --- */
.btn { border-radius: 0px; text-align: left !important; }
.btn-primary {color: var(--white);border-color: var(--primary); background-color: var(--primary); cursor: pointer; transition: all 0.2s ease-in-out; }
.btn-primary:hover, .btn-primary:focus { color: var(--white); background-color: var(--black); border-color: var(--black); text-decoration: none; }
.btn-primary:focus { outline: 0; box-shadow: 0 0 0 0.25rem var(--light); }
.btn-primary:disabled, .btn-primary.disabled { color: var(--primary); background-color: transparent; border-color: var(--primary); opacity: 0.65; cursor: not-allowed; pointer-events: none; }

/* --- 6. Footer --- */
.footer-section { font-size: .75rem; padding: 1rem; }

/* --- 7. Media Queries --- */
@media (max-width: 991px) { .mobile-top-fix { margin-top: 30px; } .mobile-bottom-fix { margin-bottom: 30px; } .mobile-bottom-fix-big { margin-bottom: 60px; } .main-banner .caption h2 { font-size: 22px; margin-bottom: 10px; margin-top: 10px; } .services { margin-top: -135px; } section.upcoming-how-to-give { padding: 20px 0 0; } section.upcoming-how-to-give .categories { margin: 0 0 30px; } section.contact-us #contact { margin-bottom: 30px; } section.society-section { padding: 30px 0; } section.our-courses, section.contact-us { padding-top: 30px; padding-bottom: 20px; } }
@media (max-width: 767px) { .header-area { padding: 0 15px; } .header-area .main-nav .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); } .header-area .main-nav .nav li { width: 100%; padding: 0 !important; border-bottom: 1px solid var(--info); } .header-area .main-nav .nav li:first-child { border-top: 1px solid var(--info); } .header-area .main-nav .nav li a { color: var(--dark) !important; padding: 15px 20px !important; height: auto !important; line-height: normal !important; } .header-area .main-nav .nav li a:hover { background: var(--success) !important; color: var(--primary) !important; } .header-area .main-nav .nav li.has-sub ul.sub-menu { display: none; } .display-2 { font-size: calc(1.2rem + 1.9vw); } .donor-controls { display: none; } }
@media (min-width: 768px) { .header-area .main-nav .nav { display: flex !important; } .header-area .main-nav .menu-trigger { display: none !important; } .owl-nav { display: none; } }
@media (min-width: 992px) { .image-extend-right-wrapper { width: calc(100% + 100px); } .image-extend-right-wrapper img { max-width: none; } .header-area .main-nav a.logo > img { height: 60px;} }
@media (min-width: 1006px) { .owl-custom-nav .owl-nav { display: block !important; } }

/* --- 8. Print Styles --- */
@media print {
  .print-logo { height: 75px; width: auto; margin: 0; }
  .print-header-text { font-size: 11px; align-self: center; }
  body, p, blockquote { font-size: 13px; line-height: 18px; }
  h1, .h1 { font-size: 28px; }
  h2, .h2 { font-size: 21px; }
  h3, .h3 { font-size: 18px; }
  h4, .h4 { font-size: 16px; }
  h5, .h5 { font-size: 14px; }
  h6, .h6 { font-size: 12px; }
  .mb-3 { margin-bottom: 10px !important; }
  .container { width: 100% !important; max-width: 100% !important; }
  .footer-section, .header-area, .sub-header, section.heading-page { display: none !important; }
  footer .btn { display: none !important; }
  html { height: 100%; }
  body { display: flex; flex-direction: column; min-height: 100%; }
  main { flex: 1 0 auto; }
  footer { flex-shrink: 0; padding-top: 2em; }
  footer .container, footer p { margin: 0 !important; padding: 0 !important; }
}
@page { size: 8.5in 11in; margin: .5in; }
/* --- FSC: wide horizontal lockup (~11:1) - size by width, not the template's fixed height, so it never crowds the menu --- */
.header-area .main-nav a.logo > img { height: auto; width: min(320px, calc(100vw - 110px)); }
@media (min-width: 992px) { .header-area .main-nav a.logo > img { height: auto; width: 340px; } }
@media (min-width: 1200px) { .header-area .main-nav a.logo > img { width: 440px; } }
/* FSC print/PDF header: logo left, contact block right behind a gold rule, green bar underneath */
@media print {
  .fsc-print-header { align-items: center; border-bottom: 4px solid #006456; gap: .3in; justify-content: space-between; margin-bottom: .25in; padding-bottom: .15in; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fsc-print-header .print-logo { flex: 0 0 auto; height: auto !important; width: 3.6in; max-width: 55%; }
  .fsc-print-header .print-header-text { border-left: 2px solid #CC9933; color: #231F20; font-size: 9.5pt; line-height: 1.45; padding-left: .18in; text-align: left; }
  .fsc-print-header .print-header-text p { color: #231F20; line-height: 1.45; margin: 0; }
  .fsc-print-header .print-header-text__office { color: #006456 !important; font-size: 10pt; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
  .fsc-print-header .print-header-text__label { color: #006456; font-weight: 700; }
  .fsc-print-header .print-header-text__sep { color: #8C8C8C; margin: 0 .35em; }
}

/* --- FSC nav: uppercase with divider lines, like farmingdale.edu interior pages (white header kept) --- */
@media (min-width: 768px) {
  .header-area .main-nav .nav { gap: 0; }
  .header-area .main-nav .nav > li > a { color: #231F20; font-size: 12px; font-weight: 700; letter-spacing: .5px; line-height: 1; padding: 10px 12px; text-transform: uppercase; }
  .header-area .main-nav .nav > li { position: relative; }
  .header-area .main-nav .nav > li + li::before { background-color: #8C8C8C; content: ""; height: 14px; left: 0; position: absolute; top: 50%; transform: translateY(-50%); width: 1px; } /* short divider, like farmingdale.edu */
  .header-area .main-nav .nav > li:last-child > a { padding-right: 0; }
  .header-area .main-nav .nav > li > a { white-space: nowrap; } /* a link never breaks across two lines */
}
/* 768-991: nav sits on its own row (696px); slightly smaller links so all 5 stay on one line */
@media (min-width: 768px) and (max-width: 991px) {
  .header-area .main-nav .nav > li > a { font-size: 11px; letter-spacing: .2px; padding-left: 8px; padding-right: 8px; }
}
/* 1200-1399 (Bootstrap container 1140): the 5-link nav needs ~760px, so a 440px logo forced a wrap.
   Smaller logo + slightly tighter links keep logo and nav on one line. */
@media (min-width: 1200px) and (max-width: 1399px) {
  .header-area .main-nav a.logo > img { width: 330px; }
  .header-area .main-nav .nav > li > a { padding-left: 10px; padding-right: 10px; }
}
/* tablet/small desktop: nav gets its own centered row under the logo instead of wrapping (one line needs >= 1200px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .header-area .main-nav { flex-wrap: wrap; justify-content: center; }
  .header-area .main-nav .nav { justify-content: center; padding-bottom: 6px; width: 100%; }
}

/* --- FSC homepage hero (matches farmingdale.edu): full-bleed photo, no caption box, no color tint -
   a black gradient left->right behind the left-aligned caption keeps white text >= 4.5:1 (>= .55
   black under the whole caption width; body text 19px bold = WCAG large text, 3:1); caption bold with drop shadow, uppercase headline,
   green-outlined button. Height = viewport minus header (and cookie banner while shown); --hero-offset is measured by the script
   in includes/slider.cfm (74px fallback = desktop header). --- */
.main-banner { height: calc(100svh - var(--hero-offset, 74px)); max-height: none; min-height: 420px; }
#bg-video, .owl-main.owl-carousel .owl-item img { height: calc(100svh - var(--hero-offset, 74px)); min-height: 420px; }
.main-banner .video-overlay { background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,0) 80%); }
.main-banner .caption { background: none; color: var(--white) !important; max-width: 640px; text-align: left; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.main-banner .caption > div { padding: 1rem 0 !important; }
.main-banner .caption p { color: var(--white); font-size: 19px; font-weight: 700; line-height: 1.5; }
.main-banner .caption p:first-child { color: #FFD050; font-size: 15px; letter-spacing: 2px; margin-bottom: .5rem; text-transform: uppercase; } /* FSC "gold on green" web color */
.main-banner .caption h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: .5px; line-height: 1.1; text-transform: uppercase; text-wrap: balance; }
.main-banner .caption .btn-primary { background-color: rgba(0,0,0,.25); border: 2px solid var(--primary); border-radius: 0; color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; padding: 10px 22px; text-shadow: none; text-transform: uppercase; }
.main-banner .caption .btn-primary:hover, .main-banner .caption .btn-primary:focus { background-color: var(--primary); border-color: var(--primary); color: var(--white); }
@media (max-width: 767px) { .main-banner .video-overlay { background: rgba(0,0,0,.45); } } /* caption spans full width on phones */
/* prev/next arrows grouped bottom-right beside the pause button (like farmingdale.edu) so they never sit on the left-aligned caption */
.main-banner .custom-owl-nav { top: auto !important; bottom: 20px !important; transform: none !important; }
.main-banner .custom-owl-nav.owl-prev { left: auto !important; right: 116px !important; }
.main-banner .custom-owl-nav.owl-next { right: 68px !important; }

/* --- FSC: headlines are green throughout farmingdale.edu. Dark/photo contexts keep white text
   (hero caption, page headers, .services cards, society section all set their own white). --- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--primary); }
.bg-primary :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6),
.bg-dark :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6),
.services .item :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) { color: inherit; }

/* --- FSC 1912 Legacy Society: torn-paper photo band like farmingdale.edu's athletics section.
   White logo above centered copy, no box. Tear images are 1920px wide (90px / 117px tall), so the
   padding scales with the viewport to keep copy clear of them. .55 black over the photo keeps
   white text >= 4.5:1. --- */
.society-torn { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('/assets/images/parallax.jpg'); background-position: center; background-size: cover; padding: calc(4.7vw + 48px) 0 calc(6.1vw + 48px); position: relative; }
.society-tear { height: auto; left: 0; pointer-events: none; position: absolute; width: 100%; z-index: 1; }
.society-tear-top { top: -1px; }
.society-tear-bottom { bottom: -1px; }
.society-copy { color: var(--white); position: relative; text-shadow: 0 2px 8px rgba(0,0,0,.6); z-index: 2; }
.society-torn .society-copy h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.25rem); text-transform: uppercase; }
.society-torn .society-copy p { color: var(--white); font-size: 17px; font-weight: 700; line-height: 1.6; }
.society-logo { display: block; height: auto; margin: 0 auto 1.5rem; width: min(320px, 70%); }
.society-torn .btn-primary { border-radius: 0; font-size: 14px; font-weight: 700; letter-spacing: 1px; margin: 4px 2px; padding: 10px 22px; text-shadow: none; text-transform: uppercase; }
.society-torn .btn-primary:hover, .society-torn .btn-primary:focus { background-color: #004846; border-color: #004846; color: var(--white); }

/* --- FSC section intro (like farmingdale.edu): gold eyebrow, big uppercase green headline with a gold
   brushstroke under it, centered copy, outlined button with gold text and gradient lines either side.
   #856514 = FSC "gold on white" web color (5:1+ on white). --- */
.fsc-eyebrow { color: #856514; font-size: 15px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: .35rem; text-transform: uppercase; }
.fsc-intro { padding: 1.5rem 0; }
.fsc-intro p { font-size: 17px; line-height: 1.6; margin-left: auto; margin-right: auto; max-width: 820px; }
.fsc-brush-heading { color: var(--primary); font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.12; margin-bottom: .5rem; text-transform: uppercase; text-wrap: balance; }
/* farmingdale.edu's gold brushstroke SVG (in whygive.cfm); the clip rect animates 0 -> full width, like their "reveal" */
.fsc-underline { margin: 0 auto 2rem; width: min(420px, 75%); }
.fsc-underline svg { display: block; height: auto; width: 100%; }
.fsc-underline--anim .clip-rect { width: 0; }
.fsc-underline--anim.is-visible .clip-rect { animation: fscUnderlineReveal .8s linear forwards; }
@keyframes fscUnderlineReveal { from { width: 0; } to { width: 1418px; } }
.fsc-intro h3.fsc-eyebrow { color: #856514; font-size: 15px; letter-spacing: 1.5px; line-height: 1.4; margin-bottom: .35rem; } /* subheading as FSC gold eyebrow */
.fsc-outline-btn { background-color: var(--white); border: 2px solid var(--primary); border-radius: 0; color: #856514; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; padding: 12px 22px; position: relative; text-transform: uppercase; transition: all .3s ease; }
.fsc-outline-btn:hover, .fsc-outline-btn:focus { background-color: var(--primary); border-color: var(--primary); color: var(--white); }
.fsc-outline-btn::before, .fsc-outline-btn::after { content: ""; height: 2px; position: absolute; top: 50%; transform: translateY(-50%); width: 100px; }
.fsc-outline-btn::before { background-image: linear-gradient(to right, transparent, var(--primary)); left: -120px; }
.fsc-outline-btn::after { background-image: linear-gradient(to left, transparent, var(--primary)); right: -120px; }
@media (max-width: 575px) { .fsc-outline-btn::before, .fsc-outline-btn::after { display: none; } } /* no room beside the button on phones */

/* --- FSC Explore Your Giving Options: white section with farmingdale.edu's interior background
   (same settings as their site), cards styled like their "Academic Degree Programs" cards. --- */
/* interior background at 50% opacity = 50% white layer over it; both fixed so the torn-edge fill below lines up */
:root { --fsc-interior-bg: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) fixed, var(--white) url('/assets/images/fsc-interior-background.jpg') 50% 0 / 100% auto repeat-y fixed; }
section.upcoming-how-to-give.fsc-photo-cards { background: var(--fsc-interior-bg); }
.fsc-section-lede { font-size: 17px; line-height: 1.6; margin-left: auto; margin-right: auto; max-width: 820px; }
.give-photo-card { background-color: var(--white); border-radius: 0; box-shadow: 0 4px 14px rgba(0,0,0,.16); display: flex; flex-direction: column; position: relative; transition: box-shadow .3s ease, transform .3s ease; width: 100%; }
.give-photo-card:hover, .give-photo-card:focus-within { box-shadow: 0 10px 24px rgba(0,0,0,.22); transform: translateY(-3px); }
.give-photo-card__img { aspect-ratio: 370 / 215; display: block; height: auto; object-fit: cover; width: 100%; }
.give-photo-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.give-photo-card__title { color: var(--primary); font-size: 1.15rem; font-weight: 700; letter-spacing: .3px; line-height: 1.25; margin-bottom: 12px; text-transform: uppercase; }
.give-photo-card__body p { color: #231F20; font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
.give-photo-card__body p strong { font-weight: 700; }
.give-photo-card__btn { align-self: flex-start; border: 2px solid var(--primary); color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-top: auto; padding: 6px 12px; text-transform: uppercase; transition: background-color .3s ease, color .3s ease; }
.give-photo-card:hover .give-photo-card__btn, .give-photo-card__btn:focus { background-color: var(--primary); color: var(--white); }
.give-photo-card__btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
/* Bottom tear: the PNG supplies the shadow; this div replaces its white paper with the Giving Options section's
   background. Same fixed attachment/position/size as that section, so the texture lines up seamlessly. */
.society-tear-fill { aspect-ratio: 1920 / 117; background: var(--fsc-interior-bg); -webkit-mask: url('/assets/images/tear-bottom-mask.png') center / 100% 100% no-repeat; mask: url('/assets/images/tear-bottom-mask.png') center / 100% 100% no-repeat; z-index: 2; }

/* --- FSC contact: one white card on the textured interior background. Left photo panel (students + Ram) with a
   green gradient carrying heading/contact details; right = form (or advisor copy on landing pages). Panel text sits
   on >= .88 FSC green, so white and #FFD050 gold both pass. --- */
section.contact-us.fsc-contact { background: var(--fsc-interior-bg); }
.fsc-contact-card { background-color: var(--white); box-shadow: 0 6px 24px rgba(0,0,0,.14); overflow: hidden; }
.fsc-contact-panel { background-color: #004846; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; position: relative; }
.fsc-contact-panel__img { height: 100%; inset: 0; object-fit: cover; object-position: center 20%; position: absolute; width: 100%; }
.fsc-contact-panel__body { background: linear-gradient(180deg, rgba(0,72,70,0) 0, rgba(0,72,70,.88) 110px, rgba(0,72,70,.96) 100%); color: var(--white); padding: 140px 36px 36px; position: relative; }
.fsc-contact-panel__eyebrow { color: #FFD050; font-size: 14px; font-weight: 700; letter-spacing: 2px; margin-bottom: .25rem; text-transform: uppercase; }
.fsc-contact-panel__title { color: var(--white) !important; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.25rem; text-transform: uppercase; }
.fsc-contact-panel__details { border-left: 2px solid #CC9933; margin-bottom: 1.5rem; padding-left: 16px; }
.fsc-contact-panel__details p { color: var(--white); font-size: 15px; line-height: 1.5; margin: 0 0 .35rem; }
.fsc-contact-panel__details .fsc-contact-panel__name { font-size: 17px; font-weight: 700; letter-spacing: .5px; margin: 0; text-transform: uppercase; }
.fsc-contact-panel__details .fsc-contact-panel__role { font-style: italic; margin-bottom: .6rem; }
.fsc-contact-panel a { color: var(--white) !important; }
.fsc-contact-panel__details a { text-decoration: underline !important; }
.fsc-contact-panel a:hover, .fsc-contact-panel a:focus { color: #FFD050 !important; }
.fsc-contact-panel__link { border-top: 1px solid rgba(255,255,255,.3); display: block; font-size: 13px; font-weight: 700; letter-spacing: 1px; padding-top: 1rem; text-transform: uppercase; }
.fsc-contact-panel a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.fsc-contact-main { padding: 44px 48px; }
.fsc-contact-main #contact, .fsc-contact-main #advisor { margin: 0 auto; max-width: 600px; }
.fsc-contact-main__title { color: var(--primary); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .5rem; text-transform: uppercase; }
.fsc-contact-main__intro { color: #231F20; font-size: 16px; line-height: 1.55; margin-bottom: 1.25rem; }
.fsc-contact-main #advisor { align-items: flex-start; display: flex; flex-direction: column; height: 100%; justify-content: center; }
.fsc-outline-btn--plain::before, .fsc-outline-btn--plain::after { display: none; }
@media (max-width: 991px) { .fsc-contact-panel { min-height: 420px; } .fsc-contact-main { padding: 32px 24px; } }

/* --- FSC footer (after farmingdale.edu): dark green over a campus photo, map + white logo, white text --- */
.footer-section.fsc-footer { background: linear-gradient(rgba(0,72,70,.92), rgba(0,72,70,.92)), url('/assets/images/slider-01.jpg') center / cover; color: var(--white); padding: 48px 0 24px; }
.fsc-footer__map { display: block; height: auto; width: min(220px, 100%); }
.fsc-footer__id { align-items: center; display: flex; flex-wrap: wrap; gap: 20px; }
.fsc-footer__logo { height: auto; width: 150px; }
.fsc-footer__address { border-left: 1px solid #CC9933; color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.6; padding-left: 20px; }
.fsc-footer a { color: var(--white) !important; text-decoration: underline !important; }
.fsc-footer a:hover, .fsc-footer a:focus { color: #FFD050 !important; }
.fsc-footer__disclaimer { color: var(--white); font-size: 13px; line-height: 1.6; }
.fsc-footer__bottom { border-top: 1px solid rgba(255,255,255,.25); color: var(--white); font-size: 13px; margin-top: 32px; padding-top: 16px; text-align: center; }
.fsc-footer__sep { margin: 0 .5rem; opacity: .6; }

/* --- FSC: header is sticky instead of switching to position:fixed on scroll. The fixed switch pulled the header
   out of the page flow mid-scroll, shifting everything up ~70px, so menu/button scrolls landed too far down.
   overflow-x: clip (not hidden) so html/body don't become scroll containers, which would break sticky. --- */
html, body { overflow-x: clip; }
.header-area, .header-area.background-header { position: sticky !important; top: 0 !important; }
/* Direct hash links (e.g. /#contact from another page) stop below the sticky header too */
#contact, #legacy, #society, #how-to-give, #advisor, #top { scroll-margin-top: 90px; }

/* --- FSC interior heroes (downloads, /give and other landing pages, donor stories) - after farmingdale.edu
   interior pages: wide photo, FSC green rising from the bottom, big white uppercase title bottom-left.
   Gradient is a pseudo-element so it also covers per-page hero photos set inline (downloadheader.cfm).
   Title/eyebrow sit on >= .9 green, so white (7:1+) and #FFD050 gold both pass. --- */
section.heading-page, section.landing-header, section.donor-header { align-items: flex-end; display: flex; min-height: clamp(260px, 30vw, 400px); padding: 120px 0 0; position: relative; text-align: left; }
section.heading-page::before, section.landing-header::before, section.donor-header::before { background: linear-gradient(180deg, rgba(0,72,70,0) 30%, rgba(0,72,70,.6) 62%, rgba(0,100,86,.95) 88%, #006456 100%); content: ""; inset: 0; position: absolute; }
section.heading-page > .container, section.landing-header > .container, section.donor-header > .container { padding-bottom: 14px; position: relative; z-index: 1; }
section.heading-page .h6, section.landing-header .h6, section.donor-header .h6 { color: #FFD050; font-size: 14px; font-weight: 700; letter-spacing: 2px; margin-bottom: .25rem; text-shadow: 0 1px 6px rgba(0,0,0,.6); text-transform: uppercase; }
section.heading-page .h2, section.landing-header .h2, section.donor-header .h2 { color: var(--white) !important; font-size: clamp(1.9rem, 4.2vw, 3.4rem); font-weight: 700; letter-spacing: .5px; line-height: 1.05; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,.35); text-transform: uppercase; text-wrap: balance; }

/* --- FSC cookie banner: white with black text and a green button (template sets dark bg/white text) --- */
:root { --pgm-cookie-bg: #FFFFFF; }
#pgm-cookie-notice, #pgm-cookie-notice p { color: #231F20 !important; }
#pgm-cookie-notice { border-top: 3px solid var(--primary); box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
#pgm-cookie-notice a, #pgm-cookie-notice a:link, #pgm-cookie-notice a:visited, #pgm-cookie-notice a:hover { color: var(--primary) !important; }
#pgm-cookie-notice .pgm-cookie-notice__btn { background-color: var(--primary); border: 2px solid var(--primary); border-radius: 0; color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 1px; padding: 8px 22px; text-transform: uppercase; }
#pgm-cookie-notice .pgm-cookie-notice__btn:hover, #pgm-cookie-notice .pgm-cookie-notice__btn:focus { background-color: #004846; border-color: #004846; color: var(--white); }
#pgm-cookie-notice a:focus-visible, #pgm-cookie-notice .pgm-cookie-notice__btn:focus-visible { outline: 3px solid var(--primary) !important; outline-offset: 3px; }

/* ---------- FSC landing pages (/give, /smart, /join, /bequest, ...) ---------- */
section.landing-page.fsc-landing { padding-bottom: 4rem; padding-top: 3.5rem; }
.fsc-landing__title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .25rem; }
.fsc-underline.fsc-landing__underline { margin: 0 0 1.75rem; width: min(300px, 70%); }
.fsc-landing__lead { color: #231F20; font-size: 19px; line-height: 1.6; margin-bottom: 1.25rem; }
.fsc-landing__copy p { line-height: 1.7; }
/* Action list: equal-width outlined links with a gold arrow (replaces the uneven solid buttons) */
.fsc-action-list { display: grid; gap: 12px; margin: 1.75rem 0 2rem; max-width: 540px; }
.fsc-action-list__link { align-items: center; background: var(--white); border: 2px solid var(--primary); color: var(--primary); display: flex; font-size: 14px; font-weight: 700; gap: 1rem; justify-content: space-between; letter-spacing: 1px; padding: 14px 20px; text-decoration: none; text-transform: uppercase; transition: background-color .25s ease, color .25s ease; }
.fsc-action-list__arrow { color: #856514; font-size: 16px; transition: transform .25s ease, color .25s ease; }
.fsc-action-list__link:hover, .fsc-action-list__link:focus { background: var(--primary); color: var(--white); }
.fsc-action-list__link:hover .fsc-action-list__arrow, .fsc-action-list__link:focus .fsc-action-list__arrow { color: #FFD050; transform: translateX(4px); }
/* Closing line as a callout; green with the society logo when it's the Legacy Society message */
.fsc-landing__callout { background: var(--light); border-left: 4px solid var(--secondary); padding: 1.5rem 1.75rem; }
.fsc-landing__callout p { margin: 0; }
.fsc-landing__callout--society { align-items: center; background: var(--primary); border-left: 0; color: var(--white); display: flex; gap: 1.5rem; }
.fsc-landing__callout--society p { color: var(--white); font-size: 16px; }
.fsc-landing__callout-logo { flex: 0 0 auto; height: auto; width: 130px; }
@media (max-width: 575px) { .fsc-landing__callout--society { flex-direction: column; text-align: center; } }
/* Form framed in a card: green header band, white body, shadow */
.fsc-form-card { background: var(--white); border: 1px solid #E3E3E3; box-shadow: 0 10px 30px rgba(0,0,0,.12); margin-top: 2.5rem; }
@media (min-width: 992px) { .fsc-form-card { margin-top: 0; } }
.fsc-form-card__head { background: var(--primary); border-bottom: 4px solid var(--secondary); padding: 1.5rem 1.75rem 1.25rem; }
.fsc-form-card__title { color: var(--white) !important; font-size: 1.35rem; letter-spacing: 1px; margin-bottom: .35rem; text-transform: uppercase; }
.fsc-form-card__text { color: rgba(255,255,255,.9); font-size: 15px; margin: 0; }
.fsc-form-card__body { padding: .75rem 1rem 1rem; }
.fsc-form-card__body iframe { display: block; max-width: 100%; }

/* ---------- FSC donor stories (includes/donors.cfm) ---------- */
section.fsc-donors { background: var(--white); }
.fsc-donor-card { background: var(--white); border-radius: 0; box-shadow: 0 4px 14px rgba(0,0,0,.16); display: flex; flex-direction: column; position: relative; transition: box-shadow .3s ease, transform .3s ease; width: 100%; }
.fsc-donor-card:hover, .fsc-donor-card:focus-within { box-shadow: 0 10px 24px rgba(0,0,0,.22); transform: translateY(-3px); }
.fsc-donor-card__img { aspect-ratio: 4 / 3; display: block; height: auto; object-fit: cover; object-position: center 25%; width: 100%; }
.fsc-donor-card__body { border-top: 4px solid var(--secondary); display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.fsc-donor-card__name { font-size: 1.15rem; font-weight: 700; letter-spacing: .3px; line-height: 1.25; margin-bottom: 10px; text-transform: uppercase; }
.fsc-donor-card__name a { color: var(--primary); text-decoration: none; }
.fsc-donor-card__name a:focus-visible { outline: none; }
.fsc-donor-card:focus-within { outline: 2px solid var(--primary); outline-offset: 3px; }
.fsc-donor-card__quote { color: #231F20; font-size: 15px; font-style: italic; line-height: 1.55; margin-bottom: 18px; }
.fsc-donor-card:hover .fsc-donor-card__btn { background-color: var(--primary); color: var(--white); }
/* Carousel (5+ donors): equal-height cards + centered square controls under the row */
#donors .owl-carousel .owl-stage-outer { padding: 6px 4px 18px; }
.fsc-donor-controls { justify-content: center; margin-top: 1.5rem; }
.fsc-donor-controls .custom-nav-btn, .fsc-donor-controls .owl-stop-button { align-items: center; background: var(--white); border: 2px solid var(--primary); border-radius: 0; color: var(--primary); display: flex; font-size: 15px; height: 42px; justify-content: center; padding: 0; transition: background-color .25s ease, color .25s ease; width: 42px; }
.fsc-donor-controls .custom-nav-btn:hover, .fsc-donor-controls .owl-stop-button:hover,
.fsc-donor-controls .custom-nav-btn:focus-visible, .fsc-donor-controls .owl-stop-button:focus-visible { background: var(--primary); color: var(--white); }

/* Donor photo placeholder (donors.cfm card + donors-detail.cfm) - white 1912 Legacy Society logo on
   brand green until the donor-NN.jpg file is on the server */
.donor-image-placeholder { align-items: center; background: var(--primary); display: flex; justify-content: center; }
.fsc-donor-card__img.donor-image-placeholder img { height: auto; max-width: 72%; }
.donor-image-wrapper.donor-image-placeholder img { object-fit: contain; padding: 12%; }
.fsc-donor-card__img.donor-image-placeholder { aspect-ratio: 4 / 3; }
