/* TrueValue Blog - Australia Edition */
/* Main Stylesheet */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-y: visible;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8f47 50%, #1a5f2a 100%);
    font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: transparent;
    font: inherit;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 900;
    margin: 0;
    line-height: 1.2;
}

p {
    margin: 0 0 1.5rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.h2, h2 {
    font-size: 2.8rem;
    line-height: 1.3;
    color: #1a5f2a;
}

h3 {
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 2.5rem;
}

@media screen and (min-width: 1024px) {
    h3 {
        font-size: 2.5rem;
        line-height: 3.8rem;
    }
}

li a, p a {
    font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1a5f2a;
    font-weight: 700;
    transition: color 0.2s ease;
}

li a:hover, p a:hover {
    text-decoration: underline;
    color: #ffd700;
}

/* ============================================
   LAYOUT & GRID
   ============================================ */
.grid {
    margin: 0 auto;
}

.single .grid {
    width: 87%;
}

@media screen and (min-width: 768px) {
    .grid .row {
        margin-left: -2rem;
        display: flex;
        flex-wrap: wrap;
    }

    .grid .row [class^=column] {
        width: 100%;
        margin-left: 2rem;
    }

    .grid .row .row {
        width: calc(100% + 2rem);
    }

    .grid .row [class^=column].column-sm-6:not(.full-bleed) {
        width: calc(50% - 2rem);
    }

    .grid .row [class^=column].column-sm-12:not(.full-bleed) {
        width: calc(100% - 2rem);
    }
}

@media screen and (min-width: 1024px) {
    .grid {
        width: 95%;
        max-width: 1128px;
    }

    .grid .row [class^=column].column-md-12:not(.full-bleed) {
        width: calc(100% - 2rem);
    }
}

/* ============================================
   HEADER
   ============================================ */
header.header {
    padding: 1.5rem 5%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
    background: linear-gradient(90deg, #ffffff 0%, #f0f9f0 100%);
    box-shadow: 0 2px 20px rgba(26, 95, 42, 0.1);
    border-bottom: 3px solid #ffd700;
}

header.header .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header.header .logo img {
    width: auto;
    display: block;
    height: 44px;
}

header.header .logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: #1a5f2a;
    letter-spacing: -0.5px;
}

header.header .logo-text span {
    color: #ffd700;
}

header.header .btn-cta {
    display: none;
}

/* Search Wrapper */
header.header .search-wrapper {
    display: block;
}

header.header .search-wrapper .toggle-search {
    width: 3.2rem;
    height: 3.2rem;
}

header.header .search-wrapper .search-form {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 63px;
    display: flex;
    width: 100%;
    padding: 0.5rem 5%;
    background: #fff;
    transition: opacity 0.2s ease;
}

header.header .search-wrapper .search-form .search-form-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 48px;
    height: 4.8rem;
    padding: 0 0.8rem 0 1.8rem;
    box-shadow: 0 4px 16px rgba(26, 95, 42, 0.15);
    background: #fff;
}

header.header .search-wrapper .search-form .search-form-container .btn-search {
    width: 3.2rem;
    height: 3.2rem;
    outline: 0;
    background-color: #1a5f2a;
    border-radius: 16px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

header.header .search-wrapper .search-form .search-form-container .btn-search:hover {
    background-color: #ffd700;
}

header.header .search-wrapper .search-form .search-form-container .btn-search .icon-search-right {
    font-size: 1.5rem;
    color: #fff;
}

header.header .search-wrapper .search-form .search-form-container label {
    width: 100%;
}

header.header .search-wrapper .search-form .search-form-container label .input-text {
    font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 2.2rem;
    width: 100%;
    height: 100%;
    font-size: 1.4rem;
    outline: 0;
    color: #1a1a1a;
    padding: 0 1.6rem 0 0.8rem;
    border: none;
    background: transparent;
}

header.header .search-wrapper .search-form .search-form-container label .input-text::placeholder {
    color: #666;
}

@media screen and (min-width: 1024px) {
    header.header {
        width: 100%;
        padding: 2rem 2.5rem;
    }

    header.header .logo img {
        height: 50px;
        width: auto;
    }

    header.header .logo-text {
        font-size: 2.8rem;
    }

    header.header .search-wrapper {
        width: 100%;
        max-width: 30rem;
        overflow: hidden;
        border-radius: 48px;
        transition: max-width 0.2s ease;
        box-shadow: 0 4px 16px rgba(26, 95, 42, 0.08);
    }

    header.header .search-wrapper .toggle-search {
        display: none;
    }

    header.header .search-wrapper .search-form {
        opacity: 1;
        pointer-events: unset;
        position: relative;
        top: 0;
        height: 4.8rem;
        border-radius: 48px;
        padding: 0 0.8rem 0 1.8rem;
    }

    header.header .search-wrapper .search-form .search-form-container {
        height: auto;
        box-shadow: unset;
    }

    header.header .btn-cta {
        border: solid 2px #1a5f2a;
        height: 4.8rem;
        border-radius: 72px;
        display: flex;
        align-items: center;
        background: #1a5f2a;
        font-family: 'Poppins', sans-serif;
        font-size: 1.6rem;
        line-height: 1.6rem;
        color: #fff;
        padding: 1.6rem 3.2rem;
        margin-left: 2.4rem;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    header.header .btn-cta:hover {
        border-color: #ffd700;
        background: #ffd700;
        color: #1a1a1a;
    }

    body.single header.header {
        position: fixed;
        background: #fff;
        z-index: 100;
        top: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
body.single .main-wrapper {
    margin-top: 0;
    background: #fff;
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

body.single .post-intro {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 3rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fdf8 100%);
    border-radius: 40px 40px 0 0;
    margin-top: -35px;
    width: 100%;
    border-top: 4px solid #ffd700;
}

body.single .post-intro h1 {
    text-align: left;
    color: #1a5f2a;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-top: 1rem;
}

body.single .post-intro .subtitle {
    text-align: left;
    margin: 2.4rem 0 0;
    font-size: 1.6rem;
    line-height: 2.5rem;
    color: #444;
}

body.single h1 {
    margin-top: 2rem;
    font-size: 4rem;
    line-height: 4rem;
    font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1a5f2a;
}

/* Post Image */
body.single .post-image-container {
    min-height: 324px;
    position: relative;
}

body.single .post-image-container:before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(26, 95, 42, 0.3) 100%);
}

body.single .post-image-container .post-image {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

/* Post Content */
.post-content {
    padding: 2rem 0;
}

.post-content .inner {
    max-width: 800px;
    margin: 0 auto;
}

.post-content .inner p {
    font-size: 1.7rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.post-content .inner h2 {
    color: #1a5f2a;
    margin: 3rem 0 1.5rem;
    font-size: 2.4rem;
}

.post-content .inner h3 {
    color: #2d8f47;
    margin: 2.5rem 0 1rem;
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */
@media screen and (max-width: 767px) {
    header.header {
        padding: 1rem 5% !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    header.header .logo {
        width: auto !important;
    }

    header.header .logo img {
        height: 30px !important;
    }

    header.header .logo-text {
        font-size: 1.8rem;
    }

    .post-image-container {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .post-image-container .post-image {
        width: 100% !important;
        height: 250px !important;
        object-fit: cover;
    }

    .post-intro {
        padding: 20px 5% !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .post-intro h1 {
        font-size: 24px !important;
        line-height: 30px !important;
        margin: 0 0 15px 0 !important;
    }

    .post-intro .subtitle {
        font-size: 14px !important;
        line-height: 20px !important;
        margin: 15px 0 !important;
    }

    .post-infos {
        font-size: 12px !important;
        flex-wrap: wrap !important;
    }

    body.single .main-wrapper {
        padding: 0;
        margin: 0;
        width: 100% !important;
    }

    .single .grid {
        width: 100% !important;
        padding: 0 5%;
        box-sizing: border-box;
    }

    .grid .row {
        margin: 0 !important;
        width: 100% !important;
    }

    .grid .row [class^=column] {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .post-content {
        width: 100% !important;
        padding: 20px 0 !important;
        box-sizing: border-box;
    }

    .post-content .inner {
        width: 100% !important;
        padding: 0 !important;
    }

    .post-content .inner p,
    .post-content .inner h2,
    .post-content .inner h3,
    .post-content .inner h4 {
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word;
    }

    .dataTables_wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .tablepress {
        min-width: 800px !important;
        display: table !important;
    }

    .tablepress thead th,
    .tablepress tbody td {
        min-width: 80px !important;
        font-size: 12px !important;
        padding: 8px 6px !important;
        word-wrap: break-word;
    }

    .breadcrumb {
        font-size: 12px !important;
        padding: 10px 5% !important;
        overflow-x: auto;
    }
}

/* ============================================
   FOOTER
   ============================================ */
footer.footer {
    padding-top: 8.1rem;
    padding-bottom: 3.7rem;
    background: linear-gradient(180deg, #1a5f2a 0%, #0d3015 100%);
    color: #fff;
    position: relative;
}

footer.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4a, #ffd700);
}

footer.footer .inner-footer ul.menu-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 27px;
    grid-auto-rows: auto;
}

footer.footer .inner-footer ul.menu-footer > li {
    font-size: 1.4rem;
}

footer.footer .inner-footer ul.menu-footer > li > span {
    font-weight: 900;
    font-size: 2rem;
    line-height: 2.4rem;
    color: #ffd700;
}

footer.footer .inner-footer ul.menu-footer > li ul {
    margin-top: 2.4rem;
    margin-bottom: -2rem;
}

footer.footer .inner-footer ul.menu-footer > li ul li + li {
    margin-bottom: 3.5rem;
}

footer.footer .inner-footer ul.menu-footer > li ul li a {
    font-weight: 400;
    font-size: 1.4rem;
    color: #e0e0e0;
    display: inline-block;
    transition: color 0.2s ease;
}

footer.footer .inner-footer ul.menu-footer > li ul li a:hover {
    color: #ffd700;
    text-decoration: none;
}

footer.footer .inner-footer ul.menu-footer > li.menu-superprof {
    margin-bottom: 2rem;
    grid-column: 1/3;
    grid-row: 1;
}

footer.footer .inner-footer ul.menu-footer > li.menu-superprof .superprof-motto {
    margin-top: 0.7rem;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2.2rem;
    width: 75%;
    color: #ccc;
}

footer.footer .inner-footer ul.menu-footer > li.menu-subjects {
    grid-column: 1/3;
    grid-row: 2;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding: 4rem 0;
}

footer.footer .inner-footer ul.menu-footer > li.menu-subjects ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 7rem;
}

footer.footer .inner-footer ul.menu-footer > li.menu-about {
    grid-column: 2/3;
    grid-row: 3;
}

footer.footer .inner-footer ul.menu-footer > li.menu-follow {
    grid-column: 1/2;
    grid-row: 3;
}

footer.footer .inner-footer ul.menu-footer > li.menu-about,
footer.footer .inner-footer ul.menu-footer > li.menu-follow {
    padding-top: 4rem;
}

footer.footer .inner-footer ul.menu-footer > li.menu-socials {
    grid-column: 1/3;
    grid-row: 4;
    margin-top: 4.8rem;
    line-height: 2.5rem;
    display: flex;
    justify-content: space-around;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

footer.footer .inner-footer ul.menu-footer > li.menu-socials .social-link {
    font-size: 1.3rem;
    color: #1a5f2a !important;
    background-color: #ffd700;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: bottom;
}

footer.footer .inner-footer ul.menu-footer > li.menu-socials .social-link:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

footer.footer .inner-footer ul.menu-footer > li.menu-socials .social-link + .social-link {
    margin-left: 1rem;
}

@media screen and (min-width: 1024px) {
    footer.footer {
        padding-bottom: 8rem;
        padding-top: 10rem;
    }

    footer.footer .inner-footer {
        padding-top: 4.8rem;
        border-top: 1px solid rgba(255, 215, 0, 0.3);
    }

    footer.footer .inner-footer ul.menu-footer {
        grid-template-columns: auto;
        column-gap: 7.2rem;
        grid-auto-rows: auto;
        grid-auto-columns: auto;
    }

    footer.footer .inner-footer ul.menu-footer > li {
        line-height: 2.4rem;
        margin-top: 0;
    }

    footer.footer .inner-footer ul.menu-footer > li > span {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }

    footer.footer .inner-footer ul.menu-footer > li ul {
        margin-top: 2rem;
    }

    footer.footer .inner-footer ul.menu-footer > li ul li {
        margin-top: 0;
        line-height: 2.2rem;
        margin-bottom: 1.3rem !important;
    }

    footer.footer .inner-footer ul.menu-footer > li ul li a {
        font-size: 1.2rem;
        text-align: left;
    }

    footer.footer .inner-footer ul.menu-footer > li.menu-superprof {
        margin-top: -1.4rem;
        grid-column: 1/2;
        grid-row: 1;
        margin-bottom: 1.6rem;
    }

    footer.footer .inner-footer ul.menu-footer > li.menu-socials {
        grid-column: 1/2;
        grid-row: 2/3;
        margin-top: 0;
        padding-bottom: 0;
        border-bottom: none;
        justify-content: flex-start;
    }

    footer.footer .inner-footer ul.menu-footer > li.menu-socials .social-link {
        width: 3rem;
        height: 3rem;
    }

    footer.footer .inner-footer ul.menu-footer > li.menu-socials .social-link + .social-link {
        margin-left: 2.4rem;
    }

    footer.footer .inner-footer ul.menu-footer > li.menu-subjects {
        grid-column: 2/3;
        grid-row: 1/3;
        border: 0;
        padding: 0;
    }

    footer.footer .inner-footer ul.menu-footer > li.menu-about {
        grid-column: 3/4;
        grid-row: 1/3;
    }

    footer.footer .inner-footer ul.menu-footer > li.menu-follow {
        grid-column: 4/5;
        grid-row: 1/3;
    }

    footer.footer .inner-footer ul.menu-footer > li.menu-about,
    footer.footer .inner-footer ul.menu-footer > li.menu-follow {
        padding-top: 0;
    }
}

body.single footer.footer {
    position: relative;
    z-index: 999;
}

/* ============================================
   LEGAL LINKS
   ============================================ */
.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    justify-content: center;
}

.legal-link {
    color: #ccc !important;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: #ffd700 !important;
}

/* ============================================
   LEGAL MODALS
   ============================================ */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.legal-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.legal-modal-content h2 {
    color: #1a5f2a;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ffd700;
}

.legal-modal-content h3 {
    color: #2d8f47;
    margin: 2rem 0 1rem;
}

.legal-modal-content h4 {
    color: #1a5f2a;
    margin: 1.5rem 0 0.8rem;
}

.legal-modal-content p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-modal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-modal-content ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #444;
    line-height: 1.6;
}

.legal-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #666;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.legal-modal-close:hover {
    color: #1a5f2a;
}

.legal-modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
}

/* ============================================
   TABLES
   ============================================ */
.tablepress {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tablepress thead th {
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8f47 100%);
    color: #fff;
    padding: 1.5rem 1rem;
    font-weight: 700;
    text-align: left;
    border: none;
}

.tablepress tbody td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.tablepress tbody tr:nth-child(even) {
    background: #f8fdf8;
}

.tablepress tbody tr:hover {
    background: #e8f5e9;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
button[type="submit"],
input[type="submit"] {
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8f47 100%);
    color: #fff;
    border: none;
    padding: 1.2rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 95, 42, 0.3);
}

.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* ============================================
   FORMS
   ============================================ */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea {
    width: 100%;
    padding: 1.2rem 1.6rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.6rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus {
    outline: none;
    border-color: #1a5f2a;
    box-shadow: 0 0 0 4px rgba(26, 95, 42, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.main-comments-wrapper {
    background: #f8fdf8;
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 4px solid #ffd700;
}

.comments-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.comments-inner {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 95, 42, 0.1);
}

.main-comments-wrapper .h2 {
    color: #2d8f47 !important;
    margin-bottom: 2rem;
}

.main-comments-wrapper .comment-respond {
    margin-top: 1.5rem;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fdf8 100%) !important;
    
    box-shadow: 0 16px 36px rgba(26, 95, 42, 0.08);
}

.main-comments-wrapper .comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 2rem;
    align-items: start;
}

.main-comments-wrapper .comment-form-comment,
.main-comments-wrapper .comment-form .form-submit,
.main-comments-wrapper .comment-form .antispam-group {
    grid-column: 1 / -1;
}

.main-comments-wrapper .comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a5f2a;
}

.main-comments-wrapper .comment-respond label {
    color: #1a5f2a;
    font-size: 1.35rem;
    line-height: 1.6;
}

.main-comments-wrapper .comment-respond input:not(.submit),
.main-comments-wrapper .comment-respond textarea {
    margin-top: 0;
    border-radius: 18px;
    border: 1px solid #c8e6c9 !important;
    background: #fff !important;
    color: #1a1a1a;
    padding: 1.4rem 1.6rem;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(26, 95, 42, 0.04);
}

.main-comments-wrapper .comment-respond input:not(.submit) {
    min-height: 5.2rem;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.main-comments-wrapper .comment-respond textarea {
    min-height: 18rem;
}

.main-comments-wrapper .comment-respond input:not(.submit):focus,
.main-comments-wrapper .comment-respond input:not(.submit):focus-within,
.main-comments-wrapper .comment-respond textarea:focus,
.main-comments-wrapper .comment-respond textarea:focus-within {
    border-color: #2d8f47 !important;
    box-shadow: 0 0 0 4px rgba(45, 143, 71, 0.12);
}

.comment-form .required {
    color: #e53935;
}

.form-submit {
    margin-top: 2rem;
}

.main-comments-wrapper .comment-respond .form-submit {
    margin: 0.8rem 0 0;
    text-align: center;
}

.main-comments-wrapper .comment-respond .form-submit .submit {
    min-width: 16rem;
    padding: 1.2rem 2.8rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #2d8f47 0%, #1a5f2a 100%) !important;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 12px 24px rgba(26, 95, 42, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main-comments-wrapper .comment-respond .form-submit .submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(26, 95, 42, 0.24);
}

@media (max-width: 767px) {
    .comments-inner {
        padding: 2rem;
    }

    .main-comments-wrapper .comment-respond {
        padding: 1.6rem;
    }

    .main-comments-wrapper .comment-form {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .main-comments-wrapper .comment-respond textarea {
        min-height: 14rem;
    }
}

/* ============================================
   RATINGS
   ============================================ */
.ratings-wrapper {
    background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 2rem 0;
    border: 2px solid #1a5f2a;
}

.ratings-wrapper .title {
    font-size: 1.8rem;
    color: #1a5f2a;
    margin-bottom: 1rem;
}

.post-ratings img {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.post-ratings img:hover {
    transform: scale(1.2);
}

.ratings-text {
    display: block;
    margin-top: 1rem;
    color: #666;
    font-size: 1.4rem;
}

/* ============================================
   AUTHOR SECTION
   ============================================ */
.author-wrapper-container {
    margin-top: 3rem;
}

.author-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8f47 100%);
    border-radius: 20px;
    color: #fff;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffd700;
    margin-bottom: 1rem;
    border: 4px solid #fff;
}

.author-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.author-description {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* ============================================
   AI SUMMARIZE BUTTONS
   ============================================ */
.ai-summarize-mobile .ai-summarize-wrapper {
    padding: 4rem 2.4rem;
    height: 100%;
    text-align: center;
}

.ai-summarize-mobile .ai-summarize-wrapper .ai-summarize-title {
    text-align: center;
    margin-bottom: 0.8rem;
    color: #1a5f2a;
    font-weight: 700;
}

.ai-buttons-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.ai-button {
    position: relative;
    border-radius: 12px;
    background-color: transparent;
    border: 2px solid #1a5f2a;
    flex: 1 1 3rem;
    justify-content: center;
    align-items: center;
    max-width: 5rem;
    min-width: 2.5rem;
    aspect-ratio: 1;
    padding: 0;
    line-height: 1;
    transition: all 0.15s ease;
    display: flex;
    color: #1a5f2a;
}

.ai-button:hover {
    background-color: #1a5f2a;
    border-color: #1a5f2a;
    color: #fff;
}

.ai-button .button-icon {
    width: 2.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-button::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(26, 95, 42, 0.95);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 9999;
}

.ai-button:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

/* ============================================
   TEACHER SLIDES
   ============================================ */
.teacher-slide {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(26, 95, 42, 0.2);
}

.teacher-photo {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.teacher-info-wrapper {
    padding: 1.5rem;
}

.teacher-info-wrapper .ratings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.teacher-info-wrapper .ratings-note {
    font-size: 1.2rem;
    color: #666;
}

.teacher-info-wrapper .name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a5f2a;
}

.teacher-info-second-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.teacher-info-second-row .rates {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a5f2a;
}

.teacher-info-second-row .first-class {
    font-size: 1.2rem;
    color: #2d8f47;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
    color: #666;
    background: #f8fdf8;
}

.breadcrumb a {
    color: #1a5f2a;
}

.breadcrumb a:hover {
    color: #ffd700;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
body.single .single-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #1a5f2a, #ffd700);
    z-index: 10000;
    transition: width 0.2s ease;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sf-hidden {
    display: none !important;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
    background-color: #f0f0f0;
}

::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1a5f2a, #2d8f47);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2d8f47, #1a5f2a);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
    background-color: #ffd700;
    color: #1a1a1a;
}

::-moz-selection {
    background-color: #ffd700;
    color: #1a1a1a;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   AUSTRALIAN SPECIFIC STYLING
   ============================================ */
.currency-aud::before {
    content: "A$";
}

.gst-notice {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.australian-flag {
    display: inline-block;
    width: 24px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header.header,
    footer.footer,
    .ai-summarize-mobile,
    .comments-wrapper {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .post-content {
        padding: 0 !important;
    }
}
