/*!
Theme Name: Ciputra Cancer Center
Theme URI: https://ciputracancercenter.com/
Author: Ciputra Cancer Center
Author URI: https://ciputracancercenter.com/
Description: A modern, Elementor-friendly WordPress theme for Ciputra Cancer Center. Built with Tailwind CSS for production-ready performance.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ccc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, elementor, full-width-template

This theme is designed for Ciputra Cancer Center.

=== BUILD INSTRUCTIONS ===
This theme uses Tailwind CSS compiled from source.
To rebuild the CSS after changes:

1. Install dependencies: npm install
2. Build for production: npm run build
3. Watch during development: npm run dev

The compiled CSS is output to: assets/css/tailwind.css
*/

/*--------------------------------------------------------------
# Additional Theme Styles
# Note: Most styles are compiled from src/css/input.css
# This file is for additional overrides or WordPress-specific styles
--------------------------------------------------------------*/

/* WordPress Admin Bar Adjustment */
.admin-bar .fixed {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .fixed {
    top: 46px;
  }
}

/* Hero description paragraphs - hidden on mobile only (under 768px) */
@media screen and (max-width: 767px) {
  .front-page-hero .hero-mobile-hide {
    display: none !important;
  }
}

/* WordPress Block Editor Styles */
.wp-block-separator {
  border-color: rgba(0, 123, 99, 0.2);
}

.wp-block-quote {
  border-left-color: #007B63;
}

/* WordPress Comments */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-body {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}

.comment-author {
  font-weight: 600;
  color: #0f172a;
}

.comment-metadata {
  font-size: 0.875rem;
  color: #64748b;
}

.comment-content {
  margin-top: 1rem;
}

.reply {
  margin-top: 1rem;
}

.reply a {
  color: #007B63;
  font-weight: 500;
  text-decoration: none;
}

.reply a:hover {
  color: #00917A;
}

/* WordPress Search Form */
.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 1rem;
}

.search-field:focus {
  outline: none;
  border-color: #007B63;
}

.search-submit {
  padding: 0.75rem 1.5rem;
  background-color: #007B63;
  color: white;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-submit:hover {
  background-color: #00917A;
}

/* WordPress Widgets */
.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 123, 99, 0.2);
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.widget a:hover {
  color: #007B63;
}

/* WordPress Gallery */
.gallery {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
}

.gallery-caption {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
}

/* WordPress Navigation Links (Pagination) */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #475569;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.page-numbers:hover {
  border-color: #007B63;
  color: #007B63;
}

.page-numbers.current {
  background-color: #007B63;
  border-color: #007B63;
  color: white;
}

.page-numbers.dots {
  border: none;
  background: none;
}

/* Accessibility - Focus States */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #007B63;
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 999;
  padding: 1rem 2rem;
  background: #007B63;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}
