@font-face{font-family:"Roboto";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/roboto-latin-ext-400.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Roboto";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/roboto-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Roboto";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/roboto-latin-ext-400.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Roboto";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/roboto-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Roboto";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/roboto-latin-ext-400.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Roboto";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/roboto-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Open Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/opensans-latin-ext-400.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Open Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/opensans-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Open Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/opensans-latin-ext-400.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Open Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/opensans-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/opensans-latin-ext-400.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/opensans-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Вигляд за архівним enjoyliving.dk (тема Newspaper): архівні стилі не збереглися, тож верстка повторює будову теми —
   біла шапка з логотипом, чорна смуга меню з блакитним акцентом, велика сітка з п'яти статей на головній, блоки рубрик
   з чорною плашкою заголовка, ярлики рубрик на фото, темний футер. Шрифти теми: Roboto (заголовки, меню), Open Sans (текст). */
:root {
  --bg: #fff;
  --text: #222;
  --muted: #767676;
  --line: #ededed;
  --dark: #222;
  --darker: #111;
  --accent: #4db2ec;
  --accent-dark: #2a9fdc;
  --head-font: Roboto, "Segoe UI", Arial, sans-serif;
  --text-font: "Open Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.73 var(--text-font); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.topbar { background: var(--dark); color: #ddd; font: 400 11px/30px var(--head-font); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; }
.topbar a { color: #ddd; }
.topbar a:hover { color: var(--accent); }
.topbar nav { display: flex; gap: 16px; }
.site-header { background: #fff; }
.brand { display: inline-flex; align-items: center; gap: 12px; padding: 28px 0; color: var(--darker); }
.brand:hover { color: var(--darker); }
.brand-mark { flex: none; width: 52px; height: 52px; }
.brand-name { display: block; font: 700 36px/1 var(--head-font); letter-spacing: -.5px; }
.brand-name span { color: var(--accent); }
.brand-tag { display: block; margin-top: 6px; font: 400 13px/1.2 var(--head-font); color: var(--muted); }

/* Navigation */
.main-nav { background: var(--dark); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav a { display: block; padding: 0 14px; font: 700 14px/48px var(--head-font); text-transform: uppercase; color: #fff; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--accent); color: #fff; }

/* Layout */
main.wrap { padding-top: 24px; padding-bottom: 44px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 324px; gap: 40px; align-items: start; }
.main { min-width: 0; }

/* Category label */
.cat { display: inline-block; padding: 3px 6px 4px; background: var(--dark); color: #fff; font: 400 10px/1 var(--head-font); text-transform: uppercase; }
a.cat:hover { background: var(--accent); color: #fff; }

/* Big grid */
.big-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 452px; margin-bottom: 40px; }
.big-grid .tile:first-child { grid-row: 1 / 3; }
.tile { position: relative; overflow: hidden; background: #333; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.05); }
.tile-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.tile-title { margin: 8px 0 0; font: 500 16px/1.3 var(--head-font); color: #fff; }
.tile:first-child .tile-title { font-size: 27px; line-height: 1.25; }
.tile-title a:hover { color: #fff; text-decoration: underline; }

/* Block titles */
.block-title { margin: 0 0 20px; border-bottom: 2px solid var(--dark); font: 700 14px/1 var(--head-font); text-transform: uppercase; }
.block-title span, .block-title a { display: inline-block; padding: 8px 12px 6px; background: var(--dark); color: #fff; }
.block-title a:hover { background: var(--accent); color: #fff; }
.block { margin-bottom: 44px; }
.block-more { margin-top: 6px; font: 500 13px/1 var(--head-font); text-transform: uppercase; }
.block-more a { color: var(--accent); }
.block-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; }
.card-img { position: relative; display: block; background: var(--line); overflow: hidden; aspect-ratio: 16 / 9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-img:hover img { transform: scale(1.04); }
.card-img .cat { position: absolute; left: 0; bottom: 0; }
.card-title { margin: 10px 0 6px; font: 500 20px/1.3 var(--head-font); color: var(--darker); }
.card-excerpt { margin: 0; font-size: 13px; line-height: 1.6; color: #444; }

/* Small list with thumbnails */
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; align-items: start; padding-bottom: 16px; }
.mini-list .thumb { display: block; background: var(--line); aspect-ratio: 10 / 7; overflow: hidden; }
.mini-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-list .mini-title { font: 500 14px/1.4 var(--head-font); color: var(--darker); }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 36px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e1e1e1; color: #444; font: 400 14px/1 var(--head-font); }
.pagination [aria-current="page"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.pagination a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Sidebar */
.sidebar section + section { margin-top: 40px; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { border-bottom: 1px dashed #e1e1e1; }
.cat-list a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font: 400 14px/1.4 var(--head-font); color: var(--darker); }
.cat-list a:hover { color: var(--accent); }
.cat-list span { color: var(--muted); }

/* Breadcrumbs */
.crumbs { margin-bottom: 14px; font: 400 12px/1.5 var(--head-font); color: #c3c3c3; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 6px; }

/* Article */
.post h1, .page h1 { margin: 6px 0 16px; font: 400 41px/1.2 var(--head-font); color: var(--darker); letter-spacing: -.5px; }
.post-meta { margin-bottom: 16px; }
.post-figure { margin: 0 0 24px; background: var(--line); aspect-ratio: 16 / 9; overflow: hidden; }
.post-figure img { width: 100%; height: 100%; object-fit: cover; }
.post-content { font-size: 15px; line-height: 1.73; }
.post-content p { margin: 0 0 26px; }
.post-content h2, .page h2 { margin: 30px 0 14px; font: 400 27px/1.3 var(--head-font); color: var(--darker); }
.post-content ul { margin: 0 0 26px; padding-left: 21px; }
.post-content li { margin-bottom: 6px; }
.post-content strong { color: var(--darker); }
.related { margin-top: 44px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-3 .card-title { font-size: 14px; }

/* Plain pages */
.page p { margin: 0 0 20px; }
.page .lead { font-size: 17px; color: #444; }
.page p a, .page li a { color: var(--accent); text-decoration: underline; }

/* Buttons and 404 */
.btn { display: inline-block; padding: 12px 22px; background: var(--dark); color: #fff; font: 700 13px/1 var(--head-font); text-transform: uppercase; }
.btn:hover { background: var(--accent); color: #fff; }
.not-found { padding: 30px 0 10px; }
.not-found .code { font: 700 110px/1 var(--head-font); color: var(--accent); }

/* Footer */
.site-footer { background: var(--darker); color: #ccc; font-size: 13px; line-height: 1.7; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 44px 16px 30px; }
.footer-brand { display: block; margin-bottom: 14px; font: 700 26px/1 var(--head-font); color: #fff; }
.footer-brand span { color: var(--accent); }
.footer-title { margin: 0 0 16px; font: 700 14px/1 var(--head-font); text-transform: uppercase; color: #fff; }
.site-footer p { margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: #ccc; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { background: #0d0d0d; padding: 12px 0; font: 400 12px/1.5 var(--head-font); color: #999; }

/* Responsive */
@media (max-width: 1018px) {
  .layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .topbar nav { display: none; }
  .brand { padding: 18px 0; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 28px; }
  .main-nav ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .main-nav ul::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 0 12px; line-height: 44px; white-space: nowrap; }
  .big-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 150px 150px; height: auto; }
  .big-grid .tile:first-child { grid-row: auto; grid-column: 1 / 3; }
  .tile:first-child .tile-title { font-size: 21px; }
  .tile-title { font-size: 14px; }
  .tile-info { padding: 30px 10px 10px; }
  .cards, .cards-3, .block-cols { grid-template-columns: 1fr; }
  .post h1, .page h1 { font-size: 28px; }
  .post-content h2, .page h2 { font-size: 22px; }
  .footer-main { grid-template-columns: 1fr; }
}
