* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --header-menu-category-color: #701a75;
  --header-menu-category-background-color: #fdf4ff;
  --header-menu-category-border-color: #fae8ff;
  --header-menu-category-background-color-hover: #fae8ff;
  --header-menu-category-border-color-hover: #f5d0fe;
  --header-menu-category-background-color-active: #fae8ff;
  --header-menu-category-border-color-active: #f5d0fe;
  --header-menu-category-color-active: #4a044e;
  --header-menu-category-color-highlight: #4a044e;
  --articles-screen-category-label-color: #701a75;
  --articles-screen-category-label-border-color: rgba(112, 26, 117, 0.57);
  --articles-screen-category-more-background-color: #701a75;
  --article-screen-article-body-tags-tag-color: #4a044e;
  --article-screen-article-body-tags-tag-background-color: #fdf4ff;
  --article-screen-article-body-tags-tag-border-color: #f5d0fe;
  --article-screen-article-body-blockquote-color: #701a75;
  --article-screen-article-body-blockquote-box-shadow: #701a751a;
  --article-screen-article-body-blockquote-background-gradient-from: #fdf5ff82;
  --article-screen-article-body-blockquote-background-gradient-to: #fdf4ff;
  --article-screen-article-body-blockquote-border-color: #f5d0fe;
  --primary-color: #fff;
  --secondary-color: #000;
  --container-width: 1170px;
  --article-border-color: #ececec;
  --article-date-time-color: rgba(93, 93, 93, 1);
  --header-border-color: #80808080;
  --article-border-color-secondary: #171717;
  --video-tag-color: #e10600;
  --pagination-button-color: #ccc;
  --pagination-button-active-color: #6f266c;
  --post-labels-color: #737373;
  --footer-bg-color: rgb(32, 34, 37);
  --footer-tag-bg-color: #064e3b;
  --footer-tag-color: #34d399;
  --footer-tag-border-color: #065f46;
  --footer-border-color: #e5e5e5;
  --error-page-bg-color: #f9f9f9;
  --error-page-color: #333;
  --error-page-link-color: #0070f3;
}

body {
  font-family: georgia, "Times New Roman", serif;
  font-display: optional;
  font-size: 1rem;
  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: var(--secondary-color);
  margin: 0;
  padding: 0;
  background-color: var(--primary-color);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.menu {
  padding: 1rem 0;
  height: 90px;
}

.navbar .container {
  padding: 0;
}

.navbar-content .navbar-item {
  list-style: none;
  text-transform: uppercase;
}

.navbar-content .navbar-item a {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
  font-family: system-ui, Arial, sans-serif;
}

.navbar-content .navbar-item.active a {
  border-bottom: 2px solid var(--article-border-color-secondary);
}

.menu .logo {
  width: 12rem;
  height: 43px;
}

.menu-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.menu-header {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.menu-wrapper .logo {
  display: flex;
  margin: 0 auto;
}

.menu-wrapper .navbar-content {
  display: flex;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  gap: 1rem;
  padding-inline: 0.5rem;
}

.section {
  padding: 2rem 0;
}

.article {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--article-border-color);
  padding-bottom: 1rem;
}

.article-img {
  width: 6rem;
  flex-shrink: 0;
}

.article-img .link {
  display: block;
  width: 100%;
}

.article-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.article-title .link {
  text-decoration: none;
}

.article-title .link:hover {
  text-decoration: solid 2px green;
}

.title {
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--secondary-color);
  font-weight: 400;
}

.article-description p,
.description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--secondary-color);
}

.description.auto-tech {
  font-weight: 400;
  color: var(--secondary-color);
}

.article-title .title:hover {
  text-decoration: underline solid var(--secondary-color);
  text-decoration-thickness: 2px;
}

.article-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-date-time {
  font-size: 0.75rem;
  font-family: system-ui, Arial, sans-serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--article-date-time-color);
}

.article-date-time img {
  width: 0.75rem;
}

.article-category {
  font-size: 0.75rem;
  font-family: system-ui, Arial, sans-serif;
  font-weight: 600;
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.row.with-two-sidebars {
  display: grid;
  grid-template-columns: 1fr;
}

.with-one-sidebar {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-wrapper {
  width: 100%;
  border-bottom: 1px solid var(--article-border-color);
  padding-bottom: 1rem;
}

.hero-wrapper.video {
  border-color: var(--article-border-color-secondary);
}

.hero-wrapper .link {
  text-decoration: none;
}

.hero-wrapper img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hero-wrapper .title {
  font-size: 1.2rem;
}

.hero-wrapper .title:hover {
  text-decoration: underline solid var(--secondary-color);
  text-decoration-thickness: 2px;
}

.sub-hero-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.side-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header {
  width: 100%;
  padding: 0.25rem 0;
  border-bottom: 2px solid var(--secondary-color);
  text-transform: uppercase;
  font-size: 1.1rem;
  font-family: system-ui, Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.header .link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: 1.1rem;
  font-family: system-ui, Arial, sans-serif;
  font-weight: 600;
}

.header .link img {
  width: 1.5rem;
  object-fit: cover;
  transform: rotate(90deg);
}

.widget .header {
  border-top: 2px solid var(--secondary-color);
}

.news-section .header {
  margin: 0;
  padding: 0;
}

.side-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.side-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.side-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.side-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.oped-section .article {
  align-items: center;
}

.oped-section .article-img {
  width: 5rem;
}

.oped-section .article-img img {
  border-radius: 50%;
}

.zoya-section .article {
  flex-direction: row;
}

.zoya-section .title {
  font-size: 1.2rem;
}

.zoya-section .article-description {
  display: none;
}

.zoya-section .article-img {
  flex: 0 0 30%;
}

.zoya-section .article-content {
  flex: 1;
  justify-content: flex-start;
}

.zoya-section .article-date-time-others {
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.video-section .content-wrapper {
  background-color: var(--secondary-color);
  padding: 2rem 1rem;
}

.video-section .hero-content {
  display: flex;
  flex-direction: column;
}

.video-section .hero-content .title {
  color: var(--primary-color);
}

.video-section .hero-content .title:hover {
  text-decoration: none;
}

.video-section .article {
  border-bottom-color: var(--article-border-color-secondary);
}

.video-section .side-articles {
  padding: 1rem 0;
}

.video-section .side-articles .title {
  color: var(--primary-color);
}

.video-section .side-articles .article-date-time .img {
  color: var(--primary-color);
}

.video-section .hero-img {
  position: relative;
}

.video-section .play-circle-icon {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

.play-circle {
  fill: var(--video-tag-color);
}

.play-icon {
  fill: var(--primary-color);
}

.auto-tech-section .hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title-description .description {
  display: none;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
}

.pagination .link {
  padding: 0.4rem 0.8rem;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: system-ui, Arial, sans-serif;
  text-decoration: none;
  color: var(--secondary-color);
}

.pagination .link:hover {
  background-color: var(--pagination-button-color);
}

.pagination .link.active {
  background: var(--pagination-button-active-color);
  color: var(--primary-color);
}

.pagination .link.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.pagination .link svg {
  vertical-align: middle;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.post-page .hero-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: none;
  padding: 0;
}

.post-page .hero-wrapper .title {
  font-size: 1.7rem;
  line-height: 2.2rem;
  display: block;
  text-decoration: none;
}

.post-page .hero-wrapper .title:hover {
  text-decoration: none;
}

.post-page .post-feature {
  padding: 2rem 0;
}

.post-meta {
  display: flex;
  justify-content: space-between;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-author .author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author .post-author-details {
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--post-labels-color);
  font-size: 0.9rem;
}

.post-author .post-author-details img {
  width: 0.85rem;
  height: 0.85rem;
  object-fit: cover;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-actions .action {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.post-actions .action svg {
  cursor: pointer;
}

.post-actions .action span {
  font-size: 0.9rem;
  color: var(--post-labels-color);
}

.footer {
  background-color: var(--footer-bg-color);
  padding: 3rem 0;
  font-family: system-ui, Arial, sans-serif;
  border-top: 1px dashed var(--footer-border-color);
}

.footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.footer .footer-links .link {
  display: flex;
}

.footer .footer-links .img {
  width: 12rem;
}

.footer .label {
  background-color: var(--footer-tag-bg-color);
  color: var(--footer-tag-color);
  padding: 2px 20px;
  border-radius: 15px;
  border: 1px solid var(--footer-tag-border-color);
}

.footer .social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer .social-icons .img {
  width: 1.5rem;
}

.footer .social-icons li {
  list-style: none;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  color: var(--primary-color);
}

.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
}

.post-tags .post-tag {
  padding: 0.3rem 0.5rem;
  color: var(--article-screen-article-body-tags-tag-color);
  background-color: var(
    --article-screen-article-body-tags-tag-background-color
  );
  border: 1px solid var(--article-screen-article-body-tags-tag-border-color);
  border-radius: 50px;
  font-family: system-ui, Arial, sans-serif;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.post-description,
.post-description.excerpt {
  font-size: 1.05rem;
}

.post-description p {
  margin-block: 1rem;
}

.post-description.excerpt {
  font-family: system-ui, Arial, sans-serif;
}

.error-page {
  margin: 0;
  padding: 0 1rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: system-ui, Arial, sans-serif;
  background-color: var(--error-page-bg-color);
  color: var(--error-page-color);
  text-align: center;
}

.error-page h1 {
  font-size: 3rem;
  margin: 0 0 1rem 0;
}

.error-page p {
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.error-page a {
  color: var(--error-page-link-color);
  text-decoration: none;
  font-weight: bold;
}

.error-page a:hover {
  text-decoration: underline;
}

.post-page-wrapper .row .col {
  min-width: 0;
  overflow-x: hidden;
}

.ad-wrapper {
  width: 100%;
}

.revive-ad {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 170px;
  padding: 1rem 0;
}

.revive-ad.mobile {
  display: flex;
}

.revive-ad.desktop {
  display: none;
}

.ad-wrapper.fixed-ad {
  display: none;
}

.search-btn {
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.search-input.desktop {
  display: none;
}

.search-input .search-field {
  font-family: system-ui, Arial, sans-serif;
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  outline: none;
  border: 1px solid var(--article-border-color);
  background-color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.search-input.mobile .search-field {
  position: fixed;
  top: 120px;
  left: 5px;
  right: 5px;
  outline: none;
  display: none;
  z-index: 1000;
}

.search-input.mobile .search-field.show {
  display: block;
}

.search-input.mobile .search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

iframe {
  max-width: 100%;
}

/* BREAKPOINTS  */

@media only screen and (min-width: 992px) {
  .revive-ad.mobile {
    display: none;
  }

  .revive-ad.desktop {
    display: flex;
  }

  .container,
  .navbar .container {
    padding: 1rem 0.5rem;
  }

  .search-input.mobile {
    display: none;
  }

  .search-input.desktop {
    display: flex;
    align-items: center;
    position: relative;
  }

  .search-input.desktop .search-field {
    position: absolute;
    top: 50%;
    right: calc(100% + 0.5rem);
    transform: translateY(-50%) scaleX(0);
    transform-origin: right center;
    width: 15rem;
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
    z-index: 100;
  }

  .search-input.desktop .search-field.show {
    transform: translateY(-50%) scaleX(1);
    opacity: 1;
    pointer-events: auto;
  }

  .search-input.desktop .search-btn {
    position: relative;
  }

  .menu .logo {
    width: 14rem;
    height: 50px;
  }

  .menu-wrapper {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }

  .menu-header {
    width: fit-content;
  }

  .menu-wrapper .navbar-content {
    padding-inline: 0;
  }

  .menu-wrapper .logo {
    margin: unset;
  }

  .menu-wrapper .search-icon {
    display: block;
  }

  .row.with-two-sidebars {
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-areas: "left hero right";
    gap: 2rem;
  }

  .row.with-two-sidebars .col:first-child {
    grid-area: hero;
  }

  .sub-hero-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .article {
    flex-direction: column;
  }

  .article-img img {
    aspect-ratio: 2 / 1;
  }

  .article-content {
    gap: 1rem;
    height: 100%;
  }

  .article-img {
    width: 100%;
  }

  .with-one-sidebar {
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }

  .sport-section .with-one-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }

  .side-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .side-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .video-section .hero-content {
    flex-direction: row;
    gap: 2rem;
  }

  .video-section .hero-img {
    flex: 0 0 45%;
    min-width: 0;
  }

  .video-section .hero-content .title {
    flex: 1;
    align-self: center;
  }

  .video-section .hero-content .title::before {
    content: "VIDEO";
    padding: 0.2rem;
    background-color: var(--video-tag-color);
    color: var(--primary-color);
    display: block;
    width: fit-content;
    font-size: 1rem;
    font-family:
      system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  }

  .oped-section .article {
    flex-direction: row;
  }

  .oped-section .article-img {
    width: 30%;
  }

  .oped-section .article-content {
    flex: 1;
  }

  .oped-section .article-img img {
    aspect-ratio: 1;
  }

  .oped-section .article-content {
    justify-content: center;
  }

  .zoya-section .article-img {
    flex: 0 0 35%;
  }

  .zoya-section .article-description {
    display: block;
  }

  .row.dual-hero {
    grid-template-columns: repeat(2, 1fr);
  }

  .showbiz-section .row.dual-hero {
    gap: 2rem;
  }

  .auto-tech-section .hero-content {
    flex-direction: row;
    gap: 2rem;
  }

  .auto-tech-section .hero-content img {
    width: 50%;
  }

  .hero-title-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
  }

  .hero-title-description .description {
    display: -webkit-box;
  }

  .category-page .row.with-one-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-page .hero-wrapper .title {
    font-size: 2.8rem;
    line-height: 1.25;
    padding: 0.2rem 0;
  }

  .section .hero-wrapper .title,
  .hero-wrapper .title,
  .zoya-section .title {
    font-size: 1.6rem;
    line-height: 34px;
    font-weight: 500;
  }

  .title {
    font-size: 1.1rem;
  }

  .post-description,
  .post-description.excerpt {
    font-size: 1.2rem;
  }
}

@media only screen and (min-width: 1280px) {
  .container,
  .navbar .container {
    padding: 1rem 0rem;
  }
}

@media only screen and (min-width: 1600px) {
  .ad-wrapper.fixed-ad {
    display: block;
    width: fit-content;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
  }

  .ad-wrapper.fixed-ad.left {
    left: 15px;
  }

  .ad-wrapper.fixed-ad.right {
    right: 15px;
  }
}
