/* Ink Your Nail — shared site chrome + minimalist homepage
   Accent teal (footer/pagination): #4DB6AC
   Accent pink (Read More / nav hover): #e91e8c
*/

:root {
  --iyn-teal: #4DB6AC;
  --iyn-teal-dark: #3da399;
  --iyn-pink: #e91e8c;
  --iyn-pink-hot: #ff2d95;
  --iyn-gold: #FFD700;
  --iyn-text: #222222;
  --iyn-muted: #555555;
  --iyn-gray: #333333;
  --iyn-col: 680px;
}

/* ═══════════════ SHARED HEADER ═══════════════ */
.iyn-site-header {
  position: relative;
  z-index: 999;
  background: #fff;
  width: 100%;
  clear: both;
}

.iyn-topbar {
  background: var(--iyn-gold);
  min-height: 28px;
  line-height: 28px;
  width: 100%;
}

.iyn-topbar-inner {
  max-width: 1068px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.iyn-topbar-tag {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11px;
  color: #333;
}

.iyn-topbar-links a {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11px;
  color: #222 !important;
  text-decoration: none;
  margin-left: 14px;
}

.iyn-topbar-links a:hover {
  text-decoration: underline;
}

.iyn-header-logo-wrap {
  text-align: center;
  padding: 20px 12px 8px;
  background: #fff;
}

.iyn-header-logo-wrap a {
  display: inline-block;
}

.iyn-header-logo-wrap img {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.iyn-header-nav-wrap {
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
}

.iyn-header-nav-inner {
  max-width: 1068px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 48px;
  box-sizing: border-box;
  gap: 12px;
}

.iyn-main-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
}

.iyn-main-nav a {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--iyn-gray) !important;
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 48px;
}

.iyn-main-nav a:hover,
.iyn-main-nav a.is-active {
  color: var(--iyn-pink) !important;
}

.iyn-header-search {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.iyn-header-search form {
  display: flex;
  align-items: center;
  margin: 0;
}

.iyn-header-search input[type="text"] {
  width: 120px;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 5px 8px;
  font-size: 12px;
  font-family: "Open Sans", Arial, sans-serif;
}

.iyn-header-search button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #888;
  font-size: 14px;
  padding: 4px 6px;
}

/* Hide legacy theme headers when shared header is present */
body.iyn-has-chrome .td-header-wrap,
body.iyn-has-chrome .td-header-top-menu-full,
body.iyn-has-chrome .td-menu-background,
body.iyn-has-chrome #td-mobile-nav,
body.iyn-has-chrome #td-mobile-search,
body.iyn-has-chrome .td-scroll-up {
  /* kept for JS safety but our replacement removes them from DOM */
}

/* ═══════════════ SHARED FOOTER ═══════════════ */
.iyn-site-footer {
  clear: both;
  width: 100%;
  background: #fff;
  margin-top: 40px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

.iyn-footer-instagram {
  text-align: center;
  padding: 28px 16px 24px;
  border-top: 1px solid #eee;
  background: #fff;
}

.iyn-footer-instagram p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #222;
}

.iyn-footer-instagram a {
  color: var(--iyn-teal) !important;
  text-decoration: none;
}

.iyn-footer-instagram a:hover {
  text-decoration: underline;
}

.iyn-footer-info {
  max-width: 1068px;
  margin: 0 auto;
  padding: 36px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 32px;
  align-items: start;
  box-sizing: border-box;
  background: #fff;
}

.iyn-footer-logo img {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
}

.iyn-footer-about h4,
.iyn-footer-social h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}

.iyn-footer-about p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #555;
}

.iyn-footer-about .iyn-contact-line {
  font-size: 14px;
  color: #555;
}

.iyn-footer-about .iyn-contact-line a {
  color: var(--iyn-teal) !important;
  text-decoration: none;
}

.iyn-footer-about .iyn-contact-line a:hover {
  text-decoration: underline;
}

.iyn-social-row {
  display: flex;
  gap: 14px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.iyn-social-row a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #111 !important;
  text-decoration: none;
}

.iyn-social-row a:hover {
  color: var(--iyn-teal) !important;
}

.iyn-social-row svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.iyn-footer-bar {
  background: var(--iyn-teal);
  color: #fff;
  padding: 14px 0;
}

.iyn-footer-bar-inner {
  max-width: 1068px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  box-sizing: border-box;
}

.iyn-footer-copy {
  margin: 0;
  font-size: 13px;
  color: #fff;
}

.iyn-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  justify-content: flex-end;
}

.iyn-footer-nav a {
  color: #fff !important;
  font-size: 12px;
  text-decoration: none;
  text-transform: capitalize;
}

.iyn-footer-nav a:hover {
  text-decoration: underline;
}

/* Hide old theme footers when our chrome is used */
body.iyn-has-chrome .td-footer-instagram-container,
body.iyn-has-chrome .td-footer-wrapper:not(.iyn-keep),
body.iyn-has-chrome .td-sub-footer-container {
  display: none !important;
}

/* ═══════════════ HOMEPAGE FEED ═══════════════ */
body.iyn-homepage, body.iyn-archive {
  background: #fff !important;
}

body.iyn-homepage .iyn-home-feed .td-main-sidebar, body.iyn-archive .iyn-home-feed .td-main-sidebar,
body.iyn-homepage .iyn-home-feed .td-crumb-container, body.iyn-archive .iyn-home-feed .td-crumb-container {
  display: none !important;
}

body.iyn-homepage .iyn-home-feed .td-pb-row, body.iyn-archive .iyn-home-feed .td-pb-row {
  display: block;
}

body.iyn-homepage .iyn-home-feed .td-container.td-blog-index, body.iyn-archive .iyn-home-feed .td-container.td-blog-index {
  max-width: 100%;
  padding-top: 32px;
  padding-bottom: 16px;
}

body.iyn-homepage .iyn-home-feed .td-main-content, body.iyn-archive .iyn-home-feed .td-main-content,
body.iyn-homepage .iyn-home-feed .td-ss-main-content, body.iyn-archive .iyn-home-feed .td-ss-main-content {
  width: 100%;
  max-width: var(--iyn-col);
  margin: 0 auto;
  float: none;
  padding: 0 16px;
  box-sizing: border-box;
}

body.iyn-homepage .iyn-centered-post, body.iyn-archive .iyn-centered-post {
  margin: 0 auto;
  padding: 40px 0;
  border: 0;
  border-bottom: 1px solid #eeeeee;
  max-width: var(--iyn-col);
  text-align: center;
  background: transparent;
  box-shadow: none;
}

body.iyn-homepage .iyn-centered-post:last-of-type, body.iyn-archive .iyn-centered-post:last-of-type {
  border-bottom: 1px solid #eeeeee;
}

body.iyn-homepage .iyn-centered-post .meta-info-container, body.iyn-archive .iyn-centered-post .meta-info-container {
  text-align: center;
}

body.iyn-homepage .iyn-centered-post .entry-title, body.iyn-archive .iyn-centered-post .entry-title {
  text-align: center;
  margin: 0 0 16px;
  padding: 0;
}

body.iyn-homepage .iyn-centered-post .entry-title a, body.iyn-archive .iyn-centered-post .entry-title a {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.35;
  color: var(--iyn-text) !important;
  font-weight: 600;
  text-decoration: none;
}

body.iyn-homepage .iyn-centered-post .entry-title a:hover, body.iyn-archive .iyn-centered-post .entry-title a:hover {
  color: var(--iyn-pink) !important;
}

body.iyn-homepage .iyn-post-meta, body.iyn-archive .iyn-post-meta,
body.iyn-homepage .iyn-centered-post .td-post-category, body.iyn-archive .iyn-centered-post .td-post-category,
body.iyn-homepage .iyn-cat-pill, body.iyn-archive .iyn-cat-pill {
  display: none !important;
}

body.iyn-homepage .iyn-centered-post .td-module-thumb, body.iyn-archive .iyn-centered-post .td-module-thumb {
  margin: 0 auto 18px;
  max-width: 100%;
  width: 100%;
  float: none;
}

body.iyn-homepage .iyn-centered-post .td-module-thumb a, body.iyn-archive .iyn-centered-post .td-module-thumb a {
  display: block;
  width: 100%;
}

body.iyn-homepage .iyn-centered-post .td-module-thumb img, body.iyn-archive .iyn-centered-post .td-module-thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0 !important;
}

body.iyn-homepage .iyn-centered-post .td-excerpt, body.iyn-archive .iyn-centered-post .td-excerpt {
  text-align: center;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--iyn-muted);
  max-width: 100%;
  margin: 0 auto 20px;
}

body.iyn-homepage .iyn-centered-post .td-read-more, body.iyn-archive .iyn-centered-post .td-read-more {
  text-align: center;
  margin: 0;
}

body.iyn-homepage .iyn-centered-post .td-read-more a, body.iyn-archive .iyn-centered-post .td-read-more a {
  display: inline-block;
  background-color: var(--iyn-pink) !important;
  background-image: none !important;
  color: #fff !important;
  border-radius: 4px;
  padding: 9px 22px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  border: 0;
  box-shadow: none;
}

body.iyn-homepage .iyn-centered-post .td-read-more a:hover, body.iyn-archive .iyn-centered-post .td-read-more a:hover {
  background-color: var(--iyn-pink-hot) !important;
}

body.iyn-homepage .iyn-centered-post .td-read-more a i, body.iyn-archive .iyn-centered-post .td-read-more a i {
  display: none;
}

/* Pagination — teal circles like reference */
body.iyn-homepage .iyn-home-feed .page-nav, body.iyn-archive .iyn-home-feed .page-nav,
body.iyn-homepage .iyn-pagination, body.iyn-archive .iyn-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--iyn-col);
  margin: 28px auto 20px;
  padding: 0 16px;
  box-sizing: border-box;
  text-align: left;
}

body.iyn-homepage .iyn-pagination-nums, body.iyn-archive .iyn-pagination-nums {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.iyn-homepage .iyn-pagination-nums a, body.iyn-archive .iyn-pagination-nums a,
body.iyn-homepage .iyn-pagination-nums span.current, body.iyn-archive .iyn-pagination-nums span.current,
body.iyn-homepage .iyn-home-feed .page-nav a, body.iyn-archive .iyn-home-feed .page-nav a,
body.iyn-homepage .iyn-home-feed .page-nav span.current, body.iyn-archive .iyn-home-feed .page-nav span.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 50%;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  text-decoration: none;
  box-sizing: border-box;
}

body.iyn-homepage .iyn-pagination-nums a, body.iyn-archive .iyn-pagination-nums a,
body.iyn-homepage .iyn-home-feed .page-nav a, body.iyn-archive .iyn-home-feed .page-nav a {
  background: #fff;
  color: #666 !important;
  border: 1px solid #ddd;
}

body.iyn-homepage .iyn-pagination-nums span.current, body.iyn-archive .iyn-pagination-nums span.current,
body.iyn-homepage .iyn-home-feed .page-nav span.current, body.iyn-archive .iyn-home-feed .page-nav span.current {
  background: var(--iyn-teal);
  color: #fff !important;
  border: 1px solid var(--iyn-teal);
}

body.iyn-homepage .iyn-pagination-nums .extend, body.iyn-archive .iyn-pagination-nums .extend,
body.iyn-homepage .iyn-home-feed .page-nav .extend, body.iyn-archive .iyn-home-feed .page-nav .extend {
  border: 0;
  background: transparent;
  color: #999;
  min-width: auto;
}

body.iyn-homepage .iyn-pagination-label, body.iyn-archive .iyn-pagination-label,
body.iyn-homepage .iyn-home-feed .page-nav .pages, body.iyn-archive .iyn-home-feed .page-nav .pages {
  font-size: 13px;
  color: #999;
  margin: 0;
  display: inline-block;
}

body.iyn-homepage .iyn-home-feed .page-nav .clearfix, body.iyn-archive .iyn-home-feed .page-nav .clearfix {
  display: none;
}

@media (max-width: 800px) {
  .iyn-footer-info {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .iyn-footer-logo img {
    margin: 0 auto;
  }

  .iyn-social-row {
    justify-content: center;
  }

  .iyn-footer-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .iyn-footer-nav {
    justify-content: center;
  }

  .iyn-header-search {
    position: static;
    transform: none;
  }

  .iyn-header-nav-inner {
    flex-direction: column;
    padding: 10px 12px;
  }

  .iyn-main-nav {
    justify-content: center;
    gap: 2px 14px;
  }

  .iyn-main-nav a {
    line-height: 32px;
  }
}

/* Mobile 375px safety: no horizontal scroll, images scale */
html {
  overflow-x: hidden;
}

body.iyn-has-chrome {
  overflow-x: hidden;
  max-width: 100vw;
}

body.iyn-has-chrome img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 400px) {
  .iyn-header-logo-wrap img {
    max-width: 220px;
  }

  .iyn-main-nav {
    gap: 0 10px;
  }

  .iyn-main-nav a {
    font-size: 12px !important;
    line-height: 28px;
  }

  .iyn-header-search input[type="text"] {
    width: 100px;
  }

  .iyn-footer-nav {
    gap: 0 12px;
  }
}


/* Archive-only: kill leftover Newspaper grid/sidebar chrome */
body.iyn-archive .td-category-header,
body.iyn-archive .td-big-grid-wrapper,
body.iyn-archive .td-category-grid,
body.iyn-archive .td-ss-main-sidebar,
body.iyn-archive .td-main-sidebar,
body.iyn-archive .td-crumb-container,
body.iyn-archive .td-pb-span4 {
  display: none !important;
}

body.iyn-archive .iyn-home-feed .td-pb-span8,
body.iyn-archive .iyn-home-feed .td-pb-span12 {
  width: 100% !important;
  float: none !important;
  max-width: var(--iyn-col);
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ═══════════════ SINGLE POST PAGES ═══════════════ */
body.iyn-single {
  background: #fff !important;
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
  color: var(--iyn-gray);
}

body.iyn-single .td-ss-main-sidebar,
body.iyn-single .td-main-sidebar,
body.iyn-single .td-pb-span4,
body.iyn-single .td-crumb-container,
body.iyn-single .td-post-sharing-top,
body.iyn-single .td-post-sharing-bottom,
body.iyn-single .td-post-source-tags .td-tags,
body.iyn-single .td-post-views,
body.iyn-single .td-post-comments,
body.iyn-single .author-box-wrap,
body.iyn-single .td-a-rec,
body.iyn-single .td-a-rec-id-sidebar,
body.iyn-single .td-g-rec {
  display: none !important;
}

body.iyn-single .td-main-content-wrap,
body.iyn-single .td-container,
body.iyn-single .td-pb-row,
body.iyn-single article.post {
  max-width: 100%;
  width: 100%;
  float: none !important;
}

body.iyn-single .td-pb-span8,
body.iyn-single .td-pb-span12,
body.iyn-single .td-ss-main-content,
body.iyn-single .td-post-content,
body.iyn-single .td-post-header,
body.iyn-single .td-post-content-holder {
  width: 100% !important;
  max-width: var(--iyn-col) !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}

body.iyn-single .td-container.td-post-template-13,
body.iyn-single .td-container.td-post-template-11,
body.iyn-single .td-container {
  padding-top: 28px;
  padding-bottom: 40px;
}

body.iyn-single .td-post-title .entry-title,
body.iyn-single h1.entry-title {
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
  font-size: 26px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: var(--iyn-text) !important;
  margin: 0 0 12px !important;
  text-align: left;
}

body.iyn-single .td-category,
body.iyn-single ul.td-category {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

body.iyn-single .td-category a,
body.iyn-single .entry-category a {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  color: var(--iyn-pink) !important;
  text-decoration: none;
  background: none !important;
  padding: 0 !important;
}

body.iyn-single .td-module-meta-info,
body.iyn-single .td-post-author-name,
body.iyn-single .td-post-date,
body.iyn-single .td-author-by,
body.iyn-single .td-author-line {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  color: #888888 !important;
  font-weight: 400 !important;
}

body.iyn-single .td-module-meta-info a {
  color: #888888 !important;
  text-decoration: none;
}

body.iyn-single .td-post-featured-image {
  margin: 20px auto 28px !important;
  max-width: 100%;
  text-align: center;
}

body.iyn-single .td-post-featured-image img,
body.iyn-single .td-post-featured-image .entry-thumb {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
  border-radius: 0 !important;
}

body.iyn-single .td-post-content,
body.iyn-single .td-post-content p,
body.iyn-single .td-post-content li,
body.iyn-single .td-page-content,
body.iyn-single .td-page-content p {
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  color: #333333 !important;
}

body.iyn-single .td-post-content h2,
body.iyn-single .td-post-content h3 {
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
  color: var(--iyn-text) !important;
  font-weight: 700;
  line-height: 1.35;
}

body.iyn-single .td-post-content img,
body.iyn-single .td-post-content .alignnone,
body.iyn-single .td-post-content .aligncenter,
body.iyn-single .td-post-content .alignleft,
body.iyn-single .td-post-content .alignright,
body.iyn-single .td-post-content figure img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body.iyn-single .td-post-content a {
  color: var(--iyn-pink);
}

body.iyn-single .td-post-next-prev {
  max-width: var(--iyn-col);
  margin: 36px auto 16px;
  padding: 20px 16px;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

body.iyn-single .td-post-next-prev-content {
  flex: 1 1 240px;
  max-width: 48%;
}

body.iyn-single .td-post-next-prev-content span {
  display: block;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  margin-bottom: 6px;
}

body.iyn-single .td-post-next-prev-content a {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--iyn-text) !important;
  text-decoration: none;
  line-height: 1.4;
}

body.iyn-single .td-post-next-prev-content a:hover {
  color: var(--iyn-pink) !important;
}

body.iyn-single .td-post-next-prev .td-post-prev-post .td-post-next-prev-content span::before {
  content: "\2190  ";
}

body.iyn-single .td-post-next-prev .td-post-next-post .td-post-next-prev-content span::after {
  content: "  \2192";
}

body.iyn-single .td_block_related_posts,
body.iyn-single .td-related-row {
  max-width: var(--iyn-col);
  margin: 24px auto 8px;
  padding: 0 16px;
  box-sizing: border-box;
}

body.iyn-single .td-related-title,
body.iyn-single .td-block-title {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 16px !important;
  color: var(--iyn-text) !important;
}

body.iyn-single .td_mod_related_posts .entry-title a {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  color: var(--iyn-text) !important;
}

body.iyn-single .td_mod_related_posts .entry-thumb,
body.iyn-single .td_mod_related_posts img {
  max-width: 100%;
  height: auto;
  display: block;
}

body.iyn-single #comments,
body.iyn-single .comments,
body.iyn-single .comment-respond {
  max-width: var(--iyn-col);
  margin: 24px auto;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: "Open Sans", Arial, sans-serif !important;
}

@media (max-width: 720px) {
  body.iyn-single .td-post-title .entry-title,
  body.iyn-single h1.entry-title {
    font-size: 22px !important;
  }

  body.iyn-single .td-post-next-prev-content {
    max-width: 100%;
  }
}

/* ===== HEADER ISOLATION (override Newspaper theme) ===== */
body.iyn-has-chrome .td-header-wrap,
body.iyn-has-chrome .td-header-menu-wrap-full:not(.iyn-keep),
body.iyn-has-chrome .td-banner-wrap-full:not(.iyn-keep),
body.iyn-has-chrome .td-header-top-menu-full,
body.iyn-has-chrome .td-search-wrap-mob,
body.iyn-has-chrome .td-search-background,
body.iyn-has-chrome #td-mobile-nav,
body.iyn-has-chrome .td-menu-background {
  display: none !important;
}

.iyn-site-header,
.iyn-site-header * {
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
  box-sizing: border-box;
}

.iyn-site-header .iyn-main-nav a {
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #333333 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}

.iyn-site-header .iyn-main-nav a:hover {
  color: #e91e8c !important;
}

.iyn-chrome-header {
  display: block !important;
  width: 100% !important;
  clear: both !important;
}

/* Residual theme nav (never show beside shared header) */
body.iyn-has-chrome .td-header-menu-wrap-full,
body.iyn-has-chrome .td-header-menu-wrap,
body.iyn-has-chrome #navigation.navigation,
body.iyn-has-chrome a#pull.toggle-mobile-menu,
body.iyn-has-chrome ul#menu-top,
body.iyn-has-chrome .menu-top-container,
body.iyn-has-chrome #login-form.white-popup-block {
  display: none !important;
}


/* CRITICAL: force white page background (never inherit accent pink) */
html {
  background-color: #ffffff !important;
  background: #ffffff !important;
}
body,
body.iyn-has-chrome,
body.iyn-homepage,
body.iyn-archive,
body.iyn-single {
  background-color: #ffffff !important;
  background: #ffffff !important;
}
#td-outer-wrap,
.td-theme-wrap,
.td-main-content-wrap,
.iyn-home-feed {
  background-color: transparent !important;
  background: transparent !important;
}
/* FAILSAFE: never blank — override TagDiv animation opacity + force body visible */
html, body.iyn-has-chrome {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.iyn-has-chrome.td-animation-stack-type0 .td-animation-stack .entry-thumb,
body.iyn-has-chrome.td-animation-stack-type0 .post img,
body.iyn-has-chrome.td-animation-stack-type0 .td-animation-stack .td-lazy-img,
body.iyn-has-chrome.td-animation-stack-type1 .td-animation-stack .entry-thumb,
body.iyn-has-chrome.td-animation-stack-type2 .td-animation-stack .entry-thumb,
body.iyn-has-chrome .td-animation-stack .entry-thumb,
body.iyn-has-chrome .entry-thumb,
body.iyn-has-chrome img.entry-thumb {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ═══════════════ LEGAL PAGE TEMPLATE ═══════════════ */
.iyn-legal-page-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 44px 20px 64px;
  background: #fff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.iyn-legal-page-wrap h1 {
  font-size: 28px;
  color: #222222;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
  text-align: center;
}

.iyn-legal-page-wrap > p,
.iyn-legal-page-wrap > ul,
.iyn-legal-page-wrap > ol {
  text-align: left;
}

.iyn-legal-page-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ═══════════════ REUSABLE PAGE-CONTENT WRAPPER ═══════════════ */
.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-content h1 {
  text-align: center;
  margin-bottom: 32px;
  color: #222;
  font-size: 28px;
}

.iyn-legal-updated {
  font-size: 13px;
  color: #888;
  margin: 0 0 30px;
  font-style: italic;
}

.iyn-legal-page-wrap h2 {
  font-size: 18px;
  color: #222222;
  font-weight: 700;
  margin: 30px 0 12px;
  line-height: 1.4;
}

.iyn-legal-page-wrap p {
  font-size: 15px;
  color: #444444;
  line-height: 1.8;
  margin: 0 0 16px;
}

.iyn-legal-page-wrap ul,
.iyn-legal-page-wrap ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.iyn-legal-page-wrap li {
  font-size: 15px;
  color: #444444;
  line-height: 1.8;
  margin-bottom: 8px;
}

.iyn-legal-page-wrap a {
  color: var(--iyn-teal-dark);
  text-decoration: underline;
}

.iyn-legal-page-wrap a:hover {
  color: var(--iyn-pink);
}

.iyn-legal-hub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 8px;
}

.iyn-legal-hub-links a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  background: var(--iyn-teal);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

.iyn-legal-hub-links a:hover {
  background: var(--iyn-teal-dark);
}

/* Contact page */
.iyn-contact-form {
  margin: 24px auto;
  width: 100%;
  max-width: 500px;
  text-align: left;
}

.iyn-contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px;
}

.iyn-contact-form input,
.iyn-contact-form textarea {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 16px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: #333;
}

.iyn-contact-form button {
  display: block;
  margin: 0 auto;
  background: var(--iyn-pink);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.iyn-contact-form button:hover {
  background: var(--iyn-pink-hot);
}

.iyn-contact-email-box {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 0 auto 24px;
  max-width: 500px;
  font-size: 16px;
  color: #444;
  text-align: center;
}

.iyn-contact-email-box a {
  color: var(--iyn-teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.iyn-contact-email-box a:hover {
  text-decoration: underline;
}

/* ═══════════════ FOOTER LEGAL COLUMN ═══════════════ */
.iyn-footer-info {
  grid-template-columns: 1fr 1.25fr 0.85fr 0.85fr !important;
}

.iyn-footer-legal h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}

.iyn-footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.iyn-footer-legal li {
  margin-bottom: 8px;
}

.iyn-footer-legal a {
  font-size: 13px;
  color: #555 !important;
  text-decoration: none;
}

.iyn-footer-legal a:hover {
  color: var(--iyn-teal) !important;
  text-decoration: underline;
}

@media (max-width: 800px) {
  .iyn-footer-info {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════ COOKIE CONSENT BANNER ═══════════════ */
#iyn-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #1f1f1f;
  color: #f5f5f5;
  padding: 16px 20px;
  box-shadow: 0 -2px 14px rgba(0,0,0,0.25);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  display: none;
}

#iyn-cookie-banner.iyn-show {
  display: block;
}

.iyn-cookie-banner-inner {
  max-width: 1068px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.iyn-cookie-banner-text {
  flex: 1 1 420px;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  color: #f5f5f5;
}

.iyn-cookie-banner-text a {
  color: #ffd9ec;
  text-decoration: underline;
}

.iyn-cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.iyn-cookie-btn-accept {
  background: var(--iyn-pink);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.iyn-cookie-btn-accept:hover {
  background: var(--iyn-pink-hot);
}

.iyn-cookie-btn-manage {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.iyn-cookie-btn-manage:hover {
  background: rgba(255,255,255,0.12);
}

#iyn-cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#iyn-cookie-modal-overlay.iyn-show {
  display: flex;
}

.iyn-cookie-modal {
  background: #fff;
  border-radius: 8px;
  max-width: 460px;
  width: 100%;
  padding: 28px;
  box-sizing: border-box;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  max-height: 86vh;
  overflow-y: auto;
}

.iyn-cookie-modal h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: #222;
}

.iyn-cookie-modal p.iyn-cookie-modal-intro {
  font-size: 13.5px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px;
}

.iyn-cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #eee;
}

.iyn-cookie-pref-row:first-of-type {
  border-top: none;
}

.iyn-cookie-pref-row strong {
  display: block;
  font-size: 14px;
  color: #222;
  margin-bottom: 4px;
}

.iyn-cookie-pref-row span {
  display: block;
  font-size: 12.5px;
  color: #777;
  line-height: 1.5;
}

.iyn-cookie-pref-toggle {
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  position: relative;
}

.iyn-cookie-pref-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.iyn-cookie-pref-toggle .iyn-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: 0.2s;
}

.iyn-cookie-pref-toggle .iyn-slider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.iyn-cookie-pref-toggle input:checked + .iyn-slider {
  background: var(--iyn-teal);
}

.iyn-cookie-pref-toggle input:checked + .iyn-slider:before {
  transform: translateX(18px);
}

.iyn-cookie-pref-toggle input:disabled + .iyn-slider {
  background: #ddd;
  cursor: not-allowed;
}

.iyn-cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.iyn-cookie-modal-actions button {
  flex: 1 1 auto;
  padding: 11px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.iyn-cookie-btn-save {
  background: var(--iyn-pink);
  color: #fff;
}

.iyn-cookie-btn-save:hover {
  background: var(--iyn-pink-hot);
}

.iyn-cookie-btn-acceptall {
  background: #eee;
  color: #222;
}

.iyn-cookie-btn-acceptall:hover {
  background: #ddd;
}
