/*
Theme Name: Adware Guru Child
Template: jannah
Theme URI: https://adware.guru/
Description: Child theme for Adware Guru homepage and presentation refinements.
Author: Adware Guru
Version: 1.0.0
Text Domain: adware-guru-child
*/

:root {
  --agc-ink: #17202c;
  --agc-muted: #667085;
  --agc-line: #dbe4ea;
  --agc-soft: #f5f8fa;
  --agc-blue: #176b87;
  --agc-red: #f04438;
  --agc-green: #23835f;
}

#theme-header {
  display: none;
}

body {
  background: #fff;
}

.agc-home {
  background: #fff;
  color: var(--agc-ink);
  font-size: 16px;
  line-height: 1.65;
}

.agc-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.agc-sitebar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 32, 44, .98);
  box-shadow: 0 8px 24px rgba(23, 32, 44, .12);
}

.agc-sitebar-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.agc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.agc-brand:hover,
.agc-site-links a:hover {
  color: #fff;
  opacity: .86;
}

.agc-brand span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--agc-red);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.agc-brand strong {
  color: #fff;
  font-size: 18px;
}

.agc-site-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.agc-site-links a {
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 800;
}

body.admin-bar .agc-sitebar {
  top: 32px;
}

body:not(.home) #content.site-content.container {
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  padding: 44px 0 74px;
}

body:not(.home) #main-content-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  margin: 0;
}

body:not(.home) .main-content,
body:not(.home) .sidebar {
  float: none;
  width: auto;
  max-width: none;
  padding: 0;
}

body:not(.home) .container-wrapper,
body:not(.home) .mag-box .container-wrapper,
body:not(.home) .about-author,
body:not(.home) #related-posts,
body:not(.home) #add-comment-block,
body:not(.home) .sidebar .container-wrapper,
body:not(.home) .sidebar .widget {
  border: 1px solid var(--agc-line);
  background: #fff;
  box-shadow: 0 14px 40px rgba(23, 32, 44, .05);
}

body.single-post #related-posts {
  display: none !important;
}

body.single-post #comments,
body.single-post #add-comment-block,
body.single-post .comment-respond,
body.single-post #respond {
  display: none !important;
}

body.single-post .post-components .about-author {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 22px;
  margin: 42px 0 0;
  padding: 30px 0 0;
  border: 0 !important;
  border-top: 1px solid var(--agc-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-post .post-components .about-author .author-avatar {
  float: none;
  width: 84px;
  margin: 0;
}

body.single-post .post-components .about-author .author-avatar img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(23, 32, 44, .10);
}

body.single-post .post-components .about-author .author-info {
  overflow: visible;
  min-width: 0;
}

body.single-post .post-components .about-author .author-name {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.2;
}

body.single-post .post-components .about-author .author-name a {
  color: var(--agc-ink);
  text-decoration: none;
}

body.single-post .post-components .about-author .author-name::after {
  content: "Adware Guru contributor";
  display: block;
  margin-top: 5px;
  color: var(--agc-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.single-post .post-components .about-author .author-bio {
  max-width: 760px;
  color: #4a5868;
  font-size: 16px;
  line-height: 1.65;
}

body.single-post .post-components .about-author .social-icons {
  display: flex;
  margin: 14px 0 0;
  padding: 0;
}

body.single-post .post-components .about-author .social-icons-item {
  list-style: none;
}

body.single-post .post-components .about-author .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--agc-blue);
  font-size: 14px;
  font-weight: 850;
  text-decoration-line: underline;
  text-decoration-color: rgba(23, 107, 135, .28);
  text-underline-offset: .18em;
}

body.single-post .post-components .about-author .social-link::after {
  content: "Author profile";
}

body.single-post .post-components .about-author .social-link:hover {
  color: #0f5168;
  text-decoration-color: rgba(240, 68, 56, .72);
}

body:not(.home) #breadcrumb {
  margin: 0 0 16px;
  color: var(--agc-muted);
  font-size: 13px;
}

body:not(.home) #breadcrumb a {
  color: var(--agc-blue);
}

body.archive .archive-title-wrapper,
body.search .archive-title-wrapper,
body.single-post .entry-header-outer,
body.page:not(.home) .entry-header-outer {
  margin-bottom: 26px;
  padding: 34px 38px;
  background:
    linear-gradient(135deg, rgba(23, 107, 135, .10), rgba(240, 68, 56, .04)),
    #f7fafb;
  border: 1px solid var(--agc-line);
  box-shadow: 0 14px 40px rgba(23, 32, 44, .05);
}

body.archive .page-title,
body.search .page-title,
body.single-post .post-title.entry-title,
body.page:not(.home) .post-title.entry-title,
body.page:not(.home) .entry-title {
  margin: 0;
  color: var(--agc-ink);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

body.archive .taxonomy-description,
body.search .taxonomy-description {
  max-width: 720px;
  margin-top: 14px;
  color: #425466;
  font-size: 18px;
  line-height: 1.6;
}

body.archive .mag-box,
body.search .mag-box {
  margin: 0;
}

body.archive .mag-box .container-wrapper,
body.search .mag-box .container-wrapper {
  padding: 0;
  border: 0;
  box-shadow: none;
}

body.archive .mag-box-container,
body.search .mag-box-container {
  padding: 0;
}

body.archive .posts-items,
body.search .posts-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

body.archive .post-item,
body.search .post-item {
  display: block !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--agc-line);
  box-shadow: 0 14px 40px rgba(23, 32, 44, .05);
}

body.archive .post-item .post-thumb,
body.search .post-item .post-thumb {
  display: block;
  float: none;
  flex: none !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
}

body.archive .post-item .post-thumb img,
body.search .post-item .post-thumb img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

body.archive .post-item .post-details,
body.search .post-item .post-details {
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 20px !important;
}

body.archive .post-item .post-title,
body.search .post-item .post-title {
  margin: 8px 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

body.archive .post-item .post-title a,
body.search .post-item .post-title a,
body.single-post .entry-content a,
body.page:not(.home) .entry-content a {
  color: var(--agc-blue);
  font-weight: 800;
  text-decoration-line: underline;
  text-decoration-color: rgba(23, 107, 135, .32);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
  transition: color .16s ease, text-decoration-color .16s ease, background-color .16s ease;
}

body.archive .post-item .post-title a:hover,
body.search .post-item .post-title a:hover,
body.single-post .entry-content a:hover,
body.page:not(.home) .entry-content a:hover {
  color: #0f5168;
  text-decoration-color: rgba(240, 68, 56, .72);
}

body.single-post .entry-content a.button,
body.single-post .entry-content a.more-link,
body.single-post .entry-content a.post-cat,
body.page:not(.home) .entry-content a.button,
body.page:not(.home) .entry-content a.more-link,
body.page:not(.home) .entry-content a.post-cat {
  text-decoration: none;
}

body.single-post .entry-content a:has(img),
body.page:not(.home) .entry-content a:has(img) {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

body.single-post .entry-content li::marker,
body.page:not(.home) .entry-content li::marker {
  color: var(--agc-red);
}

body.single-post .entry-content li a,
body.page:not(.home) .entry-content li a {
  font-weight: 850;
}

body.archive .post-excerpt,
body.search .post-excerpt {
  color: var(--agc-muted);
  font-size: 15px;
  line-height: 1.65;
}

body.archive .more-link.button,
body.search .more-link.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 12px;
  padding: 0 18px;
  background: var(--agc-red);
  color: #fff;
  border: 0;
  font-weight: 800;
}

body.single-post article.post-content,
body.page:not(.home) article.post-content {
  overflow: hidden;
  padding: 0;
}

body.single-post .entry-content,
body.page:not(.home) .entry-content {
  padding: 36px 46px 44px;
  color: #2f3a45;
  font-size: 18px;
  line-height: 1.75;
}

body.single-post .entry-content > p:first-child,
body.page:not(.home) .entry-content > p:first-child {
  font-size: 19px;
}

body.single-post .single-post-meta,
body.page:not(.home) .single-post-meta,
body.archive .post-meta,
body.search .post-meta {
  color: var(--agc-muted);
  font-size: 13px;
}

body.single-post .post-cat,
body.page:not(.home) .post-cat {
  background: var(--agc-red);
  color: #fff;
}

body.single-post #main-content-row > .main-content {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  padding: 0 !important;
}

body.single-post #the-post.post-content {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

body.single-post #the-post .entry-header-outer {
  margin: 0 !important;
  padding: 28px 34px 30px !important;
  background:
    linear-gradient(135deg, rgba(23, 107, 135, .10), rgba(240, 68, 56, .04)),
    #f7fafb !important;
  border: 0 !important;
  border-bottom: 1px solid var(--agc-line) !important;
  box-shadow: none !important;
}

body.single-post #the-post .entry-header {
  padding: 0 !important;
}

body.single-post #the-post #breadcrumb {
  margin: 0 0 18px !important;
  color: #66758a;
  font-size: 13px;
  line-height: 1.5;
}

body.single-post #the-post .post-cat-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px !important;
}

body.single-post #the-post .post-cat {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 !important;
  padding: 6px 10px !important;
  border-radius: 4px;
  background: var(--agc-red) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.2;
}

body.single-post #the-post .post-title.entry-title {
  max-width: 900px;
  margin: 0 !important;
  color: var(--agc-ink) !important;
  font-size: clamp(32px, 3.05vw, 46px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

body.single-post #the-post .single-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 18px !important;
  color: var(--agc-muted) !important;
  font-size: 13px !important;
  line-height: 1.4;
}

body.single-post #the-post .single-post-meta > span {
  margin: 0 !important;
}

body.single-post #the-post .single-post-meta .meta-author-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

body.single-post #the-post .single-post-meta .tie-alignright {
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-left: auto !important;
}

body.single-post #the-post .entry-content {
  padding: 42px 56px 54px !important;
  color: #2f3a45;
}

body.single-post #the-post .entry-content > * {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

body.single-post #the-post .entry-content > p:empty,
body.single-post #the-post .entry-content > p:has(> span[id^="more-"]:only-child) {
  display: none;
  margin: 0 !important;
}

body.single-post #the-post .entry-content > *:first-child {
  margin-top: 0 !important;
}

body.single-post #the-post .entry-content .ag-answer-card {
  max-width: 760px;
  margin-bottom: 32px;
  padding: 30px 32px;
  border: 1px solid #cfe3ea;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(23, 107, 135, .08), rgba(240, 68, 56, .035)),
    #fbfdfe;
  box-shadow: 0 18px 42px rgba(23, 32, 44, .07);
}

body.single-post #the-post .entry-content .ag-answer-card h2 {
  margin-top: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3edf1;
}

body.single-post #the-post .entry-content .ag-answer-card .ag-answer-label {
  display: inline-flex;
  width: auto;
  margin: 0 0 12px !important;
  padding: 6px 10px;
  border: 1px solid rgba(23, 107, 135, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--agc-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.single-post #the-post .entry-content .ag-answer-card p {
  margin: 12px 0 0;
}

body.single-post #the-post .entry-content .ag-answer-card p:first-of-type {
  margin-top: 0;
}

body.single-post #the-post .entry-content .ag-safety-check,
body.single-post #the-post .entry-content .ag-quick-steps {
  max-width: 760px;
  margin: 0 auto 28px;
  border: 1px solid var(--agc-line);
  border-radius: 10px;
  background: #fff;
}

body.single-post #the-post .entry-content .ag-safety-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  box-shadow: 0 14px 34px rgba(23, 32, 44, .055);
}

body.single-post #the-post .entry-content .ag-safety-check span,
body.single-post #the-post .entry-content .ag-quick-steps > strong {
  display: block;
  margin: 0 0 5px;
  color: var(--agc-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.single-post #the-post .entry-content .ag-safety-check strong {
  display: block;
  color: var(--agc-ink);
  font-size: 21px;
  line-height: 1.25;
}

body.single-post #the-post .entry-content .ag-safety-check p {
  margin: 8px 0 0;
  color: #536273;
  font-size: 15px;
  line-height: 1.58;
}

body.single-post #the-post .entry-content .ag-safety-check a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--agc-blue);
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(23, 107, 135, .16);
}

body.single-post #the-post .entry-content .ag-safety-check a:hover {
  background: #125a72;
}

body.single-post #the-post .entry-content .ag-quick-steps {
  padding: 22px 24px;
  background: #f8fbfc;
}

body.single-post #the-post .entry-content .ag-quick-steps ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: ag-steps;
}

body.single-post #the-post .entry-content .ag-quick-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  color: #354252;
  font-size: 16px;
  line-height: 1.5;
  counter-increment: ag-steps;
}

body.single-post #the-post .entry-content .ag-quick-steps li::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(23, 107, 135, .11);
  color: var(--agc-blue);
  content: counter(ag-steps);
  font-size: 13px;
  font-weight: 900;
}

body.single-post #the-post .entry-content .ag-review-panel,
body.single-post #the-post .entry-content .ag-review-trust,
body.single-post #the-post .entry-content .ag-review-grid {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

body.single-post #the-post .entry-content .ag-review-panel {
  margin-bottom: 30px;
  padding: 30px 32px;
  border: 1px solid #cfe3ea;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(23, 107, 135, .08), rgba(240, 68, 56, .035)),
    #fbfdfe;
  box-shadow: 0 18px 42px rgba(23, 32, 44, .07);
}

body.single-post #the-post .entry-content .ag-review-panel .ag-answer-label,
body.single-post #the-post .entry-content .ag-review-trust span {
  display: inline-flex;
  width: auto;
  margin: 0 0 12px !important;
  padding: 6px 10px;
  border: 1px solid rgba(23, 107, 135, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--agc-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.single-post #the-post .entry-content .ag-review-panel h2 {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e3edf1;
}

body.single-post #the-post .entry-content .ag-review-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

body.single-post #the-post .entry-content .ag-review-panel li {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

body.single-post #the-post .entry-content .ag-review-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

body.single-post #the-post .entry-content .ag-review-trust a,
body.single-post #the-post .entry-content .ag-review-trust div {
  display: block;
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--agc-line);
  border-radius: 10px;
  background: #fff;
  color: var(--agc-ink);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(23, 32, 44, .045);
}

body.single-post #the-post .entry-content .ag-review-trust strong {
  display: block;
  color: var(--agc-ink);
  font-size: 18px;
  line-height: 1.25;
}

body.single-post #the-post .entry-content .ag-review-trust p {
  margin: 8px 0 0;
  color: var(--agc-muted);
  font-size: 14px;
  line-height: 1.5;
}

body.single-post #the-post .entry-content .ag-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

body.single-post #the-post .entry-content .ag-review-grid > div {
  padding: 20px;
  border: 1px solid var(--agc-line);
  border-radius: 10px;
  background: #fff;
}

body.single-post #the-post .entry-content .ag-review-grid h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

body.single-post #the-post .entry-content .ag-review-grid p {
  margin: 0;
  color: #536273;
  font-size: 15px;
  line-height: 1.58;
}

body.single-post #the-post .entry-content .box,
body.single-post #the-post .entry-content .su-box {
  max-width: 760px;
  margin: 32px auto;
  overflow: hidden;
  border: 1px solid #cfe3ea !important;
  border-radius: 10px !important;
  background: #fbfdfe !important;
  box-shadow: 0 16px 38px rgba(23, 32, 44, .055);
}

body.single-post #the-post .entry-content .box h2,
body.single-post #the-post .entry-content .su-box-title {
  margin: 0 !important;
  padding: 22px 24px !important;
  border-bottom: 1px solid var(--agc-line);
  background: #fff !important;
  color: var(--agc-ink) !important;
}

body.single-post #the-post .entry-content .box ol,
body.single-post #the-post .entry-content .box ul,
body.single-post #the-post .entry-content .su-box-content {
  margin: 0 !important;
  padding: 22px 28px 24px !important;
}

body.single-post #the-post .entry-content .box li,
body.single-post #the-post .entry-content .su-box li {
  margin: 8px 0;
}

body.single-post #the-post .entry-content .rp4wp-related-posts {
  max-width: 720px;
  margin: 46px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--agc-line);
}

body.single-post #the-post .entry-content .rp4wp-related-posts h3 {
  margin: 0 0 12px;
  color: var(--agc-ink);
  font-size: 30px;
  line-height: 1.2;
}

body.single-post #the-post .entry-content .rp4wp-related-posts ul {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.single-post #the-post .entry-content .rp4wp-related-posts ul > li {
  padding: 18px 0 !important;
  border-bottom: 1px solid #eef3f6;
  list-style: none !important;
}

body.single-post #the-post .entry-content .rp4wp-related-posts ul > li:last-child {
  border-bottom: 0;
}

body.single-post #the-post .entry-content .rp4wp-related-post-content > a {
  display: inline;
  color: var(--agc-blue) !important;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.28;
  text-decoration-line: underline;
  text-decoration-color: rgba(23, 107, 135, .32);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

body.single-post #the-post .entry-content .rp4wp-related-post-content > a:hover {
  color: #0f5168 !important;
  text-decoration-color: rgba(240, 68, 56, .72);
}

body.single-post #the-post .entry-content .rp4wp-related-post-content p {
  margin: 8px 0 0 !important;
  color: var(--agc-muted);
  font-size: 16px;
  line-height: 1.58;
}

.agc-contact-shell {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 30px;
  border: 1px solid #d9e9ee;
  border-radius: 10px;
  background: #f8fcfd;
  box-shadow: 0 14px 36px rgba(23, 32, 44, .06);
}

.agc-contact-form {
  display: grid;
  gap: 18px;
}

.agc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.agc-contact-form label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--agc-ink);
  font-weight: 800;
}

.agc-contact-form input,
.agc-contact-form select,
.agc-contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfdde5;
  border-radius: 6px;
  background: #fff;
  color: #263443;
  font: inherit;
  line-height: 1.4;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.agc-contact-form textarea {
  resize: vertical;
}

.agc-contact-form input:focus,
.agc-contact-form select:focus,
.agc-contact-form textarea:focus {
  outline: none;
  border-color: var(--agc-blue);
  box-shadow: 0 0 0 3px rgba(23, 107, 135, .14);
}

.agc-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.agc-contact-submit {
  justify-self: start;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 7px;
  background: var(--agc-blue);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 107, 135, .18);
}

.agc-contact-submit:hover {
  background: #145a73;
}

.agc-form-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 7px;
  font-weight: 800;
}

.agc-form-notice.success {
  border: 1px solid #b8dec9;
  background: #edf8f1;
  color: #1f6b3f;
}

.agc-form-notice.error {
  border: 1px solid #f3beb7;
  background: #fff3f1;
  color: #9f2e22;
}

body:not(.home) .sidebar .container-wrapper,
body:not(.home) .sidebar .widget {
  margin-bottom: 18px;
  padding: 20px;
}

body:not(.home) .sidebar .widget-title {
  margin-bottom: 12px;
  color: var(--agc-ink);
}

body:not(.home) .pages-nav {
  margin-top: 24px;
}

body:not(.home) .pages-nav a,
body:not(.home) .pages-nav span.current {
  border: 1px solid var(--agc-line);
  background: #fff;
  color: var(--agc-blue);
}

.agc-footer {
  margin-top: 70px;
  background: #151719;
  color: rgba(255,255,255,.72);
}

.agc-footer-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.agc-footer p {
  margin: 0;
  font-size: 14px;
}

.agc-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.agc-footer-links a {
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 750;
}

.agc-footer-links a:hover {
  color: #fff;
}

.agc-hero {
  padding: 56px 0 44px;
  background:
    linear-gradient(135deg, rgba(23, 107, 135, .12), rgba(240, 68, 56, .06)),
    #f7fafb;
  border-bottom: 1px solid var(--agc-line);
}

.agc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
}

.agc-kicker,
.agc-section-head p,
.agc-section-copy p:first-child {
  margin: 0 0 10px;
  color: var(--agc-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.agc-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--agc-ink);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.agc-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #425466;
  font-size: 20px;
  line-height: 1.55;
}

.agc-search {
  display: flex;
  max-width: 700px;
  margin-top: 30px;
  padding: 6px;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--agc-line);
  box-shadow: 0 18px 55px rgba(23, 32, 44, .10);
}

.agc-search input {
  min-width: 0;
  flex: 1;
  height: 52px;
  padding: 0 16px;
  color: var(--agc-ink);
  border: 0;
  outline: 0;
  font-size: 16px;
}

.agc-search button {
  height: 52px;
  padding: 0 24px;
  background: var(--agc-red);
  color: #fff;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.agc-hero-panel {
  padding: 26px;
  background: #17202c;
  color: #fff;
  box-shadow: 0 24px 70px rgba(23, 32, 44, .22);
}

.agc-hero-panel h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 22px;
}

.agc-hero-panel a {
  display: block;
  padding: 14px 0;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.16);
  font-weight: 750;
}

.agc-section {
  padding: 46px 0;
}

.agc-direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.agc-direction,
.agc-card,
.agc-split {
  border: 1px solid var(--agc-line);
  background: #fff;
  box-shadow: 0 14px 40px rgba(23, 32, 44, .05);
}

.agc-direction {
  min-height: 220px;
  padding: 24px;
  color: var(--agc-ink);
}

.agc-direction span {
  display: block;
  margin-bottom: 26px;
  color: var(--agc-red);
  font-weight: 900;
}

.agc-direction h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.agc-direction p,
.agc-card p,
.agc-section-copy p {
  color: var(--agc-muted);
}

.agc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--agc-line);
  padding-bottom: 14px;
}

.agc-section-head h2,
.agc-section-copy h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.16;
}

.agc-section-head a {
  color: var(--agc-blue);
  font-weight: 800;
  white-space: nowrap;
}

.agc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.agc-card-grid-large .agc-card:first-child {
  grid-column: span 2;
}

.agc-latest-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .68fr);
  gap: 26px;
  align-items: start;
}

.agc-feature-card .agc-card-media {
  aspect-ratio: 16 / 8.4;
}

.agc-feature-card .agc-card-body {
  padding: 22px 24px 24px;
}

.agc-feature-card h3 {
  font-size: 25px;
}

.agc-latest-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--agc-line);
}

.agc-text-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--agc-line);
}

.agc-text-item h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.28;
}

.agc-text-item h3 a {
  color: var(--agc-ink);
}

.agc-text-item p {
  margin: 8px 0 0;
  color: var(--agc-muted);
  font-size: 15px;
  line-height: 1.55;
}

.agc-card {
  overflow: hidden;
}

.agc-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--agc-soft);
  overflow: hidden;
}

.agc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}

.agc-card:hover .agc-card-media img {
  transform: scale(1.025);
}

.agc-card-body {
  padding: 18px;
}

.agc-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.agc-card h3 a,
.agc-direction:hover,
.agc-link-list a {
  color: var(--agc-ink);
}

.agc-card p {
  margin: 0;
}

.agc-split {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  padding: 32px;
  background: #f8fbfc;
}

.agc-section-copy p:last-child {
  margin-bottom: 0;
}

.agc-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.agc-link-list a {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--agc-line);
  font-weight: 800;
}

.agc-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.agc-section-head.compact {
  align-items: center;
}

.agc-section-head.compact h2 {
  font-size: 28px;
}

.agc-stack {
  display: grid;
  gap: 16px;
}

.agc-card-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.agc-card-row .agc-card-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 128px;
}

.agc-card-row .agc-card-body {
  padding: 16px;
}

.agc-card-row h3 {
  font-size: 18px;
}

.agc-news-grid .agc-card h3 {
  font-size: 22px;
}

@media (max-width: 980px) {
  body:not(.home) #main-content-row {
    grid-template-columns: 1fr;
  }

  body:not(.home) .sidebar {
    display: none;
  }

  .agc-hero-grid,
  .agc-split,
  .agc-two-columns,
  .agc-latest-layout {
    grid-template-columns: 1fr;
  }

  .agc-direction-grid,
  .agc-card-grid,
  .agc-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.admin-bar .agc-sitebar {
    top: 0;
  }

  body:not(.home) #content.site-content.container {
    width: min(100% - 30px, 1120px);
    padding: 28px 0 54px;
  }

  body.archive .archive-title-wrapper,
  body.search .archive-title-wrapper,
  body.single-post .entry-header-outer,
  body.page:not(.home) .entry-header-outer {
    padding: 24px 20px;
  }

  body.single-post #the-post .entry-header-outer {
    padding: 22px 18px 24px !important;
  }

  body.archive .page-title,
  body.search .page-title,
  body.single-post .post-title.entry-title,
  body.page:not(.home) .post-title.entry-title,
  body.page:not(.home) .entry-title {
    font-size: 32px;
  }

  body.single-post #the-post .post-title.entry-title {
    font-size: 31px !important;
    line-height: 1.14 !important;
  }

  body.archive .posts-items,
  body.search .posts-items {
    grid-template-columns: 1fr;
  }

  body.single-post .entry-content,
  body.page:not(.home) .entry-content {
    padding: 28px 20px 34px;
    font-size: 16px;
  }

  body.single-post #the-post .entry-content {
    padding: 30px 18px 38px !important;
  }

  body.single-post #the-post .entry-content .ag-answer-card {
    padding: 22px 18px;
    border-radius: 8px;
  }

  body.single-post #the-post .entry-content .ag-safety-check {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }

  body.single-post #the-post .entry-content .ag-safety-check a {
    width: 100%;
  }

  body.single-post #the-post .entry-content .ag-quick-steps {
    padding: 20px 18px;
  }

  body.single-post #the-post .entry-content .ag-quick-steps li {
    grid-template-columns: 26px minmax(0, 1fr);
    font-size: 15px;
  }

  body.single-post #the-post .entry-content .ag-quick-steps li::before {
    width: 26px;
    height: 26px;
  }

  body.single-post #the-post .entry-content .ag-review-panel {
    padding: 22px 18px;
  }

  body.single-post #the-post .entry-content .ag-review-trust,
  body.single-post #the-post .entry-content .ag-review-grid {
    grid-template-columns: 1fr;
  }

  .agc-contact-shell {
    padding: 22px 18px;
  }

  .agc-form-grid {
    grid-template-columns: 1fr;
  }

  .agc-contact-submit {
    width: 100%;
  }

  body.single-post #the-post .single-post-meta .tie-alignright {
    width: 100%;
    margin-left: 0 !important;
  }

  body.single-post #the-post .single-post-meta .meta-author-avatar {
    display: none !important;
  }

  body.single-post .post-components .about-author {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 24px;
    text-align: center;
  }

  body.single-post .post-components .about-author .author-avatar,
  body.single-post .post-components .about-author .author-avatar img {
    width: 72px;
    height: 72px;
  }

  body.single-post .post-components .about-author .author-avatar {
    margin: 0 auto;
  }

  body.single-post .post-components .about-author .author-name {
    font-size: 22px;
  }

  body.single-post .post-components .about-author .social-icons {
    justify-content: center;
  }

  .agc-footer-inner {
    display: grid;
    min-height: 0;
    padding: 24px 0;
  }

  .agc-footer-links {
    justify-content: flex-start;
  }

  .agc-wrap {
    width: min(100% - 30px, 1120px);
  }

  .agc-sitebar {
    position: static;
  }

  .agc-sitebar-inner {
    display: grid;
    min-height: 0;
    padding: 14px 0;
    gap: 12px;
  }

  .agc-site-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .agc-site-links a {
    font-size: 13px;
  }

  .agc-hero {
    padding: 34px 0;
  }

  .agc-hero h1 {
    font-size: 38px;
  }

  .agc-lead {
    font-size: 17px;
  }

  .agc-search {
    display: grid;
  }

  .agc-direction-grid,
  .agc-card-grid,
  .agc-card-grid-large .agc-card:first-child,
  .agc-link-list {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .agc-section {
    padding: 32px 0;
  }

  .agc-section-head {
    display: block;
  }

  .agc-section-head h2,
  .agc-section-copy h2 {
    font-size: 28px;
  }

  .agc-card-row {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .agc-card-row .agc-card-media {
    min-height: 120px;
  }

  .agc-feature-card .agc-card-media {
    aspect-ratio: 16 / 9;
  }

  .agc-feature-card .agc-card-body {
    padding: 18px;
  }

  .agc-feature-card h3 {
    font-size: 22px;
  }

  .agc-text-item {
    padding: 16px 0;
  }
}
