/* The American Galore — overrides on top of Newzin (style.css). White + rose. */
:root {
  --color-main: #E0457B !important;
  --tag-rose: #E0457B;
  --tag-rose-dark: #C2335F;
  --tag-rose-tint: #FDF1F5;
  --tag-ink: #141414;
  --bg-gray1: #F7F5F6 !important;
  --bg-gray2: #FDF1F5 !important;
  --bg-gray3: #F9F4F2 !important;
}
body.tag-site { background: #fff; color: var(--tag-ink); }
.color-main, .text-primary { color: var(--tag-rose) !important; }
a:hover { color: var(--tag-rose); }
.nav-search-style1 { background-color: var(--tag-rose-tint); }

/* logo as type (Neco) */
.tag-logo { font-family: "Neco-Variable", Georgia, serif; font-weight: 700; font-size: 34px; letter-spacing: -0.5px; color: var(--tag-ink) !important; text-decoration: none; line-height: 1; white-space: nowrap; }
.tag-logo .tag-logo-the { font-weight: 400; font-style: italic; font-size: 0.72em; margin-right: 4px; color: #777; }
.tag-logo .tag-logo-pink { color: var(--tag-rose); }
.offcanvas .tag-logo, .foot-logo .tag-logo { font-size: 28px; }
.dark-theme .tag-logo { color: #fff !important; }

/* nav */
.navbar.style-1 .nav-link.active { color: var(--tag-rose) !important; }
.navbar.style-1 .nav-link:hover { color: var(--tag-rose) !important; }
.top-navbar.style-1 .sub-darkLight a:hover { color: var(--tag-rose); }
.navbar.style-1 .nav-side .icon-link:hover { color: var(--tag-rose); }
.tc-blog-nav-search .info h1 { font-family: "Neco-Variable", serif; font-size: 48px; font-weight: 700; margin: 0; text-transform: capitalize; }
.tc-blog-nav-search { background: var(--tag-rose-tint); padding: 40px 0; }

/* search results */
.tag-search-results { margin-top: 12px; }
.tag-search-results a { display: block; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); color: inherit; }
.tag-search-results a small { color: var(--tag-rose); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; display: block; }
.tag-search-results .none { color: #777; font-size: 14px; padding: 8px 0; }

/* cards */
.tc-post-overlay-default .tags a { background: var(--tag-rose); color: #fff; }
.tc-post-grid-default .item .title a:hover, .tc-post-list-style3 .title a:hover, .tc-post-list-style2 .item:hover .title { color: var(--tag-rose); }
.tc-post-grid-default .item .img img, .tc-post-list-style3 .img img, .tc-post-overlay-default .img img { transition: transform .5s ease; }
.tc-post-grid-default .item:hover .img img { transform: scale(1.03); }
.th-400 { height: 400px; }
.tc-trending-news-style5 .items .item .num { color: var(--tag-rose); }
.tag-section-title { font-family: "Neco-Variable", serif; font-size: 34px; font-weight: 700; letter-spacing: -0.5px; }
.tag-cat-desc { max-width: 640px; font-size: 15px; }
.tc-post-list-style2 .item { border-color: rgba(0,0,0,.08) !important; }
.tc-post-list-style2 .item .title { font-size: 17px; line-height: 1.35; }

/* buttons */
.tag-btn { display: inline-flex; align-items: center; padding: 14px 26px; background: var(--tag-rose); color: #fff !important; border-radius: 40px; font-weight: 600; font-size: 14px; letter-spacing: .3px; text-transform: uppercase; transition: background .2s; }
.tag-btn:hover { background: var(--tag-rose-dark); color: #fff; }
.tag-btn-sm { padding: 10px 18px; font-size: 12px; }

/* sidebar */
.tag-cat-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 30px; margin: 0 8px 8px 0; font-size: 13px; color: inherit; }
.tag-cat-pills a span { background: var(--tag-rose-tint); color: var(--tag-rose); border-radius: 20px; padding: 1px 8px; font-size: 11px; font-weight: 600; }
.tag-cat-pills a:hover { border-color: var(--tag-rose); color: var(--tag-rose); }
.tag-pin-box { background: var(--tag-rose-tint); padding: 30px; border-radius: 6px; text-align: center; }
.tag-pin-box i { font-size: 40px; color: var(--tag-rose); }
.tag-pin-box h5 { font-family: "Neco-Variable", serif; font-size: 24px; margin: 10px 0 8px; }
.tag-pin-box p { font-size: 14px; color: #666; margin-bottom: 18px; }
.tag-about-box { border: 1px solid rgba(0,0,0,.1); padding: 30px; border-radius: 6px; }
.tag-about-box h5 { font-family: "Neco-Variable", serif; font-size: 22px; margin: 14px 0 8px; }
.tag-about-box p { font-size: 14px; color: #666; }
.tag-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--tag-rose), #F2A1BE); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: "Neco-Variable", serif; font-size: 30px; font-weight: 700; }
.tag-avatar-sm { width: 30px; height: 30px; font-size: 15px; }
.tag-avatar-lg { width: 85px; height: 85px; font-size: 40px; }

/* article */
.tag-breadcrumb { font-size: 13px; color: #777; }
.tag-breadcrumb a { color: #777; }
.tag-breadcrumb a:hover { color: var(--tag-rose); }
.tag-breadcrumb i { font-size: 11px; margin: 0 4px; }
.tc-main-post-style1 .tc-main-post-title h1.title { font-family: "Neco-Variable", serif; font-size: 52px; line-height: 1.1; font-weight: 700; letter-spacing: -1px; }
.tag-standfirst { max-width: 760px; line-height: 1.6; }
.tc-main-post-style1 .tc-main-post-img img { width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: 4px; }
.tag-share a:hover, .tc-main-post-style1 .sharing .share-icons a:hover { color: var(--tag-rose); border-color: var(--tag-rose); }
.tc-main-post-style1 .sharing { position: sticky; top: 30px; }

.post-body { font-size: 18px; line-height: 1.8; color: #222; max-width: 760px; }
.post-body p, .post-body li { font-size: 18px; line-height: 1.8; margin-bottom: 1.4em; }
.post-body li { margin-bottom: .6em; }
.post-body p.lead-p { font-size: 19px; }
.tc-main-post-style1 .tc-main-post-content .post-body p { font-size: 18px; }
.post-body .lg-letter { float: left; font-family: "Neco-Variable", serif; font-size: 78px; line-height: .8; padding: 8px 10px 0 0; color: var(--tag-rose); font-weight: 700; }
.post-body h2 { font-family: "Neco-Variable", serif; font-size: 34px; line-height: 1.2; font-weight: 700; margin: 56px 0 20px; letter-spacing: -0.5px; scroll-margin-top: 90px; }
.post-body h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--tag-rose); margin-bottom: 16px; }
.post-body h3 { font-family: "Neco-Variable", serif; font-size: 25px; font-weight: 700; margin: 36px 0 14px; scroll-margin-top: 90px; }
.post-body h4 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; }
.post-body a { color: var(--tag-rose); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--tag-rose-dark); }
.post-body ul, .post-body ol { margin: 0 0 1.6em 1.3em; padding: 0; }
.post-body li { margin-bottom: .6em; }
.post-body li::marker { color: var(--tag-rose); font-weight: 600; }
.post-body blockquote { border-left: 3px solid var(--tag-rose); margin: 30px 0; padding: 6px 0 6px 24px; font-family: "Neco-Variable", serif; font-size: 24px; line-height: 1.4; color: #333; }
.post-body strong { color: #111; }
.post-body .table-responsive { margin: 28px 0 36px; border: 1px solid rgba(0,0,0,.1); border-radius: 6px; }
.post-body table { width: 100%; margin: 0; font-size: 15px; line-height: 1.5; }
.post-body table th { background: var(--tag-rose-tint); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: .8px; padding: 12px 14px; border-bottom: 1px solid rgba(0,0,0,.1); white-space: nowrap; }
.post-body table td { padding: 11px 14px; border-bottom: 1px solid rgba(0,0,0,.06); vertical-align: top; }
.post-body table tr:last-child td { border-bottom: 0; }
.post-body table tbody tr:nth-child(even) td { background: #fafafa; }
.post-figure { margin: 36px 0 40px; }
.post-figure img { width: 100%; height: auto; border-radius: 4px; display: block; }
.post-figure figcaption { font-size: 13px; color: #888; margin-top: 10px; font-style: italic; }
.post-body hr { margin: 40px 0; opacity: .15; }
.tag-toc { background: var(--bg-gray1); padding: 22px 26px; border-radius: 6px; margin: 0 0 36px; font-size: 15px; }
.tag-toc ol { margin: 0 0 0 1.1em; padding: 0; columns: 2; column-gap: 30px; }
.tag-toc li { margin: 0 0 6px; break-inside: avoid; }
.tag-toc a { color: #333; text-decoration: none; }
.tag-toc a:hover { color: var(--tag-rose); }
.tag-post-end { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.1); max-width: 760px; }
.tag-post-end a { color: var(--tag-rose); }
.tc-author-card .text { max-width: 760px; }

/* footer */
.footer-style1 .tc-subscribe-style1 { border-bottom: 1px solid rgba(0,0,0,.08); }
.footer-style1 .link-group .f-link:hover { color: var(--tag-rose); }
.footer-style1 .social-links a:hover { background: var(--tag-rose); border-color: var(--tag-rose); color: #fff; }
.footer-style1 .foot { padding: 20px 0 30px; border-top: 1px solid rgba(0,0,0,.08); }
.footer-style1 .data-info p { font-size: 14px; line-height: 1.7; }

/* dark mode */
.dark-theme.tag-site { background: #141216; color: #e8e6ea; }
.dark-theme .post-body { color: #ddd; }
.dark-theme .post-body strong, .dark-theme .post-body h2, .dark-theme .post-body h3, .dark-theme .post-body h4 { color: #fff; }
.dark-theme .post-body table th { background: #2a2230; color: #fff; }
.dark-theme .post-body table tbody tr:nth-child(even) td { background: #1b181f; }
.dark-theme .post-body .table-responsive, .dark-theme .tag-about-box, .dark-theme .tag-cat-pills a { border-color: rgba(255,255,255,.12); }
.dark-theme .tag-toc { background: #1f1b24; }
.dark-theme .tag-toc a, .dark-theme .tag-breadcrumb a { color: #ccc; }
.dark-theme .tag-pin-box { background: #2a2230; }
.dark-theme .tc-blog-nav-search, .dark-theme .nav-search-style1 { background: #1f1b24; }
.dark-theme .tag-search-results a { border-color: rgba(255,255,255,.1); }
.dark-theme .tc-main-post-style1 .tc-main-post-title h1.title { color: #fff; }

@media (max-width: 991px) {
  .tc-main-post-style1 .tc-main-post-title h1.title { font-size: 36px; }
  .tc-blog-nav-search .info h1 { font-size: 34px; }
  .post-body { font-size: 17px; }
  .post-body h2 { font-size: 28px; margin-top: 44px; }
  .tag-toc ol { columns: 1; }
  .tc-main-post-style1 .sharing { position: static; display: none; }
  .th-400 { height: 260px; }
  .tag-logo { font-size: 26px; }
}
