:root {
--jc-primary-color: #0073aa;
--jc-card-bg-color: #ffffff;
--jc-text-color: #333333;
--jc-border-color: #e0e0e0;
--jc-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
--jc-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
--jc-border-radius: 12px;
--jc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} .jc-post-wp-container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1rem;
} .jc-search-bar {
text-align: center;
margin-bottom: 3rem;
}
.jc-search-form {
display: inline-flex;
align-items: center;
background: white;
border: 2px solid var(--jc-border-color);
border-radius: var(--jc-border-radius);
overflow: hidden;
box-shadow: var(--jc-shadow);
transition: var(--jc-transition);
max-width: 500px;
width: 100%;
}
.jc-search-form:hover,
.jc-search-form:focus-within {
border-color: var(--jc-primary-color);
box-shadow: var(--jc-shadow-hover);
transform: translateY(-2px);
}
.jc-search-input {
flex: 1;
padding: 1rem 1.5rem;
border: none;
font-size: 1rem;
background: transparent;
outline: none;
}
.jc-search-input::placeholder {
color: #999;
}
.jc-search-button {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 1rem 1.5rem;
background-color: var(--jc-primary-color);
color: white;
border: none;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
transition: var(--jc-transition);
}
.jc-search-button:hover {
background-color: color-mix(in srgb, var(--jc-primary-color) 85%, black);
transform: translateX(2px);
}
.jc-search-button .dashicons {
font-size: 1rem;
width: 1rem;
height: 1rem;
} .jc-posts-grid {
display: grid !important;
grid-template-columns: repeat(3, 1fr) !important;
gap: 2rem;
margin-bottom: 3rem;
}
.jc-post-card {
background: var(--jc-card-bg-color);
border-radius: var(--jc-border-radius);
overflow: hidden;
box-shadow: var(--jc-shadow);
transition: var(--jc-transition);
position: relative;
border: 1px solid var(--jc-border-color);
}
.jc-post-card:hover {
transform: translateY(-5px);
box-shadow: var(--jc-shadow-hover);
}
.jc-post-thumbnail {
position: relative;
overflow: hidden;
height: 200px;
}
.jc-post-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--jc-transition);
}
.jc-post-card:hover .jc-post-thumbnail img {
transform: scale(1.05);
}
.jc-post-content {
padding: 1.5rem;
}
.jc-post-title {
margin: 0 0 1rem 0;
font-size: 1.25rem;
font-weight: 600;
line-height: 1.4;
}
.jc-post-title a {
color: var(--jc-text-color);
text-decoration: none;
transition: var(--jc-transition);
}
.jc-post-title a:hover {
color: var(--jc-primary-color);
}
.jc-post-meta {
display: flex;
flex-wrap: wrap;
gap: 1rem;
align-items: center;
margin-bottom: 1rem;
font-size: 0.9rem;
color: #666;
}
.jc-post-date,
.jc-post-author {
display: flex;
align-items: center;
gap: 0.25rem;
}
.jc-post-date .dashicons,
.jc-post-author .dashicons {
font-size: 0.875rem;
width: 0.875rem;
height: 0.875rem;
}
.jc-post-categories {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 1rem;
}
.jc-post-category {
padding: 0.25rem 0.75rem;
background: rgba(0, 115, 170, 0.1);
color: var(--jc-primary-color);
text-decoration: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 500;
transition: var(--jc-transition);
}
.jc-post-category:hover {
background: var(--jc-primary-color);
color: white;
}
.jc-post-excerpt {
color: #666;
line-height: 1.6;
margin-bottom: 1.5rem;
}
.jc-read-more {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
background-color: var(--jc-primary-color);
color: white;
text-decoration: none;
border-radius: 25px;
font-weight: 500;
transition: var(--jc-transition);
position: relative;
overflow: hidden;
}
.jc-read-more:hover {
background-color: color-mix(in srgb, var(--jc-primary-color) 85%, black);
transform: translateY(-2px);
color: white;
}
.jc-read-more .dashicons {
font-size: 1rem;
width: 1rem;
height: 1rem;
transition: var(--jc-transition);
}
.jc-read-more:hover .dashicons {
transform: translateX(3px);
} .jc-no-posts {
grid-column: 1 / -1;
text-align: center;
padding: 3rem;
background: white;
border-radius: var(--jc-border-radius);
box-shadow: var(--jc-shadow);
}
.jc-no-posts .dashicons {
font-size: 3rem;
color: #ccc;
margin-bottom: 1rem;
}
.jc-no-posts p {
font-size: 1.1rem;
color: #666;
margin: 0;
} .jc-pagination {
text-align: center;
margin-top: 3rem;
}
.jc-pagination .page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1rem;
margin: 0 0.25rem;
min-width: 44px;
border-radius: 8px;
text-decoration: none;
font-weight: 500;
transition: var(--jc-transition);
color: var(--jc-primary-color);
background: white;
border: 1px solid var(--jc-border-color);
}
.jc-pagination .page-numbers:hover {
background: var(--jc-primary-color);
color: white;
transform: translateY(-2px);
}
.jc-pagination .page-numbers.current {
background: var(--jc-primary-color);
color: white;
border: 1px solid var(--jc-primary-color);
}
.jc-pagination .page-numbers .dashicons {
font-size: 1rem;
width: 1rem;
height: 1rem;
} .jc-single-post {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1rem;
}
.jc-post-container {
display: grid;
grid-template-columns: 1fr 300px;
gap: 3rem;
align-items: start;
}
.jc-post-main {
background: white;
border-radius: var(--jc-border-radius);
padding: 2.5rem;
box-shadow: var(--jc-shadow);
}
.jc-post-header {
margin-bottom: 2rem;
padding-bottom: 2rem;
border-bottom: 2px solid var(--jc-border-color);
}
.jc-single-post .jc-post-title {
font-size: 2.5rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: 1.5rem;
color: var(--jc-text-color);
}
.jc-single-post .jc-post-meta {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
color: #666;
font-size: 1rem;
}
.jc-post-author {
font-weight: 600;
color: var(--jc-primary-color);
}
.jc-featured-image {
margin-bottom: 2rem;
border-radius: var(--jc-border-radius);
overflow: hidden;
}
.jc-featured-image img {
width: 100%;
height: auto;
}
.jc-single-post .jc-post-content {
font-size: 1.1rem;
line-height: 1.7;
color: var(--jc-text-color);
}
.jc-single-post .jc-post-content h2,
.jc-single-post .jc-post-content h3,
.jc-single-post .jc-post-content h4 {
margin-top: 2rem;
margin-bottom: 1rem;
color: var(--jc-text-color);
}
.jc-single-post .jc-post-content p {
margin-bottom: 1.5rem;
} .jc-post-sidebar {
display: flex;
flex-direction: column;
gap: 2rem;
}
.jc-contact-widget,
.jc-recent-posts-widget {
background: white;
padding: 2rem;
border-radius: var(--jc-border-radius);
box-shadow: var(--jc-shadow);
}
.jc-contact-widget h3,
.jc-recent-posts-widget h3 {
margin-top: 0;
margin-bottom: 1.5rem;
font-size: 1.3rem;
color: var(--jc-text-color);
border-bottom: 2px solid var(--jc-primary-color);
padding-bottom: 0.5rem;
} .jc-shortcode-contact {
margin-top: 1rem;
}
.jc-shortcode-contact .wpcf7-form,
.jc-shortcode-contact .wpforms-form,
.jc-shortcode-contact .gform_wrapper {
margin: 0;
}
.jc-shortcode-contact input[type="text"],
.jc-shortcode-contact input[type="email"],
.jc-shortcode-contact input[type="tel"],
.jc-shortcode-contact textarea,
.jc-shortcode-contact select {
width: 100% !important;
padding: 0.75rem !important;
border: 1px solid var(--jc-border-color) !important;
border-radius: 8px !important;
font-size: 0.875rem !important;
font-family: inherit !important;
transition: var(--jc-transition) !important;
background: white !important;
box-sizing: border-box !important;
}
.jc-shortcode-contact input[type="text"]:focus,
.jc-shortcode-contact input[type="email"]:focus,
.jc-shortcode-contact input[type="tel"]:focus,
.jc-shortcode-contact textarea:focus,
.jc-shortcode-contact select:focus {
outline: none !important;
border-color: var(--jc-primary-color) !important;
box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1) !important;
}
.jc-shortcode-contact input[type="submit"],
.jc-shortcode-contact button[type="submit"],
.jc-shortcode-contact .wpcf7-submit,
.jc-shortcode-contact .wpforms-submit,
.jc-shortcode-contact .gform_button {
background-color: var(--jc-primary-color) !important;
color: white !important;
border: none !important;
padding: 0.75rem 1.5rem !important;
border-radius: 25px !important;
font-weight: 500 !important;
cursor: pointer !important;
transition: var(--jc-transition) !important;
font-size: 0.875rem !important;
text-transform: none !important;
box-shadow: var(--jc-shadow) !important;
}
.jc-shortcode-contact input[type="submit"]:hover,
.jc-shortcode-contact button[type="submit"]:hover,
.jc-shortcode-contact .wpcf7-submit:hover,
.jc-shortcode-contact .wpforms-submit:hover,
.jc-shortcode-contact .gform_button:hover {
background-color: color-mix(in srgb, var(--jc-primary-color) 85%, black) !important;
transform: translateY(-2px) !important;
}
.jc-shortcode-contact label {
font-weight: 600 !important;
color: var(--jc-text-color) !important;
margin-bottom: 0.5rem !important;
display: block !important;
font-size: 0.875rem !important;
}
.jc-shortcode-contact .wpcf7-response-output,
.jc-shortcode-contact .wpforms-confirmation-container,
.jc-shortcode-contact .validation_error {
margin-top: 1rem !important;
padding: 1rem !important;
border-radius: 8px !important;
font-weight: 500 !important;
}
.jc-shortcode-contact .wpcf7-mail-sent-ok,
.jc-shortcode-contact .wpforms-confirmation-container {
background-color: #d4edda !important;
color: #155724 !important;
border: 1px solid #c3e6cb !important;
}
.jc-shortcode-contact .wpcf7-validation-errors,
.jc-shortcode-contact .validation_error {
background-color: #f8d7da !important;
color: #721c24 !important;
border: 1px solid #f5c6cb !important;
} .jc-contact-notice {
background: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 8px;
padding: 1.5rem;
margin-top: 1rem;
}
.jc-contact-notice p {
margin: 0 0 1rem 0;
color: #495057;
line-height: 1.5;
}
.jc-contact-notice p:last-child {
margin-bottom: 0;
}
.jc-contact-notice ul {
margin: 0.5rem 0 0 1.5rem;
padding: 0;
}
.jc-contact-notice li {
margin-bottom: 0.25rem;
color: #6c757d;
}
.jc-contact-notice code {
background: #e9ecef;
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.85rem;
color: #495057;
}
.jc-recent-posts {
list-style: none;
margin: 0;
padding: 0;
}
.jc-recent-post {
padding: 1rem 0;
border-bottom: 1px solid var(--jc-border-color);
display: flex;
gap: 1rem;
align-items: flex-start;
}
.jc-recent-post:last-child {
border-bottom: none;
padding-bottom: 0;
}
.jc-recent-post-thumbnail {
flex-shrink: 0;
}
.jc-recent-post-thumbnail img {
width: 60px;
height: 60px;
object-fit: cover;
border-radius: 8px;
}
.jc-recent-post-content {
flex: 1;
min-width: 0;
}
.jc-recent-post a {
color: var(--jc-text-color);
text-decoration: none;
font-weight: 500;
line-height: 1.4;
transition: var(--jc-transition);
display: block;
margin-bottom: 0.25rem;
}
.jc-recent-post a:hover {
color: var(--jc-primary-color);
}
.jc-recent-date {
font-size: 0.85rem;
color: #666;
} .jc-contact-message {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 1rem;
border-radius: 8px;
margin-bottom: 1rem;
font-weight: 500;
}
.jc-contact-success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.jc-contact-error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.jc-contact-message .dashicons {
font-size: 1.25rem;
width: 1.25rem;
height: 1.25rem;
} .jc-social-share {
margin-top: 2rem;
padding: 2rem;
background: white;
border-radius: var(--jc-border-radius);
box-shadow: var(--jc-shadow);
text-align: center;
}
.jc-social-share h4 {
margin-top: 0;
margin-bottom: 1.5rem;
color: var(--jc-text-color);
}
.jc-share-buttons {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}
.jc-share-button {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
border-radius: 50%;
background-color: var(--jc-primary-color);
color: white;
text-decoration: none;
transition: var(--jc-transition);
position: relative;
overflow: hidden;
}
.jc-share-button:hover {
background-color: color-mix(in srgb, var(--jc-primary-color) 85%, black);
transform: translateY(-3px) scale(1.1);
color: white;
}
.jc-share-button::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
transition: all 0.6s ease;
transform: translate(-50%, -50%);
}
.jc-share-button:hover::before {
width: 100px;
height: 100px;
}
.jc-share-button .dashicons {
position: relative;
z-index: 1;
font-size: 1.25rem;
width: 1.25rem;
height: 1.25rem;
} .jc-share-facebook:hover {
background-color: #1877f2;
}
.jc-share-linkedin:hover {
background-color: #0077b5;
}
.jc-share-twitter:hover {
background-color: #1da1f2;
}
.jc-share-whatsapp:hover {
background-color: #25d366;
}
.jc-share-instagram:hover {
background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.jc-share-email:hover {
background-color: #ea4335;
} .jc-copy-notification {
position: fixed;
top: 20px;
right: 20px;
background: #28a745;
color: white;
padding: 1rem 1.5rem;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 9999;
animation: slideInRight 0.3s ease-out;
font-weight: 500;
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(100%);
}
to {
opacity: 1;
transform: translateX(0);
}
} @media screen and (max-width: 1200px) {
.jc-post-container {
grid-template-columns: 1fr;
gap: 2rem;
}
.jc-posts-grid {
grid-template-columns: repeat(2, 1fr) !important;
gap: 1.5rem;
}
}
@media screen and (max-width: 768px) {
.jc-post-wp-container,
.jc-single-post {
padding: 1rem 0.5rem;
}
.jc-posts-grid {
grid-template-columns: 1fr !important;
gap: 1.5rem;
}
.jc-post-main {
padding: 1.5rem;
}
.jc-single-post .jc-post-title {
font-size: 2rem;
}
.jc-search-form {
flex-direction: column;
max-width: 100%;
}
.jc-search-input {
border-bottom: 1px solid var(--jc-border-color);
}
.jc-pagination .page-numbers {
margin: 0.25rem;
}
}
@media screen and (max-width: 480px) {
.jc-posts-grid {
grid-template-columns: 1fr !important;
gap: 1rem;
}
.jc-post-card {
margin: 0 0.5rem;
}
.jc-post-content {
padding: 1rem;
}
.jc-single-post .jc-post-title {
font-size: 1.5rem;
}
.jc-share-buttons {
gap: 0.5rem;
}
.jc-share-button {
width: 40px;
height: 40px;
}
} @keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.jc-post-card {
animation: fadeInUp 0.6s ease-out forwards;
}
.jc-post-card:nth-child(odd) {
animation-delay: 0.1s;
}
.jc-post-card:nth-child(even) {
animation-delay: 0.2s;
} .jc-search-input:focus,
.jc-read-more:focus,
.jc-share-button:focus {
outline: 2px solid var(--jc-primary-color);
outline-offset: 2px;
} @media print {
.jc-search-bar,
.jc-social-share,
.jc-post-sidebar {
display: none;
}
.jc-post-container {
grid-template-columns: 1fr;
}
.jc-post-card {
box-shadow: none;
border: 1px solid #ccc;
break-inside: avoid;
}
}