*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green: #3a7d6e;
    --green-light: #c8d9b5;
    --bg-hero: #d9dfc0;
    --text-dark: #2a2a2a;
    --text-muted: #888;
    --tag-food: #e0a060;
    --tag-travel: #3a7d6e;
    --white: #fff;
    --light-pink: #e480a7;
    --pink: #e64799;
    --silver:#d6d7d9;
     --nas-max: 1100px;
    --nas-radius: 16px;
    --nas-shadow: 0 10px 30px rgba(0,0,0,.12);
    --nas-border: rgba(0,0,0,.08);
    --nas-text: #111;
    --nas-muted: rgba(17,17,17,.72);
    --nas-bg: #fff;
    --nas-progress-bg: rgba(0,0,0,.10);
    --nas-progress-fill: rgba(0,0,0,.70);
  }

  html { scroll-behavior: smooth; font-size: 18px; }

  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    background: var(--white);
    max-width: 1100px;
    margin: 0 auto;
    height: 100px;
    overflow: hidden;
  }

  .logo img {
    width: 200px;
    height: 100px;
    text-decoration: none;
    object-fit: contain;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--pink);
    font-size: 16px;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--green); }
  .nav-links a.active { color: var(--text-dark); font-weight: 500; border-bottom: 1.5px solid var(--text-dark); }



  .nav-icons i { transition: color 0.2s; }
  .nav-icons i:hover { color: var(--green); }

  /* HERO */
  .hero {
    background: var(--silver); 
    overflow: hidden;
  }

  .hero-content {
    max-width: 1100px;
    animation: fadeUp 0.7s ease forwards;
    margin: 0 auto;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

 

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 28px;
  }

  .btn-primary {
    display: inline-block;
    background: var(--green);
    color: #fff;
    padding: 11px 24px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.15s;
  }

  .btn-primary:hover { background: #2f6a5d; transform: translateY(-1px); }

  

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .hero-image img {
    width: 100%;
    max-width: 460px;
    object-fit: cover;
    border-radius: 4px;
  }

 


  /* MAIN CONTENT */

 .content-layout{
    max-width: 1100px;
    margin: 0 auto;
    padding: 6px;
 }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    margin-top: 24px;
  }

  

  .tag-food { background: var(--tag-food); color: #fff; }
  .tag-travel { background: var(--tag-travel); color: #fff; }
  .tag-bbq { background: #e76f51; color: #fff; }
  .tag-juice { background: #f8961e; color: #fff; }

  .article-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
  }

  .article-title:hover { color: var(--green); }

  .article-excerpt {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 600px;
  }

  .article-meta {
    font-size: 0.76rem;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .article-meta .social-icons { display: flex; gap: 10px; margin-left: auto; }
  .article-meta .social-icons i { color: #ccc; font-size: 0.8rem; cursor: pointer; transition: color 0.2s; }
  .article-meta .social-icons i:hover { color: var(--green); }

  /* ARTICLE GRID */
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
  }

  .article-card {
    display: flex;
    flex-direction: column;
  }

  .card-img {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    flex-shrink: 0;
  }

  .card-img.food-1 { background: linear-gradient(135deg, #f9c74f55, #f3722c44), #f5f0e8; }
  .card-img.food-2 { background: linear-gradient(135deg, #90be6d44, #43aa8b44), #edf5ed; }
  .card-img.food-3 { background: linear-gradient(135deg, #f9c74f44, #f8961e44), #faf5e8; }

  .card-img img { width: 100%; height: 100%; object-fit: cover; }

 
   

  

  /* TAGS cloud */
  .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
  .tag-cloud-item {
    padding: 6px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-dark);
  }
  .tag-cloud-item:hover { background: var(--green); color: #fff; border-color: var(--green); }

  /* FOOTER */
  footer {
    background: black;
    color: var(--silver);
    padding: 48px;
    text-align: center;
  }

  footer .logo { color: var(--silver); display: block; margin-bottom: 16px; }
  footer p { font-size: 0.82rem; line-height: 1.7; max-width: 420px; margin: 0 auto 24px; }
  footer .footer-socials { display: flex; gap: 16px; justify-content: center; }
  footer .footer-socials a { color: var(--silver); font-size: 1rem; transition: color 0.2s; }
  footer .footer-socials a:hover { color: #fff; }
  footer .footer-bottom { margin-top: 20px; font-size: 16px;}

  /* HAMBURGER */
  .hamburger { display: none; font-size: 1.2rem; cursor: pointer; }

  /* MOBILE NAV */
  @media (max-width: 768px) {
  

    .hero { grid-template-columns: 1fr; padding: 32px 20px 48px; }
    .hero-image { display: none; }
    .categories-strip { padding: 0 20px; }
    .categories-inner { flex-wrap: wrap; transform: translateY(-20px); }
    .cat-item { flex: 1 1 45%; border-right: 1px solid #f0f0f0; }

    .main-content { padding: 0 20px 48px; }
    .content-layout { grid-template-columns: 1fr; gap: 40px; }
    .articles-grid { grid-template-columns: 1fr; }
    footer { padding: 40px 20px; }
  }

  @media (max-width: 480px) {
    .cat-item { flex: 1 1 100%; }
    .featured-img { height: 220px; }
  }


  /* SLIDER */

  .news-auto-slider {
    margin: 20px 0;
  }
  .news-auto-slider__container { max-width: var(--nas-max); margin: 0 auto; }

  .news-auto-slider__viewport{
    position: relative;
    overflow: hidden;
    border-radius: var(--nas-radius);
    box-shadow: var(--nas-shadow);
    background: var(--nas-bg);
    border: 1px solid var(--nas-border);
    touch-action: pan-y;
  }

  .news-auto-slider__track{
    display: flex;
    will-change: transform;
    transition: transform 420ms ease;
  }

  .news-auto-slide{ min-width: 100%; }

  .news-auto-slide__link{
    display: grid;
    grid-template-rows: auto 1fr;
    color: inherit;
    text-decoration: none;
  }

  .news-auto-slide__media{
    aspect-ratio: 16 / 9;
    background: #f2f2f2;
    overflow: hidden;
  }
  .news-auto-slide__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
  }

  .news-auto-slide__body{
    padding: 14px 14px 18px;
  }

  .news-auto-slide__title{
    margin: 0 0 6px;
    font-size: clamp(16px, 2.1vw, 20px);
    line-height: 1.25;
    color: var(--nas-text);
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-auto-slide__desc{
    margin: 0;
    color: var(--nas-muted);
    font-size: clamp(13px, 1.8vw, 15px);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Progress bar overlay (bottom) */
  .news-auto-slider__progress{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--nas-progress-bg);
  }
  .news-auto-slider__progress-bar{
    height: 100%;
    width: 0%;
    background: var(--nas-progress-fill);
    transform-origin: left;
  }

  @media (max-width: 520px){
    .news-auto-slide__body{ padding: 12px 12px 16px; }
    .news-auto-slider__progress{ height: 3px; }
  }

  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce){
    .news-auto-slider__track{ transition: none; }
  }
  

  .about-me{
    margin-bottom: 200px;
    align-items: center;
  }

  .about-me img {
    width: 400px;
    display: block;
    margin: 20px auto;

  }

  
  .form-group{
    margin-bottom: 30px;
  }
  .create_form label{
    display: block;
  }
  .create_form input {
    display: block;
    width: 100%;
    padding: 10px;
  }

  .create_form textarea {
    width: 100%;
    min-height: 300px;
    resize: none;
    padding: 10px;

  }

  .create_form{
    max-width: 400px;
    width: 100%;
    margin: 20px auto;
  }

  .create_form button {
    display: block;
    padding: 10px;
    font-size: 18px;
  }

  .article_image{
    max-width: 700px;
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }

  .article_wrapper{
    max-width: 700px;
    width: 100%;
    margin: 20px auto;
    margin-bottom: 50px;
  }