/*
Theme Name: WTCMA-Official-website
Theme URI: https://ais-pre-kscwy3apwqxlxlbg3iqr5d-188008397633.us-east1.run.app
Author: World TCM Development Association
Description: A high-end editorial WordPress theme for traditional cultural preservation and scholarly excellence.
Version: 1.3
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scholarly-curator
*/

/* 
Note: This theme uses Tailwind CSS via CDN for the prototype. 
For production, it is recommended to compile a static CSS file.
*/

/* Mobile-responsive base */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
/* Elementor archive: ensure columns stack and content fits on small screens */
@media (max-width: 1024px) {
  .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .elementor-section.elementor-section-boxed > .elementor-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Contact template demo form */
.sc-contact-demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sc-contact-demo-form label {
  display: block;
}
.sc-contact-demo-form label span {
  display: block;
  margin-bottom: 8px;
  font-family: "Work Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #717a6d;
}
.sc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sc-contact-demo-form input,
.sc-contact-demo-form textarea {
  width: 100%;
  border: 1px solid #d9dadb;
  border-radius: 6px;
  background: #f8f9fa;
  color: #191c1d;
  padding: 12px 14px;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  resize: none;
}
.sc-contact-demo-form input:focus,
.sc-contact-demo-form textarea:focus {
  border-color: #00450d;
  outline: none;
}
.sc-contact-demo-form button {
  margin-top: 4px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  background: #00450d;
  color: #f0f1f2;
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.sc-contact-demo-form button .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
}
.sc-contact-demo-form button:hover {
  opacity: 0.92;
}
@media (max-width: 767px) {
  .sc-contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sc-contact-demo-form button {
    width: 100%;
  }
}

/* Single article template */
.sc-single-template .elementor-widget-theme-post-featured-image {
  margin-bottom: 22px;
}
.sc-single-template .sc-single-meta {
  margin-bottom: 10px;
}
.sc-single-template .sc-single-meta .elementor-icon-list-item {
  margin-right: 14px;
}
.sc-single-template .sc-single-intro {
  margin-top: 22px;
}
.sc-single-template .elementor-widget-theme-post-content h2,
.sc-single-template .elementor-widget-theme-post-content h3 {
  color: #113528;
  font-family: "Newsreader", serif;
  font-size: 44px;
  margin-top: 34px;
  margin-bottom: 14px;
}
.sc-single-template .elementor-widget-theme-post-content p {
  margin-bottom: 14px;
}
.sc-single-share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 8px;
}
.sc-single-share-label {
  font-family: "Work Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #57635f;
}
.sc-single-share a {
  color: #0e3224;
  text-decoration: none;
  font-size: 14px;
}
.sc-vault-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sc-vault-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #e3e6e8;
  background: #fff;
  color: #1e2a27;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .sc-single-template .elementor-widget-theme-post-content h2,
  .sc-single-template .elementor-widget-theme-post-content h3 {
    font-size: 38px;
  }
}
@media (max-width: 767px) {
  .sc-single-template .elementor-widget-theme-post-content h2,
  .sc-single-template .elementor-widget-theme-post-content h3 {
    font-size: 30px;
    margin-top: 24px;
  }
  .sc-vault-grid {
    grid-template-columns: 1fr;
  }
}
