@font-face { font-family: "Philsaga Inter"; src: url("/philsaga-hero/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Philsaga Inter"; src: url("/philsaga-hero/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

.company-panel .company-timeline p + p {
  margin-top: 12px;
}

.public-page-content [data-philsaga-articles]:not([data-articles-ready]) {
  display: block;
  padding: 24px max(32px, calc((100% - 1254px) / 2));
  background: #faf8f3;
}

.public-page-content [data-philsaga-articles]:not([data-articles-ready]) > * {
  display: none;
}

.public-page-content [data-philsaga-articles]:not([data-articles-ready])::after {
  display: block;
  height: 440px;
  background:
    linear-gradient(#e9e8e1 0 0) 0 0 / 80px 36px,
    linear-gradient(#e9e8e1 0 0) 92px 0 / 110px 36px,
    linear-gradient(#e9e8e1 0 0) 214px 0 / 110px 36px,
    linear-gradient(#e2e3dc 0 0) 0 56px / 23% 150px,
    linear-gradient(#e2e3dc 0 0) 33% 56px / 23% 150px,
    linear-gradient(#e2e3dc 0 0) 66% 56px / 23% 150px,
    linear-gradient(#e2e3dc 0 0) 1% 226px / 17% 12px,
    linear-gradient(#e2e3dc 0 0) 1% 251px / 12% 9px,
    linear-gradient(#e2e3dc 0 0) 32% 226px / 17% 12px,
    linear-gradient(#e2e3dc 0 0) 30% 251px / 12% 9px,
    linear-gradient(#e2e3dc 0 0) 63% 226px / 17% 12px,
    linear-gradient(#e2e3dc 0 0) 59% 251px / 12% 9px,
    linear-gradient(#f0efe9 0 0) 0 56px / 23% 300px,
    linear-gradient(#f0efe9 0 0) 33% 56px / 23% 300px,
    linear-gradient(#f0efe9 0 0) 66% 56px / 23% 300px,
    linear-gradient(#e9e8e1 0 0) 100% 0 / 22% 42px,
    linear-gradient(#e9e8e1 0 0) 100% 56px / 22% 170px,
    linear-gradient(#e9e8e1 0 0) 100% 240px / 22% 170px;
  background-repeat: no-repeat;
  content: "";
}

.article-skeleton {
  padding: 24px 32px 36px;
  background: #faf8f3;
}

.article-skeleton__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  max-width: 1254px;
  margin: 0 auto;
}

.article-skeleton__filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.article-skeleton__filters span {
  width: 105px;
  height: 36px;
  border-radius: 999px;
  background: #e9e8e1;
}

.article-skeleton__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-skeleton__card,
.article-skeleton__panel {
  overflow: hidden;
  border: 1px solid #e8e7e0;
  border-radius: 8px;
  background: #fffefa;
}

.article-skeleton__image {
  aspect-ratio: 1.9;
  background: #e9e8e1;
}

.article-skeleton__card-body,
.article-skeleton__panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.article-skeleton__line {
  display: block;
  width: 100%;
  height: 10px;
  border-radius: 4px;
  background: #e9e8e1;
}

.article-skeleton__line--medium {
  width: 75%;
}

.article-skeleton__line--short {
  width: 48%;
}

.article-skeleton__sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
}

.article-skeleton__search {
  height: 42px;
  border-radius: 8px;
  background: #e9e8e1;
}

@media (max-width: 767px) {
  .public-page-content [data-philsaga-articles]:not([data-articles-ready])::after {
    height: 600px;
    background:
      linear-gradient(#e9e8e1 0 0) 0 0 / 80px 36px,
      linear-gradient(#e9e8e1 0 0) 92px 0 / 110px 36px,
      linear-gradient(#e9e8e1 0 0) 0 56px / 48% 250px,
      linear-gradient(#e9e8e1 0 0) 100% 56px / 48% 250px,
      linear-gradient(#e9e8e1 0 0) 0 326px / 100% 42px,
      linear-gradient(#e9e8e1 0 0) 0 382px / 100% 170px;
    background-repeat: no-repeat;
  }

  .article-skeleton__layout {
    grid-template-columns: 1fr;
  }

  .article-skeleton__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-skeleton__filters span:last-child {
    display: none;
  }
}

@media (max-width: 480px) {
  .public-page-content [data-philsaga-articles]:not([data-articles-ready])::after {
    height: 700px;
    background:
      linear-gradient(#e9e8e1 0 0) 0 0 / 80px 36px,
      linear-gradient(#e9e8e1 0 0) 92px 0 / 110px 36px,
      linear-gradient(#e9e8e1 0 0) 0 56px / 100% 250px,
      linear-gradient(#e9e8e1 0 0) 0 322px / 100% 250px,
      linear-gradient(#e9e8e1 0 0) 0 588px / 100% 42px;
    background-repeat: no-repeat;
  }

  .article-skeleton__cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .philsaga-sdmp .sdmp-track .sdmp-slide {
    flex-basis: 50% !important;
  }
}

@media (min-width: 1280px) {
  .philsaga-sdmp .sdmp-track .sdmp-slide {
    flex-basis: 33.333333% !important;
  }
}

.philsaga-stories.community-media .stories-dialog h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
}

.philsaga-footer { font-family: "Philsaga Inter", sans-serif; line-height: 1.5; }
.philsaga-footer *, .philsaga-footer *::before, .philsaga-footer *::after { box-sizing: border-box; }
.philsaga-footer p, .philsaga-footer ul { margin: 0; padding: 0; }
.philsaga-footer ul { list-style: none; }
.philsaga-footer a { color: inherit; text-decoration: none; }
.philsaga-footer svg, .philsaga-footer img { display: block; }
.philsaga-footer .site-footer__contact > div { display: flex; align-items: center; gap: 8px; }
.philsaga-footer .site-footer__contact svg { width: 16px; height: 16px; }
.site-footer {
  padding: 0 clamp(20px, 3vw, 48px);
  background: #f6f4ef;
  color: #102b2b;
}

.site-footer--interior {
  padding-inline: max(7%, calc((100% - 1268px) / 2));
}

.public-site-shell.public-site-shell--executra.public-site-shell--interior .site-footer {
  padding-inline: max(7%, calc((100% - 1268px) / 2));
}

.public-site-shell.public-site-shell--executra.public-site-shell--home .site-footer {
  padding-inline: clamp(20px, 3vw, 48px);
}

.site-footer__main,
.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer.philsaga-footer .site-footer__main {
  min-height: 92px;
  border-bottom: 1px solid #dcdcd5;
}

.site-footer__main > a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.site-footer__main > a img {
  width: 76px;
  height: 68px;
  object-fit: contain;
}

.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 48px);
  font-size: 14px;
}

.site-footer.philsaga-footer .site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #dcdcd5;
}

.site-footer.philsaga-footer .site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 12px;
  color: #66716d;
  font-size: 13px;
  font-style: normal;
}

.site-footer .site-footer__contact a {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.site-footer.philsaga-footer .site-footer__links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  font-family: "Philsaga Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer__links a:focus-visible {
  outline: 2px solid #c57710;
  outline-offset: 4px;
}

.site-footer__links svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #a34d11;
}

.site-footer a:hover {
  color: #c57710;
}

.site-footer__socials {
  display: flex;
  gap: 20px;
}

.site-footer__socials a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #102b2b;
  color: #fff;
}

.site-footer__socials svg {
  width: 16px;
  height: 16px;
}

.site-footer.philsaga-footer .site-footer__legal {
  min-height: 72px;
  padding: 12px 0;
  color: #66716d;
  font-size: 13px;
}

.site-footer .site-footer__legal p,
.site-footer .site-footer__legal nav,
.site-footer .site-footer__legal a {
  font-size: 13px;
}

.site-footer__legal nav {
  gap: 8px 16px;
  font-size: 13px;
}

.site-footer__copyright {
  flex-shrink: 0;
}

.site-footer__copyright nav {
  margin-top: 4px;
}

.site-footer__copyright a {
  text-underline-offset: 4px;
  text-decoration: underline dotted;
}

.site-footer__legal a:hover {
  color: #c57710;
}

.site-footer__legal a:focus-visible {
  outline: 2px solid #c57710;
  outline-offset: 4px;
}

.site-footer__credit {
  margin-left: auto;
  text-align: right;
}

.site-footer__credit a {
  font-weight: 500;
  text-underline-offset: 4px;
}

.site-footer__credit a:hover {
  text-decoration: underline;
}

.site-footer__back-to-top {
  position: fixed;
  right: clamp(20px, 3vw, 48px);
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(16 43 43 / 60%);
  color: #fff;
  transition: background-color 200ms ease, color 200ms ease;
  cursor: pointer;
}

.public-site-footer-host .site-footer__back-to-top {
  display: none;
}

.site-footer__back-to-top:hover {
  background: rgb(31 81 48 / 80%);
}

.site-footer__back-to-top:focus-visible {
  outline: 2px solid #c57710;
  outline-offset: 4px;
}

.site-footer__back-to-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1050px) {
  .site-footer__legal {
    flex-wrap: wrap;
  }

  .site-footer.philsaga-footer .site-footer__main {
    padding: 12px 0;
    flex-wrap: wrap;
  }

}

@media (max-width: 767px) {
  .site-footer--interior,
  .public-site-shell.public-site-shell--executra.public-site-shell--interior .site-footer {
    padding-inline: 20px;
  }
}

@media (max-width: 600px) {
  .site-footer__main > a {
    font-size: 15px;
  }

  .site-footer__main > a img {
    width: 48px;
    height: 48px;
  }

  .site-footer__socials {
    gap: 10px;
  }

  .site-footer.philsaga-footer .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .site-footer__legal {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .site-footer__copyright {
    min-width: 0;
  }

  .site-footer__credit {
    grid-column: 1 / -1;
    margin-left: 0;
    text-align: left;
  }

}
.site-footer__main > a {
  flex-shrink: 0;
}

.site-footer__socials {
  flex-shrink: 0;
}

/* Header layout is available before the Next.js module styles load. */
[data-philsaga-header-spacer] {
  height: 96px;
  background: #f7f6f2;
}

[data-philsaga-header] {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1050;
  border-bottom: 1px solid #0000001a;
  background: #f7f6f2bf;
  color: #182d27;
  font-family: "Philsaga Inter", sans-serif;
  line-height: 1.5;
  backdrop-filter: blur(12px);
}

[data-philsaga-header] *,
[data-philsaga-header] *::before,
[data-philsaga-header] *::after {
  box-sizing: border-box;
}

[data-philsaga-header] > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  height: 96px;
  padding-inline: clamp(20px, 3vw, 48px);
}

[data-philsaga-header] a[aria-label="Philsaga Mining Corporation home"] {
  display: block;
  width: clamp(280px, 32vw, 531px);
  max-width: 100%;
  height: 76px;
}

[data-philsaga-header] picture,
[data-philsaga-header] picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

[data-philsaga-header] nav > ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

[data-philsaga-header] ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

[data-philsaga-header] nav li {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

[data-philsaga-header] a {
  color: inherit;
  text-decoration: none;
}

[data-philsaga-header] nav a,
[data-philsaga-header] nav summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
}

[data-philsaga-header] nav summary {
  list-style: none;
  cursor: pointer;
}

[data-philsaga-header] nav summary::-webkit-details-marker {
  display: none;
}

[data-philsaga-header] nav summary svg {
  width: 14px;
  height: 14px;
}

[data-philsaga-header] nav details > ul {
  display: none;
}

[data-philsaga-header] > div > div {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
}

[data-philsaga-header] button,
[data-philsaga-header] a[aria-label="Follow us on Facebook"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

[data-philsaga-header] button svg {
  width: 20px;
  height: 20px;
}

[data-philsaga-header] a[aria-label="Follow us on Facebook"] {
  border: 1px solid #102b2b26;
  border-radius: 50%;
}

[data-philsaga-header] a[aria-label="Follow us on Facebook"] svg {
  width: 16px;
  height: 16px;
}

[data-philsaga-header] img[alt="Certification International ISO 14001:2015"] {
  width: 145px;
  height: 55px;
  object-fit: contain;
}

[data-philsaga-header] button[data-philsaga-mobile-toggle] {
  display: none;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  [data-philsaga-header] nav li[class*="compactHide"] {
    display: none;
  }
}

@media (max-width: 1023px) {
  [data-philsaga-header-spacer] {
    height: 64px;
  }

  [data-philsaga-header] > div {
    display: flex;
    justify-content: space-between;
    height: 64px;
    gap: 8px;
  }

  [data-philsaga-header] nav[aria-label="Main navigation"] {
    display: none;
  }

  [data-philsaga-header] a[aria-label="Philsaga Mining Corporation home"] {
    width: min(531px, 52vw);
    height: 60px;
  }

  [data-philsaga-header] button[data-philsaga-mobile-toggle] {
    display: flex;
  }
}

@media (max-width: 767px) {
  [data-philsaga-header] a[aria-label="Philsaga Mining Corporation home"] {
    width: 100px;
    height: 48px;
  }

  [data-philsaga-header] > div > div {
    gap: 4px;
  }

  [data-philsaga-header] img[alt="Certification International ISO 14001:2015"] {
    width: 88px;
    height: 40px;
  }
}

@media (max-width: 400px) {
  [data-philsaga-header] img[alt="Certification International ISO 14001:2015"] {
    width: 60px;
  }

  [data-philsaga-header] > div > div > button,
  [data-philsaga-header] a[aria-label="Follow us on Facebook"] {
    width: 36px;
    height: 36px;
  }
}

/* Keep the CMS sample stories hidden while the published stories load. */
.public-page-content [data-philsaga-sdmp]:not([data-sdmp-articles-ready]) .sdmp-track,
.public-page-content [data-philsaga-sdmp]:not([data-sdmp-articles-ready]) .sdmp-controls {
  visibility: hidden;
}

.public-page-content [data-philsaga-sdmp] .sdmp-track[hidden],
.public-page-content [data-philsaga-sdmp] .sdmp-controls[hidden] {
  display: none;
}

.public-page-content [data-philsaga-sdmp] .sdmp-articles-message {
  color: #faf7f1;
  padding: 2rem 0;
}

.public-page-content .philsaga-mission .editorial-approach__worker[src="/philsaga-reports/approach-planting.png"] {
  object-position: 50% 40%;
  object-view-box: inset(0 0 0 35%);
}

.company-section-navigation > a > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Arrange the editable footer and its fallback with the same grid. */
.site-footer.philsaga-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "brand navigation"
    "contact navigation"
    "socials navigation"
    "legal legal";
  align-items: start;
  column-gap: clamp(32px, 5vw, 80px);
  padding-top: 28px;
}

.site-footer.philsaga-footer .site-footer__main {
  display: contents;
}

.site-footer.philsaga-footer .site-footer__main > a {
  grid-area: brand;
  min-width: 0;
}

.site-footer.philsaga-footer .site-footer__contact {
  grid-area: contact;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 0 0;
}

footer.site-footer.philsaga-footer .site-footer__links {
  grid-area: navigation;
  gap: 16px;
  padding: 0;
  border: 0;
}

.site-footer.philsaga-footer .site-footer__socials {
  grid-area: socials;
  padding: 12px 0 18px;
}

.site-footer.philsaga-footer .site-footer__legal {
  grid-area: legal;
  border-top: 1px solid #dcdcd5;
}

.site-footer.philsaga-footer .site-footer__legal p,
.site-footer.philsaga-footer .site-footer__legal nav,
.site-footer.philsaga-footer .site-footer__legal a {
  font-size: 11px;
}

@media (max-width: 767px) {
  .site-footer.philsaga-footer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "contact"
      "socials"
      "navigation"
      "legal";
    padding-top: 20px;
  }

  .site-footer.philsaga-footer .site-footer__links {
    margin: 0 0 16px;
  }

  .site-footer.philsaga-footer .site-footer__socials {
    padding: 12px 0 18px;
  }
}
