/*
Theme Name: Nhill Newspaper Child
Theme URI: https://nhillfreepress.com.au/
Description: Child theme for Nhill Free Press using the tagDiv Newspaper theme.
Author: Karen Sloan
Template: Newspaper
Version: 1.0.0
Text Domain: nhill-newspaper-child
*/

/* Custom Nhill Free Press styles go below this line */

/* Contact page */

.nfp-contact-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 45px;
  color: #17251d;
}

.nfp-contact-hero {
  background: #f7f2e9;
  padding: 50px 45px;
  margin-bottom: 35px;
}

.nfp-contact-hero h1 {
  color: #0f563a;
  font-size: 56px;
  line-height: 1;
  margin: 0 0 20px;
  font-weight: 800;
}

.nfp-contact-hero p {
  font-size: 17px;
  line-height: 1.65;
  max-width: 780px;
}

/* enquiry cards */

.nfp-contact-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 35px auto !important;
}

.nfp-contact-card {
  background: #fff;
  border: 1px solid #e3dacb;
  border-radius: 8px;
  padding: 28px 24px;
  min-height: 220px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.nfp-contact-icon,
.nfp-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0f563a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.nfp-contact-card h3 {
  color: #0f563a;
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 15px;
}

.nfp-contact-card p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* form and contact details side-by-side */

.nfp-contact-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(390px, 1fr);
  gap: 28px;
  max-width: 1120px;
  margin: 35px auto;
  align-items: stretch;
}

.nfp-contact-form-card,
.nfp-contact-details-card {
  background: #ffffff;
  border: 1px solid #e3dacb;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
  box-sizing: border-box;
  max-width: none;
  margin: 0;
}

.nfp-contact-details-card {
  background: #fbf8f1;
}

.nfp-contact-form-card h2,
.nfp-contact-details-card h2 {
  color: #0f563a;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.nfp-contact-form-card > p {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 22px;
}

/* Forminator inside the form card */

.nfp-contact-form-card .forminator-ui#forminator-module-75 {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.nfp-contact-form-card .forminator-ui#forminator-module-75 .forminator-label {
  font-weight: 700 !important;
  color: #17251d !important;
}

.nfp-contact-form-card .forminator-ui#forminator-module-75 .forminator-input,
.nfp-contact-form-card .forminator-ui#forminator-module-75 .forminator-textarea {
  border: 1px solid #d6d0c5 !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  font-size: 15px !important;
}

.nfp-contact-form-card .forminator-ui#forminator-module-75 .forminator-button-submit {
  background: #0f563a !important;
  color: #ffffff !important;
  border-radius: 5px !important;
  padding: 13px 26px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.nfp-contact-form-card .forminator-ui#forminator-module-75 .forminator-button-submit:hover {
  background: #083c27 !important;
}

.nfp-privacy-note {
  margin-top: 16px !important;
  font-size: 13px !important;
  color: #555;
}

/* contact details */

.nfp-contact-detail {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid #e3dacb;
}

.nfp-contact-detail:last-child {
  border-bottom: none;
}

.nfp-detail-icon {
  background: #dfead2;
  color: #0f563a;
  margin-bottom: 0;
}

.nfp-contact-detail h4 {
  margin: 0 0 6px;
  font-size: 17px;
}

.nfp-contact-detail p {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.55;
}

.nfp-contact-detail a {
  color: #0f563a;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* map */

.nfp-map-wrap {
  max-width: 1120px;
  margin: 28px auto 40px;
  border: 1px solid #e3dacb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
}

/* mobile */

@media (max-width: 900px) {
  .nfp-contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nfp-contact-main {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .nfp-contact-page {
    padding: 0 16px 35px;
  }

  .nfp-contact-hero {
    padding: 36px 24px;
  }

  .nfp-contact-hero h1 {
    font-size: 42px;
  }

  .nfp-contact-cards {
    grid-template-columns: 1fr !important;
  }

  .nfp-contact-form-card,
  .nfp-contact-details-card {
    padding: 24px;
  }
}

/* Uploaded contact icons - use the image as the full icon */
.nfp-contact-icon,
.nfp-detail-icon {
  background: none !important;
  border-radius: 0 !important;
  width: 46px !important;
  height: 46px !important;
  margin-bottom: 14px;
  overflow: visible !important;
}

.nfp-contact-icon img,
.nfp-detail-icon img,
.nfp-contact-card > img {
  width: 46px !important;
  height: 46px !important;
  max-width: 46px !important;
  display: block !important;
  object-fit: contain !important;
  border-radius: 50%;
}

.nfp-contact-detail .nfp-detail-icon {
  margin-bottom: 0;
}

/* Submit your advertisement page */

.page-id-252 .td-page-header,
.page-id-252 .td-crumb-container,
.page-id-252 .entry-crumbs,
.page-id-252 .td-category {
  display: none !important;
}

/* Page wrapper */

.nfp-ad-page {
  max-width: 1120px;
  margin: 0 auto 50px;
  padding: 0 24px;
  color: #17251d;
  box-sizing: border-box;
}

/* Hero */

.nfp-ad-hero {
  background: #f7f2e9;
  border: 1px solid #e3dacb;
  border-radius: 18px;
  padding: 46px;
  margin: 28px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 38px;
  align-items: center;
}

.nfp-ad-hero h1 {
  margin: 0 0 14px;
  color: #0f563a;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.nfp-ad-hero p {
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 720px;
}

.nfp-ad-deadline {
  display: inline-flex;
  align-items: center;
  background: #0f563a;
  color: #ffffff;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 15px;
}

.nfp-ad-hero-image {
  background: #ffffff;
  border-radius: 50%;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  box-shadow: 0 12px 26px rgba(15, 86, 58, 0.12);
}

.nfp-ad-hero-image img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

/* Three intro cards */

.nfp-ad-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 28px;
}

.nfp-ad-step {
  background: #ffffff;
  border: 1px solid #e3dacb;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 8px 18px rgba(23, 37, 29, 0.04);
}

.nfp-ad-step-number {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f563a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
}

.nfp-ad-step h2 {
  margin: 0 0 6px;
  color: #0f563a;
  font-size: 21px;
  line-height: 1.2;
}

.nfp-ad-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* Form intro card */

.nfp-ad-form-wrap {
  max-width: 1120px;
  margin: 0 auto 28px;
  background: #ffffff;
  border: 1px solid #e3dacb;
  border-radius: 18px;
  padding: 38px 42px 42px;
  box-shadow: 0 12px 30px rgba(23, 37, 29, 0.06);
  box-sizing: border-box;
}

.nfp-ad-form-intro {
  margin: 0 0 30px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nfp-ad-form-intro-inner {
  border-left: 5px solid #0f563a;
  padding-left: 20px;
}

.nfp-ad-form-intro h2 {
  margin: 0 0 8px;
  color: #0f563a;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
}

.nfp-ad-form-intro p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

/* Help box */

.nfp-ad-help {
  margin: 0 0 32px;
  background: #f7f2e9;
  border: 1px solid #e3dacb;
  border-radius: 14px;
  padding: 22px 26px;
  font-size: 16px;
  line-height: 1.6;
  box-sizing: border-box;
}

.nfp-ad-help strong {
  color: #0f563a;
}

.nfp-ad-help a {
  color: #0f563a !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The actual Forminator shortcode block */

.page-id-252 .nfp-form-narrow {
  max-width: 900px !important;
  width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* Forminator reset - only this form */

.page-id-252 #forminator-module-254,
.page-id-252 .nfp-form-narrow #forminator-module-254,
.page-id-252 .nfp-form-narrow .forminator-ui {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* Rows and columns */

.page-id-252 #forminator-module-254 .forminator-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 22px !important;
  box-sizing: border-box !important;
}

.page-id-252 #forminator-module-254 .forminator-col {
  box-sizing: border-box !important;
}

/* Labels */

.page-id-252 #forminator-module-254 .forminator-label {
  color: #17251d !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  margin-bottom: 8px !important;
}

/* Text inputs only - not radios, checkboxes or file upload */

.page-id-252 #forminator-module-254 input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
.page-id-252 #forminator-module-254 textarea,
.page-id-252 #forminator-module-254 select,
.page-id-252 #forminator-module-254 .forminator-input,
.page-id-252 #forminator-module-254 .forminator-textarea,
.page-id-252 #forminator-module-254 .forminator-select2 + .select2 .select2-selection {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 46px !important;
  border: 1px solid #d6d0c5 !important;
  border-radius: 8px !important;
  background: #fffaf2 !important;
  color: #17251d !important;
  font-size: 16px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.page-id-252 #forminator-module-254 textarea,
.page-id-252 #forminator-module-254 .forminator-textarea {
  min-height: 145px !important;
  padding: 14px !important;
}

/* Focus */

.page-id-252 #forminator-module-254 .forminator-input:focus,
.page-id-252 #forminator-module-254 .forminator-textarea:focus,
.page-id-252 #forminator-module-254 .select2-selection:focus {
  border-color: #0f563a !important;
  box-shadow: 0 0 0 3px rgba(15, 86, 58, 0.12) !important;
}

/* Radios and checkboxes - keep them normal size */

.page-id-252 #forminator-module-254 input[type="radio"],
.page-id-252 #forminator-module-254 input[type="checkbox"],
.page-id-252 #forminator-module-254 input[type="file"] {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  accent-color: #0f563a;
}

.page-id-252 #forminator-module-254 .forminator-radio,
.page-id-252 #forminator-module-254 .forminator-checkbox {
  margin-right: 20px !important;
  margin-bottom: 10px !important;
}

.page-id-252 #forminator-module-254 .forminator-radio-label,
.page-id-252 #forminator-module-254 .forminator-checkbox-label {
  color: #17251d !important;
  font-size: 16px !important;
}

/* File upload */

.page-id-252 #forminator-module-254 .forminator-file-upload {
  background: #f7f2e9 !important;
  border: 1px dashed #cfc4b3 !important;
  border-radius: 12px !important;
  padding: 18px !important;
}

/* Submit button */

.page-id-252 #forminator-module-254 .forminator-button-submit,
.page-id-252 #forminator-module-254 button[type="submit"] {
  background: #0f563a !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 15px 32px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.page-id-252 #forminator-module-254 .forminator-button-submit:hover,
.page-id-252 #forminator-module-254 button[type="submit"]:hover {
  background: #083c27 !important;
  color: #ffffff !important;
}

/* Hide admin-only edit link */

a[href*="forminator-cform-wizard"] {
  display: none !important;
}

/* Mobile */

@media (max-width: 860px) {
  .nfp-ad-hero {
    grid-template-columns: 1fr;
    padding: 34px 28px;
  }

  .nfp-ad-hero-image {
    justify-self: start;
    width: 150px;
    height: 150px;
  }

  .nfp-ad-hero-image img {
    width: 94px;
    height: 94px;
  }

  .nfp-ad-steps {
    grid-template-columns: 1fr;
  }

  .nfp-ad-form-wrap {
    padding: 32px 28px;
  }
}

@media (max-width: 520px) {
  .nfp-ad-page {
    padding: 0 16px;
  }

  .nfp-ad-hero {
    padding: 28px 22px;
  }

  .nfp-ad-hero p {
    font-size: 17px;
  }

  .nfp-ad-form-intro h2 {
    font-size: 28px;
  }

  .nfp-ad-form-wrap {
    padding: 28px 22px;
  }
}

/* Footer logo alignment */
.nfp-footer-logo {
  transform: translateY(-20px);
}



.nfp-footer-facebook {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  text-align: center;
  text-decoration: none !important;
  font-size: 15px;
}

.nfp-footer-facebook span,
.nfp-footer-facebook i {
  color: #ffffff !important;
}

.nfp-footer-facebook i {
  font-size: 18px;
}

.nfp-footer-facebook:hover,
.nfp-footer-facebook:hover span,
.nfp-footer-facebook:hover i {
  color: #4db2ec !important;
}

/* Hide public author names on post cards and articles */
.td-post-author-name,
.td-module-meta-info .td-post-author-name,
.td-post-header .td-post-author-name,
.td_block_wrap .td-post-author-name,
.tdb-author-name,
.tdb-post-author-name {
  display: none !important;
}

/* Hide comment count bubbles on post blocks */
.td-module-comments,
.td-module-comments a,
.td-post-comments,
.td-post-comments a,
.td-post-comments-count,
.tdb-comments-count,
.tdb-post-comments,
.tdb-post-comments a {
  display: none !important;
}

/* Centre and space the Digital Edition button under front page */
.nfp-edition-button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-top: 18px !important;
  margin-bottom: 22px !important;	
}

.nfp-edition-button a,
.nfp-edition-button .tdm-btn {
  display: inline-block !important;
  float: none !important;
  margin: 0 auto !important;
}

/* Top menu hover and active link colour */
.tdi_22 .tdb-horiz-menu > li.current-menu-item > a,
.tdi_22 .tdb-horiz-menu > li.current-menu-ancestor > a,
.tdi_22 .tdb-horiz-menu > li.current-category-ancestor > a,
.tdi_22 .tdb-horiz-menu > li.current-page-ancestor > a,
.tdi_22 .tdb-horiz-menu > li:hover > a {
  color: #ef9202 !important;
}

/* If menu icons/arrows are used, make them orange too */
.tdi_22 .tdb-horiz-menu > li.current-menu-item > a .tdb-sub-menu-icon-svg svg,
.tdi_22 .tdb-horiz-menu > li.current-menu-item > a .tdb-sub-menu-icon-svg svg *,
.tdi_22 .tdb-horiz-menu > li:hover > a .tdb-sub-menu-icon-svg svg,
.tdi_22 .tdb-horiz-menu > li:hover > a .tdb-sub-menu-icon-svg svg * {
  fill: #ef9202 !important;
}

/* Footer links: white normally, orange on hover */
body .tdc-footer-wrap a,
body .td-footer-wrapper a,
body .td-footer-container a,
body .td-footer-template-wrap a,
body .tdc-zone-footer a,
body .tdc_footer a {
  color: #ffffff !important;
}

/* Footer hover colour */
body .tdc-footer-wrap a:hover,
body .td-footer-wrapper a:hover,
body .td-footer-container a:hover,
body .td-footer-template-wrap a:hover,
body .tdc-zone-footer a:hover,
body .tdc_footer a:hover {
  color: #ef9202 !important;
}

/* Footer active/current links, like Digital editions */
body .tdc-footer-wrap .current-menu-item > a,
body .td-footer-wrapper .current-menu-item > a,
body .td-footer-container .current-menu-item > a,
body .td-footer-template-wrap .current-menu-item > a,
body .tdc-zone-footer .current-menu-item > a,
body .tdc_footer .current-menu-item > a {
  color: #ffffff !important;
}

.nfp-arr-box {
  background: transparent !important;
  border: none !important;
  padding: 0;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.45;
}

.nfp-arr-box h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.nfp-arr-box p {
  margin: 0 0 10px;
  color: #ffffff;
}

.nfp-arr-box a,
.nfp-arr-box a:visited {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline;
}

.nfp-arr-box a:hover {
  color: #d8e8df !important;
}

/* Digital Edition button only - do not affect footer Archives link */
.nfp-edition-button a[href*="back-copy-editions"],
a[href*="back-copy-editions"].tds-button,
a[href*="back-copy-editions"] .tds-button {
  background-color: #095438 !important;
  color: #ffffff !important;
  border-color: #095438 !important;
}

.nfp-backcopies-intro {
  background: #f7f2e9;
  border: 1px solid #e1d6c8;
  padding: 34px 36px;
  margin: 28px 0 36px;
  color: #17251d;
}

.nfp-backcopies-intro h1 {
  margin: 0 0 12px;
  color: #095438;
  font-size: 38px;
  line-height: 1.1;
}

.nfp-backcopies-lead {
  max-width: 760px;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.55;
}

.nfp-backcopies-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.nfp-backcopies-card {
  background: #ffffff;
  border: 1px solid #ddd0bf;
  padding: 22px;
  min-height: 155px;
}

.nfp-backcopies-card h3 {
  margin: 0 0 10px;
  color: #095438;
  font-size: 18px;
}

.nfp-backcopies-card p {
  margin: 0;
  line-height: 1.45;
}

.nfp-backcopies-card .nfp-price {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: #17251d;
  margin: 0 0 12px;
}

.nfp-backcopies-note {
  margin: 18px 0 0;
  font-style: italic;
  color: #3b4a40;
}

@media (max-width: 767px) {
  .nfp-backcopies-intro {
    padding: 26px 22px;
  }

  .nfp-backcopies-intro h1 {
    font-size: 30px;
  }

  .nfp-backcopies-cards {
    grid-template-columns: 1fr;
  }
}

/* EDD archive edition lists - applies to all year archive pages */

.edd_downloads_list {
  display: block !important;
  margin-top: 24px;
}

.edd_download {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  background: #fffaf2;
  border: 1px solid #e3dacb;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 12px 0 !important;
}

.edd_download_inner {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.edd_download_title {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.edd_download_title a {
  color: #123f2d !important;
  text-decoration: none !important;
}

.edd_download_title a:hover {
  text-decoration: underline !important;
}

.edd_price {
  display: none !important;
}

.edd_download_purchase_form,
.edd_purchase_submit_wrapper {
  margin: 0 !important;
}

.edd_download_purchase_form {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
}

.edd-submit,
.edd-submit.button,
.edd_download_purchase_form .edd-submit {
  background: #095438 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 9px 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.edd-submit:hover,
.edd-submit.button:hover {
  background: #123f2d !important;
  color: #ffffff !important;
}

.edd_go_to_checkout {
  margin-left: 10px;
  color: #095438 !important;
  font-weight: 700;
}

@media (max-width: 700px) {
  .edd_download_inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .edd_download_purchase_form {
    justify-content: flex-start;
  }

  .edd_go_to_checkout {
    display: block;
    margin: 10px 0 0;
  }
}
/* Archives year buttons */

.nfp-archive-years {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 10px;
}

.nfp-archive-years a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 155px;
  padding: 14px 22px;
  background: #095438;
  color: #ffffff !important;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.2;
}

.nfp-archive-years a:hover {
  background: #123f2d;
  color: #ffffff !important;
}

@media (max-width: 600px) {
  .nfp-archive-years {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nfp-archive-years a {
    width: 100%;
  }
}

/* Year archive intro panel */

.nfp-year-archive-hero {
  background: #fffaf2;
  border: 1px solid #e3dacb;
  border-left: 6px solid #095438;
  border-radius: 14px;
  padding: 28px 30px;
  margin: 0 0 26px;
}

.nfp-year-kicker {
  color: #095438;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.nfp-year-archive-hero h1 {
  color: #123f2d;
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.nfp-year-archive-hero p {
  max-width: 760px;
  color: #253b31;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.nfp-archive-offer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.nfp-archive-offer-row span {
  display: inline-flex;
  align-items: center;
  background: #f7f2e9;
  border: 1px solid #e3dacb;
  border-radius: 999px;
  color: #123f2d;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 15px;
}

.nfp-archive-offer-row strong {
  color: #095438;
}

.nfp-back-archives-link {
  display: inline-flex;
  color: #095438 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.nfp-back-archives-link:hover {
  text-decoration: underline !important;
}

@media (max-width: 700px) {
  .nfp-year-archive-hero {
    padding: 22px;
  }

  .nfp-year-archive-hero h1 {
    font-size: 30px;
  }

  .nfp-archive-offer-row span {
    width: 100%;
  }
}

.nfp-backcopies-card a,
.nfp-backcopies-note a {
  color: #095438 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.nfp-backcopies-card a:hover,
.nfp-backcopies-note a:hover {
  text-decoration: underline !important;
}

/* Weekly Editions password landing page */

.page-id-981 .post-password-form {
  max-width: 720px;
  margin: 70px auto 90px;
  padding: 46px 52px;
  background: #f7f2e9;
  border: 1px solid #e3dacb;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(9, 84, 56, 0.10);
  color: #17251d;
  text-align: left;
}

.page-id-981 .post-password-form::before {
  content: "Subscriber Access";
  display: block;
  color: #0f563a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-id-981 .post-password-form::after {
  content: "Digital editions are available for current subscribers. Please enter the password provided by email.";
  display: block;
  margin-top: 20px;
  padding: 16px 18px;
  background: #fffaf2;
  border-left: 5px solid #095438;
  color: #29352f;
  font-size: 16px;
  line-height: 1.45;
}

.page-id-981 .post-password-form p:first-child {
  font-size: 0;
  line-height: 0;
  margin: 0 0 26px;
}

.page-id-981 .post-password-form p:first-child::before {
  content: "Weekly Digital Editions";
  display: block;
  color: #095438;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.98;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-id-981 .post-password-form label {
  display: block;
  color: #095438;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-id-981 .post-password-form input[type="password"] {
  width: 100%;
  max-width: 420px;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #cfc6b8;
  border-radius: 8px;
  background: #fff;
  color: #17251d;
  font-size: 18px;
  box-sizing: border-box;
}

.page-id-981 .post-password-form input[type="password"]:focus {
  outline: none;
  border-color: #095438;
  box-shadow: 0 0 0 3px rgba(9, 84, 56, 0.15);
}

.page-id-981 .post-password-form input[type="submit"] {
  margin-top: 18px;
  padding: 14px 28px;
  background: #095438;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.page-id-981 .post-password-form input[type="submit"]:hover {
  background: #0f6a47;
}

@media (max-width: 700px) {
  .page-id-981 .post-password-form {
    margin: 36px 18px 60px;
    padding: 34px 26px;
  }
}

/* Footer Archives link - normal state */
body #menu-main-menu-3 li.menu-item-974 > a,
body #menu-main-menu-3 li.menu-item-974 > a:visited,
body #menu-main-menu-3 li.menu-item-974 > a > .td-blm-menu-item-txt {
  color: #cccccc !important;
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

/* Footer Archives link - hover state */
body #menu-main-menu-3 li.menu-item-974:hover > a,
body #menu-main-menu-3 li.menu-item-974:hover > a > .td-blm-menu-item-txt,
body #menu-main-menu-3 li.menu-item-974 > a:hover,
body #menu-main-menu-3 li.menu-item-974 > a:hover > .td-blm-menu-item-txt {
  color: #ef9202 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

@media (max-width: 767px) {
  .wp-caption-text,
  figcaption {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
  }
}