/*
Theme Name: Twenty Twenty
Text Domain: twentytwenty
Version: 6.9
Description: Our default theme.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns, block-styles, wide-blocks, accessibility-ready
Author: the WordPress team
Author URI: 

*/

/* HERO SECTION */
.hero {
  width: 100%;
  overflow: hidden;
  padding: 60px 0;
}

.hero-container {
  padding: 0 20px;
}

.content-wrapper {
  max-width: 540px;
  margin: auto;
}
.hero-title {
  font-size: clamp(22px, 4vw, 48px); /* auto resize */
  font-weight: 700;
  white-space: nowrap;             /* FORCE ONE LINE */
  overflow: hidden;
  text-overflow: ellipsis;          /* safety */
  width: 100%;
}
.hero-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* BUTTONS */
.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  font-size: 15px;
}

/* SOCIAL ICONS */
.social-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-links a {
  font-size: 18px;
}

/* SLIDER */
.hero-swiper {
  width: 100%;
  height: 450px;
}

.hero-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =======================
   MOBILE (≤ 768px)
======================= */
@media (max-width: 768px) {
  .hero {
    padding: 40px 0;
  }

  .content-col {
    text-align: center;
    margin-bottom: 30px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-text {
    font-size: 15px;
  }

  .btn-group {
    justify-content: center;
  }

  .hero-swiper {
    height: 300px;
  }
}

/* =======================
   SMALL MOBILE (≤ 480px)
======================= */
@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-swiper {
    height: 250px;
  }
}
