/* ==========================================================================
   Inner pages: article, roundup/archive, search, author, page, 404.
   Measured from pcmag.com article + "best-" roundup pages at 1440 / 375.
   Article column 768px (left) + 300px ad rail on desktop; headline Roboto Flex 48/54 at width 50%.
   ========================================================================== */

/* ---------- Shared ---------- */
.pc-single, .pc-archive, .pc-404 { padding-bottom: 48px; }
/* article column starts at x=176 on a 1440 screen, like pcmag.com; listings use the full site container */
.pc-single .pc-container { max-width: calc(1088px + 2 * var(--pc-pad)); }
.pc-expert--nobio .pc-expert__who { border-right: 0; flex-basis: auto; }
.pc-crumbs { margin: 0 0 8px; font-size: 12px; line-height: 18px; font-weight: 640; text-align: left; }
.pc-crumbs a { color: var(--pc-ink); text-decoration: none; }
.pc-crumbs a:hover { color: var(--pc-accent); }
.pc-single .pc-crumbs .breadcrumb__list, .pc-archive .pc-crumbs .breadcrumb__list, .pc-404 .pc-crumbs .breadcrumb__list { justify-content: flex-start !important; }

.pc-pagehead { padding-top: 24px; padding-bottom: 8px; }
.pc-pagehead__kicker { margin: 0 0 4px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--pc-accent); }
.pc-pagehead__title, .pc-article-head__title {
    margin: 0; font-size: 32px; line-height: 1.125; font-weight: 640; font-stretch: 50%; letter-spacing: .025em; color: var(--pc-ink);
}
.pc-pagehead__dek, .pc-article-head__dek { margin: 12px 0 0; max-width: 768px; font-size: 18px; line-height: 1.5; color: var(--pc-ink); }
.pc-pagehead__dek p { margin: 0; }

/* ---------- Article head ---------- */
.pc-article-head { padding-top: 24px; padding-bottom: 0; }
.pc-article-head__title { max-width: 768px; }
.pc-article-head__dek { font-size: 20px; line-height: 1.5; }

/* Expert box: white "Our expert" tag over a gray band, pink stats panel on the right */
.pc-expert { position: relative; display: flex; flex-direction: column; margin-top: 32px; max-width: 880px; }
.pc-expert__tag {
    position: absolute; top: -12px; left: 8px; padding: 4px 8px; background: var(--pc-bg); border: 1px solid var(--pc-rule);
    font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.pc-expert__main { display: flex; flex-direction: column; gap: 12px; padding: 24px 16px; background: var(--pc-gray); }
.pc-expert__who { display: flex; align-items: center; gap: 16px; }
.pc-expert__avatar { flex: none; display: block; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; }
.pc-expert__img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; display: block; }
.pc-expert__name { margin: 0; font-size: 16px; line-height: 20px; font-weight: 400; }
.pc-expert__name a { color: var(--pc-ink); text-decoration: underline; text-underline-offset: 2px; }
.pc-expert__role { display: block; margin-top: 6px; font-size: 12px; line-height: 18px; }
.pc-expert__bio { margin: 0; font-size: 14px; line-height: 21px; }
.pc-expert__stats { padding: 20px 16px; background: var(--pc-accent-tint); text-align: center; }
.pc-expert__stats-head { display: flex; justify-content: center; gap: 16px; margin: 0; font-size: 12px; line-height: 18px; font-weight: 640; letter-spacing: .05em; text-transform: uppercase; }
.pc-expert__stats-head a { color: var(--pc-accent); text-decoration: underline; }
.pc-expert__nums { display: flex; justify-content: center; gap: 24px; margin: 12px 0 0; padding: 0; list-style: none; }
.pc-expert__nums li { display: flex; flex-direction: column; align-items: center; min-width: 60px; }
.pc-expert__nums strong { font-size: 24px; line-height: 36px; font-weight: 500; }
.pc-expert__nums span { font-size: 14px; line-height: 21px; letter-spacing: .1em; text-transform: uppercase; }

/* Edited-by line + CTA */
.pc-edited { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.pc-edited__line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; font-size: 12px; line-height: 24px; }
.pc-edited__line a { font-weight: 700; color: var(--pc-ink); text-decoration: underline; }
.pc-edited__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start; min-height: 40px; padding: 0 20px;
    border: 1px solid var(--pc-rule-strong); border-radius: 4px; background: var(--pc-gray); color: var(--pc-ink); font-size: 14px; font-weight: 640; text-decoration: none;
}
.pc-edited__cta:hover { border-color: var(--pc-ink); }
.pc-edited__cta i { color: var(--pc-accent); }
.pc-share { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--pc-ink); font: inherit; font-size: 12px; cursor: pointer; }
.pc-share:hover { color: var(--pc-accent); }

/* Hero image + verdict column */
.pc-lead { display: grid; gap: 24px; margin-top: 32px; }
.pc-article-figure { margin: 0; }
.pc-article-figure__img { display: block; width: 100%; height: auto; border-radius: 6px; }
.pc-article-figure figcaption { margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--pc-muted); }
.pc-verdict { align-self: start; }
.pc-verdict__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 16px; line-height: 24px; }
.pc-badge {
    display: inline-block; padding: 2px 16px 2px 10px; background: var(--pc-accent); color: var(--pc-on-accent); font-size: 10px; line-height: 15px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
}
.pc-dots { display: inline-flex; gap: 3px; }
.pc-dot { display: block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--pc-accent); background: transparent; }
.pc-dot.is-full { background: var(--pc-accent); }
.pc-dot.is-half { background: linear-gradient(90deg, var(--pc-accent) 50%, transparent 50%); }
.pc-verdict__score { color: var(--pc-accent); font-weight: 700; }
.pc-verdict__title { margin: 24px 0 8px; font-size: 18px; line-height: 27px; font-weight: 640; font-stretch: 50%; text-transform: uppercase; }
.pc-verdict__text { margin: 0; font-size: 16px; line-height: 24px; }
.pc-verdict__reviews { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--pc-accent); text-decoration: underline; }

/* ---------- Article body ---------- */
.pc-single .post-article { padding-top: 24px; }
.pc-single .post-content { max-width: 768px; margin-left: 0; margin-right: 0; font-size: 16px; line-height: 1.75; color: var(--pc-ink); }
.pc-single--sidebar .post-content { max-width: 100%; }
.pc-single .post-content > p { margin: 0 0 32px; }
.pc-single .post-content h2 {
    margin: 32px 0 24px; padding-top: 32px; border-top: 1px solid var(--pc-rule-strong); border-left: 0; padding-left: 0;
    font-family: var(--pc-font); font-size: 30px; line-height: 1.25; font-weight: 640; font-stretch: 50%;
}
.pc-single .post-content h2, .pc-single .post-content h3 { border-left: 0; padding-left: 0; }
.pc-single .post-content h3 { font-family: var(--pc-font); font-size: 24px; line-height: 1.5; font-weight: 640; font-stretch: 50%; margin: 32px 0 16px; }
.pc-single .post-content a:not([class]) { color: var(--pc-ink); text-decoration: underline; text-underline-offset: 2px; }
.pc-single .post-content a:not([class]):hover { color: var(--pc-accent); }
.pc-single .post-content img { border-radius: 6px; }
.pc-single .post-content ul, .pc-single .post-content ol { margin: 0 0 32px; }

/* ---------- Listing tiles (archive / search / author / 404) ---------- */
.pc-pills { display: flex; flex-wrap: wrap; align-items: center; margin: 16px 0 32px; }
.pc-pills__label { margin: 0 24px 8px 0; font-size: 14px; line-height: 21px; font-weight: 700; text-transform: uppercase; }
.pc-pill {
    margin: 0 8px 8px 0; padding: 8px 16px; border: 1px solid var(--pc-muted); border-radius: 9999px;
    font-size: 14px; line-height: 21px; font-weight: 640; color: var(--pc-ink); text-decoration: none;
}
.pc-pill:hover { border-color: var(--pc-accent); color: var(--pc-accent); }

.pc-tiles { display: grid; grid-template-columns: 1fr; gap: 32px 24px; margin-top: 24px; }
.pc-tile { display: flex; flex-direction: column; min-width: 0; }
.pc-tile__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pc-gray); }
.pc-tile__body { padding-top: 12px; }
.pc-tile__kicker { display: block; margin-bottom: 4px; font-size: 12px; line-height: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pc-accent); }
.pc-tile__title { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 640; font-stretch: 50%; }
.pc-tile__title a { color: var(--pc-ink); text-decoration: none; }
.pc-tile__title a:hover { color: var(--pc-accent); }
.pc-tile__meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 0 8px; }
.pc-tile__meta .pc-by, .pc-tile__meta .pc-ago { margin-top: 0; display: inline; }
.pc-empty { margin: 32px 0; font-size: 18px; }

/* Pagination */
.pc-pager { margin: 48px 0 0; }
.pc-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pc-pager .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid var(--pc-rule-strong); border-radius: 4px; color: var(--pc-ink); font-weight: 640; text-decoration: none;
}
.pc-pager a.page-numbers:hover { border-color: var(--pc-accent); color: var(--pc-accent); }
.pc-pager .page-numbers.current { background: var(--pc-accent); border-color: var(--pc-accent); color: var(--pc-on-accent); }
.pc-pager .page-numbers.dots { border: 0; }

/* Search form */
.pc-searchform { display: flex; gap: 8px; max-width: 640px; margin: 24px 0 8px; }
.pc-searchform input[type="search"] {
    flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--pc-rule-strong); border-radius: 4px;
    background: var(--pc-bg); color: var(--pc-ink); font: inherit; font-size: 16px;
}
.pc-searchform input[type="search"]:focus { outline: 2px solid var(--pc-accent); outline-offset: 0; border-color: var(--pc-accent); }
.pc-searchform .pc-btn { min-height: 48px; }

/* Author + 404 + page */
.pc-author .pc-pagehead__title { margin-bottom: 8px; }
.pc-author__social { display: flex; gap: 8px; margin: 16px 0 0; }
.pc-author__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--pc-rule-strong); border-radius: 50%; color: var(--pc-ink); text-decoration: none; }
.pc-author__social a:hover { border-color: var(--pc-accent); color: var(--pc-accent); }
.pc-404__head { padding-top: 64px; padding-bottom: 32px; }
.pc-404__head .pc-pagehead__dek { max-width: 560px; }
.pc-page .pc-pagehead { padding-bottom: 0; }
.pc-page__comments { margin-top: 48px; }

/* Parent modules that stay (tags/share/author box, ratings/comments, related): quiet them down to match */
.pcmag .post-footer, .pcmag .related-posts, .pcmag .comments-section { font-family: var(--pc-font); }
.pcmag .post-footer .container, .pcmag .related-posts .container, .pcmag .comments-section .container { max-width: calc(1088px + 2 * var(--pc-pad)); }
.pcmag .related-posts__title, .pcmag .post-footer__author-name { font-stretch: 50%; }

/* ---------- Roundup list (measured on /picks/the-best-tvs: 120x68 thumb, 14px red kicker, 16px bold name, 38px button) ---------- */
.pc-picks { margin: 8px 0 40px; max-width: 768px; }
.pc-picks__title { position: relative; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--pc-rule-strong); font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pc-picks__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 52px; height: 4px; background: var(--pc-ink); }
.pc-picks__list { margin: 0; padding: 0; list-style: none; }
.pc-pick { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--pc-rule-strong); }
.pc-pick__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--pc-rule); background: var(--pc-bg); }
.pc-pick__kicker { display: block; font-size: 14px; line-height: 17.5px; font-weight: 700; color: var(--pc-accent); }
.pc-pick__name { display: block; margin-top: 4px; font-size: 16px; line-height: 20px; font-weight: 700; font-stretch: 75%; color: var(--pc-ink); text-decoration: none; }
.pc-pick__name:hover { color: var(--pc-accent); }
.pc-pick__buy { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.pc-pick__score { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 18px; font-weight: 700; }
.pc-pick__btn { width: 100%; min-height: 38px; justify-content: center; font-size: 14px; font-weight: 700; }
.pc-picks + .pc-ruled { margin-top: 16px; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 640px) {
    .pc-single .post-content { font-size: 18px; line-height: 1.875; }
    .pc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-edited { flex-direction: row; align-items: center; justify-content: space-between; max-width: 880px; }
}
@media (min-width: 768px) {
    .pc-pick { grid-template-columns: 120px minmax(0, 1fr) 280px; }
    .pc-pick__buy { grid-column: auto; align-items: stretch; }
    .pc-pick__score { justify-content: center; }
    .pc-expert { flex-direction: row; align-items: stretch; }
    .pc-expert__main { flex: 1 1 auto; flex-direction: row; align-items: center; gap: 0; padding: 24px 0 24px 16px; }
    .pc-expert__who { flex: 0 0 229px; padding-right: 24px; border-right: 1px solid var(--pc-rule-strong); }
    .pc-expert__bio { padding: 0 24px; }
    .pc-expert__stats { flex: 0 0 295px; padding: 24px 16px; }
}
@media (min-width: 1024px) {
    .pc-pagehead__title, .pc-article-head__title { font-size: 48px; line-height: 54px; letter-spacing: .025em; }
    .pc-article-head { padding-top: 40px; }
    .pc-lead--verdict { grid-template-columns: minmax(0, 768px) minmax(0, 1fr); gap: 48px; }
    .pc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- After the article: tags row + "About Our Expert" card (pcmag.com: 768px column, 6px radius, soft shadow) ---------- */
.pc-after { margin-top: 48px; }
.pc-after__tags { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 32px; font-size: 14px; }
.pc-after__tags span { font-weight: 700; }
.pc-after__tags a { padding: 4px 12px; border: 1px solid var(--pc-muted); border-radius: 9999px; color: var(--pc-ink); text-decoration: none; }
.pc-after__tags a:hover { border-color: var(--pc-accent); color: var(--pc-accent); }
.pc-about { max-width: 768px; }
.pc-about__title { margin: 0 0 24px; font-size: 30px; line-height: 33.75px; font-weight: 640; font-stretch: 50%; }
.pc-about__card { padding: 24px; background: var(--pc-bg); border-radius: 6px; box-shadow: 0 0 5px -1px rgba(0, 0, 0, .3), 0 2px 2px 0 rgba(0, 0, 0, .1); }
.pc-about__head { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--pc-rule); }
.pc-about__avatar { flex: none; display: block; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; }
.pc-about__img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; display: block; }
.pc-about__who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pc-about__name { font-size: 16px; line-height: 20px; font-weight: 640; font-stretch: 75%; color: var(--pc-ink); text-decoration: none; }
.pc-about__role { margin-top: 4px; font-size: 12px; line-height: 18px; }
.pc-about__social { display: flex; gap: 12px; margin: 0; }
.pc-about__social a { color: var(--pc-ink); font-size: 18px; }
.pc-about__social a:hover { color: var(--pc-accent); }
.pc-about__h { margin: 24px 0 8px; font-size: 16px; line-height: 24px; font-weight: 700; font-stretch: 75%; }
.pc-about__bio { margin: 0; font-size: 14px; line-height: 24px; }
.pc-about__chips { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 0; list-style: none; }
.pc-about__chips li { font-size: 12px; line-height: 18px; font-weight: 700; color: #4a4a4a; }
.pc-about__latest { margin: 0; padding: 0 0 0 20px; font-size: 14px; line-height: 24px; list-style: disc; }
.pc-about__latest li { margin: 4px 0; padding-left: 4px; }
.pc-about__latest a { color: var(--pc-ink); text-decoration: underline; text-underline-offset: 2px; }
.pc-about__latest a:hover { color: var(--pc-accent); }
.pc-about__more { margin: 16px 0 0; text-align: right; }
.pc-about__more a { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pc-ink); text-decoration: underline; text-underline-offset: 3px; }
.pc-about__more a:hover { color: var(--pc-accent); }

/* ---------- Edited-by row with Google preferred-source button (pcmag.com header) ---------- */
.pc-edited__google {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 42px; padding: 8px 24px;
    border: 1px solid var(--pc-muted); border-radius: 6px; background: var(--pc-bg); color: var(--pc-ink) !important;
    font-size: 14px; line-height: 21px; font-weight: 640; text-decoration: none; white-space: nowrap;
}
.pc-edited__google:hover { border-color: var(--pc-ink); }
.pc-edited__google svg { width: 24px; height: 24px; flex: none; }
@media (min-width: 768px) { .pc-edited__google { width: auto; } }
