/* Собрано из шаблонов — tools/extract_template_styles.php */


/* --- template/islands/header.php --- */
.theme-islands .isl-header {
  background: #fff;
  border-bottom: 1px solid #e7e5e4;
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.04);
}
.isl-header-bar { background: #fafaf9; border-bottom: 1px solid #e7e5e4; }
.isl-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.isl-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  letter-spacing: -0.02em;
  color: #0f766e;
  text-decoration: none;
  line-height: 1;
}
.isl-logo:hover { color: #115e59; }
.isl-nav-open {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #44403c;
}
.isl-nav-open-icon {
  width: 18px;
  height: 2px;
  background: #44403c;
  box-shadow: 0 6px 0 #44403c, 0 -6px 0 #44403c;
  border-radius: 1px;
}
.isl-nav-open-label { line-height: 1; }

.isl-nav { background: #fff; }
.isl-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 12px; }
.isl-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.isl-nav-list a {
  display: block;
  padding: 14px 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #44403c;
  text-decoration: none;
  border-radius: 6px;
}
.isl-nav-list a:hover {
  color: #0f766e;
  background: #f5f5f4;
}

@media (min-width: 861px) {
  .isl-nav-list > li.menu-item-has-children {
    position: relative;
  }

  .isl-nav-list .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    z-index: 200;
  }

  .isl-nav-list .sub-menu .sub-menu {
    left: 100%;
    top: 0;
    margin-left: 4px;
  }

  .isl-nav-list li.menu-item-has-children:hover > .sub-menu,
  .isl-nav-list li.menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }

  .isl-nav-list .sub-menu a {
    padding: 10px 14px;
    border-radius: 0;
  }

  .isl-nav-list .sub-menu li:first-child a {
    border-radius: 8px 8px 0 0;
  }

  .isl-nav-list .sub-menu li:last-child a {
    border-radius: 0 0 8px 8px;
  }
}

.isl-nav-empty { display: block; padding: 14px; color: #78716c; font-size: 14px; }

@media (max-width: 860px) {
  .isl-nav-open { display: flex; }
  .isl-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid transparent;
  }
  .isl-nav.is-open {
    max-height: 420px;
    border-top-color: #e7e5e4;
  }
  .isl-nav-inner { padding: 8px 12px 16px; }
  .isl-nav-list { flex-direction: column; align-items: stretch; }
  .isl-nav-list > li > a {
    padding: 12px 12px;
  }

  .isl-nav-list .sub-menu {
    display: block;
    position: static;
    margin: 0;
    padding: 0 0 0 12px;
    list-style: none;
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
  }

  .isl-nav-list .sub-menu a {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* --- template/islands/footer.php --- */
.isl-footer--rich {
  margin-top: 64px;
  position: relative;
  background: linear-gradient(180deg, #134e4a 0%, #0f172a 55%, #0c4a6e 100%);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  border-top: 4px solid #2dd4bf;
  overflow: hidden;
}
.isl-footer__wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0f766e, #2dd4bf, #0ea5e9, #2dd4bf, #0f766e);
  background-size: 200% 100%;
  animation: isl-foot-shimmer 8s ease-in-out infinite;
}
@keyframes isl-foot-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.isl-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 20px 40px;
  position: relative;
}
.isl-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 48px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.isl-footer__site {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0fdfa;
  letter-spacing: -0.02em;
}
.isl-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.isl-footer__nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.isl-footer__nav a:hover {
  color: #5eead4;
}
.isl-footer__contacts-band {
  margin: 12px 0 0;
  padding: 20px;
  background: rgba(15, 23, 42, 0.35);
  border-radius: 12px;
  border: 1px solid rgba(94, 234, 212, 0.2);
}
.isl-footer__contacts {
  margin: 0;
}
.isl-footer__contacts .cms-foot-contact__strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.isl-footer__contacts .cms-foot-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(15, 118, 110, 0.25);
  border-radius: 10px;
  border: 1px solid rgba(45, 212, 191, 0.35);
}
.isl-footer__contacts .cms-foot-contact__glyph {
  flex-shrink: 0;
  opacity: 0.9;
}
.isl-footer__contacts .cms-foot-contact__link {
  color: #ecfdf5;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-word;
}
.isl-footer__contacts .cms-foot-contact__link:hover {
  color: #5eead4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.isl-footer-copy {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.85);
  max-width: 720px;
}
@media (max-width: 720px) {
  .isl-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* --- template/islands/home.php --- */
body.theme-islands {
  margin: 0;
  min-height: 100vh;
  background: #fafaf9;
  color: #1c1917;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.isl-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}
.isl-featured {
  margin-bottom: 48px;
}
.isl-featured-link {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 8px 36px rgba(28, 25, 23, 0.1),
    0 0 0 1px rgba(15, 118, 110, 0.14);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.isl-featured-link:hover {
  box-shadow:
    0 20px 56px rgba(15, 118, 110, 0.18),
    0 0 0 1px rgba(13, 148, 136, 0.28);
  transform: translateY(-2px);
}
@media (max-width: 960px) {
  .isl-featured-link { grid-template-columns: 1fr; }
}
.isl-featured-img {
  min-height: 300px;
  background: #e7e5e4;
}
@media (min-width: 961px) {
  .isl-featured-img {
    min-height: 400px;
  }
}
.isl-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.isl-featured-link:hover .isl-featured-img img {
  transform: scale(1.045);
}
.isl-featured-body {
  padding: clamp(24px, 4.5vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid #0d9488;
  background: linear-gradient(165deg, #fff 0%, #f8faf9 55%, #f0fdfa 100%);
}
@media (max-width: 960px) {
  .isl-featured-body {
    border-left: none;
    border-top: 4px solid #0d9488;
  }
}
.isl-byline {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #57534e;
}
.isl-topic {
  color: #0f766e;
  font-weight: 700;
}
.isl-byline .isl-by { margin-left: 8px; }
.isl-hed {
  margin: 0 0 14px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #1c1917;
  font-optical-sizing: auto;
}
.isl-featured-link:hover .isl-hed { color: #0f766e; }
.isl-dek {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #44403c;
}
.isl-cta {
  font-size: 15px;
  font-weight: 700;
  color: #0f766e;
  letter-spacing: 0.02em;
}
.isl-featured-link:hover .isl-cta { text-decoration: underline; }

.isl-section-head {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #1c1917;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0f766e;
}
.isl-stories {
  display: grid;
  gap: 20px;
  margin-bottom: 44px;
}
.isl-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e7e5e4;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.isl-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.08);
}
@media (max-width: 640px) {
  .isl-card { grid-template-columns: 1fr; }
}
.isl-card-img {
  border-radius: 10px;
  overflow: hidden;
  background: #e7e5e4;
  aspect-ratio: 16/10;
}
.isl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.isl-card-body { min-width: 0; }
.isl-card .isl-byline { font-size: 13px; margin-bottom: 8px; }
.isl-time { color: #78716c; font-weight: 500; margin-left: 6px; }
.isl-card-title {
  margin: 0 0 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1c1917;
}
.isl-card:hover .isl-card-title { color: #0f766e; }
.isl-card-excerpt {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #57534e;
}
.isl-card-foot {
  font-size: 14px;
  font-weight: 700;
  color: #0f766e;
}

.theme-islands .cms-home-top-stories {
  margin-bottom: 28px;
}
.theme-islands .cms-home-top-stories__inner {
  padding: 14px 16px 16px;
  background: #f5f5f4;
  border-radius: 14px;
  border: 1px solid #e7e5e4;
  border-left: 4px solid #0f766e;
}
.theme-islands .cms-home-top-stories__label {
  margin: 0 0 12px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f766e;
}
.theme-islands .cms-home-top-stories__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.theme-islands .cms-home-top-stories__item {
  flex: 1 1 160px;
  min-width: 0;
}
.theme-islands .cms-home-top-stories__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 8px 12px;
  text-decoration: none;
  color: #1c1917;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e7e5e4;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.theme-islands .cms-home-top-stories__link:hover {
  border-color: #0f766e;
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.1);
}
.theme-islands .cms-home-top-stories__thumb {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #e7e5e4;
}
.theme-islands .cms-home-top-stories__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.theme-islands .cms-home-top-stories__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}
@media (max-width: 768px) {
  .theme-islands .cms-home-top-stories__inner {
    padding: 10px 10px 12px;
    border-radius: 12px;
  }
  .theme-islands .cms-home-top-stories__label {
    font-size: 0.88rem;
    margin: 0 0 8px;
  }
  .theme-islands .cms-home-top-stories__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    overflow: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
    padding: 0;
    margin: 0;
    scrollbar-width: auto;
  }
  .theme-islands .cms-home-top-stories__item {
    flex: none;
    width: 100%;
    max-width: none;
    scroll-snap-align: none;
  }
  .theme-islands .cms-home-top-stories__link {
    min-height: 54px;
    padding: 7px 10px;
    gap: 10px;
  }
  .theme-islands .cms-home-top-stories__thumb {
    width: 48px;
    height: 48px;
  }
  .theme-islands .cms-home-top-stories__title {
    font-size: 0.86rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
}

.isl-row3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.isl-mini {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.isl-mini:hover { box-shadow: 0 8px 28px rgba(28, 25, 23, 0.08); }
.isl-mini img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.isl-mini-cap { padding: 16px 18px 18px; }
.isl-mini-cap .isl-byline { margin-bottom: 8px; font-size: 12px; }
.isl-mini h3 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}
.isl-mini:hover h3 { color: #0f766e; }

/* --- template/islands/article.php --- */
body.theme-islands {
  margin: 0;
  background: #fafaf9;
  color: #1c1917;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  line-height: 1.7;
}
.theme-islands main {
  max-width: 720px;
  margin: 28px auto 40px;
  padding: 0 20px;
}
.post h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: #1c1917;
}
.meta {
  font-size: 15px;
  color: #57534e;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e7e5e4;
}
.meta a {
  color: #0f766e;
  text-decoration: none;
  font-weight: 700;
}
.meta a:hover { text-decoration: underline; }
.content { font-size: 1.08rem; color: #44403c; }
.content p { margin-bottom: 1.45em; }
.post .content p:empty { min-height: 1.4em; }
.content img {
  max-width: 100%;
  margin: 24px auto;
  display: block;
  border-radius: 12px;
  border: 1px solid #e7e5e4;
}
.content h2, .content h3 {
  margin-top: 1.55em;
  color: #1c1917;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
}
.content blockquote {
  border-left: 4px solid #0f766e;
  margin: 1.5em 0;
  padding: 12px 0 12px 22px;
  color: #57534e;
  font-style: italic;
  background: #f5f5f4;
  border-radius: 0 10px 10px 0;
}
.content a { color: #0f766e; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.content a:hover { color: #134e4a; }
.post-image { margin: 22px 0; text-align: center; }
.post-image img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid #e7e5e4;
}
.related-articles {
  max-width: 1160px;
  margin: 0 auto 56px;
  padding: 36px 20px 0;
  border-top: 2px solid #0f766e;
}
.related-articles h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1917;
  margin: 0 0 20px;
}
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.related-list article {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  transition: box-shadow 0.2s;
}
.related-list article:hover { box-shadow: 0 10px 32px rgba(15, 118, 110, 0.1); }
.related-list img {
  width: 100%;
  height: 158px;
  object-fit: cover;
}
.related-list h3 {
  font-size: 16px;
  padding: 12px 14px 16px;
  margin: 0;
  line-height: 1.35;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
}
.related-list a { color: #1c1917; text-decoration: none; }
.related-list a:hover { color: #0f766e; }
@media (max-width: 768px) {
  .theme-islands main { padding: 0 16px; }
  .related-list { grid-template-columns: 1fr; }
}

/* --- template/islands/category.php --- */
body.theme-islands {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    background: #fafaf9;
    margin: 0;
    padding: 0;
    color: #1c1917;
}
.theme-islands h1 {
    text-align: center;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    margin: 32px 20px 24px;
    color: #1c1917;
}
.page-content {
    max-width: 900px;
    margin: 0 auto 28px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    line-height: 1.7;
    color: #44403c;
    font-size: 1.04rem;
    word-wrap: break-word;
}
.page-content p { margin: 0 0 1.1em; }
.page-content h2, .page-content h3, .page-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.7em;
    color: #1c1917;
    font-weight: 700;
    font-family: 'Fraunces', Georgia, serif;
}
.page-content h2 {
    font-size: 1.35rem;
    border-left: 4px solid #0f766e;
    padding-left: 12px;
}
.page-content ul, .page-content ol { margin: 1em 0 1em 1.5em; }
.page-content a { color: #0f766e; font-weight: 600; }
.page-content img { max-width: 100%; margin: 18px auto; display: block; border-radius: 8px; border: 1px solid #e7e5e4; }
.page-content blockquote {
    margin: 1.2em 0;
    padding: 1em 1.2em;
    border-left: 4px solid #0f766e;
    background: #f5f5f4;
    font-style: italic;
    color: #57534e;
}
.page-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.page-content th, .page-content td { border: 1px solid #e7e5e4; padding: 10px; }
.page-content th { background: #0f766e; color: #fff; font-weight: 700; }
.isl-cat-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    padding: 0 20px;
    list-style: none;
    margin: 0 auto 24px;
    max-width: 1200px;
}
.isl-cat-feed > li {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e7e5e4;
    transition: box-shadow 0.2s;
}
.isl-cat-feed > li:hover { box-shadow: 0 8px 28px rgba(15, 118, 110, 0.1); }
.isl-cat-feed > li img {
    width: 100%;
    height: 176px;
    object-fit: cover;
}
.isl-cat-feed > li a { text-decoration: none; color: inherit; }
.isl-cat-feed strong {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: #1c1917;
    display: block;
    margin-bottom: 8px;
}
.isl-cat-feed > li:hover strong { color: #0f766e; }
.isl-cat-feed small { color: #78716c; font-size: 0.85rem; }
.post-content { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0 44px;
}
.pagination a {
    background: #fff;
    border: 1px solid #0f766e;
    border-radius: 8px;
    padding: 8px 14px;
    color: #0f766e;
    text-decoration: none;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 14px;
}
.pagination a:hover { background: #0f766e; color: #fff; }
.pagination a[style*="font-weight:bold"] {
    background: #134e4a;
    border-color: #134e4a;
    color: #fff;
    font-weight: 700 !important;
}
@media (max-width: 768px) {
    .page-content { padding: 18px; }
}

/* --- template/islands/page.php --- */
body.theme-islands {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    margin: 0;
    background: #fafaf9;
    color: #1c1917;
    line-height: 1.65;
  }
  .theme-islands h1 {
    text-align: center;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 36px 22px 20px;
    color: #0f766e;
    letter-spacing: -0.02em;
  }
  .theme-islands main {
    max-width: 820px;
    margin: 0 auto 56px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    padding: clamp(26px, 4vw, 44px);
  }
  .theme-islands main p { margin: 1.1em 0; font-size: 1.06rem; color: #44403c; }
  .theme-islands main img { max-width: 100%; margin: 20px auto; display: block; border-radius: 8px; border: 1px solid #e7e5e4; }
  .theme-islands main a { color: #0f766e; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .theme-islands main a:hover { color: #134e4a; }
  .theme-islands blockquote {
    margin: 24px 0;
    padding: 16px 22px;
    background: #f5f5f4;
    border-left: 4px solid #0f766e;
    font-style: italic;
    color: #57534e;
  }
  @media (max-width: 700px) {
    .theme-islands main { margin-left: 16px; margin-right: 16px; padding: 22px; }
  }

/* --- template/islands/author.php --- */
body.theme-islands {
      font-family: 'Source Sans 3', system-ui, sans-serif;
      background: #fafaf9;
      color: #1c1917;
      margin: 0;
      line-height: 1.6;
    }
    .theme-islands .author-page-title {
      font-family: 'Fraunces', Georgia, serif;
      text-align: center;
      margin: 36px 20px 12px;
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      font-weight: 700;
      color: #0f766e;
      letter-spacing: -0.02em;
    }
    .author-desc {
      max-width: 720px;
      margin: 8px auto 32px;
      text-align: center;
      font-size: 1rem;
      color: #57534e;
      padding: 0 20px;
    }
    .theme-islands main {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px 56px;
    }
    .articles {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 18px;
      padding: 0;
      margin: 0;
    }
    .article-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid #e7e5e4;
      transition: box-shadow 0.2s;
      display: flex;
      flex-direction: column;
    }
    .article-card:hover { box-shadow: 0 10px 32px rgba(15, 118, 110, 0.12); }
    .article-card:hover .card-body h3 a { color: #0f766e; }
    .preview { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #e7e5e4; }
    .preview img { width: 100%; height: 100%; object-fit: cover; }
    .card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex-grow: 1; }
    .card-body h3 { margin: 0 0 10px; font-size: 1.15rem; font-family: 'Fraunces', Georgia, serif; font-weight: 700; }
    .card-body h3 a { text-decoration: none; color: #1c1917; }
    .excerpt { font-size: 0.94rem; color: #57534e; flex-grow: 1; margin-bottom: 12px; }
    .read-more { align-self: flex-start; text-decoration: none; color: #0f766e; font-weight: 700; font-size: 14px; }
    .read-more:hover { text-decoration: underline; }
    .theme-islands main > p { text-align: center; color: #78716c; }
    @media (max-width: 600px) {
      .theme-islands .author-page-title { font-size: 1.5rem; }
    }


/* --- 404 --- */
/* Страница 404 */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-family: "Inter", system-ui, sans-serif;
  text-align: center;
  background: #fafafa;
  color: #111;
  margin: 0;
}
.page-404__hero {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 280px;
  background: #e5e7eb center/contain no-repeat;
  margin-bottom: 20px;
  border-radius: 12px;
}
.page-404__hero h1 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.page-404__lead {
  margin: 0 0 16px;
  max-width: 420px;
  line-height: 1.5;
}
.page-404__btn {
  display: inline-block;
  padding: 12px 28px;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}
.page-404__btn:hover {
  background: #15803d;
}
