@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  --ink: #322d2a;
  --muted: #81766f;
  --wood: #73533f;
  --wood-dark: #513b30;
  --cream: #fbf6e8;
  --rose: #f8e9e2;
  --accent: #a7654e;
  --line: #ece4dc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f5edce; color: var(--ink); font: 16px/1.78 'DM Sans', Arial, sans-serif; }
a { color: #946044; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #573b2e; }
.shell { max-width: 1240px; min-height: 100vh; margin: 28px auto; background: #fff; box-shadow: 0 20px 70px #6b503014; border-radius: 18px; overflow: hidden; }
.site-head { padding: 25px 58px; display: flex; align-items: center; gap: 17px; background: #fff; }
.brand-icon { width: 61px; height: 61px; object-fit: contain; }
.brand-name { font: 800 27px/1.1 Manrope, sans-serif; letter-spacing: -.055em; color: var(--wood-dark); }
.brand-caption { font: 500 12px/1.5 'DM Sans',sans-serif; color: var(--muted); margin-top: 7px; letter-spacing: .02em; }
.nav { background: var(--wood); display: flex; flex-wrap: wrap; gap: 6px; padding: 0 47px; }
.nav a { font: 600 13px/1.4 Manrope,sans-serif; letter-spacing: .01em; padding: 19px 17px; color: #fff9f1; text-decoration: none; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current='page'] { color: white; background: #ffffff12; border-bottom-color: #f6d5bd; }
.main { padding: 46px 65px 72px; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
h1,h2,h3 { font-family: Manrope,Arial,sans-serif; letter-spacing: -.045em; color: var(--wood-dark); }
h1 { font-size: clamp(38px,4.6vw,58px); line-height: 1.13; margin: 0 0 24px; font-weight: 800; }
h2 { font-size: clamp(25px,2.7vw,34px); line-height: 1.25; margin: 52px 0 20px; }
h3 { font-size: 20px; line-height: 1.35; margin: 8px 0 12px; }
p { margin: 0 0 19px; }
.lead { font-size: 19px; line-height: 1.8; color: #625850; max-width: 890px; }
.main > p, .main > section:not(.blog-list) > p { max-width: 930px; }
.image-slot { min-height: 260px; display: grid; place-items: center; border-radius: 16px; margin: 30px 0; color: #967b6b; background: linear-gradient(135deg,#f9f0e5,#f4e3dc); border: 1px solid #f1e4da; font-size: 13px; }
.hero-photo { width: 100%; height: 410px; object-fit: cover; object-position: center 43%; border-radius: 16px; display: block; margin: 30px 0 50px; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 22px 0 40px; }
.news { padding: 27px; border: 1px solid var(--line); border-radius: 15px; background: #fffdfb; transition: transform .2s,box-shadow .2s; }
.news:hover,.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px #6b503016; }
.news h3 { font-size: 19px; }
.news h3 a { color: var(--wood-dark); text-decoration: none; }
.news p { font-size: 14px; color: #756a63; }
.news small,.news .tag,.blog-card .tag { color: var(--accent); font: 700 11px Manrope,sans-serif; text-transform: uppercase; letter-spacing: .09em; }
.blog-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin: 34px 0 60px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; transition: transform .2s,box-shadow .2s; }
.blog-card .image-slot { min-height: 172px; margin: 0; border: 0; border-radius: 0; }
.blog-card h3 { font-size: 19px; }
.blog-card h3 a { color: var(--wood-dark); text-decoration: none; }
.blog-card p { font-size: 14px; color: #776d66; }
.blog-card > :not(.image-slot) { margin-left: 21px; margin-right: 21px; }
.blog-card > :last-child { margin-bottom: 23px; }
.blog-article { padding-top: 18px; margin-top: 35px; border-top: 1px solid var(--line); }
.site-footer { padding: 38px 65px; background: #f9f5ee; border-top: 1px solid var(--line); color: #6b5f55; font-size: 13px; }
.site-footer a { color: var(--wood); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 12px 0; }
.site-footer p { margin: 0 0 9px; }
.main ul,.main ol { padding-left: 25px; }
.main li { margin-bottom: 9px; }
@media (max-width: 900px) {
  .shell { margin: 0; border-radius: 0; }
  .site-head { padding: 22px 25px; }
  .nav { padding: 0 12px; }
  .nav a { padding: 16px 12px; }
  .main { padding: 35px 25px 55px; }
  .site-footer { padding: 30px 25px; }
  .news-grid,.blog-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-photo { height: 320px; }
}
@media (max-width: 580px) {
  .brand-name { font-size: 23px; }
  .brand-icon { width: 50px; height: 50px; }
  .nav a { font-size: 12px; padding: 13px 10px; }
  .news-grid,.blog-list { grid-template-columns: 1fr; }
  .main { padding: 30px 20px 50px; }
  .lead { font-size: 17px; }
  .hero-photo { height: 230px; }
}

.article-figure { margin: 30px 0; overflow: hidden; border-radius: 16px; background: #f5ebe2; }
.article-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
.blog-card-media { position: relative; overflow: hidden; background: #f5ebe2; }
.blog-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .25s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.035); }
.blog-card-number { position: absolute; top: 14px; left: 14px; padding: 4px 10px; background: #fffdf1e8; border-radius: 20px; font-size: 12px; }


.journal-heading { display:grid; grid-template-columns: 1.25fr .75fr; align-items:end; gap:48px; padding: 18px 0 42px; border-bottom:1px solid var(--line); }
.journal-eyebrow,.journal-category { display:inline-block; color:#a66e50; font:700 11px/1.5 Manrope,sans-serif; text-transform:uppercase; letter-spacing:.13em; }
.journal-heading h1 { font-size:clamp(40px,5.2vw,68px); line-height:1.12; margin:15px 0 0; letter-spacing:-.06em; }
.journal-heading h1 em { font-family:Georgia,serif; font-weight:400; letter-spacing:-.055em; color:#b37e65; }
.journal-heading p { color:#786e68; font-size:16px; line-height:1.85; margin:0 0 6px; }
.journal-section { margin: 48px 0 62px; }
.journal-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:24px; }
.journal-section-heading h2 { font-size:26px; margin:0; }
.journal-section-heading > span { font-size:12px; color:#9b8b7d; }
.featured-story { display:grid; grid-template-columns:1.12fr .88fr; min-height:390px; border-radius:18px; overflow:hidden; background:#f8f1e9; color:inherit; text-decoration:none; }
.featured-story-photo { min-height:390px; overflow:hidden; }
.featured-story-photo img,.journal-card-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.featured-story:hover img,.journal-card:hover img { transform:scale(1.04); }
.featured-story-copy { padding:clamp(28px,4vw,54px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.featured-story-copy h3 { font-size:clamp(26px,3.1vw,39px); line-height:1.2; margin:18px 0; letter-spacing:-.05em; }
.featured-story-copy p { color:#776a61; font-size:15px; line-height:1.8; }
.story-action { display:inline-flex; align-items:center; gap:15px; margin-top:20px; color:#84513b; font:700 13px Manrope,sans-serif; text-decoration:none; }
.story-action span { font-size:20px; }
.journal-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.journal-card { overflow:hidden; border:1px solid #ece5dd; border-radius:16px; background:#fff; transition:box-shadow .2s,transform .2s; }
.journal-card:hover { transform:translateY(-3px); box-shadow:0 16px 34px #5b463015; }
.journal-card-photo { display:block; height:235px; overflow:hidden; background:#f4e9dc; }
.journal-card-copy { padding:26px 28px 30px; }
.journal-card h3 { margin:12px 0; font-size:23px; line-height:1.32; }
.journal-card h3 a { color:var(--wood-dark); text-decoration:none; }
.journal-card p { font-size:14px; color:#80746c; line-height:1.75; margin:0; }
.journal-card .story-action { margin-top:18px; }
.journal-divider { display:flex; align-items:center; gap:20px; color:#a18170; font:700 11px Manrope,sans-serif; letter-spacing:.15em; text-transform:uppercase; margin:55px 0 0; }
.journal-divider:after { content:""; height:1px; flex:1; background:var(--line); }
.journal-reading { max-width:780px; margin:0 auto 65px; }
.journal-reading .blog-article { scroll-margin-top:25px; padding-top:22px; margin-top:38px; }
.journal-reading .blog-article h2 { font-size:clamp(25px,3vw,34px); }
.journal-reading .blog-article p { color:#625b56; line-height:1.9; }
.journal-bottom { display:flex; justify-content:space-between; align-items:center; gap:30px; padding:35px; background:#f9f4ec; border-radius:16px; }
.journal-bottom h2 { font-size:25px; margin:10px 0; }
.journal-bottom p { max-width:650px; font-size:14px; color:#6f645e; margin:0; }
.journal-home { white-space:nowrap; text-decoration:none; font-weight:700; }
@media(max-width:800px) { .journal-heading { grid-template-columns:1fr; gap:18px; } .featured-story { grid-template-columns:1fr; } .featured-story-photo { min-height:0; height:300px; } .journal-grid { gap:16px; } .journal-card-photo { height:180px; } .journal-card-copy { padding:20px; } .journal-bottom { align-items:flex-start; flex-direction:column; } }
@media(max-width:580px) { .journal-heading h1 { font-size:40px; } .journal-grid { grid-template-columns:1fr; } .journal-card-photo { height:220px; } .featured-story-photo { height:230px; } .journal-section { margin:35px 0 45px; } }
/* Ограничение ширины контента */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

main,
.container,
.content,
.page-content,
article,
section,
figure {
    min-width: 0;
    max-width: 100%;
}

/* Изображения внутри контента */
main img,
article img,
section img,
figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Главное изображение */
.hero-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

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

/* Изображения карточек */
.article-card img,
.blog-card img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .container,
    .content,
    .page-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-image {
        border-radius: 12px;
    }
}