:root {
  --main-blue: #002d70;
  --main-green: #47b34d;
  --light-green: #73d278;
}

/* =========================================================
   HEADER STYLING
========================================================= */
.Header-branding-logo {
  max-width: 277px;
  width: 100%;
  font-family: proxima-nova;
}

.Header-Nav-Item,
.Header-Nav-Item-Selected {
  font-family: proxima-nova;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.Header-Nav-Item {
  color: #47b34d;
}

.Header-Nav-Item-Selected {
  color: #002d70;
}

/* =========================================================
   FOOTER - NYBPC SECTION
========================================================= */
.sponsorship-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.sponsorship-link:hover {
  opacity: 0.6;
}

/* Sponsorship Summary Button */
.sponsor-summary-btn {
  display: inline-block;
  padding: 25px 46px;
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #fff;
  background-color: #47b34d;
  border: 1px solid #47b34d;
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.sponsor-summary-btn:hover {
  background-color: #3c9640; /* slightly darker green */
  border-color: #3c9640;
  text-decoration: none;
  color: #fff;
}

/* Sponsorship / footer form label styling */
.sponsor-label {
  display: block;
  text-align: left;           /* hugs the left edge */
  font-family: Raleway, sans-serif;
  font-weight: 400;           /* match placeholder weight */
  font-size: 16px;            /* same size as input text */
  letter-spacing: 0.01em;
  line-height: 1.8em;
  color: #000;                /* solid black to differentiate slightly */
  margin-bottom: 4px;         /* tight vertical spacing */
}

.sponsor-label span {
  color: #888;                /* (required) subtle gray */
  font-weight: 400;
}


/* =========================================================
   FOOTER - SHARED STYLING (INDEX / STUDENTS / NYBPC)
========================================================= */
.footer-link {
  font-weight: bold;
  color: #47b34d;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-link:hover {
  font-weight: bold;
  color: rgba(71, 179, 77, 0.6);
  text-decoration: underline;
}

/* Shared Input + Button Base Styles */
.footer-input,
.footer-btn,
.sponsor-input,
.sponsor-btn {
  border: 1px solid #ccc;         /* thin grey line */
  border-radius: 0;               /* square corners */
  font-family: Raleway, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  box-shadow: none;
}

/* Input Fields */
.footer-input,
.sponsor-input {
  padding: 10px 12px;
  color: #000;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.footer-input::placeholder,
.sponsor-input::placeholder {
  color: #707070;
  opacity: 0.6;
}

.footer-input:focus,
.sponsor-input:focus {
  outline: none;
  border-color: #999; /* slightly darker border when focused */
  box-shadow: none;
}

/* Buttons */
.footer-btn,
.sponsor-btn {
  background-color: #707070; /* solid grey background */
  color: #fff;               /* white text */
  text-transform: uppercase;
  transition: all 0.2s ease;
  padding: 10px 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.footer-btn:hover,
.sponsor-btn:hover {
  background-color: #333; /* darker grey hover */
  border-color: #333;
  color: #fff;
}

/* =========================================================
   JUDGES
========================================================= */
.ambassador-card img {
  object-fit: cover;
 
}

.ambassador-name {
  font-weight: 500;
  color: #555;
}

.ambassador-company {
  color: #777;
  margin-top: -2px;
}

/* =========================================================
   SUPPORTERS
========================================================= */
/* Move + / – to the left */
.accordion-button::after {
  content: '+' !important;
  position: absolute;
  left: 0;
  margin-left: 1.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  background-image: none !important;
  transform: none !important;
}

.accordion-button:not(.collapsed)::after {
  content: '–' !important;
}

/* Center the text perfectly */
.accordion-button {
  background-color: transparent;
  box-shadow: none !important;
  justify-content: center;     /* centers the text */
  position: relative;          /* allows absolute positioning of ::after */
  padding-left: 2.5rem;        /* ensures space for the + icon */
  text-align: center;
}

.accordion-button:focus {
  box-shadow: none;
}

.text-primary {
  color: #002F6C !important;
}

/* =========================================================
   STUDENTS
========================================================= */


.links{
  color: var(--main-green);
}

.banner{
  position: relative;
  text-align: center;
  color: white;
}

.centered{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.stu-content{
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
}

.title-header{
  color:var(--main-blue); 
  font-weight:bold
}

.student-btn{
  background-color: var(--main-green);
  color: #fff;
  transition: all 0.2s ease;
  padding: 20px;
  margin: 10px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.student-btn:hover{
  background-color: var(--light-green);
  border-color: var(--light-green);
  color: #fff;
}

a{
.news{
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
}

.new-link{
  color: var(--main-blue);
  text-decoration: none;
  font-size: 25px;
  font-weight:500;
}

.text-center{
  margin-top: 20px;
  margin-bottom: 20px;
}

.person-link{
  color: grey;
  text-decoration: none;
  font-size: 12px;
}

.person{
  color: grey;
  font-size: 12px;
}

.short-hr{
  width: 50%;
  margin: auto;
}


  color: var(--main-green)
}

/* match the thin, neutral inputs */
.form-control.slim,
textarea.form-control.slim {
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  box-shadow: none;
}

.form-control.slim:focus,
textarea.form-control.slim:focus {
  border-color: #9e9e9e;
  box-shadow: none;
}

/* small “(required)” look */
.req { color: #9a9a9a; font-weight: 400; }

/* submit button style from screenshot */
.btn-submit {
  background: #7a7a7a;
  color: #fff;
  letter-spacing: 0.25rem;
  border-radius: 4px;
}

.btn-submit:hover { background: #6b6b6b; color: #fff; }

/* keep helper labels small */
label.form-label + .row small,
label.form-label + small { font-size: 0.8rem; }

/* headings/labels spacing */
.volunteer-form .form-label { margin-bottom: .25rem; }

/* =========================================================
   PROFILE
========================================================= */


.profile-card, .links-card {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.profile-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-value {
  font-size: 1.05rem;
  font-weight: 500;
}

.quick-link {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}

/* divider here */

.prof-area{
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
}

.profile-link{
  text-decoration: none;
  font-size: 30px;
  gap: 8px;
  display: flex;
  align-items: center;
}

.dot{
  background-color: rgb(221, 221, 221);
  border-radius: 50%;
  display: block;
  border: white solid 1px;
}

.profile-image{
  height: 100px; 
  width: 100px;
}

.camera{
  position: absolute;
  height: 30px; 
  width: 30px; 
  bottom: 0;
  right: 0;
  transform: translate(5%, 5%);
  
}

.profile-image i, .camera i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.prof-img{
  position: absolute;
  top: -50px;
  left: 20px;
  height: 100px; 
  width: 100px; 
}

.outerbox{
  padding-top: 50px;
  position: relative;
  overflow:visible;
}


/* =========================================================
  NEW-SUBMISSION
========================================================= */

.upload-area{
  width:100%;
  height: 150px;
  background-color: rgb(232, 232, 232);
  display:flex;
  align-items: center;
  justify-content: center;
  border: dashed;
  font-size: 28px;
  gap: 8px;
}

/* Only hide file inputs used in the old upload-area UI */
.upload-area input[type="file"] {
  display: none;
}


.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}


.second-bar{
  background-color: var(--nybpc-navy-600);
  color: white;
}

/* =========================================================
   RESPONSIVE / UTILITY
========================================================= */
@media (max-width: 768px) {
  .Header-branding-logo {
    max-width: 200px;
  }

  .sponsor-summary-btn {
    padding: 20px 36px;
    font-size: 11px;
  }
}

/* ===== NYBPC theming tuned to match your screenshots ===== */
:root{
  --nybpc-navy: #0e3a66;        /* headings/navy */
  --nybpc-navy-600:#174a96;     /* buttons/links primary */
  --nybpc-navy-700:#123d77;     /* hover */
  --nybpc-green:#69b37b;        /* “NYBPC” wordmark green */
  --surface:#f4f6f9;            /* light section background */
  --divider:#e7ecf3;            /* thin borders */
  --ink:#0f172a;                /* dark body text */
  --muted:#6b7280;              /* muted copy */
  --ph:#e9edf3;                 /* placeholder grey */
}

/* Base */
body{ color:var(--ink); }
h1,h2,h3,h4,h5{ color:var(--nybpc-navy); }

/* HERO: light patterned background (no dark overlay) */
.hero-pattern{
  background-image: url("/imgs/ad8ac790-bbd2-417f-86a4-5b69e2ef6520+(5).webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  margin-top: 0.75rem;
}
.nybpc-wordmark{
  color: var(--nybpc-green);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: .02em;
  margin-bottom: .25rem;
}
.hero-subhead{
  color: var(--nybpc-navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

/* Big headline strip under hero */
.headline-strip{ background:#fff; }
.headline-navy{ color: var(--nybpc-navy); text-transform: uppercase; letter-spacing:.02em; }
.headline-sub{ color: var(--nybpc-navy); font-weight:700; text-transform:uppercase; letter-spacing:.06em; opacity:.9; }

/* Section titles */
.section-title{
  color: var(--nybpc-navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 800;
}

/* Light sections + borders like the site */
.section-surface{ background: var(--surface); }
.border-top, .border-bottom{ border-color: var(--divider) !important; }

/* Buttons */
.btn-primary{background: var(--main-green); color: white;}
.btn-secondary{background: var(--main-blue); color: white;}
.btn-secondary:hover{background: var(--nybpc-navy-600); color: white;}
.btn-primary:hover{background: var(--light-green); color: white;}

/* .btn-primary{ background: var(--nybpc-navy-600); border-color: var(--nybpc-navy-600); }
.btn-primary:hover{ background: var(--nybpc-navy-700); border-color: var(--nybpc-navy-700); }
.btn-outline-primary{ color: var(--nybpc-navy-600); border-color: var(--nybpc-navy-600); }
.btn-outline-primary:hover{ color:#fff; background:var(--nybpc-navy-600); border-color:var(--nybpc-navy-600); } */

/* Placeholders for future DB content */
.ph-lg{ height:130px; border-radius:12px; background:var(--ph); }
.ph-logo{ width:160px; height:60px; border-radius:10px; background:var(--ph); }
.ph-logo.xl{ width:220px; height:80px; }
.ph-card{ height:220px; border-radius:12px; background:var(--ph); }

/* Card feel */
.card{ border:1px solid var(--divider); border-radius:12px; }
.card.shadow-sm{ box-shadow: 0 8px 24px rgba(17,24,39,.06) !important; }

/* --- Layout refinements to match live site --- */
.hero-section { padding: 4rem 0; text-align: center; }
.hero-section h1 { font-size: 2.5rem; line-height: 1.2; }

.photo-gallery .gallery-placeholder {
  width: 120px; height: 80px;
  background: #e9edf3;
  border-radius: 4px;
}

.ph-card { height: 320px; border-radius: 8px; }
.ph-card p { margin-top: 1rem; color: #4b5563; }

section#sponsors { background: #fff; padding: 5rem 0; }
.ph-logo { height: 100px; background: #e9edf3; border-radius: 8px; }

section#partnerships h2 { margin-bottom: 0.75rem; }
section#partnerships p { margin-bottom: 2rem; }

/* ===== Admin Add News – image upload ===== */

.news-image-upload-group {
  max-width: 520px;
}

.news-image-dropzone {
  position: relative;
  border: 1px dashed #ced4da;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  background-color: #f8fafc;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.news-image-dropzone:hover {
  border-color: #5b9bd5; /* similar blue to site buttons */
  background-color: #eef4fb;
  box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.08);
}

.news-image-title {
  display: block;
  font-weight: 600;
  color: #1f2937; /* dark gray/blue */
  margin-bottom: 0.25rem;
}

.news-image-subtitle {
  font-size: 0.875rem;
  color: #6b7280; /* muted gray */
}

/* Make the actual file input invisible but clickable over the whole box */
.news-image-input {
  position: absolute;
  inset: 0;            /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  display: block;      /* override any default display:none */
}

/* =========================================================
   ADMIN – NEWS TABLE & MODAL
========================================================= */

.admin-news-container {
  max-width: 1000px;
  margin: 2rem auto 3rem auto;
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
}

.admin-news-container h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.admin-news-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--divider);
  font-size: 0.95rem;
}

.admin-news-table thead {
  background-color: #f1f5f9;
}

.admin-news-table th,
.admin-news-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--divider);
  vertical-align: middle;
}

.admin-news-table th {
  text-align: left;
  font-weight: 600;
  color: #4b5563;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.admin-news-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-news-table tbody tr:hover {
  background-color: #f9fafb;
}

.admin-news-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Admin action buttons */
.btn-view,
.btn-edit,
.btn-delete {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-view {
  background-color: #e5f3ff;
  color: #174a96;
  border-color: #c4ddf7;
}

.btn-edit {
  background-color: #ecfdf3;
  color: #166534;
  border-color: #bbf7d0;
}

.btn-delete,
.btn-danger {
  background-color: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.btn-view:hover {
  background-color: #d7e9ff;
}

.btn-edit:hover {
  background-color: #dcfce7;
}

.btn-delete:hover,
.btn-danger:hover {
  background-color: #fee2e2;
}

/* Delete modal */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.admin-modal-overlay.is-visible {
  display: flex;
}

.admin-modal {
  background: #ffffff;
  max-width: 420px;
  width: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.admin-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.admin-modal p {
  font-size: 0.95rem;
  color: #4b5563;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* =========================================================
   NEWS ARTICLE LAYOUT
========================================================= */

.news-article-layout {
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.news-article-figure {
  margin: 0 0 1.5rem 1.5rem;
  float: right;
}

.news-article-image {
  max-width: 340px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* News article body – allow long words to wrap */
.News-Article-Content p {
  white-space: pre-line;          /* keep manual line breaks */
  word-break: break-word;         /* break long single words */
  overflow-wrap: break-word;      /* additional safety */
}


/* Responsive: stack image above text on small screens */
@media (max-width: 768px) {
  .news-article-figure {
    float: none;
    margin: 0 0 1rem 0;
    text-align: center;
  }

  .news-article-image {
    max-width: 100%;
  }

  .admin-news-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   ADMIN – NEWS ADD / EDIT FORM
========================================================= */

.admin-news-form-container {
  max-width: 720px;
  margin: 2rem auto 3rem auto;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--divider);
  padding: 2rem 2.25rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
}

.admin-news-form-container h1 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Basic form layout */
.admin-news-form-container .form-group {
  margin-bottom: 1.1rem;
}

.admin-news-form-container label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Inputs + textarea scoped to this form only */
.admin-news-form-container input[type="text"],
.admin-news-form-container input[type="date"],
.admin-news-form-container textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}

.admin-news-form-container textarea {
  min-height: 180px;
  line-height: 1.6;
}

.admin-news-form-container input:focus,
.admin-news-form-container textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.12);
}

/* Existing image preview + upload help text */
.admin-news-form-container .news-image-preview {
  margin-top: 0.35rem;
}

.admin-news-form-container .form-help-text {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Actions row */
.admin-news-form-container .form-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.75rem;
}

.admin-news-form-container .btn-primary,
.admin-news-form-container .btn-secondary {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  border-radius: 999px;
  border-width: 1px;
}

/* Error message block */
.admin-news-form-container .error-message {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-size: 0.9rem;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .admin-news-form-container {
    margin: 1.5rem 1rem 2.5rem 1rem;
    padding: 1.5rem 1.25rem;
  }

  .admin-news-form-container h1 {
    font-size: 1.4rem;
  }
}

/* Keep the NYBPC news hero subheading on one line on desktop */
.News-Hero-Subheading {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .News-Hero-Subheading {
    white-space: normal;
  }
}