:root {
  --black: #000;
  --black2: #333;
  --white: #ffffff;
  --grey1: #5d5d5d;
  --grey2: #808080;
  --grey3: #9b9b9b;
  --grey4: #c5c5c5;
  --grey5: #D8D8D8;
  --grey6: #e7e7e7;
  --grey7: #f0f0f0;
  --bodyfont: "Manrope", sans-serif;
  --titlefont: "TiemposRegular", serif;
}

@font-face {
  font-family: "TiemposBold";
  src: url("../type/TiemposHeadline-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "TiemposLight";
  src: url("../type/TiemposHeadline-Light.woff2") format("woff2");
}

@font-face {
  font-family: "TiemposMedium";
  src: url("../type/TiemposHeadline-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "TiemposRegular";
  src: url("../type/TiemposHeadline-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "TiemposSemibold";
  src: url("../type/TiemposHeadline-Semibold.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--bodyfont);
  font-weight: 400;
  line-height: 1.3;
  font-size: 18px;
  letter-spacing: 0px;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  max-width: 100%;
  width: 100%;
  /* overflow-x: hidden; */
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a:hover {
  opacity: 0.7;
}

img {
  object-fit: cover;
  object-position: 50% 50%;
  vertical-align: middle;
  width: 100%;
  height: inherit;
}

.layout-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: flex-start;
}

.def-width {
  max-width: 90%;
  padding-left: 5px;
  padding-right: 5px;
  margin: auto;
}

header {
  background-color: var(--white);
}

.header-wrap {
  justify-content: space-between;
  height: 70px;
}

.headline-img {
  height: 220px;
  filter: contrast(150%) saturate(30%);
}

.currentdate {
  font-size: 12px;
  display: none;
}

.meta-details-wrap {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--grey2);
  margin: 10px auto;
}

.headline-title {
  font-family: var(--titlefont);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 26px;
  margin-block-start: 0;
  margin-block-end: 0;
}

.list-content {
  border-top: 1px dashed var(--grey4);
  padding: 15px 0;
  margin: 20px 0;
}

.list-content-title {
  margin-block-start: 0;
  margin-block-end: 0;
  font-family: var(--titlefont);
  font-weight: 500;
  font-size: 20px;
}

.notification-content {
  background: var(--black);
  color: var(--white);
  padding: 20px;
}

.notification-content-light {
  background: var(--grey6);
  color: var(--black);
  padding: 20px;
}

.notification-content p {
  margin-block-start: 0;
  margin-block-end: 0;
  font-family: var(--titlefont);
  font-weight: 500;
  font-size: 20px;
}

.brandlogo {
  width: 139px;
}

.canvas {
  background-color: var(--white);
}

.b-separator {
  height: 100px;
}

.article-meta-title {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: 0;
  right: 0;
}

.read-category-publish {
  display: flex;
}

.read-content-header {
  width: 100%;
  height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
  filter: contrast(150%) saturate(30%);
}

.read-content-header.category-header {
  height: 100px;
  display: flex;
  align-items: center;
}

.category-header-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
  text-align: left;
}

@media (max-width: 600px) {
  .category-header-title {
    font-size: 24px;
  }
}

.read-content-header-overlay {
  background-color: rgba(0, 0, 0, 0.37);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.scroll-icon {
  width: 24px;
  margin: 20px auto 0 auto;
}

.read-category-publish {
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--grey5);
}

.read-category-publish span {
  margin: 0 5px;
}

.read-content h3 {
  margin-block-start: 0;
  margin-block-end: 0;
  font-size: 16px;
  font-weight: 400;
  margin: 10px 0;
}

.content-chapter ul {
  padding-inline-start: 20px;
}

.content-chapter li {
  margin-bottom: 10px;
}

.content-card-list-wrap {
  border-bottom: 1px dashed var(--grey4);
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.content-card-list-wrap-border {
  border-top: 1px dashed var(--grey4);
  margin-top: 50px;
  margin-bottom: 50px;
  padding-top: 10px;
}

article {
  font-family: var(--titlefont);
  letter-spacing: 1px;
}

article h2 {
  margin-block-start: 2em;
}

article p {
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: 0;
}

span.img-source {
  font-family: var(--bodyfont);
  text-align: center;
  font-size: 14px;
  display: block;
  margin: 5px auto;
  color: var(--grey2);
}

a.btn-cta {
  width: max-content;
  padding: 8px 20px;
  color: var(--white);
  background-color: var(--black);
  display: block;
  margin: 30px auto;
  border-radius: 100px;
  font-weight: 500;
}

.article-reco {
  margin-top: 50px;
}

@media (min-width: 767px) {
  .headline-img {
    height: 320px;
  }

  .headline-title {
    font-size: 30px;
  }

  .list-content-title {
    font-size: 24px;
  }

  .meta-details-wrap {
    font-size: 14px;
    margin: 10px auto;
  }

  .brandlogo {
    width: 150px;
  }

  .currentdate {
    font-size: 14px;
  }

  .notification-content p {
    font-size: 24px;
  }

  article p {
    font-size: 20px;
  }
}

@media (min-width: 901px) {
  body {
    background-color: var(--grey6);
  }

  .canvas {
    max-width: 900px;
    margin: auto;
  }
}

/* =====================
   Share FAB
   ===================== */
.share-fab-sticky {
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  padding-right: 0;
  z-index: 999;
  right: 70px;
  pointer-events: none;
}

.share-fab {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: relative;
  bottom: 52px;
}

.share-fab.visible {
  opacity: 1;
  transform: translateY(0);
}

.share-fab.visible .share-fab-btn {
  pointer-events: all;
}

.share-panel.open {
  pointer-events: all;
}

.share-fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0f172a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(15,23,42,0.25);
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}

.share-fab-btn:hover { background: #1e293b; transform: scale(1.08); }
.share-fab-btn.active { background: #888888; }

.share-panel {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 32px rgba(15,23,42,0.15);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  border: 1px solid #e2e8f0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform-origin: bottom right;
}

.share-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.share-panel-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  padding: 2px 8px 6px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 4px;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.share-option:hover { background: #f8fafc; }

.share-option .share-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.share-option.copied { color: #10b981; }

.share-toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #0f172a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  z-index: 1000;
  white-space: nowrap;
}

.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
  .share-fab-sticky {
    position: fixed;
    bottom: 0px;
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
    z-index: 999;
    right: 20px;
    pointer-events: none;
  }
}