*::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

body {
  /*font-family: Arial, sans-serif;*/
  /*font-family: system-ui;*/
  font-family: georgia, "Times New Roman", serif;
  font-display: optional;
  font-size: 16px;
  font-size-adjust: 0.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "clig";
  line-height: 1.5;
  color: rgb(17, 17, 17);
  margin: 0;
  padding: 0;
}
header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 640px;
  margin: 1rem auto;
}
header .logo {
  display: flex;
  justify-content: center;
  width: 100%;
}
header .logo img {
  width: auto;
  height: 2.5rem;
}
header .menu {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  overflow-x: auto;
  padding-inline: 0.625rem;
  background-color: #fdf4ff61;
  padding-block: 0.3rem;
  border: 1px solid #fdf4ffb3;
}
header .menu .category {
  text-transform: uppercase;
  font-family: system-ui, Arial, sans-serif;
  color: #701a75;
  background-color: #fdf4ff;
  border: 1px solid #fae8ff;
  border-radius: 100rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.8rem;
  padding-inline: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
header .menu .category:hover {
  background-color: #fae8ff;
  border: 1px solid #f5d0fe;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 1rem;
  gap: 3rem;
  /* background-color: #fdf4ff61; */
  /* border-top: 1px solid #fdf4ffb3; */
  background-color: rgb(32, 34, 37);
  /* background: linear-gradient(to bottom, #404040, #262626); */
  /* background-color: #262626; */
  color: rgb(240, 240, 242);
  border-top: 1px dashed #e5e5e5;
  margin-top: 3rem;
  font-family: system-ui, Arial, sans-serif;
}

footer .social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

footer .social img {
  width: 1.75rem;
  height: 1.75rem;
}

footer .notice {
  font-size: 0.8rem;
  padding-inline: 2rem;
}

footer .logo-status {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer .logo {
  height: 3rem;
  width: auto;
}

footer .status {
  display: flex;
  gap: 8px;
  border-radius: 15px;
  padding: 2px 20px;
  align-items: center;
  width: fit-content;
  background-color: #064e3b;
  color: #34d399;
  border: 1px solid #065f46;
  text-transform: uppercase;
  font-weight: 400;
}

footer .copyright {
  text-transform: uppercase;
  font-weight: 600;
}

#articles-screen .articles-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 3rem;
}
#articles-screen .articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#articles-screen .articles .article {
  display: flex;
  padding: 0.3rem;
  gap: 1rem;
  background-color: #f9f9f9;
  border-radius: 1rem;
  border: 1px solid #ececec;
}
#articles-screen .articles .article .image {
  width: 6rem;
  height: 6rem;
}

#articles-screen .articles .article .image img {
  width: fit-content;
  border-radius: 10px;
  border: 1px solid lightgray;
  aspect-ratio: 1 / 1;
  height: 100%;
}

#articles-screen .articles .article .title-date {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  flex-grow: 1;
}

#articles-screen .articles .article .date-wrapper {
  display: flex;
  justify-content: start;
  align-items: end;
  flex-grow: 1;
}

#articles-screen .articles .article .date {
  font-family: system-ui, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(93, 93, 93, 1);
  /* display: none; */
  /* background-color: rgba(200, 200, 200, 0.2); */
  /* border: 1px solid rgba(200, 200, 200, 0.25); */
  width: fit-content;
  border-radius: 0.3rem;
  /* padding-inline: 0.5rem; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}
#articles-screen .articles .article .date img {
  width: 0.75rem;
  height: 0.75rem;
}
#articles-screen .articles .article .title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
#articles-screen .articles .article .title-date .arrow {
  position: absolute;
  bottom: 0rem;
  right: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
}
#articles-screen .articles .article .title-date .arrow img {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.75;
}
#articles-screen .articles .article h1 {
  font-size: 2.15rem;
  line-height: 1;
}
#articles-screen .articles .article p {
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  word-spacing: 0.03em;
}
#articles-screen .articles .article p strong {
  font-weight: 500;
  font-style: italic;
}
#articles-screen .main-article {
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: #f9f9f9;
  border-radius: 1rem;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#articles-screen .main-article .image-container {
  max-width: 640px;
  /* position: relative; */
  height: auto;
  aspect-ratio: 1.73 / 1;
  overflow: clip;
  border-radius: 1rem;
}
#articles-screen .main-article .image-container img {
  width: 100%;
  height: -webkit-fill-available;
  /* border-radius: 1rem; */
}

#articles-screen .main-article .title-date {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  flex-grow: 1;
}

#articles-screen .main-article .date-wrapper {
  display: flex;
  justify-content: start;
  align-items: end;
  flex-grow: 1;
}

#articles-screen .main-article .date {
  font-family: system-ui, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(93, 93, 93, 1);
  /* display: none; */
  /* background-color: rgba(200, 200, 200, 0.2); */
  /* border: 1px solid rgba(200, 200, 200, 0.25); */
  width: fit-content;
  border-radius: 0.3rem;
  /* padding-inline: 0.5rem; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}
#articles-screen .main-article .date img {
  width: 0.75rem;
  height: 0.75rem;
}
#articles-screen .main-article .title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
#articles-screen .main-article .title-date .arrow {
  position: absolute;
  bottom: 0rem;
  right: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
}
#articles-screen .main-article .title-date .arrow img {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.75;
}
#article-screen .article {
  max-width: 640px;
  margin: 0 auto;
}

#article-screen .article h1 {
  font-size: 1.75rem;
  line-height: 2.2rem;
  font-weight: 500;
  tab-size: 4;
}

#article-screen .article p {
  font-size: 1.125rem;
  tab-size: 4;
  line-height: 32px;
  text-size-adjust: 100%;
}

#article-screen .article .hero {
  max-width: 640px;
  height: auto;
  aspect-ratio: 1.73 / 1;
  overflow: hidden;
}

#article-screen .article .metadata {
  display: flex;
  color: rgb(115, 115, 115);
  font-family: system-ui;
  font-weight: 400;
  margin-block: 1rem;
  gap: 0.5rem;
  font-size: 0.9rem;
}

#article-screen .article .metadata .date {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

#article-screen .article .metadata .date img {
  width: 0.8rem;
  height: 0.8rem;
}

#article-screen .article .actions {
  flex-grow: 1;
  display: flex;
  justify-content: end;
  gap: 0.5rem;
}

#article-screen .article .actions .action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#article-screen .article .actions .action.share {
  margin-left: 1rem;
}

#article-screen .article .actions .action img {
  width: 1.5rem;
  height: 1.5rem;
}

@media only screen and (min-width: 1024px) {
  header .logo img {
    height: 3rem;
  }

  #article-screen .article p {
    font-size: 1.25rem;
  }

  #article-screen .article h1 {
    font-size: 3rem;
    line-height: 3.2rem;
  }
}

#article-screen .article p strong {
  font-family: system-ui, Arial, sans-serif;
  font-weight: 600;
  /*font-size: 1.25rem;*/
  line-height: 1.55rem;
  text-size-adjust: 100%;
  tab-size: 4;
}

#article-screen .padded {
  padding-inline: 0.625rem;
}

#article-screen .article iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1.6 / 1;
}

#article-screen .article .body img {
  width: 100% !important;
  height: auto !important;
}

#article-screen .article .body blockquote {
  /* background-color: #fdf4ff; */
  margin: 0;
  padding-inline-end: 2rem;
  padding-inline-start: 5rem;
  padding-block: 0.25rem;
  border: 1px solid #fae8ff;
  color: #701a75;
  border-radius: 1rem;
  font-style: italic;
  box-shadow: 0 0 5px 2px #701a751a;
  background:
    url("/assets/icon-quote-marks.svg") no-repeat left 1.5rem top 1.5rem/2.5rem
      2.5rem,
    linear-gradient(rgba(253, 245, 255, 0.51), #fdf4ff);
}

#article-screen .article .body blockquote .quote {
  font-size: 1rem;
  text-align: justify;
  line-height: 1.75rem;
}

#article-screen .article .body blockquote .author {
  text-align: right;
  font-size: 1rem;
  font-weight: 600;
}

#article-screen .article .body .tags {
  display: flex;
  gap: 0.8rem;
  white-space: nowrap;
  overflow-x: auto;
}

#article-screen .article .body .tags .tag {
  text-transform: uppercase;
  font-family: system-ui, Arial, sans-serif;
  color: #4a044e;
  background-color: #fdf4ff;
  border-radius: 100rem;
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid #f5d0fe;
}
