.dwqa-container {
box-shadow: border-box
-webkit-box-sizing: border-box;
}
.dwqa-staff {
background: #1ba1e2;
color: #fff;
padding: 1px 5px;
border-radius: 3px;
margin: 0 5px;
}
.dwqa-pagination a,
.dwqa-pagination span {
display: inline-block;
margin-right: 5px;
padding: 5px 10px;
border: 1px solid #ddd;
}
.dwqa-answers-list .dwqa-pagination {
margin-top: 20px;
margin-bottom: 20px;
}
.dwqa-captcha img {
display: block;
margin: 0 0 10px;
}
.dwqa-captcha input {
width: 100%;
margin-bottom: 20px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.dwqa-alert {
padding: 10px 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 2px;
}
.dwqa-alert-error {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
.dwqa-alert-info {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
} .dwqa-question-item {
padding: 0 0 0 80px;
position: relative;
margin-bottom: 0;
}
.dwqa-question-item.dwqa-sticky {
background: #fcf8e3;
}
.dwqa-question-item .avatar {
position: absolute;
left: 15px;
top: 0;
border-radius: 48px;
}
.dwqa-question-item .dwqa-question-meta {
font-size: small;
margin-bottom: 20px;
}
.dwqa-question-item .dwqa-question-title a {
border: none !important;
text-decoration: none !important;
}
.dwqa-question-item .dwqa-status {
background: #1ba1e2;
color: #fff;
padding: 1px 5px;
border-radius: 3px;
margin-right: 5px;
}
.dwqa-question-item .dwqa-status-resolved {
background: #578824;
}
.dwqa-question-item .dwqa-status-closed {
background: #666;
}
.dwqa-question-vote {
position: absolute;
top: 70px;
left: 6px;
min-height: 60px;
}
.dwqa-question-vote .dwqa-vote {
display: block;
width: 0;
height: 0;
border: 16px solid transparent !important;
border-bottom-color: #ddd !important;
text-indent: -9999px;
position: absolute;
top: -20px;
text-decoration: none !important;
box-shadow: none !important;
}
.dwqa-question-vote .dwqa-vote-count {
width: 32px;
text-align: center;
top: 14px;
position: absolute;
display: block;
height: 32px;
line-height: 32px;
}
.dwqa-question-vote .dwqa-vote:hover,
.dwqa-question-vote .dwqa-vote:active {
border-bottom-color: #999 !important;
}
.dwqa-question-vote .dwqa-vote-down {
border: 16px solid transparent !important;
border-bottom-color: transparent !important;
border-top-color: #ddd !important;
top: auto;
bottom: -20px;
}
.dwqa-question-vote .dwqa-vote-down:hover,
.dwqa-question-vote .dwqa-vote-down:active {
border-bottom-color: transparent !important;
border-top-color: #999 !important;
}
.dwqa-question-item .dwqa-question-actions {
float: right;
}
.dwqa-question-item .dwqa-question-actions label {
display: inline-block;
}
.dwqa-question-item .dwqa-question-actions a {
margin-left: 10px;
}
.dwqa-question-item .dwqa-question-actions input[type=checkbox] {
margin-right: 5px;
}
.dwqa-pick-best-answer {
position: absolute;
top: 170px;
text-indent: -9999px;
left: 6px;
width: 32px;
height: 32px;
}
.dwqa-pick-best-answer:after {
content: '';
display: block;
width: 15px;
height: 25px;
border: solid #ddd;
border-width: 0 5px 5px 0;
transform: rotate(45deg);
position: absolute;
left: 10px;
top: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.dwqa-pick-best-answer:hover:after {
border-color: #999;
}
.dwqa-best-answer .dwqa-pick-best-answer:after {
border-color: #578824;
}
.dwqa-question-content img {
max-width: 100%;
height: auto;
}
.dwqa-question-tag + .dwqa-question-status {
float: right;
}
.dwqa-question-item .dwqa-question-meta .dwqa-question-status select {
display: inline-block;
width: auto;
} .dwqa-answers-title {
margin: 20px 0 10px;
}
.dwqa-answer-item {
padding: 20px 0 20px 70px;
position: relative;
border-top: 1px solid #ddd;
min-height: 220px;
}
.dwqa-answer-item .dwqa-answer-meta a {
position: inherit;
}
.dwqa-answer-item .avatar {
position: absolute;
left: 0;
top: 20px;
border-radius: 48px;
}
.dwqa-answer-item .dwqa-answer-meta {
font-size: small;
margin-bottom: 20px;
}
.dwqa-answer-vote {
position: absolute;
top: 90px;
left: 6px;
min-height: 60px;
}
.dwqa-answer-vote .dwqa-vote {
display: block;
width: 0;
height: 0;
border: 16px solid transparent !important;
border-bottom-color: #ddd !important;
text-indent: -9999px;
position: absolute;
top: -20px;
text-decoration: none !important;
box-shadow: none !important;
}
.dwqa-answer-vote .dwqa-vote-count {
width: 32px;
text-align: center;
top: 14px;
position: absolute;
display: block;
height: 32px;
line-height: 32px;
}
.dwqa-answer-vote .dwqa-vote:hover,
.dwqa-answer-vote .dwqa-vote:active {
border-bottom-color: #999 !important;
}
.dwqa-answer-vote .dwqa-vote-down {
border: 16px solid transparent !important;
border-bottom-color: transparent !important;
border-top-color: #ddd !important;
top: auto;
bottom: -20px;
}
.dwqa-answer-vote .dwqa-vote-down:hover,
.dwqa-answer-vote .dwqa-vote-down:active {
border-bottom-color: transparent !important;
border-top-color: #999 !important;
}
.dwqa-answer-item .dwqa-answer-actions {
float: right;
}
.dwqa-answer-item .dwqa-answer-actions a {
margin-left: 10px;
}
.dwqa-answer-content img {
max-width: 100%;
height: auto;
}
.dwqa-answer-form-title {
border-top: 1px solid #ddd;
padding: 10px 0;
}
.dwqa-answer-form form {
text-align: right;
}
.dwqa-answer-form .dwqa-alert {
text-align: left;
}
.dwqa-answer-form .dwqa-select {
float: left;
width: auto;
}
.dwqa-answer-form textarea {
width: 100% !important;
margin-bottom: 20px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
} .dwqa-comments-list {
background: #f9f9f9;
padding: 0 10px;
}
.dwqa-comments-list .dwqa-comment {
border-bottom: 1px solid #ddd;
padding: 10px 0;
position: relative;
}
.dwqa-comments-list .dwqa-comment p:last-child {
margin-bottom: 0;
}
.dwqa-comments-list .dwqa-comment:last-child {
border-bottom: none;
}
.dwqa-comments-list .dwqa-comment-meta {
font-size: small;
}
.dwqa-comments-list .dwqa-comment-meta .avatar {
position: inherit;
margin-right: 5px;
display: inline-block;
width: 12px;
height: 12px;
}
.dwqa-comment-form {
padding: 10px;
background: #f9f9f9;
}
.dwqa-comment-form .comment-form {
margin: 0 !important;
padding: 0 !important;
}
.dwqa-comment-form #submit {
display: none;
}
.dwqa-comment-form .dwqa-comment-show-button #submit {
display: block;
margin-top: 10px;
}
.dwqa-comment-form .comment-form textarea {
background: #fff;
width: 100% !important;
height: 45px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
font-size: 14px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
border: 1px solid #ddd;
padding: 10px 15px;
display: block;
}
.dwqa-comment-form textarea {
width: 100%;
}
.dwqa-comment-meta {
margin-bottom: 10px;
}
.dwqa-comment-actions {
float: right;
}
.dwqa-comment-actions a {
margin-left: 10px;
}  .dwqa-breadcrumbs {
margin-bottom: 20px;
} .dwqa-search {
margin-bottom: 20px;
position: relative;
}
.dwqa-search input {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
padding-right: 40px;
width: 100%;
max-width: 100%;
min-width: 100%;
margin-bottom: 0 !important;
background: url(//www.toubiaoku.com/wp-content/plugins/dw-question-answer/templates/assets/img/icon-search.png) no-repeat right 10px center #fff !important;
border: 1px solid #ddd;
padding: 10px 15px;
border-radius: 2px;
box-shadow: none;
outline: none;
}
.dwqa-search input.ui-autocomplete-loading {
background-image: url(//www.toubiaoku.com/wp-content/plugins/dw-question-answer/templates/assets/img/icon-loading.gif) !important;
}
.submit-dwqa-question .dwqa-search input {
background: none no-repeat right 10px center #fff !important;
}
.submit-dwqa-question .dwqa-search input.ui-autocomplete-loading {
background-image: url(//www.toubiaoku.com/wp-content/plugins/dw-question-answer/templates/assets/img/icon-loading.gif) !important;
}
.dwqa-search .dwqa-autocomplete {
margin: 0;
padding: 0;
list-style: none;
background: #f9f9f9;
left: 0 !important;
position: absolute !important;
right: 0 !important;
top: auto !important;
z-index: 9999;
}
.dwqa-search .dwqa-autocomplete li {
padding: 10px 15px;
cursor: pointer;
border-bottom: 1px solid #ddd;
margin: 0;
}
.dwqa-search .dwqa-autocomplete .dwqa-text-highlight {
font-weight: bold;
}
.dwqa-search .dwqa-autocomplete li.ui-state-focus,
.dwqa-search .dwqa-autocomplete li:hover {
background: #f0f0f0;
}
.dwqa-search .dwqa-autocomplete li:last-child {
border-bottom: 0;
} .dwqa-question-filter {
margin-bottom: 20px;
}
.dwqa-question-filter span,
.dwqa-question-filter a {
margin-right: 10px;
}
.dwqa-question-filter a {
border: none !important;
text-decoration: none;
}
.dwqa-question-filter a.active {
border-bottom: 1px solid #ddd !important;
}
.dwqa-question-filter .dwqa-sort-by {
float: right;
width: auto;
} .dwqa-questions-list {
border-top: 1px solid #ddd;
}
.dwqa-questions-list .dwqa-alert {
margin: 20px 0 0;
}
.dwqa-questions-list .dwqa-question-item {
border-bottom: 1px solid #ddd;
padding: 15px 180px 15px 80px;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
.dwqa-questions-list .dwqa-question-item a {
position: inherit;
}
.dwqa-questions-list .dwqa-question-item .avatar {
top: 50%;
margin-top: -24px;
}
.dwqa-questions-list .dwqa-question-item .dwqa-question-meta {
margin-bottom: 0;
}
.dwqa-questions-list .dwqa-question-item .dwqa-question-stats {
position: absolute;
top: 50%;
margin-top: -24px;
right: 10px;
}
.dwqa-questions-list .dwqa-question-item .dwqa-question-stats span {
min-width: 48px;
height: 48px;
border: 1px solid #ddd;
display: block;
float: left;
margin-left: 5px;
text-align: center;
font-size: 11px;
line-height: 1;
}
.dwqa-questions-list .dwqa-question-item .dwqa-question-stats strong {
font-size: 14px;
line-height: 26px;
display: block;
font-weight: normal;
}
.dwqa-questions-footer {
margin-top: 20px;
}
.dwqa-questions-footer .dwqa-pagination,
.dwqa-questions-footer .dwqa-ask-question {
display: inline-block;
}
.dwqa-questions-footer .dwqa-pagination + .dwqa-ask-question {
float: right;
}
.dwqa-questions-footer .dwqa-ask-question a {
display: inline-block;
padding: 5px 10px;
border: 1px solid #ddd;
} .single-dwqa-question .dwqa-question-item {
min-height: 140px;
padding-left: 70px;
}
.single-dwqa-question .dwqa-question-item a {
position: inherit;
}
.single-dwqa-question .dwqa-question-item .avatar {
left: 0;
} .dwqa-answer-form .wp-editor-container,
.dwqa-content-edit-form .wp-editor-container {
border: 1px solid #e5e5e5;
margin-bottom: 20px;
}
.dwqa-content-edit-form input[type=text],
.dwqa-content-edit-form input[type=email],
.dwqa-content-edit-form select {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
width: 100%;
} @media ( max-width: 768px ) {
.dwqa-questions-list .dwqa-question-item {
padding-right: 15px;
}
.dwqa-questions-list .dwqa-question-item .dwqa-question-stats {
display: none;
}
}
@media ( max-width: 480px ) {
.dwqa-questions-list .dwqa-question-item {
padding-left: 15px;
}
.dwqa-questions-list .dwqa-question-item .avatar {
position: static;
width: 14px;
height: 14px;
margin-right: 5px;
}
.single-dwqa-question .dwqa-question-item,
.single-dwqa-question .dwqa-answer-item {
padding-left: 0;
min-height: 0;
}
.single-dwqa-question .dwqa-question-item .dwqa-question-vote,
.single-dwqa-question .dwqa-answer-item .dwqa-answer-vote {
display: none;
}
.single-dwqa-question .dwqa-question-item .avatar,
.single-dwqa-question .dwqa-answer-item .avatar {
position: static;
width: 14px;
height: 14px;
margin-right: 5px;
}
}.rtl .dwqa-search input {
background-position: 15px center !important;
padding-left: 40px;
}
.rtl .dwqa-question-filter .dwqa-sort-by {
float: left;
}
.rtl .dwqa-questions-list .dwqa-question-item {
padding: 15px 80px 15px 180px;
}
.rtl .dwqa-questions-list .dwqa-question-item .dwqa-question-stats {
right: auto;
left: 10px;
}
.rtl .dwqa-questions-list .dwqa-question-item .avatar {
left: auto;
right: 15px;
margin-right: 0;
margin-left: 5px;
}
.rtl .dwqa-question-item .dwqa-status {
margin-right: 0;
margin-left: 10px;
left: 0;
right: 15px;
}
.rtl.single-dwqa-question .dwqa-question-item .avatar,
.rtl.single-dwqa-question .dwqa-answer-item .avatar {
float: right;
margin-right: 0;
margin-left: 10px;
}
.rtl .dwqa-question-item .dwqa-question-actions,
.rtl .dwqa-answer-item .dwqa-answer-actions,
.rtl .dwqa-answer-item .dwqa-comment-actions {
float: left;
}
.rtl.single-dwqa-question .dwqa-question-item .dwqa-staff,
.rtl.single-dwqa-question .dwqa-answer-item .dwqa-staff {
margin: 0 10px 0 0;
}* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
body {
color: #333;
line-height: 1.6;
background-color: #f9f9f9;
}
a {
text-decoration: none;
color: #0066cc;
transition: color 0.3s;
}
a:hover {
color: #004499;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
} header {
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: relative; z-index: 100;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
height: 40px;
margin-right: 10px;
}
.logo h1 {
font-size: 24px;
color: #0066cc;
font-weight: 600;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 30px;
}
nav ul li a {
color: #333;
font-weight: 500;
padding: 5px 0;
position: relative;
}
nav ul li a:after {
content: '';
position: absolute;
width: 0;
height: 2px;
background: #0066cc;
bottom: 0;
left: 0;
transition: width 0.3s;
}
nav ul li a:hover:after {
width: 100%;
}
.cta-button {
background-color: #0066cc;
color: white;
padding: 10px 20px;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #004499;
color: white;
} @media (max-width: 768px) {
.header-container {
flex-direction: column;
justify-content: space-between;
align-items: center;
}
nav ul {
margin-top: 0;
flex-wrap: wrap;
justify-content: center;
}
nav ul li {
margin: 5px 15px;
}
.hero {
padding: 60px 0;
}
.hero h2 {
font-size: 2rem;
}
.hero-buttons {
flex-direction: column;
gap: 15px;
}
figure {
max-width: 100% !important;
height: auto !important;
}
figure img {
max-width: 100% !important;
height: auto !important;
}
} figure {
max-width: 100% !important;
height: auto !important;
width: auto !important;
place-items: center;
} .hero {
background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
color: white;
padding: 80px 0;
text-align: center;
}
.hero h2 {
font-size: 2.5rem;
margin-bottom: 20px;
font-weight: 700;
}
.hero p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto 30px;
}
.hero-buttons {
display: flex;
justify-content: center;
gap: 20px;
}
.primary-button {
background-color: white;
color: #0066cc;
padding: 12px 30px;
border-radius: 5px;
font-weight: 600;
transition: all 0.3s;
}
.primary-button:hover {
background-color: rgba(255, 255, 255, 0.9);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.secondary-button {
background-color: transparent;
color: white;
border: 2px solid white;
padding: 12px 30px;
border-radius: 5px;
font-weight: 600;
transition: all 0.3s;
}
.secondary-button:hover {
background-color: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
} .services {
padding: 80px 0;
background-color: white;
}
.section-title {
text-align: center;
margin-bottom: 50px;
}
.section-title h2 {
font-size: 2rem;
color: #0066cc;
margin-bottom: 15px;
position: relative;
display: inline-block;
}
.section-title h2:after {
content: '';
position: absolute;
width: 60px;
height: 3px;
background: #0066cc;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
}
.section-title p {
color: #666;
max-width: 700px;
margin: 0 auto;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.service-card {
background-color: #f9f9f9;
border-radius: 8px;
padding: 30px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.service-icon {
font-size: 2.5rem;
color: #0066cc;
margin-bottom: 20px;
}
.service-card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: #333;
}
.service-card p {
color: #666;
margin-bottom: 20px;
} .cases {
background-color: #f9f9f9;
}
.cases-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.case-card {
background-color: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s;
}
.case-card:hover {
transform: translateY(-5px);
}
.case-image {
height: 200px;
background-color: #eee;
background-size: cover;
background-position: center;
}
.case-content {
padding: 20px;
}
.case-content h3 {
font-size: 1.3rem;
margin-bottom: 10px;
color: #333;
}
.case-content p {
color: #666;
margin-bottom: 15px;
}
.case-meta {
display: flex;
justify-content: space-between;
color: #999;
font-size: 0.9rem;
} .team {
padding: 80px 0;
background-color: white;
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.team-photo {
width: 150px;
height: 150px;
border-radius: 50%;
margin: 0 auto 20px;
background-color: #eee;
background-size: cover;
background-position: center;
}
.team-member h3 {
font-size: 1.3rem;
margin-bottom: 5px;
color: #333;
}
.team-member .position {
color: #0066cc;
font-weight: 500;
margin-bottom: 10px;
}
.team-member p {
color: #666;
font-size: 0.9rem;
} .faq {
padding: 80px 0;
background-color: #1a2b5c
}
.accordion {
max-width: 800px;
margin: 0 auto;
}
.accordion-item {
background-color: white;
border-radius: 8px;
margin-bottom: 15px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
overflow: hidden;
}
.accordion-header {
padding: 20px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 600;
color: #333;
}
.accordion-header:hover {
background-color: #f5f5f5;
}
.accordion-content {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
color: #666;
}
.accordion-content.active {
padding: 20px;
max-height: 500px;
}
.accordion-icon {
transition: transform 0.3s;
}
.accordion-item.active .accordion-icon {
transform: rotate(180deg);
} .contact {
padding: 80px 0;
background-color: white;
}
.contact-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 50px;
}
.contact-info h3 {
font-size: 1.5rem;
margin-bottom: 20px;
color: #0066cc;
}
.contact-item {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
}
.contact-icon {
font-size: 1.2rem;
color: #0066cc;
margin-right: 15px;
margin-top: 5px;
}
.contact-text h4 {
font-size: 1.1rem;
margin-bottom: 5px;
color: #333;
}
.contact-text p {
color: #666;
}
.contact-form form {
max-width: 500px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 5px;
font-weight: 500;
color: #333;
}
.form-control {
width: 100%;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
transition: border-color 0.3s;
}
.form-control:focus {
border-color: #0066cc;
outline: none;
}
textarea.form-control {
min-height: 150px;
resize: vertical;
}
.submit-button {
background-color: #0066cc;
color: white;
border: none;
padding: 12px 25px;
border-radius: 5px;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.3s;
}
.submit-button:hover {
background-color: #004499;
} footer {
background-color: #003366;
color: white;
padding: 60px 0 20px;
}
.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
margin-bottom: 40px;
}
.footer-column h3 {
font-size: 1.2rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}
.footer-column h3:after {
content: '';
position: absolute;
width: 40px;
height: 2px;
background: #0099ff;
bottom: 0;
left: 0;
}
.footer-column ul {
list-style: none;
padding-inline-start: unset;
}
.footer-column ul li {
margin-bottom: 10px;
}
.footer-column ul li a {
color: #ccc;
transition: color 0.3s;
}
.footer-column ul li a:hover {
color: white;
}
.social-links {
display: flex;
gap: 15px;
}
.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: white;
transition: background-color 0.3s;
}
.social-links a:hover {
background-color: #0099ff;
}
.footer-bottom {
text-align: center;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #ccc;
font-size: 0.9rem;
} .post-thumbnail {
margin-bottom: 20px;
}
.post-thumbnail img {
width: 100%;
height: auto;
border-radius: 8px;
} article.post {
background-color: white;
border-radius: 8px;
padding: 30px;
margin-bottom: 40px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.post-header {
margin-bottom: 20px;
}
.post-meta {
color: #666;
font-size: 0.9rem;
margin-bottom: 15px;
}
.post-footer {
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.read-more {
background-color: #0066cc;
color: white;
padding: 10px 20px;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s;
}
.read-more:hover {
background-color: #004499;
color: white;
} .archive-description {
color: #666;
margin-bottom: 30px;
font-size: 1.1rem;
} .post-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.post-excerpt {
color: #666;
margin-bottom: 15px;
font-size: 1rem;
} .category-header {
text-align: center;
padding: 60px 0;
background-color: #0066cc;
color: white;
}
.category-title {
font-size: 2.5rem;
margin-bottom: 20px;
}
.category-description {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
} .article-list {
padding: 80px 0;
}
.article-item {
display: flex;
margin-bottom: 40px;
border-bottom: 1px solid #eee;
padding-bottom: 40px;
}
.article-thumbnail {
margin-right: 30px;
min-width: 300px;
}
.article-thumbnail img {
width: 100%;
height: auto;
border-radius: 8px;
}
.article-content {
flex: 1;
}
.article-title {
font-size: 1.8rem;
margin-bottom: 10px;
}
.article-title a {
color: #333;
transition: color 0.3s;
}
.article-title a:hover {
color: #0066cc;
}
.article-meta {
color: #999;
margin-bottom: 15px;
}
.article-meta span {
margin-right: 20px;
}
.article-excerpt {
color: #666;
margin-bottom: 20px;
} .pagination {
text-align: center;
}
.pagination .page-numbers {
display: inline-block;
padding: 8px 15px;
margin: 0 5px;
border: 1px solid #ddd;
border-radius: 5px;
color: #333;
transition: background-color 0.3s, color 0.3s;
}
.pagination .page-numbers:hover {
background-color: #0066cc;
color: white;
border-color: #0066cc;
}
.pagination .current {
background-color: #0066cc;
color: white;
border-color: #0066cc;
} .knowledge {
padding: 80px 0;
background-color: #f9f9f9;
}
.knowledge-list {
display: grid;
grid-template-columns: repeat(2, 1fr); gap: 30px;
} @media (max-width: 768px) {
.knowledge-list {
grid-template-columns: 1fr;
}
}
.knowledge-item {
background-color: white;
border-radius: 8px;
padding: 25px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s, box-shadow 0.3s;
}
.knowledge-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.knowledge-item h3 {
font-size: 1.2rem;
margin-bottom: 10px;
color: #333;
}
.knowledge-item h3 a {
color: #333;
transition: color 0.3s;
}
.knowledge-item h3 a:hover {
color: #0066cc;
}
.knowledge-meta {
display: flex;
justify-content: space-between;
color: #999;
font-size: 0.9rem;
margin-bottom: 15px;
}
.excerpt {
color: #666;
margin-bottom: 15px;
line-height: 1.5;
} .custom-category-header {
text-align: center;
padding: 60px 0 40px;
background-color: #0066cc;
color: white;
border-radius: 8px;
margin-bottom: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.custom-category-title {
font-size: 2.5rem;
margin-bottom: 15px;
}
.custom-category-description {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
} .custom-article-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 30px;
padding: 0;
}
.custom-article-card {
background-color: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s, box-shadow 0.3s;
}
.custom-article-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.custom-card-content {
padding: 20px;
}
.custom-article-thumbnail {
width: 100%;
height: 200px;
overflow: hidden;
border-radius: 8px;
margin-bottom: 20px;
}
.custom-article-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}
.custom-article-card:hover .custom-article-thumbnail img {
transform: scale(1.05);
}
.custom-article-title {
font-size: 1.3rem;
margin-bottom: 10px;
color: #333;
}
.custom-article-title a {
color: #333;
transition: color 0.3s;
}
.custom-article-title a:hover {
color: #0066cc;
}
.custom-article-meta {
display: flex;
flex-wrap: wrap;
color: #999;
font-size: 0.9rem;
margin-bottom: 15px;
}
.custom-article-meta span {
margin-right: 15px;
display: flex;
align-items: center;
}
.custom-article-meta i {
margin-right: 5px;
}
.custom-article-excerpt {
color: #666;
margin-bottom: 20px;
line-height: 1.5;
}
.custom-read-more {
display: inline-block;
background-color: #0066cc;
color: white;
padding: 8px 15px;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s;
}
.custom-read-more:hover {
background-color: #004499;
color: white;
} .custom-pagination {
text-align: center;
margin-top: 40px;
margin-bottom: 10px;
}
.custom-pagination .page-numbers {
display: inline-block;
padding: 8px 15px;
margin: 5px 5px;
border: 1px solid #ddd;
border-radius: 5px;
color: #333;
transition: background-color 0.3s, color 0.3s;
}
.custom-pagination .page-numbers:hover {
background-color: #0066cc;
color: white;
border-color: #0066cc;
}
.custom-pagination .current {
background-color: #0066cc;
color: white;
border-color: #0066cc;
} .breadcrumbs {
margin: 20px 0;
font-size: 0.9em;
color: #666;
} article.post {
background: #fff;
border-radius: 8px;
padding: 40px;
position: relative;
} .meta-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 2px solid #D4AF37;
}
.author-info {
display: flex;
align-items: center;
}
.author-info img {
width: 48px;
height: 48px;
border-radius: 50%;
}
.post-author {
font-weight: 600;
color: #1A2B5C;
}
.post-date {
font-size: 0.9em;
color: #5C5C5C;
}
.statistics {
text-align: right;
}
.statistics span {
font-size: 0.9em;
color: #5C5C5C;
} .post-header {
margin-bottom: 25px;
}
.post-title {
font-size: 1.5rem;
line-height: 1.3;
margin-bottom: 1.2rem;
color: #1A2B5C;
text-align: center;
}
.post-categories {
margin-bottom: 25px;
}
.post-categories a {
display: inline-block;
padding: 6px 12px;
background: #F8F9FA;
border-radius: 4px;
font-size: 0.85em;
color: #3D4F7C;
transition: all 0.3s;
}
.post-categories a:hover {
background: #1A2B5C;
color: white;
} .post-content h2 {
font-size: 1.3rem;
margin: 1rem auto;
} .post-footer {
margin-top: 40px;
padding-top: 30px;
border-top: 2px solid #F8F9FA;
} .post-tags {
flex: 1;
}
.post-tags a {
padding: 6px 12px;
background: #F8F9FA;
border-radius: 4px;
font-size: 0.85em;
color: #5C5C5C;
transition: all 0.3s;
}
.post-tags a:hover {
background: #1A2B5C;
color: white;
} .post-navigation {
margin-top: 40px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.nav-previous, .nav-next {
padding: 15px;
background: #F8F9FA;
border-radius: 6px;
}
.nav-next {
text-align: right;
} .sidebar {
position: sticky;
top: 20px;
height: fit-content;
}
.sidebar-widget {
padding: 25px;
background: #fff;
border-radius: 8px;
}
.sidebar-widget h4 {
color: #1A2B5C;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #D4AF37;
}
.sidebar-widget ul {
list-style: none;
padding-left: 0;
}
.sidebar-widget li {
margin-bottom: 12px;
}
.sidebar-widget a {
color: #5C5C5C;
font-size: 0.95em;
display: block;
padding: 8px;
border-radius: 4px;
transition: all 0.3s;
}
.sidebar-widget a:hover {
background: #F8F9FA;
color: #1A2B5C;
}
.popular-posts {
margin-top: 40px;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.popular-posts h4 {
margin-bottom: 15px;
color: #1A2B5C;
}
.popular-posts ul {
list-style: none;
padding: 0;
}
.popular-posts li {
margin-bottom: 10px;
}
.popular-posts a {
color: #5C5C5C;
transition: color 0.3s;
}
.popular-posts a:hover {
color: #1A2B5C;
}
.search-title {
text-align: center;
padding: 1rem;
font-size: 1.7rem;
} .search-form-container {
background-color: #ffffff;
height: 9rem;
padding: 2rem;
margin-bottom: 30px;
text-align: center;
}
.search-form {
display: flex;
max-width: 600px;
margin: 0 auto;
}
.search-field {
flex: 1;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 5px 0 0 5px;
font-size: 1rem;
font-family: inherit;
}
.search-submit {
padding: 12px 25px;
background-color: #0066cc;
color: white;
border: none;
border-radius: 0 5px 5px 0;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s;
}
.search-submit:hover {
background-color: #004499;
} @media (max-width: 768px) {
.search-form {
flex-direction: column;
}
.search-field {
border-radius: 5px;
margin-bottom: 10px;
}
.search-submit {
border-radius: 5px;
}
} .no-search-query {
text-align: center;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
margin-bottom: 20px;
color: #666;
}
.post-content p {
margin-top: 10px;
margin-bottom: 10px;
}
.post-content h2 {
font-size: 1.3rem;
line-height: 150%;
margin: 20px 0px;
padding: 0 0 0 5px;
border-left: 5px solid #1acc00;
}
.post-content h3 {
font-size: 1rem;
line-height: 150%;
margin: 20px 0px;
padding: 0 0 0 5px;
border-left: 5px solid #0099ff;
}
ol {
display: block;
list-style-type: decimal;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
unicode-bidi: isolate;
padding-inline-start: revert;
}
ul {
display: block;
list-style-type: auto;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
unicode-bidi: isolate;
padding-inline-start: revert;
}
table {
width: 100%;
border-collapse: collapse; margin: 20px 0;
font-family: Arial, sans-serif;
font-size: 14px;
text-align: left;
}
thead {
background-color: #333;
color: white;
text-transform: uppercase;
letter-spacing: 1px;
}
th, td {
padding: 12px 15px;
border: 1px solid #ddd;
}
tbody tr:nth-child(odd) {
background-color: #f9f9f9;
}
tbody tr:nth-child(even) {
background-color: #ffffff;
}
caption {
caption-side: top;
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
color: #333;
}
@media screen and (max-width: 600px) {
table {
width: 100%;
display: block;
overflow-x: auto;
}
} .related-title {
font-size: 1.5rem;
color: #2d3748; margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
} .related-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; list-style: none; padding: 0;
margin: 0;
} .related-item {
transition: transform 0.3s ease; }
.related-item:hover {
transform: translateY(-5px); } .related-item a {
display: flex;
flex-direction: column;
height: 100%;
text-decoration: none;
color: #2d3748;
} .related-thumb {
margin: 0 0 1rem 0;
overflow: hidden;
border-radius: 4px;
}
.related-thumb img {
width: 100%;
height: 180px; object-fit: cover; transition: all 0.3s ease;
}
.related-item:hover .related-thumb img {
transform: scale(1.05); } .related-item .related-title {
font-size: 1.1rem;
font-weight: 600;
margin: 0;
padding: 0;
border: none;
line-height: 1.4; transition: color 0.3s ease;
}
.related-item a:hover .related-title {
color: #3182ce; } .related-thumb .default-thumb {
width: 100%;
height: 180px;
object-fit: cover;
background-color: #f1f1f1; } @media (max-width: 768px) {
.related-list {
grid-template-columns: 1fr; }
.related-title {
font-size: 1.3rem;
}
.related-thumb img {
height: 150px; }
}
.related-thumb .default-thumb {
height: 150px;
} .why-choose-us {
border-radius: 12px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}
.why-choose-us h3 {
font-size: 1.8rem;
color: #0066cc;
margin-bottom: 25px;
text-align: center;
position: relative;
padding-bottom: 15px;
}
.why-choose-us h3:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: #0066cc;
border-radius: 3px;
}
.features {
display: grid;
grid-template-columns: 1fr;
gap: 25px;
}
.feature {
display: flex;
align-items: flex-start;
padding: 20px;
background: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}
.feature-icon {
width: 50px;
height: 50px;
background: #e6f0ff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
flex-shrink: 0;
color: #0066cc;
font-size: 1.3rem;
}
.feature-content h4 {
font-size: 1.2rem;
margin-bottom: 10px;
color: #0066cc;
}
.feature-content p {
color: #666;
font-size: 1rem;
} @media (max-width: 768px) {
.contact-container {
grid-template-columns: 1fr;
gap: 40px;
}
.section-title h2 {
font-size: 2rem;
}
.feature {
flex-direction: column;
text-align: center;
}
.feature-icon {
margin-right: 0;
margin-bottom: 15px;
}
}