/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #1f1f1f;
  background: #ffffff;
  line-height: 1.5;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
ul,
ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}

/* =============================================
   SECTION 1: HEADER
   ============================================= */
.site-header {
  background: #ffffff;
  width: 100%;
  height: 72px;
  border-bottom: 1px solid #d5d5d5;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
}

.search-icon {
  width: 18px;
  height: 18px;
}

.header-date {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1f1f1f;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  padding-left: 40px;
}

.nav-link {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1f1f1f;
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 8px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #f68e1e;
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-register {
  width: 132px;
  height: 32px;
  background: #fde8cc;
  border-radius: 100px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #3b3b3b;
  border: none;
  cursor: pointer;
}

.btn-login {
  width: 132px;
  height: 32px;
  background: #ffffff;
  border-radius: 100px;
  border: 1px solid #c2c2c2;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #3b3b3b;
  cursor: pointer;
}

/* =============================================
   SECTION 2: ARTICLE LOGO BAR
   ============================================= */
.article-logo-bar {
  background: #ffffff;
  border-bottom: 1px solid #d5d5d5;
}

.logo-bar-inner {
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 16px;
}

.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
}

.infobae-logo {
  display: block;
}

.logo-bar-trending {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-top: 1px solid #d5d5d5;
  flex-wrap: wrap;
}

.vivo-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.vivo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b10000;
  display: inline-block;
  flex-shrink: 0;
}

.vivo-text {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #b10000;
}

.trending-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trends-label-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.trends-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  align-items: flex-start;
}

.trends-label {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #545454;
}

.trends-time {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #b10000;
}

.trend-link {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #545454;
  white-space: nowrap;
}

.trend-link:hover {
  color: #f68e1e;
}

.trend-sep {
  color: #9b9b9b;
  font-size: 14px;
}

/* =============================================
   CONTENT AREA: ARTICLE + SIDEBAR
   ============================================= */
.content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* =============================================
   SECTION 3: ARTICLE MAIN
   ============================================= */
.article-main {
  width: 772px;
  flex-shrink: 0;
  padding-top: 20px;
}

/* Article Header */
.article-header-block {
  margin-bottom: 24px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  background: #d91023;
  color: #ffffff;
  font-family: "Tinos", serif;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
  height: 23px;
  letter-spacing: 0.5px;
}

.article-headline {
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-subheadline {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #1f1f1f;
  line-height: 1.35;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 4px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}

.author-by {
  color: #3b3b3b;
}

.author-name {
  color: #1f1f1f;
  font-weight: 400;
}

.meta-sep {
  color: #9b9b9b;
}

.article-date {
  color: #1f1f1f;
  font-size: 14px;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-label {
  font-size: 14px;
  color: #3b3b3b;
}

.share-link img,
.share-link svg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Article Images */
.article-image-wrap {
  margin-bottom: 24px;
  width: 100%;
}

.article-image-indent {
  display: flex;
  justify-content: center;
}

.article-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Article Sections */
.article-section {
  margin-bottom: 32px;
}

.section-heading {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.25;
  margin-bottom: 16px;
}

.alert-heading {
  color: #ff0000;
  text-align: center;
}

.body-text {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #1f1f1f;
  line-height: 1.6;
  margin-bottom: 14px;
}

.alert-text {
  color: #ff0000;
  text-align: center;
}

.article-quote {
  border-left: 3px solid #f68e1e;
  padding-left: 20px;
  margin: 16px 0;
}

.article-quote p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  line-height: 1.65;
  margin-bottom: 12px;
}

.article-quote p:last-child {
  margin-bottom: 0;
}

/* Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #d0d0d0;
  border-radius: 11.5px;
  padding: 14px 16px;
  background: #ffffff;
}

.step-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: #f68e1e;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-text {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  line-height: 1.55;
}

.step-text strong {
  font-weight: 700;
}

/* =============================================
   SECTION 5: REGISTRATION FORM
   ============================================= */
.registration-form-wrapper {
  margin: 0 auto 32px;
  max-width: 505px;
  background: #f68e1e;
  border-radius: 20px;
  padding: 24px 24px 28px;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  padding-left: 4px;
}

.form-input {
  width: 100%;
  height: 42px;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 21px;
  padding: 10px 16px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #030c26;
  outline: none;
}

.form-input::placeholder {
  color: #9b9b9b;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 21px;
  overflow: hidden;
  height: 42px;
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  border-right: 1px solid #d1d1d1;
  flex-shrink: 0;
  height: 100%;
}

.prefix-text {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #030c26;
}

.flag-arg {
  width: 20px;
  height: 14px;
}

.phone-input {
  border: none;
  border-radius: 0;
  flex: 1;
  height: 100%;
}

.form-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.btn-submit {
  width: 238px;
  height: 50px;
  background: #ffffff;
  border-radius: 25px;
  border: none;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: #f5f5f5;
}

.submit-arrow {
  font-size: 16px;
}

/* =============================================
   SECTION 4: SIDEBAR
   ============================================= */
.sidebar-related {
  width: 376px;
  flex-shrink: 0;
  padding-top: 20px;
}

.sidebar-item {
  border-bottom: 1px solid #d5d5d5;
}

.sidebar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  min-height: 69px;
}

.sidebar-card-text {
  flex: 1;
  padding-right: 8px;
}

.sidebar-card-title {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1f1f1f;
  line-height: 1.35;
}

.sidebar-thumb {
  width: 57px;
  height: 57px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
}

/* =============================================
   SECTION 6: COMMENTS
   ============================================= */
.comments-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.comments-inner {
  width: 772px;
}

.comments-header {
  padding: 14px 0;
  border-bottom: 1px solid #d5d5d5;
  margin-bottom: 0;
}

.comments-sort {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sort-btn {
  font-family: "Roboto", sans-serif;
  font-size: 11.625px;
  font-weight: 400;
  color: #000000;
  background: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  padding: 4px 8px;
  cursor: pointer;
}

.comments-tab {
  font-family: "Roboto", sans-serif;
  font-size: 11.625px;
  font-weight: 400;
  color: #000000;
}

.comments-list {
  list-style: none;
  padding: 0;
}

.comments-list > li {
  border-bottom: 1px solid #eeeeee;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
}

.comment__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment__body {
  flex: 1;
}

.comment__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.comment__author {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
}

.comment__date {
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #000000;
}

.comment__text {
  font-family: "Roboto", sans-serif;
  font-size: 13.5625px;
  font-weight: 400;
  color: #000000;
  line-height: 1.55;
  margin-bottom: 8px;
}

.comment__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment__reply {
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #000000;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.comment__reactions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reaction-up,
.reaction-down {
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* =============================================
   SECTION 7: FOOTER
   ============================================= */
.site-footer {
  background: #3b3b3b;
  width: 100%;
  padding: 56px 0 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 284px 1fr 1fr 1fr;
  gap: 0;
  padding-bottom: 40px;
}

.footer-col {
  padding: 0 16px;
}

.footer-col--logo {
  padding-left: 0;
}

.footer-logo-link {
  display: block;
  margin-bottom: 16px;
}

.footer-logo {
  display: block;
}

.footer-seguinos {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #e8eaed;
  margin-bottom: 12px;
}

.footer-socials {
  display: grid;
  grid-template-columns: repeat(3, 31px);
  gap: 12px;
  list-style: none;
  padding: 0;
}

.footer-socials li a {
  display: block;
  width: 31px;
  height: 31px;
}

.footer-socials svg {
  display: block;
}

.footer-col__heading {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #e8eaed;
  margin-bottom: 16px;
  text-align: center;
}

.footer-col__links {
  list-style: none;
  padding: 0;
  text-align: center;
}

.footer-col__links li {
  margin-bottom: 8px;
}

.footer-col__links a {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #e8eaed;
  text-decoration: none;
  line-height: 1.5;
}

.footer-col__links a:hover {
  color: #f68e1e;
}

.footer-border {
  width: 100%;
  height: 1px;
  background: #e2e2e2;
  opacity: 0.3;
  margin-bottom: 24px;
}

.footer-copyright {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #e8eaed;
  text-align: center;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .content-area {
    flex-direction: column;
  }

  .article-main {
    width: 100%;
  }

  .sidebar-related {
    width: 100%;
  }

  .comments-inner {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .header-date {
    font-size: 14px;
  }

  .btn-register,
  .btn-login {
    width: 100px;
    font-size: 12px;
  }

  .article-headline {
    font-size: 24px;
  }

  .article-subheadline {
    font-size: 18px;
  }

  .section-heading {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .registration-form-wrapper {
    margin: 0 0 32px;
    max-width: 100%;
  }

  .sidebar-related {
    display: none;
  }
}

/* =============================================
   PHONE FIELD (intl-tel-input) — matches other inputs
   ============================================= */
.registration-form .iti {
  width: 100%;
  display: block;
}
.registration-form .iti .iti__tel-input,
.registration-form input[type="tel"].form-input {
  width: 100%;
}

@media (max-width: 480px) {
  .header-auth {
    gap: 6px;
  }

  .btn-register,
  .btn-login {
    width: 90px;
    font-size: 11px;
    padding: 0 4px;
  }
}
