/*
Theme Name: PPC Tools Extension Site WP
Theme URI: https://example.com/
Author: PPC Tools Extension
Description: WordPress theme adaptation of the PPC Tools Extension landing pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: ppc-tools-extension
*/

.ppc-wp-content {
  min-height: 100vh;
  padding: 72px 20px;
  color: var(--ink);
  background: var(--surface);
}

.ppc-wp-content__inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.ppc-wp-content__header {
  margin-bottom: 28px;
}

.ppc-wp-content__header h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.ppc-wp-content__description,
.ppc-wp-post-card__excerpt,
.ppc-wp-article__body {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.72;
}

.ppc-wp-post-list {
  display: grid;
  gap: 16px;
}

.ppc-wp-post-card,
.ppc-wp-article {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.ppc-wp-post-card__title {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.16;
  text-decoration: none;
}

.ppc-wp-post-card__title:hover {
  color: var(--primary-bright);
}

.ppc-wp-post-card time,
.ppc-wp-content__header time {
  display: inline-block;
  margin: 8px 0 18px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 700;
}

.ppc-wp-article__body > *:first-child {
  margin-top: 0;
}

.ppc-wp-article__body > *:last-child {
  margin-bottom: 0;
}

.ppc-wp-article__body a,
.ppc-wp-pagination a,
.ppc-wp-post-navigation a {
  color: var(--primary-bright);
}

.ppc-wp-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.ppc-wp-pagination,
.ppc-wp-post-navigation {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 28px;
}

@media (max-width: 720px) {
  .ppc-wp-content {
    padding: 44px 14px;
  }

  .ppc-wp-post-card,
  .ppc-wp-article {
    padding: 18px;
  }

  .ppc-wp-pagination,
  .ppc-wp-post-navigation {
    display: grid;
  }
}
