/*
 Theme Name:   twentytwentyfive Child
 Template:     twentytwentyfive
 Version:      1.0.0
*/

body {
    border: 10px solid red !important;
}

/* FAQ Accordion Styling */
details.is-layout-flow {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

details.is-layout-flow:hover {
    border-color: #EC700A;
    box-shadow: 0 2px 8px rgba(236, 112, 10, 0.1);
}

/* Question Styling */
details.is-layout-flow summary {
    padding: 15px 20px;
    background: #FFF9E6;
    color: #EC700A !important;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    transition: background 0.3s ease;
}

details.is-layout-flow summary:hover {
    background: #FFF3E0;
    color: #e85a1f !important;
}

/* Custom orange triangle arrow */
details.is-layout-flow summary::before {
    content: "▶";
    color: #EC700A;
    font-size: 0.8rem;
    margin-right: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Rotate arrow when open */
details.is-layout-flow[open] summary::before {
    transform: rotate(90deg);
}

/* Answer Styling */
details.is-layout-flow[open] summary {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

details.is-layout-flow p {
    padding: 15px 20px;
    padding-left: 40px;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

/* FAQ Section Header */
h2:has(+ .wp-block-details) {
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #EC700A;
    color: #EC700A;
}

/* Fix blog thumbnail grid alignment */
#blog-posts .col-md-4 {
    float: left;
    min-height: 450px;
}

#blog-posts .col-md-4:nth-child(3n+1) {
    clear: left;
}

#blog-posts .blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#blog-posts .blog-card .excerpt {
    flex-grow: 1;
}

/* Fix Polylang post title display in admin */
.wp-list-table .row-title {
    writing-mode: horizontal-tb !important;
    word-break: break-word !important;
    white-space: normal !important;
    display: block !important;
    min-width: 200px !important;
}

.column-title {
    min-width: 250px !important;
}

/* FAQ Styling - Orange theme */
.wp-block-details summary {
    color: #d97941 !important;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    padding: 10px 0;
    margin-bottom: 10px;
}

.wp-block-details summary:hover {
    color: #e85a1f !important;
}

.wp-block-details[open] summary {
    margin-bottom: 15px;
}

.wp-block-details p {
    padding-left: 20px;
    line-height: 1.6;
}

/* Triangle marker styling */
.wp-block-details summary::marker {
    color: #d97941 !important;
}
.back-btn {
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #555;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
}
.back-btn:hover {
  background-color: #d97941;
}