/*
Theme Name: About Organic Cotton Resource
Theme URI: https://aboutorganiccotton.org
Author: Linkgujodae
Author URI: https://example.com
Description: Sustainable living and textile resource theme for aboutorganiccotton.org with Materials, Sourcing, Guides, Directory, and Standards sections.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: aboutorganiccotton-org
*/

:root {
  --t1-primary: #0f766e;
  --t1-accent: #155e75;
  --t1-soft: #ecfeff;
  --t1-dark: #102a32;
  --t1-ink: #111827;
  --t1-muted: #5b6678;
  --t1-line: rgba(15, 23, 42, 0.12);
  --t1-card: rgba(255, 255, 255, 0.92);
}

* {
  box-sizing: border-box;
}

body.t1-theme-body {
  margin: 0;
  min-height: 100vh;
  background: var(--t1-soft);
  color: var(--t1-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.t1-theme-body a {
  color: inherit;
  text-decoration: none;
}

body.t1-theme-body img {
  max-width: 100%;
  height: auto;
}

.t1-site {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.55)),
    var(--t1-soft);
}

.t1-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--t1-line);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
}

.t1-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  font-size: 18px;
  font-weight: 900;
}

.t1-logo-link img {
  width: 74px;
  height: 34px;
  object-fit: contain;
}

.t1-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.t1-nav a,
.t1-chip,
.t1-page-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid var(--t1-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--t1-dark);
  font-size: 13px;
  font-weight: 800;
}

.t1-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: stretch;
  padding: clamp(46px, 7vw, 96px) clamp(18px, 4vw, 56px) 34px;
}

.t1-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--t1-primary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t1-title {
  max-width: 780px;
  margin: 0;
  color: var(--t1-dark);
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.t1-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--t1-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.t1-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.t1-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--t1-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.t1-action.secondary {
  border: 1px solid var(--t1-line);
  background: #ffffff;
  color: var(--t1-dark);
}

.t1-feature {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--t1-line);
  border-radius: 8px;
  background: var(--t1-card);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
}

.t1-feature h2 {
  margin: 0;
  color: var(--t1-dark);
  font-size: 28px;
  line-height: 1.1;
}

.t1-feature p {
  margin: 0;
  color: var(--t1-muted);
  line-height: 1.65;
}

.t1-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.t1-mini-card,
.t1-topic-card,
.t1-post-card {
  border: 1px solid var(--t1-line);
  border-radius: 8px;
  background: #ffffff;
}

.t1-mini-card {
  min-height: 112px;
  padding: 15px;
}

.t1-mini-card b,
.t1-topic-card b,
.t1-post-card b {
  display: block;
  color: var(--t1-dark);
  font-size: 15px;
  line-height: 1.25;
}

.t1-mini-card span,
.t1-topic-card span,
.t1-post-card span {
  display: block;
  margin-top: 8px;
  color: var(--t1-muted);
  font-size: 13px;
  line-height: 1.5;
}

.t1-section {
  padding: 30px clamp(18px, 4vw, 56px);
}

.t1-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.t1-section h2 {
  max-width: 720px;
  margin: 0;
  color: var(--t1-dark);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.t1-section-note {
  max-width: 440px;
  margin: 0;
  color: var(--t1-muted);
  line-height: 1.65;
}

.t1-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.t1-topic-card {
  min-height: 160px;
  padding: 18px;
}

.t1-topic-card i {
  display: flex;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--t1-soft);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.62);
}

.t1-post-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.t1-post-card {
  min-height: 170px;
  padding: 18px;
}

.t1-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--t1-line);
  color: var(--t1-muted);
  background: rgba(255,255,255,0.7);
  font-size: 14px;
}

.layout-grove .t1-hero,
.layout-orchard .t1-hero,
.layout-cabin .t1-hero {
  grid-template-columns: 0.9fr 1.1fr;
  background: radial-gradient(circle at 88% 18%, rgba(255,255,255,0.95), transparent 34%);
}

.layout-relay .t1-site,
.layout-smart .t1-site,
.layout-lantern .t1-site,
.layout-radar .t1-site {
  background: linear-gradient(135deg, var(--t1-dark), #0f172a 72%);
  color: #ffffff;
}

.layout-relay .t1-title,
.layout-relay .t1-feature h2,
.layout-relay .t1-section h2,
.layout-smart .t1-title,
.layout-smart .t1-feature h2,
.layout-smart .t1-section h2,
.layout-lantern .t1-title,
.layout-lantern .t1-feature h2,
.layout-lantern .t1-section h2,
.layout-radar .t1-title,
.layout-radar .t1-feature h2,
.layout-radar .t1-section h2 {
  color: #ffffff;
}

.layout-relay .t1-header,
.layout-smart .t1-header,
.layout-lantern .t1-header,
.layout-radar .t1-header {
  background: rgba(15,23,42,0.72);
}

.layout-relay .t1-feature,
.layout-smart .t1-feature,
.layout-lantern .t1-feature,
.layout-radar .t1-feature {
  background: rgba(255,255,255,0.08);
}

.layout-desk .t1-topic-grid,
.layout-press .t1-topic-grid,
.layout-paper .t1-topic-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr;
}

.layout-atlas .t1-topic-grid,
.layout-civic .t1-topic-grid,
.layout-path .t1-topic-grid {
  grid-template-columns: 0.8fr 1.2fr 1fr;
}

.layout-ledger .t1-topic-grid,
.layout-journal .t1-topic-grid,
.layout-daily .t1-topic-grid {
  grid-template-columns: 1fr;
}

.layout-ledger .t1-topic-card,
.layout-journal .t1-topic-card,
.layout-daily .t1-topic-card {
  min-height: 118px;
}

.layout-vault .t1-feature-grid,
.layout-capsule .t1-feature-grid,
.layout-beacon .t1-feature-grid {
  grid-template-columns: 1fr;
}

.layout-search .t1-hero,
.layout-window .t1-hero {
  grid-template-columns: 1fr;
}

.layout-search .t1-feature,
.layout-window .t1-feature {
  max-width: 900px;
}

.layout-atelier .t1-section,
.layout-loom .t1-section,
.layout-shelf .t1-section {
  background: rgba(255,255,255,0.36);
}

.layout-wave .t1-topic-card:nth-child(2n),
.layout-harbor .t1-topic-card:nth-child(2n),
.layout-passage .t1-topic-card:nth-child(2n) {
  transform: translateY(12px);
}

.t1-page-shell {
  min-height: 100vh;
  background: var(--t1-soft);
}

.t1-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--t1-line);
  background: #ffffff;
}

.t1-page-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 950;
}

.t1-page-logo img {
  width: 74px;
  height: 34px;
  object-fit: contain;
}

.t1-page-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.t1-page-main {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 90px) 18px;
}

.t1-page-article {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--t1-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(15,23,42,0.08);
}

.t1-page-article h1 {
  margin: 0 0 18px;
  color: var(--t1-dark);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.t1-page-body {
  color: #475569;
  font-size: 18px;
  line-height: 1.78;
}

.t1-page-body h2 {
  margin-top: 34px;
  color: var(--t1-dark);
}

.t1-page-body a {
  color: var(--t1-primary);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .t1-hero,
  .layout-grove .t1-hero,
  .layout-orchard .t1-hero,
  .layout-cabin .t1-hero {
    grid-template-columns: 1fr;
  }

  .t1-topic-grid,
  .layout-desk .t1-topic-grid,
  .layout-press .t1-topic-grid,
  .layout-paper .t1-topic-grid,
  .layout-atlas .t1-topic-grid,
  .layout-civic .t1-topic-grid,
  .layout-path .t1-topic-grid,
  .t1-post-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .t1-header,
  .t1-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .t1-nav,
  .t1-page-menu {
    justify-content: flex-start;
  }

  .t1-title {
    font-size: 42px;
  }

  .t1-feature-grid,
  .t1-topic-grid,
  .layout-desk .t1-topic-grid,
  .layout-press .t1-topic-grid,
  .layout-paper .t1-topic-grid,
  .layout-atlas .t1-topic-grid,
  .layout-civic .t1-topic-grid,
  .layout-path .t1-topic-grid,
  .t1-post-row {
    grid-template-columns: 1fr;
  }

  .layout-wave .t1-topic-card:nth-child(2n),
  .layout-harbor .t1-topic-card:nth-child(2n),
  .layout-passage .t1-topic-card:nth-child(2n) {
    transform: none;
  }
}

/* About Organic Cotton handcrafted theme */
body.aoc-theme-body {
  margin: 0;
  min-height: 100vh;
  background: #fbfaf5;
  color: #17382b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.aoc-theme-body a {
  color: inherit;
  text-decoration: none;
}

body.aoc-theme-body img {
  max-width: 100%;
  height: auto;
}

.aoc-site,
.aoc-page-shell {
  min-height: 100vh;
  background: #fbfaf5;
}

.aoc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(18px, 4vw, 54px);
  background: #17382b;
  color: #f8f4e8;
  font-size: 13px;
}

.aoc-topbar a {
  color: #f4df9e;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aoc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid #e2dbc9;
  background: rgba(251, 250, 245, 0.96);
}

.aoc-logo {
  display: flex;
  flex: 0 0 auto;
}

.aoc-logo img {
  width: 238px;
  height: 56px;
  object-fit: contain;
}

.aoc-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.aoc-nav a {
  color: #284d3d;
  font-size: 14px;
  font-weight: 760;
}

.aoc-nav a:hover,
.aoc-nav a:focus {
  color: #8a6f3c;
}

.aoc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 54px) 42px;
  border-bottom: 1px solid #e2dbc9;
}

.aoc-lead {
  max-width: 820px;
}

.aoc-kicker {
  margin: 0 0 12px;
  color: #8a6f3c;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.aoc-lead h1,
.aoc-section h2,
.aoc-page-article h1 {
  color: #17382b;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.aoc-lead h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(45px, 7.2vw, 84px);
  line-height: 0.99;
  font-weight: 700;
}

.aoc-lead p {
  max-width: 690px;
  margin: 22px 0 0;
  color: #5f6b5d;
  font-size: 19px;
  line-height: 1.74;
}

.aoc-swatch {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e2dbc9;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(61, 69, 48, 0.08);
}

.aoc-swatch img {
  display: block;
  width: 100%;
  border: 1px solid #e8e1cf;
}

.aoc-swatch b {
  display: block;
  color: #17382b;
  font-size: 20px;
}

.aoc-swatch span {
  display: block;
  margin-top: 6px;
  color: #6c725f;
  line-height: 1.6;
}

.aoc-section {
  padding: clamp(38px, 6vw, 76px) clamp(18px, 4vw, 54px);
  border-bottom: 1px solid #e2dbc9;
}

.aoc-section-head {
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.aoc-section h2 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(31px, 4.2vw, 56px);
  line-height: 1.04;
}

.aoc-index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #17382b;
  border-left: 1px solid #e2dbc9;
}

.aoc-index-grid a {
  min-height: 210px;
  padding: 22px;
  border-right: 1px solid #e2dbc9;
  border-bottom: 1px solid #e2dbc9;
  background: #ffffff;
}

.aoc-index-grid b {
  display: block;
  color: #17382b;
  font-size: 20px;
}

.aoc-index-grid span {
  display: block;
  margin-top: 12px;
  color: #626a5a;
  line-height: 1.6;
}

.aoc-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(300px, 0.34fr);
  gap: clamp(24px, 4vw, 52px);
  background: #f3efe3;
}

.aoc-article-list {
  display: grid;
  margin-top: 26px;
  border-top: 1px solid #17382b;
}

.aoc-article-list article {
  display: grid;
  grid-template-columns: 160px minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid #d6cfbb;
}

.aoc-article-list span {
  color: #8a6f3c;
  font-size: 13px;
  font-weight: 850;
}

.aoc-article-list h3 {
  margin: 0;
  color: #17382b;
  font-size: 21px;
  line-height: 1.22;
}

.aoc-article-list p {
  margin: 0;
  color: #626a5a;
  line-height: 1.62;
}

.aoc-side-note {
  align-self: start;
  padding: 24px;
  border-top: 4px solid #17382b;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(61, 69, 48, 0.06);
}

.aoc-side-note h2 {
  margin: 0;
  font-size: 28px;
}

.aoc-side-note p {
  color: #626a5a;
  line-height: 1.68;
}

.aoc-side-note ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.aoc-side-note li {
  padding: 9px 0;
  border-top: 1px solid #e2dbc9;
  color: #284d3d;
  font-weight: 760;
}

.aoc-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 54px);
  background: #17382b;
  color: #f8f4e8;
  font-size: 14px;
}

.aoc-page-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(46px, 7vw, 88px) 18px;
}

.aoc-page-article {
  padding: clamp(24px, 5vw, 54px);
  border-top: 4px solid #17382b;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(61, 69, 48, 0.06);
}

.aoc-page-article h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
}

.aoc-page-body {
  color: #626a5a;
  font-size: 18px;
  line-height: 1.78;
}

.aoc-page-body h2 {
  margin-top: 34px;
  color: #17382b;
}

.aoc-category-posts {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid #e2dbc9;
}

.aoc-category-posts h2 {
  margin: 0 0 18px;
  color: #17382b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.aoc-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.aoc-post-card {
  display: grid;
  gap: 9px;
  min-height: 188px;
  padding: 18px;
  border: 1px solid #e2dbc9;
  background: #fbfaf5;
}

.aoc-post-card span {
  color: #8a6f3c;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.aoc-post-card b {
  color: #17382b;
  font-size: 20px;
  line-height: 1.22;
}

.aoc-post-card em,
.aoc-empty-note {
  color: #626a5a;
  font-size: 15px;
  font-style: normal;
  line-height: 1.6;
}

.aoc-pagination {
  margin-top: 24px;
}

.aoc-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aoc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #e2dbc9;
  background: #ffffff;
  color: #284d3d;
  font-weight: 760;
}

.aoc-pagination .current {
  background: #17382b;
  color: #ffffff;
}

.aoc-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.aoc-single-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid #e2dbc9;
  background: #fbfaf5;
  color: #284d3d;
  font-size: 13px;
  font-weight: 760;
}

@media (max-width: 1080px) {
  .aoc-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aoc-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .aoc-hero,
  .aoc-section-head,
  .aoc-columns {
    grid-template-columns: 1fr;
  }

  .aoc-article-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .aoc-topbar,
  .aoc-header,
  .aoc-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .aoc-nav {
    justify-content: flex-start;
    gap: 12px 14px;
  }

  .aoc-logo img {
    width: 220px;
  }

  .aoc-lead h1 {
    font-size: 42px;
  }

  .aoc-index-grid {
    grid-template-columns: 1fr;
  }

  .aoc-post-grid {
    grid-template-columns: 1fr;
  }
}
