/*
Theme Name: Allhir Blank Theme
Author: Hanna Gonta
Version: 1.0
Description: Custom theme for ALLHIR.
Text Domain: allhir
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-main {
  width: 100%;
}

.site-header,
.site-footer {
  width: 100%;
}

.footer-inner {
  padding: 24px 0;
  color: #666;
  font-size: 14px;
}

.hero {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, #151515 0%, #232323 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 360px;
}

.hero-text {
  max-width: 760px;
  color: #fff;
}

.hero-text h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
}

.hero-text p {
  margin: 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform .15s ease, opacity .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #ff8a00;
  color: #111;
}

.btn-secondary {
  border: 2px solid rgba(255,255,255,0.42);
  color: #fff;
}

.quick-links {
  padding: 28px 0 60px;
  background: #151515;
}

.quick-links-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quick-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  text-align: center;
}

.quick-link-title {
  font-size: 20px;
  font-weight: 800;
  color: #1c1b1b;
}

.default-page {
  padding: 48px 0;
}

.entry-title,
.no-content h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
}

.entry-content,
.no-content p {
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero {
    padding: 32px 0 18px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .quick-links-inner {
    grid-template-columns: 1fr;
  }
}
body {
  background: #1c1c1c url("assets/images/site-bg.jpg") center/cover no-repeat fixed;
}

/* ===== CLASSIFIEDS PAGE ===== */


.classifieds-page{
 background:white; 
  min-height:100vh;
}
.allhir-categories{
  background:#2f3237;
  border-radius:18px;
  padding:40px;
  margin-top:-40px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* верх страницы */

.classifieds-top{
  padding:60px 0 40px;
  text-align:center;
}

.classifieds-title{
  font-size:34px;
  font-weight:700;
  margin-bottom:10px;
}

.classifieds-subtitle{
  color:#666;
  margin-bottom:25px;
}

/* кнопка добавить объявление */

.allhir-add-btn{
  display:inline-block;
  padding:14px 26px;
  background:#ff7a00;
  color:white;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}

.allhir-add-btn:hover{
  background:#e56f00;
}