/* =========================================================
   Morning - European Economy News (clone of Morning template)
   ========================================================= */

:root {
  --primary: #fbfbfb;
  --body: #333;
  --title: #000;
  --secondary: #dc0000;
  --bg: #fff;
  --desktop: 150px;
  --tablet: 100px;
  --landscape-mobile: 80px;
  --portrait-mobile: 60px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--primary);
  color: var(--body);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--title);
  font-family: "Inter Tight", sans-serif;
  margin: 0 0 10px;
  font-weight: 400;
}

h1 { font-size: 48px; font-weight: 300; line-height: 120%; }
h2 { font-size: 32px; line-height: 120%; }
h3 { font-size: 28px; line-height: 130%; }
h4 { font-size: 22px; line-height: 150%; }
h5 { font-size: 18px; line-height: 150%; }
h6 { font-size: 16px; line-height: 150%; }

p { margin-top: 0; margin-bottom: 10px; }

a { color: var(--body); text-decoration: underline; }
a:hover { text-decoration: none; }

ul, ol { margin-top: 20px; margin-bottom: 20px; padding-left: 30px; }
li { margin-bottom: 15px; }

.container {
  width: 100%;
  max-width: 1336px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------------- Buttons ---------------- */
.primary-button {
  color: #000;
  background-color: transparent;
  border: 1px solid #000;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  line-height: 130%;
  text-decoration: none;
  transition: background-color .3s, border-color .3s, color .3s;
  display: flex;
}
.primary-button:hover,
.primary-button.fill {
  border-color: var(--secondary);
  background-color: var(--secondary);
  color: #fff;
}
.primary-button.fill:hover {
  background-color: #000;
  border-color: #000;
}

/* ---------------- Navbar ---------------- */
.navbar {
  background-color: #000;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
  z-index: 1000;
}

.navbar-wrap {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.nav-left {
  grid-column-gap: 45px;
  align-items: center;
  display: flex;
}

.brand {
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand .brand-dot { color: var(--secondary); }

.nav-menu-wrap {
  align-items: center;
  display: flex;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item { display: flex; }

.nav-link {
  color: #fff;
  text-transform: uppercase;
  margin-left: 5px;
  margin-right: 5px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
  text-decoration: none;
  transition: color .3s;
}
.nav-link:hover { color: var(--secondary); text-decoration: none; }

.nav-right {
  grid-column-gap: 20px;
  display: flex;
  align-items: center;
}

.nav-line {
  background-color: #fff3;
  width: 1px;
  align-self: stretch;
  min-height: 20px;
}

.nav-button {
  background-color: var(--secondary);
  color: #fff;
  border-radius: 4px;
  padding: 8px 28px;
  font-size: 14px;
  font-weight: 500;
  line-height: 130%;
  text-decoration: none;
  transition: color .3s, background-color .3s;
  display: inline-block;
}
.nav-button:hover { background-color: var(--bg); color: #000; text-decoration: none; }
.nav-button.mobile { display: none; }

/* ---------------- Language switcher ---------------- */
.lang-switch {
  display: flex;
  align-items: center;
  position: relative;
}

.lang-switch .lang-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #fff;
  background-color: #ffffff14;
  border: 1px solid #ffffff4d;
  border-radius: 4px;
  max-width: 180px;
  height: auto;
  margin: 0;
  padding: 8px 34px 8px 12px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 130%;
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

.lang-switch .lang-select:hover { background-color: #ffffff2b; border-color: #ffffff80; }
.lang-switch .lang-select:focus { outline: 0; border-color: #fff; }
.lang-switch .lang-select option { color: #000; background-color: #fff; }

.lang-switch.mobile { display: none; }

/* ---------------- Search ---------------- */
.search { align-items: center; margin-bottom: 0; display: flex; }
.search.mobile { display: none; }
.search-input {
  color: #fff;
  background-color: transparent;
  border: 0 solid #000;
  max-width: 140px;
  height: auto;
  margin-bottom: 0;
  padding: 0 0 0 26px;
  font-size: 12px;
  font-family: Inter, sans-serif;
  line-height: 150%;
  transition: max-width .3s;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: auto;
}
.search-input:focus { max-width: 180px; outline: 0; }
.search-input::placeholder { color: #fff; font-size: 12px; line-height: 100%; }

/* Hamburger */
.menu-button {
  display: none;
  flex-flow: column;
  justify-content: space-between;
  cursor: pointer;
  width: 28px;
  height: 18px;
  padding: 0;
  background: none;
  border: 0;
}
.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform .3s, opacity .3s;
}
.menu-button.w--open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-button.w--open span:nth-child(2) { opacity: 0; }
.menu-button.w--open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  margin-bottom: var(--desktop);
  background-color: var(--bg);
  border-bottom: 1px solid #0000001a;
  padding-top: 80px;
  padding-bottom: 48px;
}

.hero-wrap {
  grid-column-gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.hero-left {
  grid-row-gap: 40px;
  flex-flow: column;
  width: 100%;
  max-width: 75%;
  display: flex;
}
.hero-right {
  grid-row-gap: 25px;
  flex-flow: column;
  width: 100%;
  max-width: 25%;
  display: flex;
}

.hero-main {
  grid-column-gap: 30px;
  width: 100%;
  text-decoration: none;
  display: flex;
}
.hm-img {
  background-color: var(--primary);
  border-radius: 4px;
  width: 100%;
  max-width: 50%;
  position: relative;
  overflow: hidden;
}
.hm-image {
  object-fit: cover;
  width: 100%;
  min-height: 420px;
  max-height: 420px;
}
.hm-data {
  grid-row-gap: 60px;
  flex-flow: column;
  justify-content: space-between;
  width: 100%;
  max-width: 50%;
  display: flex;
}
.hm-title {
  margin-top: 12px;
  margin-bottom: 15px;
  font-size: 34px;
  font-weight: 400;
  line-height: 120%;
}
.hm-text { margin-bottom: 0; }
.hm-tag {
  grid-column-gap: 8px;
  background-color: #fff;
  align-items: center;
  padding: 6px 18px;
  font-size: 12px;
  line-height: 150%;
  display: flex;
  position: absolute;
  inset: auto auto 0% 0%;
  color: #000;
}
.hm-dot {
  background-color: var(--secondary);
  border-radius: 50%;
  min-width: 8px;
  max-width: 8px;
  min-height: 8px;
  max-height: 8px;
}

/* category + info */
.news-category {
  text-transform: uppercase;
  font-size: 12px;
  line-height: 120%;
  color: var(--secondary);
  font-weight: 500;
  letter-spacing: .02em;
}
.tn-category {
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 120%;
  color: var(--secondary);
  font-weight: 500;
}
.fn-category {
  text-transform: uppercase;
  font-size: 12px;
  line-height: 120%;
  color: var(--secondary);
  font-weight: 500;
}

.news-info {
  grid-column-gap: 12px;
  font-size: 12px;
  line-height: 120%;
  display: flex;
  align-items: center;
  color: #666;
}
.news-author {
  font-size: 12px;
  font-weight: 600;
  line-height: 120%;
  color: #000;
  text-decoration: none;
  transition: color .3s;
}
.news-author:hover { color: var(--secondary); }
.news-line {
  background-color: #3333331a;
  width: 1px;
  align-self: stretch;
  min-height: 12px;
}

/* hero bottom row (3 small) */
.news-wrapper {
  grid-column-gap: 26px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}
.hb-block { width: 100%; text-decoration: none; }
.hb-img { object-fit: cover; width: 100%; min-height: 200px; max-height: 200px; }
.hb-title {
  max-height: 2.8em;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 140%;
  overflow: hidden;
}
.news-img {
  background-color: var(--bg);
  border-radius: 4px;
  width: 100%;
  overflow: hidden;
}
.news-data { margin-top: 12px; }

/* hero right */
.hr-block {
  grid-row-gap: 12px;
  flex-flow: column;
  width: 100%;
  text-decoration: none;
  display: flex;
}
.hr-img {
  background-color: var(--primary);
  border-radius: 4px;
  width: 100%;
  overflow: hidden;
}
.hr-image {
  object-fit: cover;
  width: 100%;
  min-height: 180px;
  max-height: 180px;
}
.hr-title {
  max-height: 3em;
  margin-top: 4px;
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 140%;
  overflow: hidden;
}
.hero-line {
  background-color: #0000001a;
  width: 100%;
  height: 1px;
}

/* small horizontal blocks */
.tn-block {
  grid-column-gap: 10px;
  align-items: center;
  text-decoration: none;
  display: flex;
}
.tn-img {
  background-color: var(--bg);
  border-radius: 4px;
  width: 100%;
  min-width: 110px;
  max-width: 110px;
  overflow: hidden;
  flex-shrink: 0;
}
.tn-image {
  object-fit: cover;
  width: 100%;
  min-height: 80px;
  max-height: 80px;
}
.tn-title {
  max-height: 3em;
  color: var(--title);
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  line-height: 140%;
  overflow: hidden;
}
.tn-list {
  grid-row-gap: 20px;
  flex-flow: column;
  display: flex;
}
.tn-item { display: flex; }

/* ---------------- Latest News ---------------- */
.latest-news-section { margin-bottom: var(--desktop); }

.section-title {
  border-top: 4px solid #000;
  border-bottom: 1px solid #000;
  margin-bottom: 40px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.section-title.space { margin-bottom: 25px; }

.ln-wrapper {
  grid-column-gap: 35px;
  align-items: flex-start;
  display: flex;
}
.ln-left { width: 100%; max-width: 70%; }
.ln-right {
  background-color: var(--bg);
  border-radius: 4px;
  width: 100%;
  max-width: 30%;
  padding: 35px;
  box-shadow: 0 2px 2px #0000001a;
}
.ln-list {
  grid-row-gap: 40px;
  flex-flow: column;
  display: flex;
}
.ln-block {
  grid-column-gap: 24px;
  grid-row-gap: 12px;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  text-decoration: none;
  display: flex;
}
.ln-img {
  background-color: var(--bg);
  border-radius: 4px;
  width: 100%;
  max-width: 35%;
  overflow: hidden;
  flex-shrink: 0;
}
.ln-image {
  object-fit: cover;
  width: 100%;
  min-height: 180px;
  max-height: 180px;
}
.ln-data { flex: 1; }
.ln-heading { max-height: 3em; margin-bottom: 6px; overflow: hidden; }
.news-text { max-height: 3em; margin-bottom: 25px; overflow: hidden; }
.button-wrap { margin-top: 40px; display: flex; }

/* Trending */
.tn-sub-title { margin-bottom: 35px; }
.tn-wrapper {
  grid-row-gap: 40px;
  flex-flow: column;
  display: flex;
}
.tn-news {
  grid-row-gap: 12px;
  flex-flow: column;
  text-decoration: none;
  display: flex;
}
.tn-right {
  grid-column-gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
}
.news-number {
  background-color: var(--secondary);
  color: #fff;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  max-width: 20px;
  min-height: 20px;
  max-height: 20px;
  margin-top: 5px;
  font-size: 14px;
  line-height: 100%;
  display: flex;
  flex-shrink: 0;
}
.tn-news-title { max-height: 3em; margin-bottom: 0; overflow: hidden; }
.tn-news-title:hover { text-decoration: underline; }
.tn-info {
  grid-column-gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-left: 42px;
  font-size: 12px;
  line-height: 120%;
  display: flex;
  color: #666;
}

/* ---------------- Featured ---------------- */
.featured-news { margin-bottom: var(--desktop); }
.fn-list {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}
.fn-block {
  grid-column-gap: 20px;
  align-items: flex-start;
  width: 100%;
  font-size: 12px;
  line-height: 120%;
  text-decoration: none;
  display: flex;
}
.fn-data { width: 100%; max-width: 60%; }
.fn-heading { max-height: 3em; margin-bottom: 15px; font-size: 20px; overflow: hidden; }
.fn-img {
  background-color: var(--bg);
  border-radius: 4px;
  width: 100%;
  max-width: 40%;
  overflow: hidden;
  flex-shrink: 0;
}
.fn-image {
  object-fit: cover;
  width: 100%;
  min-height: 140px;
  max-height: 140px;
}

/* ---------------- CTA ---------------- */
.cta { margin-bottom: var(--desktop); }
.cta-wrap {
  grid-column-gap: 80px;
  background-color: var(--bg);
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-right: 100px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 4px #00000014;
}
.cta-left { width: 100%; max-width: 50%; overflow: hidden; }
.cta-scroll {
  grid-column-gap: 20px;
  display: flex;
  width: max-content;
  animation: cta-marquee 34s linear infinite;
}
.cta-img {
  background-color: var(--bg);
  border-radius: 4px;
  min-width: 150px;
  max-width: 150px;
  overflow: hidden;
  flex-shrink: 0;
}
.cta-image {
  object-fit: cover;
  width: 100%;
  min-height: 195px;
  max-height: 195px;
}
.cta-right { width: 100%; max-width: 50%; }
.cta-title { margin-bottom: 8px; }
.single-text { margin-bottom: 0; }
.cta-button { margin-top: 40px; display: flex; }

@keyframes cta-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- Category News ---------------- */
.category-news { margin-bottom: var(--desktop); }
.cn-wrap {
  grid-column-gap: 48px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}
.cn-box { width: 100%; }
.cn-title { margin-bottom: 15px; font-size: 24px; font-weight: 500; }
.cn-item { display: flex; }
.world-news {
  grid-row-gap: 25px;
  flex-flow: column;
  display: flex;
}
.cn-block {
  grid-column-gap: 15px;
  align-items: flex-start;
  width: 100%;
  font-size: 12px;
  line-height: 120%;
  text-decoration: none;
  display: flex;
}
.cn-img {
  background-color: var(--bg);
  border-radius: 4px;
  width: 100%;
  max-width: 40%;
  overflow: hidden;
  flex-shrink: 0;
}
.cn-image {
  object-fit: cover;
  width: 100%;
  min-height: 110px;
  max-height: 110px;
}
.cn-heading { max-height: 3em; margin-bottom: 15px; overflow: hidden; }
.sports-news, .cn-data {
  grid-row-gap: 25px;
  flex-flow: column;
  display: flex;
}
.tn-wrap {
  grid-row-gap: 10px;
  flex-flow: column;
  width: 100%;
  font-size: 12px;
  line-height: 120%;
  text-decoration: none;
  display: flex;
}
.tech-img {
  background-color: var(--bg);
  border-radius: 4px;
  width: 100%;
  overflow: hidden;
}
.tech-image {
  object-fit: cover;
  width: 100%;
  min-height: 290px;
  max-height: 290px;
}
.tn-heading { max-height: 3em; margin-bottom: 15px; font-size: 18px; line-height: 140%; overflow: hidden; }
.tech-list { grid-row-gap: 25px; flex-flow: column; display: flex; }

.link-wrap { margin-top: 30px; display: flex; }
.link-btn {
  grid-column-gap: 10px;
  color: #000;
  justify-content: flex-start;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 130%;
  text-decoration: none;
  display: flex;
  transition: color .3s;
}
.link-btn:hover { color: var(--secondary); }
.link-btn svg { transition: transform .3s; }
.link-btn:hover svg { transform: translateX(4px); }

/* ---------------- Footer ---------------- */
.footer { color: #999; background-color: #000; }
.footer-wrap {
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
}
.footer-bottom {
  grid-column-gap: 60px;
  border-top: 1px solid #fff3;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  padding-bottom: 25px;
  font-size: 14px;
  line-height: 150%;
  display: flex;
}
.ft-bottom-link { color: #999; text-decoration: none; transition: color .3s; }
.ft-bottom-link:hover { color: var(--secondary); }

.ft-left {
  grid-row-gap: 30px;
  flex-flow: column;
  width: 100%;
  max-width: 26%;
  font-size: 12px;
  line-height: 150%;
  display: flex;
}
.ft-right { grid-column-gap: 120px; align-items: flex-start; display: flex; }
.ft-text { color: #d9d9d9; margin-top: 10px; font-size: 12px; line-height: 150%; }
.ft-title { color: #fff; margin-bottom: 5px; }
.ft-brand { color: #fff; font-family: "Inter Tight", sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.ft-brand .brand-dot { color: var(--secondary); }

.contact-form { margin-bottom: 0; }
#newsletter { scroll-margin-top: 24px; }
.ft-form {
  grid-column-gap: 10px;
  flex-flow: row;
  width: 100%;
  max-width: 90%;
  display: flex;
}
.ft-input {
  height: auto;
  color: var(--body);
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 200px;
  margin-bottom: 0;
  padding: 8px 18px;
  font-size: 12px;
  font-family: Inter, sans-serif;
  line-height: 150%;
  width: 100%;
}
.ft-input:focus { border-color: #fff; outline: 0; }
.ft-input::placeholder { color: var(--body); font-size: 12px; line-height: 130%; }
.ft-btn {
  background-color: var(--secondary);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  min-width: 36px;
  max-width: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0;
  font-size: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .3s;
}
.ft-btn::before { content: "\2192"; font-size: 16px; color: #fff; }
.ft-btn:hover { background-color: #fff; }
.ft-btn:hover::before { color: #000; }
.ft-info { margin-top: 10px; margin-bottom: 0; }
.ft-success {
  color: #d9d9d9;
  background-color: #ffffff12;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 150%;
  max-width: 90%;
}
.ft-success strong { color: #fff; }
.ft-sub-title { color: #fff; text-transform: uppercase; margin-bottom: 10px; font-size: 14px; line-height: 150%; }
.ft-menu { flex-flow: column; display: flex; }
.ft-link { color: #999; padding-top: 6px; padding-bottom: 6px; font-size: 14px; text-decoration: none; transition: color .3s; }
.ft-link:hover { color: var(--secondary); }
.ft-social { grid-row-gap: 10px; flex-flow: column; display: flex; }
.social-link {
  border: 1px solid #ffffff26;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  max-width: 40px;
  min-height: 40px;
  max-height: 40px;
  transition: border-color .3s;
  display: flex;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.social-link:hover { border-color: #ffffff80; text-decoration: none; }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------------- Responsive ---------------- */
@media screen and (max-width: 991px) {
  :root { --desktop: 100px; }

  h1 { font-size: 44px; }
  h2 { font-size: 30px; }

  .container { max-width: 100%; }

  .navbar { padding-top: 18px; padding-bottom: 18px; }
  .nav-left { grid-column-gap: 0; }
  .menu-button { display: flex; }

  .nav-menu-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #000;
    flex-flow: column;
    align-items: stretch;
    padding: 20px;
    z-index: 999;
  }
  .nav-menu-wrap.open { display: flex; }
  .nav-menu { flex-flow: column; align-items: center; width: 100%; }
  .nav-items { flex-flow: column; width: 100%; }
  .nav-item { justify-content: center; }
  .nav-link { padding: 10px 0; margin: 0; }

  .nav-right .search { display: none; }
  .nav-right .nav-line { display: none; }
  .nav-right .nav-button.desktop { display: none; }
  .nav-right .lang-switch.desktop { display: none; }
  .lang-switch.mobile { display: flex; width: 100%; margin-top: 12px; }
  .lang-switch.mobile .lang-select { width: 100%; max-width: none; }
  .search.mobile { display: flex; width: 100%; margin-top: 15px; }
  .search-input {
    border-radius: 4px;
    padding: 10px 20px 10px 42px;
    max-width: none;
    background-color: #111;
    background-position: 16px 50%;
  }
  .nav-button.mobile { display: block; text-align: center; margin-top: 12px; }

  .hero { padding-top: 60px; padding-bottom: 40px; }
  .hero-wrap { flex-flow: column; grid-row-gap: 40px; }
  .hero-left { max-width: 100%; }
  .hero-right { max-width: 100%; flex-flow: row; grid-column-gap: 20px; flex-wrap: wrap; }
  .hero-right > * { flex: 1 1 300px; }
  .hero-right > .hero-line { flex: 1 1 100%; }
  .hm-image { min-height: 300px; max-height: 300px; }
  .hm-title { font-size: 30px; }
  .hm-text { font-size: 14px; line-height: 140%; }
  .news-wrapper { grid-column-gap: 16px; grid-row-gap: 40px; }
  .hb-img { min-height: 170px; max-height: 170px; }
  .hero-line { width: 100%; height: 1px; }

  .ln-wrapper { flex-flow: column; grid-row-gap: 30px; }
  .ln-left { max-width: 100%; }
  .ln-right { max-width: 100%; padding: 30px; }
  .ln-img { max-width: 40%; }

  .fn-list { grid-column-gap: 30px; grid-row-gap: 30px; }
  .fn-block { grid-column-gap: 10px; }
  .fn-img { max-width: 46%; }
  .fn-image { min-height: 120px; max-height: 120px; }
  .fn-heading { font-size: 16px; }

  .cta-wrap { grid-column-gap: 30px; padding: 50px 50px 50px 20px; }
  .cta-title { font-size: 20px; }
  .cta-button { margin-top: 30px; }

  .cn-wrap {
    grid-template-columns: 1fr 1fr;
    display: flex;
    flex-flow: column;
    grid-row-gap: 40px;
  }
  .world-news, .sports-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
  }
  .cn-data { flex-flow: row; grid-column-gap: 20px; }
  .cn-data > * { flex: 1; }
  .tech-image { min-height: 400px; max-height: 400px; }

  .footer-wrap { flex-flow: column; grid-row-gap: 40px; padding-top: 50px; padding-bottom: 50px; }
  .ft-left { max-width: 55%; }
  .ft-right { grid-column-gap: 60px; width: 100%; }
  .ft-data { grid-column-gap: 60px; max-width: 80%; }
}

@media screen and (max-width: 767px) {
  :root { --landscape-mobile: 80px; }
  .hero, .latest-news-section, .featured-news, .cta, .category-news { margin-bottom: 80px; }

  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  h3 { font-size: 26px; }

  .hero { padding-top: 50px; padding-bottom: 30px; }
  .hero-right { flex-flow: column; grid-row-gap: 30px; }
  .hero-right > * { flex: 1 1 auto; }
  .hero-main { flex-flow: row-reverse; grid-column-gap: 15px; }
  .hm-image { min-height: 260px; max-height: 260px; }
  .hm-title { font-size: 20px; }
  .hm-text { font-size: 12px; }
  .hm-data { grid-row-gap: 30px; }

  .news-wrapper { grid-template-columns: 1fr 1fr; }
  .hb-title { font-size: 16px; }
  .hero-line { display: none; }

  .tn-list { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 16px; grid-row-gap: 16px; }

  .ln-list { grid-row-gap: 30px; }
  .ln-img { max-width: 50%; }
  .ln-image { min-height: 200px; max-height: 200px; }
  .news-text { font-size: 12px; }
  .ln-data { max-width: 50%; }
  .tn-wrapper { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 40px; grid-row-gap: 40px; }
  .tn-info { justify-content: flex-start; grid-column-gap: 30px; }

  .fn-list { grid-column-gap: 30px; grid-row-gap: 30px; }
  .fn-block { flex-flow: column-reverse; grid-row-gap: 10px; }
  .fn-img { max-width: 100%; }
  .fn-image { min-height: 180px; max-height: 180px; }

  .cta-wrap { flex-flow: column-reverse; grid-row-gap: 20px; padding: 40px 40px 40px 20px; }
  .cta-left, .cta-right { max-width: 100%; }

  .world-news, .sports-news { grid-row-gap: 20px; }
  .cn-block { flex-flow: column; grid-row-gap: 10px; }
  .cn-img { max-width: 100%; }
  .cn-image { min-height: 180px; max-height: 180px; }
  .cn-data { flex-flow: column; grid-row-gap: 30px; }
  .tech-image { min-height: 240px; max-height: 240px; }
  .tn-heading { max-height: 2.8em; }
  .cn-right { width: 100%; }

  .ft-right { flex-flow: column; grid-row-gap: 40px; }
  .ft-social { flex-flow: row; }
  .ft-link { padding-top: 5px; padding-bottom: 5px; }
}

@media screen and (max-width: 479px) {
  :root { --portrait-mobile: 60px; }
  .hero, .latest-news-section, .featured-news, .cta, .category-news { margin-bottom: 60px; }

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }

  .primary-button { padding: 10px 22px; }

  .hero { padding-top: 40px; }
  .hero-wrap, .hero-right { grid-row-gap: 30px; }
  .hero-main { flex-flow: column-reverse; grid-row-gap: 15px; }
  .hm-img, .hm-data { max-width: 100%; }

  .news-wrapper { grid-template-columns: 1fr; grid-row-gap: 25px; }
  .hb-title { font-size: 14px; }
  .hb-img { min-height: 120px; max-height: 120px; }
  .hb-block { flex-flow: row; grid-column-gap: 15px; }
  .hb-block .news-img { min-width: 130px; max-width: 130px; flex-shrink: 0; }

  .tn-list { grid-template-columns: 1fr; grid-row-gap: 25px; }
  .tn-block { grid-column-gap: 15px; }
  .tn-img { min-width: 130px; max-width: 130px; }
  .tn-image { min-height: 100px; max-height: 100px; }
  .tn-wrapper { grid-template-columns: 1fr; grid-row-gap: 25px; }
  .tn-info { grid-column-gap: 22px; }
  .news-number { font-size: 12px; }
  .tn-news-title { font-size: 14px; }

  .cta-wrap { box-shadow: none; border: 1px solid #0000000d; padding: 30px 16px; }
  .cta-right { font-size: 12px; }
  .cta-button { margin-top: 25px; }
  .cta-image { min-height: 180px; max-height: 180px; }

  .cn-wrap { grid-row-gap: 50px; }
  .cn-title { font-size: 24px; }
  .world-news, .sports-news { grid-template-columns: 1fr; }
  .cn-block { flex-flow: row; grid-column-gap: 15px; }
  .cn-img { max-width: 130px; }
  .cn-image { min-height: 100px; max-height: 100px; }
  .cn-heading { font-size: 14px; }
  .tn-heading { font-size: 16px; }

  .fn-list { grid-template-columns: 1fr; grid-row-gap: 25px; }
  .fn-block { flex-flow: row; grid-column-gap: 15px; }
  .fn-img { min-width: 130px; max-width: 130px; }
  .fn-image { min-height: 100px; max-height: 100px; }
  .fn-heading { font-size: 14px; }

  .ln-right { box-shadow: none; border: 1px solid #0000000d; padding: 20px; }
  .ln-list { grid-row-gap: 25px; }
  .ln-block { grid-column-gap: 15px; }
  .ln-img { min-width: 130px; max-width: 130px; }
  .ln-image { min-height: 100px; max-height: 100px; }
  .ln-heading { font-size: 14px; }
  .news-text { display: none; }
  .ln-data { max-width: 100%; }

  .hr-block { flex-flow: column; grid-row-gap: 12px; }
  .hr-title { font-size: 14px; line-height: 140%; }

  .tech-list { grid-row-gap: 25px; }

  .footer-bottom { flex-flow: column; grid-row-gap: 8px; padding-top: 16px; padding-bottom: 16px; font-size: 12px; text-align: center; }
  .ft-left { max-width: 100%; }
  .ft-right { flex-flow: column; grid-row-gap: 30px; }
  .ft-data { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 40px; grid-row-gap: 40px; }
  .social-link { min-width: 36px; max-width: 36px; min-height: 36px; max-height: 36px; }
}

/* =========================================================
   Article (sub-page) styles
   ========================================================= */
.article { background-color: var(--bg); padding-bottom: var(--desktop); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 40px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #888;
}
.breadcrumb a { color: #888; text-decoration: none; transition: color .3s; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current {
  color: #bbb;
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-head { max-width: 840px; margin: 0 auto; text-align: center; padding: 40px 0 30px; }
.article-title { font-size: 46px; line-height: 115%; margin: 14px 0 20px; }
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #666;
}
.article-author { font-weight: 600; color: #000; }
.article-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--secondary); display: inline-block; }

.article-hero { margin: 0 auto 45px; max-width: 1100px; border-radius: 6px; overflow: hidden; }
.article-hero-img { width: 100%; max-height: 560px; object-fit: cover; display: block; }

.article-body { max-width: 740px; margin: 0 auto; }
.article-body p { font-size: 18px; line-height: 170%; color: #333; margin-bottom: 22px; }

.article-source {
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid #0000001a;
  font-size: 13px;
  color: #888;
}
.article-source span {
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-right: 6px;
}

.related-news { max-width: 1336px; margin: 70px auto 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-column-gap: 40px; grid-row-gap: 40px; }
.related-card { text-decoration: none; width: 100%; }
.related-img { border-radius: 4px; overflow: hidden; background-color: var(--primary); }
.related-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.related-title { font-size: 18px; line-height: 140%; margin: 12px 0 10px; }

@media screen and (max-width: 991px) {
  .article-title { font-size: 38px; }
  .article-body p { font-size: 17px; }
}

@media screen and (max-width: 767px) {
  .article { padding-bottom: 80px; }
  .breadcrumb { padding-top: 24px; }
  .article-head { padding: 26px 0 22px; }
  .article-title { font-size: 30px; }
  .article-body p { font-size: 16px; line-height: 165%; }
  .article-hero-img { max-height: 340px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .related-news { margin-top: 50px; }
}

@media screen and (max-width: 479px) {
  .article { padding-bottom: 60px; }
  .article-title { font-size: 26px; }
  .article-hero-img { max-height: 220px; }
  .breadcrumb .current { display: none; }
  .article-meta { flex-wrap: wrap; }
  .related-grid { grid-template-columns: 1fr; grid-row-gap: 25px; }
  .related-img img { height: 170px; }
}

/* =========================================================
   Search page
   ========================================================= */
.search-page { background-color: var(--bg); min-height: 45vh; padding-top: 50px; padding-bottom: var(--desktop); }
.search-page .section-title { margin-top: 0; }
.search-info { font-size: 14px; color: #666; margin-bottom: 40px; }
.search-info strong { color: #000; }
.search-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: #888;
  border: 1px dashed #0000001a;
  border-radius: 6px;
}

@media screen and (max-width: 767px) {
  .search-page { padding-top: 36px; padding-bottom: 80px; }
}

@media screen and (max-width: 479px) {
  .search-page { padding-bottom: 60px; }
}

/* =========================================================
   Static / document pages (About, Contact, Privacy, etc.)
   ========================================================= */
.doc { background-color: var(--bg); padding-top: 10px; padding-bottom: var(--desktop); }
.doc-head { max-width: 860px; margin: 0 auto; text-align: center; padding: 30px 0 20px; }
.doc-title { font-size: 44px; line-height: 115%; margin: 12px 0 14px; }
.doc-sub { color: #666; font-size: 15px; line-height: 160%; max-width: 640px; margin: 0 auto; }
.doc-body { max-width: 780px; margin: 20px auto 0; }
.doc-body h2 { font-size: 24px; margin: 34px 0 12px; }
.doc-body h3 { font-size: 19px; margin: 24px 0 8px; }
.doc-body p { font-size: 16px; line-height: 170%; color: #333; margin-bottom: 16px; }
.doc-body ul, .doc-body ol { margin: 0 0 18px; padding-left: 22px; }
.doc-body li { font-size: 16px; line-height: 165%; color: #333; margin-bottom: 8px; }
.doc-body a { color: var(--secondary); }
.doc-body .doc-meta { color: #888; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-top: 34px; }

.doc-card { background-color: var(--primary); border: 1px solid #00000012; border-radius: 6px; padding: 24px 26px; margin: 22px 0; }
.doc-card h3 { margin-top: 0; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 22px; margin: 22px 0; }
.doc-grid .doc-card { margin: 0; }

.doc-form { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 14px; margin: 18px 0 10px; }
.doc-form .full { grid-column: 1 / -1; }
.doc-form input, .doc-form select, .doc-form textarea {
  width: 100%;
  border: 1px solid #0000001a;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: Inter, sans-serif;
  color: var(--body);
  background-color: #fff;
}
.doc-form input:focus, .doc-form textarea:focus, .doc-form select:focus { outline: 0; border-color: #000; }
.doc-form textarea { min-height: 130px; resize: vertical; }
.doc-form button { grid-column: 1 / -1; justify-self: start; cursor: pointer; }
.doc-form-success { margin-top: 16px; padding: 14px 16px; border: 1px solid #0000001a; border-radius: 6px; background-color: var(--primary); color: #000; font-size: 14px; line-height: 150%; }

/* footer bottom links */
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }

@media screen and (max-width: 767px) {
  .doc { padding-bottom: 80px; }
  .doc-title { font-size: 30px; }
  .doc-body h2 { font-size: 21px; }
  .doc-body p, .doc-body li { font-size: 15px; }
  .doc-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 600px) {
  .doc-form { grid-template-columns: 1fr; }
}

@media screen and (max-width: 479px) {
  .doc { padding-bottom: 60px; }
  .doc-title { font-size: 26px; }
}
